:root {
  --black: #0b0b0b;
  --dark: #141414;
  --gold: #c9a86a;
  --gray: #9aa0a6;
  --blue-highlight: #00bffe;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", system-ui, sans-serif;
}

body {
  color: #eee;
  background-image: url('src/bg.jpg'); /* Ensure you have this image */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: var(--black);
  position: relative;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: -1;
}


/* --- Main Layout --- */
.container {
  max-width: 1400px; /* Kept slightly tighter for text readability */
  margin: 120px auto 60px;
  padding: 0 24px;
}

/* Ad Column Styling */
.fixed-column {
  position: relative;
  height: fit-content;

}


.fixed-placeholder {
  width: 400px;
  height: 400px; /* Skyscraper height */
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed var(--gray);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 14px;
  text-align: center;
}

.fixed-box {
  width: 420px;
}

.fixed-column-inline {
  display: flex;
  justify-content: center;
}

.fixed-placeholder-inline {
  width: 350px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed var(--gray);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 14px;
  text-align: center;
}


/* Main wrapper holding left + right ads */
.main-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center; /* change from flex-start */
  width: 100%;
  margin: 40px 0 140px 0; /* remove negative margin-top */
}


/* Each ad column */
.fixed-column {
  flex: 0 0 auto;
}

/* Ad box sizing */
.fixed-box {
  width: 350px; /* matches your HTML image size */
  text-align: center;
}

/* Fix image scaling & aspect ratio */
.fixed-box img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* Mobile: stack ads vertically */
@media (max-width: 1000px) {
  .main-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .fixed-box {
    width: 100%;
    max-width: 400px;
  }
}

/* Center Content Column */
.main-content-single {
  max-width: 2200px;
  margin: 240px auto 60px;
  padding: 0 24px;
}

.main-content {
  width: 100%;
  min-width: 0; /* Prevents grid blowout */
}

.divider {
  width: 50%;
  height: 1px;
  background: var(--gold);
  margin: 60px auto;
  opacity: 0.3;
}

/* --- Hero Section --- */
.page-hero {
  text-align: center;
  padding: 40px 20px;
}

.hero-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
}

.page-hero h1 {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--gold), #f4e4c1);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.page-hero p {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
}

/* --- Content Boxes --- */
.content-box {
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  margin: 30px;
}

.content-box h2 {
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 25px;
  text-align: center;
  border-bottom: 1px solid rgba(201, 168, 106, 0.2);
  padding-bottom: 15px;
  display: inline-block;
  min-width: 200px;
}

.content-center {
  text-align: center;
}

/* --- Video Container --- */
.video-placeholder {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  position: relative;
  padding-bottom: 25.25%; /* 16:9 Aspect Ratio */
  height: 0;
  background: rgba(0,0,0,0.6);
  border: 1px solid var(--gold);
  border-radius: 8px;
  overflow: hidden;
}

.video-placeholder iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* --- Tools Grid (Fido, Massgrave, etc) --- */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.tool-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 25px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.tool-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
}

.tool-card h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 15px;
  margin-top: 15px;
}

.tool-card p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.tool-card img {
  max-width: 100%;
  border-radius: 5px;
  margin-bottom: 15px;
  border: 1px solid #333;
}

.btn-link {
  display: inline-block;
  color: var(--blue-highlight);
  text-decoration: none;
  font-weight: bold;
  border-bottom: 1px dashed var(--blue-highlight);
}

.btn-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* --- Tabbed Box (For LTSB/LTSC/Win7) --- */
.tabbed-box {
  width: 89vw;
  max-width: 2200px;   /* prevents it from getting too wide on huge screens */
  margin: 20px auto;   /* centers it horizontally */
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}



.tab-navigation {
  display: flex;
  border-bottom: 1px solid var(--gold);
  background: #000;
}

.tab-button {
  flex: 1;
  background: transparent;
  border: none;
  padding: 15px;
  color: #aaa;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1rem;
}

.tab-button:last-child {
  border-right: none;
}

.tab-button:hover {
  background: #151515;
  color: var(--gold);
}

.tab-button.active {
  background: #252525;
  color: var(--gold);
  border-bottom: 3px solid var(--gold);
  margin-bottom: -1px;
}

.tab-content-wrapper {
  padding: 30px;
  min-height: 200px;
}

.tab-pane {
  display: none;
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
}

.tab-pane.active {
  display: block;
  opacity: 1;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Download Lists within Tabs --- */
.download-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.download-list h4 {
  color: #fff;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
  margin-bottom: 15px;
  text-align: center;
}

.download-list ul {
  list-style: none;
  padding: 0;
}

.download-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.download-list a {
  color: var(--blue-highlight);
  text-decoration: none;
  transition: color 0.2s;
}

.download-list a:hover {
  color: var(--gold);
}

/* --- Dual Section Grid (LTSB & LTSC side-by-side) --- */
.dual-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: flex-start;
}

.split-box {
  display: flex;
  flex-direction: column;
}

.split-box h3 {
  color: var(--gold);
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: 20px;
}

/* --- Sources Section --- */
.sources-section {
  text-align: center;
  margin: 60px 0;
  padding: 40px 20px;
}

.sources-title {
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.sources-list {
  color: #ddd;
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

.sources-list a {
  color: var(--blue-highlight);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.sources-list a:hover {
  color: var(--gold);
}

/* Footer */
footer {
    background: var(--black);
    color: #ddd;
    padding: 50px 24px;
    margin-top: 80px;
}

.footer-grid {
    max-width: 2200px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 0;
}

.footer-links a {
  display: block;
  color: #9aa0a6;
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 18px;
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-links p {
  font-size: 22px;
  margin-bottom: 15px;
}
.policy {
  font-size: 16px;
  line-height: 1.6;
  color: #aaa;
}
.footer-bottom {
  margin-top: 40px;
  text-align: center;
  font-size: 16px;
  color: #777;
  border-top: 1px solid #333;
  padding-top: 20px;
}
.requestlink {
  color: var(--gold);
  text-decoration: none;
  font-weight: bold;
}
.contact-area {
  text-align: center;
  padding: 40px;
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  border-top: 2px solid var(--gold);
  margin-top: 20px;
  margin-bottom: 0px;
}
.social-grid {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.social-item {
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s;
}
.social-item img {
  width: 45px;
  height: 45px;
}
.social-item:hover {
  transform: translateY(-5px);
  color: var(--gold);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav nav { display: none; }
  .download-columns { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .dual-section-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 2rem; }
  .content-box { padding: 20px; }
}

@media (max-width: 1024px){
  .tabbed-box {
  width: 78vw;
  max-width: 2200px;   /* prevents it from getting too wide on huge screens */
  margin: 20px auto;   /* centers it horizontally */
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
}

@media (max-width: 1600px){
  .tabbed-box {
  width: 81.5vw;
  max-width: 2200px;   /* prevents it from getting too wide on huge screens */
  margin: 20px auto;   /* centers it horizontally */
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
}

@media (min-width: 1600px){
  .tabbed-box {
  width: 88vw;
  max-width: 2200px;   /* prevents it from getting too wide on huge screens */
  margin: 20px auto;   /* centers it horizontally */
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
}

@media (min-width: 1920px){
  .tabbed-box {
  width: 89vw;
  max-width: 2200px;   /* prevents it from getting too wide on huge screens */
  margin: 20px auto;   /* centers it horizontally */
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
}