/* ===== Team 11429 - Archaeological Cross-Section Theme ===== */
/* Ground layers with artifacts from different historical periods */

/* ========== Fonts ========== */
@font-face {
  font-family: "JetBrains Sans";
  src: url("fonts/JetBrainsSans-Regular.woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/JetBrainsMono-Regular.woff2");
}

/* ========== CSS Variables ========== */
:root {
  /* Fonts */
  --font-title: 'Cinzel Decorative', 'Bungee', 'Impact', serif;
  --font-display: 'Cinzel', 'Space Grotesk', 'JetBrains Sans', serif;
  --font-body: 'Inter', 'JetBrains Sans', -apple-system, sans-serif;
  --font-mono: 'Fira Code', 'JetBrains Mono', monospace;

  /* Sky Colors */
  --sky-top: #87CEEB;
  --sky-bottom: #E0F4FF;
  --sun: #FFD700;

  /* Ground Layer Colors (top to bottom - light to dark) */
  --grass: #4a7c23;
  --topsoil: #c9a66b;  /* Light tan/sand */
  --layer-1: #b8956b;  /* Modern - light brown */
  --layer-2: #a07850;  /* Recent - medium tan */
  --layer-3: #8b6340;  /* Industrial - sienna */
  --layer-4: #755435;  /* Medieval - brown */
  --layer-5: #5f442a;  /* Roman - darker brown */
  --layer-6: #4a3520;  /* Egyptian - deep brown */
  --layer-7: #352618;  /* Prehistoric - very dark brown */
  --bedrock: #1a1410;  /* Bedrock - almost black */

  /* Accent Colors */
  --gold: #14b8a6;
  --gold-light: #5eead4;
  --terracotta: #0d9488;
  --sand: #ccfbf1;
  --artifact-glow: rgba(20, 184, 166, 0.6);

  /* Text */
  --text-primary: #e0f7f4;
  --text-secondary: rgba(224, 247, 244, 0.85);
  --text-dark: #0a1f1c;

  /* Utility */
  --border: rgba(45, 160, 140, 0.4);
  --container-width: 1100px;
}

/* ========== Reset & Base ========== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bedrock) url('/background.png') no-repeat center center fixed;
  background-size: cover;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gold-light);
}

/* ========== Scroll Progress ========== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--grass), var(--terracotta), var(--gold));
  width: 0%;
  z-index: 1000;
  transition: width 0.1s ease;
}

/* ========== Navigation ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 50px;
  background: rgba(10, 31, 28, 0.97);
  backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid rgba(20, 184, 166, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 2px;
  text-shadow: 0 0 30px rgba(20, 184, 166, 0.4);
  white-space: nowrap;
  transition: all 0.3s ease;
}

.nav-logo:hover {
  color: var(--gold-light);
  text-shadow: 0 0 40px rgba(20, 184, 166, 0.6);
}

.nav-updates-btn {
  display: inline-block;
  padding: 8px 18px;
  background: linear-gradient(135deg, #e04040 0%, #ff6b6b 50%, #e04040 100%);
  background-size: 200% 200%;
  color: #fff !important;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  letter-spacing: 0.5px;
  border-radius: 6px;
  text-decoration: none;
  margin-left: 12px;
  border: 1px solid rgba(255, 107, 107, 0.5);
  animation: btn-float 3s ease-in-out infinite, btn-glow 2s ease-in-out infinite, btn-bg-shift 3s ease-in-out infinite;
  transition: all 0.3s ease;
  position: relative;
}

.nav-updates-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 25px rgba(224, 64, 64, 0.6), 0 0 30px rgba(255, 107, 107, 0.4);
  background: linear-gradient(135deg, #ff6b6b 0%, #e04040 100%);
  color: #fff !important;
}

.nav-updates-btn:active {
  transform: translateY(-1px) scale(0.98);
}

@keyframes btn-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes btn-glow {
  0%, 100% { box-shadow: 0 0 8px rgba(224, 64, 64, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2); }
  50% { box-shadow: 0 0 20px rgba(224, 64, 64, 0.6), 0 4px 15px rgba(0, 0, 0, 0.3); }
}

@keyframes btn-bg-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Southern Cross Regionals */
.scr-update-box {
  background: rgba(42, 32, 24, 0.8);
  border: 2px solid #ffd700;
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3), 0 0 30px rgba(255, 215, 0, 0.1);
}

.scr-update-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #ffd700;
  margin-bottom: 8px;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.scr-update-subtitle {
  font-size: 18px;
  color: var(--sand);
  margin-bottom: 30px;
}

.scr-gallery {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.scr-gallery-group {
  background: rgba(26, 20, 16, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
}

.scr-group-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
  text-align: center;
}

.scr-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.scr-gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scr-gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

@media (max-width: 600px) {
  .scr-gallery-grid {
    grid-template-columns: 1fr;
  }
  .scr-gallery-group {
    padding: 16px;
  }
}

.nav::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle 2px at 8% 25%, rgba(20, 184, 166, 0.25) 2px, transparent 2px),
    radial-gradient(circle 3px at 18% 70%, rgba(20, 184, 166, 0.18) 3px, transparent 3px),
    radial-gradient(circle 1.5px at 27% 35%, rgba(13, 148, 136, 0.22) 1.5px, transparent 1.5px),
    radial-gradient(circle 2.5px at 35% 60%, rgba(20, 184, 166, 0.15) 2.5px, transparent 2.5px),
    radial-gradient(circle 2px at 42% 20%, rgba(13, 148, 136, 0.2) 2px, transparent 2px),
    radial-gradient(circle 1px at 50% 75%, rgba(20, 184, 166, 0.25) 1px, transparent 1px),
    radial-gradient(circle 3px at 58% 40%, rgba(20, 184, 166, 0.12) 3px, transparent 3px),
    radial-gradient(circle 1.5px at 65% 15%, rgba(13, 148, 136, 0.18) 1.5px, transparent 1.5px),
    radial-gradient(circle 2px at 72% 65%, rgba(20, 184, 166, 0.2) 2px, transparent 2px),
    radial-gradient(circle 2.5px at 80% 30%, rgba(13, 148, 136, 0.15) 2.5px, transparent 2.5px),
    radial-gradient(circle 1px at 87% 55%, rgba(20, 184, 166, 0.22) 1px, transparent 1px),
    radial-gradient(circle 2px at 93% 80%, rgba(13, 148, 136, 0.18) 2px, transparent 2px),
    radial-gradient(circle 1.5px at 14% 50%, rgba(20, 184, 166, 0.14) 1.5px, transparent 1.5px),
    radial-gradient(circle 2px at 46% 85%, rgba(13, 148, 136, 0.16) 2px, transparent 2px),
    radial-gradient(circle 1px at 76% 45%, rgba(20, 184, 166, 0.2) 1px, transparent 1px);
  background-size: 100% 100%;
}

.nav-links {
  display: flex;
  gap: 35px;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  position: relative;
  padding: 5px 0;
  transition: all 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a.active {
  color: var(--gold);
}

.nav-cta {
  padding: 12px 24px !important;
  background: linear-gradient(135deg, var(--gold) 0%, var(--terracotta) 100%);
  color: var(--text-dark) !important;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
  transition: all 0.3s ease;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
  color: var(--text-dark) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--gold);
}

/* ========== Excavation Site (Main Container) ========== */
.excavation-site {
  position: relative;
  width: 100%;
}

/* ========== Sky ========== */
.sky {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 100%);
  z-index: 0;
}

.sun {
  position: absolute;
  top: 50px;
  right: 15%;
  width: 80px;
  height: 80px;
  background: var(--sun);
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(255, 215, 0, 0.8),
              0 0 120px rgba(255, 215, 0, 0.4);
  animation: sunPulse 4s ease-in-out infinite;
}

@keyframes sunPulse {
  0%, 100% { box-shadow: 0 0 60px rgba(255, 215, 0, 0.8), 0 0 120px rgba(255, 215, 0, 0.4); }
  50% { box-shadow: 0 0 80px rgba(255, 215, 0, 1), 0 0 160px rgba(255, 215, 0, 0.6); }
}

.cloud {
  position: absolute;
  background: white;
  border-radius: 50px;
  opacity: 0.9;
}

.cloud::before, .cloud::after {
  content: '';
  position: absolute;
  background: white;
  border-radius: 50%;
}

.cloud-1 {
  top: 60px;
  left: 10%;
  width: 100px;
  height: 40px;
  animation: cloudFloat 30s linear infinite;
}

.cloud-1::before {
  width: 50px;
  height: 50px;
  top: -25px;
  left: 15px;
}

.cloud-1::after {
  width: 40px;
  height: 40px;
  top: -20px;
  left: 50px;
}

.cloud-2 {
  top: 100px;
  left: 60%;
  width: 80px;
  height: 30px;
  animation: cloudFloat 25s linear infinite reverse;
}

.cloud-2::before {
  width: 40px;
  height: 40px;
  top: -20px;
  left: 10px;
}

.cloud-2::after {
  width: 30px;
  height: 30px;
  top: -15px;
  left: 40px;
}

@keyframes cloudFloat {
  0% { transform: translateX(-100px); }
  100% { transform: translateX(100vw); }
}

/* ========== Ground Layers ========== */
.ground-layer {
  position: relative;
  min-height: 100vh;
  padding: 100px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: clip;
  overflow-y: visible;
}

/* Surface Layer - The Dig Site */
.surface-layer {
  background: linear-gradient(180deg,
    var(--sky-bottom) 0%,
    var(--sky-bottom) 20%,
    var(--grass) 20%,
    var(--grass) 22%,
    var(--topsoil) 22%,
    #b8956b 100%);
  padding-top: 200px;
  min-height: 100vh;
}

.grass-line {
  position: absolute;
  top: 20%;
  left: 0;
  right: 0;
  height: 30px;
  background:
    repeating-linear-gradient(90deg,
      transparent 0px,
      transparent 5px,
      var(--grass) 5px,
      var(--grass) 8px,
      transparent 8px,
      transparent 15px);
  z-index: 5;
}

.grass-line::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 25px;
  background:
    repeating-linear-gradient(75deg,
      transparent 0px,
      transparent 8px,
      #5a9c2d 8px,
      #5a9c2d 10px,
      transparent 10px,
      transparent 20px);
}

/* Layer Colors */
.layer-1 { background: linear-gradient(180deg, var(--topsoil) 0%, var(--layer-1) 100%); }
.layer-frc { background: linear-gradient(180deg, var(--layer-1) 0%, var(--layer-1) 50%, var(--layer-2) 100%); }
.layer-2 { background: linear-gradient(180deg, var(--layer-1) 0%, var(--layer-2) 100%); }
.layer-3 { background: linear-gradient(180deg, var(--layer-2) 0%, var(--layer-3) 100%); }
.layer-4 { background: linear-gradient(180deg, var(--layer-3) 0%, var(--layer-4) 100%); }
.layer-5 { background: linear-gradient(180deg, var(--layer-4) 0%, var(--layer-5) 100%); }
.layer-6 { background: linear-gradient(180deg, var(--layer-5) 0%, var(--layer-6) 100%); }
.layer-7 { background: linear-gradient(180deg, var(--layer-6) 0%, var(--layer-7) 100%); }

/* Soil Texture Overlay */
.ground-layer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0,0,0,0.1) 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(0,0,0,0.08) 1px, transparent 1px),
    radial-gradient(circle at 40% 80%, rgba(255,255,255,0.05) 1px, transparent 1px),
    radial-gradient(circle at 60% 20%, rgba(0,0,0,0.06) 1px, transparent 1px);
  background-size: 50px 50px, 70px 70px, 30px 30px, 60px 60px;
  pointer-events: none;
  z-index: 1;
}

/* Layer Divider Lines */
.ground-layer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0,0,0,0.3) 20%,
    rgba(0,0,0,0.4) 50%,
    rgba(0,0,0,0.3) 80%,
    transparent 100%);
}

/* ========== Layer Labels ========== */
.layer-label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  z-index: 10;
  background: rgba(0,0,0,0.4);
  padding: 10px 20px;
  border-radius: 4px;
}

.layer-label .era {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
}

.layer-label .period {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

/* ========== Age Label (Bottom Right Corner) ========== */
.age-label {
  position: absolute;
  bottom: 25px;
  right: 30px;
  z-index: 15;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--sand);
  background: rgba(0, 0, 0, 0.6);
  padding: 12px 20px;
  border-radius: 6px;
  border: 1px solid var(--border);
  backdrop-filter: blur(5px);
  text-align: right;
  letter-spacing: 1px;
  cursor: help;
  transition: all 0.3s ease;
}

.age-label:hover {
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(20, 184, 166, 0.3);
}

.age-label strong {
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
}

.age-label .age-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  width: 280px;
  background: rgba(20, 15, 10, 0.95);
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 15px;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.age-label:hover .age-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.age-tooltip .tooltip-title {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.age-tooltip .tooltip-period {
  font-size: 11px;
  color: var(--terracotta);
  margin-bottom: 8px;
  font-weight: 600;
}

.age-tooltip .tooltip-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  letter-spacing: 0;
}

.surface-layer .age-label {
  background: rgba(255, 255, 255, 0.85);
  color: #4a3520;
  border: 1px solid rgba(90, 60, 30, 0.4);
}

.surface-layer .age-label:hover {
  border-color: #8b4513;
  box-shadow: 0 0 15px rgba(13, 47, 94, 0.3);
}

.surface-layer .age-label strong {
  color: #6b3a1f;
}

.surface-layer .age-tooltip {
  background: rgba(255, 252, 245, 0.98);
  border-color: #8b4513;
}

.surface-layer .age-tooltip .tooltip-title {
  color: #6b3a1f;
}

.surface-layer .age-tooltip .tooltip-desc {
  color: #4a3520;
}

/* ========== Surface Tools (Resting on Ground - darker for light soil) ========== */
.surface-tool {
  position: absolute;
  z-index: 25;
  color: #4a3520;
  filter: drop-shadow(2px 4px 8px rgba(0,0,0,0.4));
}

.shovel-left {
  width: 50px;
  height: 120px;
  top: calc(20% - 60px);
  left: 5%;
  transform: rotate(-70deg);
}

.pickaxe-right {
  width: 100px;
  height: 60px;
  top: calc(20% - 30px);
  right: 8%;
  transform: rotate(-10deg);
}

.brush-center {
  width: 70px;
  height: 22px;
  top: calc(20% + 5px);
  right: 30%;
  transform: rotate(5deg);
  color: #654321;
}

.trowel-left {
  width: 35px;
  height: 90px;
  top: calc(20% - 50px);
  left: 55%;
  transform: rotate(-45deg);
}

/* ========== Dig Site with Holes and Archaeologists ========== */
.dig-site {
  position: absolute;
  top: 20%;
  left: 0;
  right: 0;
  height: 300px;
  z-index: 15;
}

/* Excavation Holes */
.dig-hole {
  position: absolute;
  z-index: 16;
}

.hole-1 {
  left: 15%;
  top: 0;
  width: 120px;
  height: 180px;
}

.hole-2 {
  right: 20%;
  top: 0;
  width: 100px;
  height: 120px;
}

.hole-walls {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg,
    #a08060 0%,
    #8a6a4a 40%,
    #705535 100%);
  border-radius: 0 0 20px 20px;
  border: 3px solid rgba(60,40,20,0.5);
  border-top: none;
  box-shadow: inset 0 10px 30px rgba(0,0,0,0.5),
              inset 0 0 20px rgba(0,0,0,0.3);
}

.hole-1 .hole-walls {
  clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
}

.hole-2 .hole-walls {
  clip-path: polygon(5% 0%, 95% 0%, 100% 100%, 0% 100%);
}

/* Dirt pile next to hole */
.dirt-pile {
  position: absolute;
  top: -25px;
  right: -55px;
  width: 70px;
  height: 50px;
  background: radial-gradient(ellipse at bottom, #c9a66b 50%, #b8956b 70%, transparent 75%);
  border-radius: 50% 50% 10% 10%;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

/* Stick Figures */
.stick-figure {
  position: relative;
  width: 40px;
  height: 70px;
}

.stick-head {
  width: 14px;
  height: 14px;
  background: #1a0f05;
  border-radius: 50%;
  margin: 0 auto;
  border: 2px solid #2d1a10;
}

.stick-body {
  width: 4px;
  height: 22px;
  background: #1a0f05;
  margin: 0 auto;
}

.stick-arms {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  display: flex;
  justify-content: space-between;
}

.arm-left, .arm-right {
  width: 12px;
  height: 4px;
  background: #1a0f05;
}

.arm-left.digging {
  transform: rotate(-60deg);
  transform-origin: right;
}

.arm-right.brushing {
  transform: rotate(45deg);
  transform-origin: left;
}

.arm-left.pointing {
  transform: rotate(-50deg);
  transform-origin: right;
}

.arm-right.carrying {
  transform: rotate(-30deg);
  transform-origin: left;
}


.stick-legs {
  position: absolute;
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  display: flex;
  justify-content: space-between;
}

.leg-left, .leg-right {
  width: 4px;
  height: 22px;
  background: #1a0f05;
}

.leg-left.kneeling, .leg-right.kneeling {
  height: 12px;
  transform: rotate(60deg);
}

.leg-left.walking {
  transform: rotate(-20deg);
}

.leg-right.walking {
  transform: rotate(20deg);
}

/* Figures in holes */
.in-hole {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.hole-1 .in-hole {
  bottom: 15px;
}

.hole-2 .in-hole {
  bottom: 25px;
}

.kneeling-figure {
  transform: translateX(-50%) scale(0.9);
}

.kneeling-figure .stick-body {
  height: 15px;
}

.kneeling-figure .stick-legs {
  top: 30px;
}

/* Surface figures */
.surface-figures {
  position: absolute;
  top: -75px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 100px;
  padding: 0 20%;
}

.on-surface {
  filter: drop-shadow(2px 3px 2px rgba(0,0,0,0.3));
}

.figure-standing {
  transform: translateX(-150px);
}

.figure-walking {
  transform: translateX(50px);
}

.figure-observing {
  transform: translateX(200px);
}

/* ========== Artifacts (Embedded in Soil Layers) ========== */
.artifact {
  position: absolute;
  z-index: 3;
  opacity: 0.9;
  transition: all 0.3s ease;
  cursor: pointer;
}

.artifact svg {
  width: 100%;
  height: 100%;
  color: rgba(224, 247, 244, 0.75);
  filter: drop-shadow(0 0 15px var(--artifact-glow))
          drop-shadow(0 0 30px rgba(255, 215, 0, 0.3));
}

/* ========== Neon Yellow Glowing Artifacts ========== */
.artifact.neon-glow svg {
  color: #ffff00;
  filter: drop-shadow(0 0 8px #ffff00)
          drop-shadow(0 0 20px #ffff00)
          drop-shadow(0 0 40px rgba(255, 255, 0, 0.8))
          drop-shadow(0 0 80px rgba(255, 255, 0, 0.4));
  animation: neonPulse 2s ease-in-out infinite;
}

.artifact.neon-glow:hover svg {
  filter: drop-shadow(0 0 12px #ffff00)
          drop-shadow(0 0 30px #ffff00)
          drop-shadow(0 0 60px rgba(255, 255, 0, 1))
          drop-shadow(0 0 100px rgba(255, 255, 0, 0.6));
}

@keyframes neonPulse {
  0%, 100% {
    filter: drop-shadow(0 0 8px #ffff00)
            drop-shadow(0 0 20px #ffff00)
            drop-shadow(0 0 40px rgba(255, 255, 0, 0.8))
            drop-shadow(0 0 80px rgba(255, 255, 0, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 12px #ffff00)
            drop-shadow(0 0 28px #ffff00)
            drop-shadow(0 0 55px rgba(255, 255, 0, 0.9))
            drop-shadow(0 0 100px rgba(255, 255, 0, 0.5));
  }
}

/* Surface neon artifacts - keep visible on light soil */
.surface-artifact.neon-glow svg {
  color: #e6e600;
  filter: drop-shadow(0 0 8px #ffff00)
          drop-shadow(0 0 20px #cccc00)
          drop-shadow(0 0 40px rgba(255, 255, 0, 0.7));
}

/* Neon glow artifacts - tooltip should NOT glow */
.artifact.neon-glow .artifact-tooltip {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid var(--border);
  animation: none !important;
  z-index: 1001;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5) !important;
  filter: none !important;
  text-shadow: none !important;
}

.artifact.neon-glow:hover .artifact-tooltip {
  opacity: 1;
  visibility: visible;
}

.artifact.neon-glow .artifact-tooltip .tooltip-name {
  color: var(--sand);
}

.artifact.neon-glow .artifact-tooltip .tooltip-info {
  color: var(--text-secondary);
}

.artifact.neon-glow .artifact-tooltip .tooltip-dig-time {
  color: var(--terracotta);
}

/* Surface neon tooltip - darker style for light soil */
.surface-artifact.neon-glow .artifact-tooltip {
  background: rgba(40, 25, 15, 0.98);
  border: 1px solid #6b4423;
}

.surface-artifact.neon-glow .artifact-tooltip .tooltip-name {
  color: #d4a017;
}

/* Surface coin tooltip - position to the left so it doesn't go off screen */
.artifact-coin-surface .artifact-tooltip.extended {
  left: auto !important;
  right: 0 !important;
  transform: translateX(0) !important;
}

.artifact:hover {
  opacity: 1;
  transform: scale(1.15);
  z-index: 20;
}

.artifact:hover svg {
  filter: drop-shadow(0 0 25px var(--artifact-glow))
          drop-shadow(0 0 50px rgba(255, 215, 0, 0.5));
}

.artifact-tooltip {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  background: rgba(0,0,0,0.95);
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid var(--gold);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

/* Stop artifact animation on hover to keep tooltip stable */
.artifact:hover {
  animation-play-state: paused !important;
}

.artifact:hover .artifact-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Extended tooltip with description */
.artifact-tooltip.extended {
  width: 220px;
  white-space: normal;
  text-align: left;
  padding: 12px;
  bottom: auto;
  top: calc(100% + 8px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.7);
  z-index: 9999;
}

/* Tooltips on left side of screen - position to the right */
.artifact[style*="left: 3%"] .artifact-tooltip.extended,
.artifact[style*="left: 4%"] .artifact-tooltip.extended,
.artifact[style*="left: 5%"] .artifact-tooltip.extended,
.artifact[style*="left: 6%"] .artifact-tooltip.extended,
.artifact[style*="left: 8%"] .artifact-tooltip.extended,
.artifact-pottery .artifact-tooltip.extended,
.artifact-arrowhead-surface .artifact-tooltip.extended,
.artifact-robot .artifact-tooltip.extended,
.artifact-3dprint .artifact-tooltip.extended,
.artifact-lego .artifact-tooltip.extended,
.artifact-medal .artifact-tooltip.extended,
.artifact-lamp .artifact-tooltip.extended,
.artifact-sword .artifact-tooltip.extended,
.artifact-column .artifact-tooltip.extended,
.artifact-vase .artifact-tooltip.extended,
.artifact-ankh .artifact-tooltip.extended,
.artifact-scarab .artifact-tooltip.extended,
.artifact-bone .artifact-tooltip.extended,
.artifact-arrowhead .artifact-tooltip.extended,
.artifact-cave-painting .artifact-tooltip.extended,
.artifact-trex .artifact-tooltip.extended,
.artifact-ammonite .artifact-tooltip.extended {
  left: 0;
  transform: translateX(0);
}

/* Tooltips on right side of screen - position to the left */
.artifact[style*="right: 3%"] .artifact-tooltip.extended,
.artifact[style*="right: 4%"] .artifact-tooltip.extended,
.artifact[style*="right: 5%"] .artifact-tooltip.extended,
.artifact[style*="right: 6%"] .artifact-tooltip.extended,
.artifact[style*="right: 8%"] .artifact-tooltip.extended,
.artifact-fossil-surface .artifact-tooltip.extended,
.artifact-bone-surface .artifact-tooltip.extended,
.artifact-laptop .artifact-tooltip.extended,
.artifact-trophy .artifact-tooltip.extended,
.artifact-gear .artifact-tooltip.extended,
.artifact-wrench .artifact-tooltip.extended,
.artifact-shield .artifact-tooltip.extended,
.artifact-scroll .artifact-tooltip.extended,
.artifact-coin .artifact-tooltip.extended,
.artifact-pyramid .artifact-tooltip.extended,
.artifact-trilobite .artifact-tooltip.extended,
.artifact-dino-bone .artifact-tooltip.extended {
  left: auto;
  right: 0;
  transform: translateX(0);
}

/* Artifacts near bottom - show tooltip above */
.artifact-3dprint .artifact-tooltip.extended,
.artifact-lego .artifact-tooltip.extended,
.artifact-wrench .artifact-tooltip.extended,
.artifact-shield .artifact-tooltip.extended,
.artifact-column .artifact-tooltip.extended,
.artifact-ankh .artifact-tooltip.extended,
.artifact-arrowhead .artifact-tooltip.extended {
  top: auto;
  bottom: calc(100% + 8px);
}

/* Ensure tooltips don't overflow viewport */
.artifact-tooltip.extended {
  max-width: min(220px, calc(100vw - 40px));
  overflow: visible;
  word-wrap: break-word;
}

/* Force all tooltips to stay within viewport */
.artifact-tooltip {
  max-width: calc(100vw - 20px);
}

.artifact-tooltip .tooltip-name {
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
  font-size: 13px;
}

.artifact-tooltip .tooltip-info {
  font-size: 10px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 4px;
}

.artifact-tooltip .tooltip-dig-time {
  font-size: 9px;
  color: var(--terracotta);
  font-style: italic;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(45, 160, 140, 0.3);
}

/* Surface artifact tooltips - darker style */
.surface-artifact .artifact-tooltip {
  color: #f4e4c1;
  background: rgba(40, 25, 15, 0.95);
  border: 1px solid #6b4423;
}

.surface-artifact .artifact-tooltip .tooltip-name {
  color: #d4a017;
}

.surface-artifact .artifact-tooltip .tooltip-info {
  color: #c9b896;
}

/* Bedrock artifact tooltips */
.bedrock-layer .artifact-tooltip {
  background: rgba(30, 22, 15, 0.98);
  border-color: #c4a35a;
}

.bedrock-layer .artifact-tooltip .tooltip-name {
  color: #c4a35a;
}

/* Surface Artifacts (Hero Section - partially buried, darker for light soil) */
.surface-artifact {
  z-index: 4;
}

.surface-artifact svg {
  color: rgba(60, 40, 20, 0.85);
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.3));
}

.surface-artifact:hover svg {
  color: rgba(80, 55, 30, 1);
  filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.4));
}

.artifact-pottery {
  width: 55px;
  height: 65px;
  top: 45%;
  left: 3%;
  transform: rotate(-15deg);
  animation: artifactFloat 5s ease-in-out infinite;
}

.artifact-coin-surface {
  width: 40px;
  height: 40px;
  top: 38%;
  right: 5%;
  animation: coinGlow 3s ease-in-out infinite, artifactFloat 4s ease-in-out infinite;
}

.artifact-fossil-surface {
  width: 75px;
  height: 40px;
  top: 55%;
  right: 15%;
  transform: rotate(8deg);
  animation: artifactFloat 4.5s ease-in-out infinite 0.5s;
}

.artifact-arrowhead-surface {
  width: 30px;
  height: 50px;
  top: 50%;
  left: 12%;
  transform: rotate(25deg);
  animation: artifactFloat 4s ease-in-out infinite 1s;
}

.artifact-ring {
  width: 38px;
  height: 38px;
  top: 42%;
  left: 40%;
  animation: coinGlow 4s ease-in-out infinite 1s, artifactFloat 5s ease-in-out infinite;
}

.artifact-bone-surface {
  width: 65px;
  height: 25px;
  top: 60%;
  right: 3%;
  transform: rotate(-12deg);
  animation: artifactFloat 4.5s ease-in-out infinite 0.8s;
}

.artifact-shell {
  width: 45px;
  height: 50px;
  top: 48%;
  right: 35%;
  transform: rotate(10deg);
  animation: artifactFloat 5s ease-in-out infinite 1.2s;
}

.artifact-gear-surface {
  width: 50px;
  height: 50px;
  top: 65%;
  left: 8%;
  animation: gearSpin 20s linear infinite;
}

/* Artifact Positions - Layer 1 (Modern) - Larger, more visible */
.artifact-robot {
  width: 80px;
  height: 80px;
  top: 15%;
  left: 5%;
  animation: artifactFloat 4s ease-in-out infinite;
}

.artifact-laptop {
  width: 75px;
  height: 55px;
  top: 55%;
  right: 4%;
  transform: rotate(-8deg);
  animation: artifactFloat 5s ease-in-out infinite 1s;
}

.artifact-3dprint {
  width: 65px;
  height: 65px;
  bottom: 20%;
  left: 8%;
  animation: artifactFloat 4.5s ease-in-out infinite 0.5s;
}

/* Artifact Positions - Layer 2 (Journey) */
.artifact-trophy {
  width: 60px;
  height: 75px;
  top: 20%;
  right: 6%;
  animation: artifactFloat 4s ease-in-out infinite;
}

.artifact-lego {
  width: 70px;
  height: 55px;
  bottom: 25%;
  left: 4%;
  transform: rotate(5deg);
  animation: artifactFloat 5s ease-in-out infinite 1.5s;
}

.artifact-medal {
  width: 55px;
  height: 70px;
  top: 50%;
  left: 3%;
  animation: artifactFloat 4.5s ease-in-out infinite 0.8s;
}

/* Artifact Positions - Layer 3 (Team/Industrial) */
.artifact-gear {
  width: 70px;
  height: 70px;
  top: 25%;
  right: 5%;
  animation: gearSpin 15s linear infinite;
}

.artifact-wrench {
  width: 55px;
  height: 55px;
  bottom: 30%;
  left: 6%;
  animation: artifactFloat 5s ease-in-out infinite;
}

.artifact-lamp {
  width: 50px;
  height: 70px;
  top: 50%;
  left: 3%;
  animation: artifactFloat 4.5s ease-in-out infinite 0.8s;
}

@keyframes gearSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Keep gear tooltips horizontal - stop rotation on hover */
.artifact-gear:hover,
.artifact-gear-surface:hover {
  animation: none !important;
  transform: rotate(0deg) scale(1.15) !important;
}

@keyframes artifactFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Artifact Positions - Layer 4 (Medieval) */
.artifact-sword {
  width: 30px;
  height: 100px;
  top: 15%;
  left: 4%;
  transform: rotate(-20deg);
  animation: artifactFloat 4s ease-in-out infinite;
}

.artifact-shield {
  width: 65px;
  height: 80px;
  bottom: 15%;
  right: 5%;
  animation: artifactFloat 5s ease-in-out infinite 1s;
}

.artifact-scroll {
  width: 80px;
  height: 50px;
  top: 50%;
  right: 3%;
  transform: rotate(3deg);
  animation: artifactFloat 4.5s ease-in-out infinite 0.5s;
}

/* Artifact Positions - Layer 5 (Roman) */
.artifact-coin {
  width: 60px;
  height: 60px;
  top: 20%;
  right: 8%;
  animation: coinGlow 3s ease-in-out infinite, artifactFloat 4s ease-in-out infinite;
}

.artifact-column {
  width: 50px;
  height: 60px;
  bottom: 20%;
  left: 5%;
  animation: artifactFloat 5s ease-in-out infinite 1s;
}

.artifact-vase {
  width: 55px;
  height: 55px;
  top: 50%;
  left: 3%;
  animation: artifactFloat 4.5s ease-in-out infinite 0.7s;
}

@keyframes coinGlow {
  0%, 100% {
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.7))
            drop-shadow(0 0 30px rgba(255, 215, 0, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 1))
            drop-shadow(0 0 60px rgba(255, 215, 0, 0.6));
  }
}

/* Artifact Positions - Layer 6 (Egyptian) */
.artifact-pyramid {
  width: 90px;
  height: 65px;
  top: 25%;
  right: 4%;
  animation: artifactFloat 5s ease-in-out infinite;
}

.artifact-ankh {
  width: 50px;
  height: 75px;
  bottom: 25%;
  left: 6%;
  animation: artifactFloat 4s ease-in-out infinite 1s;
}

.artifact-scarab {
  width: 60px;
  height: 45px;
  top: 55%;
  left: 4%;
  animation: artifactFloat 4.5s ease-in-out infinite 0.5s;
}

/* Artifact Positions - Layer 7 (Prehistoric) */
.artifact-bone {
  width: 100px;
  height: 35px;
  top: 20%;
  right: 5%;
  transform: rotate(-10deg);
  animation: artifactFloat 5s ease-in-out infinite;
}

.artifact-arrowhead {
  width: 35px;
  height: 65px;
  bottom: 30%;
  left: 6%;
  transform: rotate(15deg);
  animation: artifactFloat 4s ease-in-out infinite 1s;
}

.artifact-cave-painting {
  width: 80px;
  height: 55px;
  top: 50%;
  left: 3%;
  animation: artifactFloat 4.5s ease-in-out infinite 0.5s;
}

/* ========== Layer Content ========== */
.layer-content,
.surface-content {
  position: relative;
  z-index: 10;
  max-width: var(--container-width);
  margin: 0 auto;
  text-align: center;
}

.surface-content {
  margin-top: 120px;
}

/* Old surface hero styles removed — using multi-page hero styles below */

/* Hero buttons - darker for light soil */
.surface-layer .btn-primary {
  background: linear-gradient(135deg, #6b3a1f, #4a2815);
  color: #f4e4c1;
  border: 2px solid #5a3020;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.surface-layer .btn-primary:hover {
  background: linear-gradient(135deg, #8b4513, #6b3a1f);
  border-color: #8b4513;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.surface-layer .btn-secondary {
  background: rgba(255,255,255,0.85);
  color: #4a2815;
  border: 2px solid #6b3a1f;
}

.surface-layer .btn-secondary:hover {
  background: #4a2815;
  color: #f4e4c1;
}

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  padding: 15px 30px;
  font-family: var(--font-mono);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  font-weight: 500;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--terracotta), #a04428);
  color: var(--sand);
  border: 2px solid var(--terracotta);
  box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold), #b8860b);
  color: var(--text-dark);
  border-color: var(--gold);
  box-shadow: 0 6px 25px rgba(20, 184, 166, 0.5);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(20, 184, 166, 0.4);
}

.btn-secondary {
  background: rgba(0,0,0,0.6);
  color: var(--gold);
  border: 2px solid var(--gold);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
  background: var(--gold);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-large {
  padding: 20px 45px;
  font-size: 16px;
  letter-spacing: 2px;
}

/* ========== Scroll Indicator ========== */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #4a3520;
  font-size: 12px;
  font-family: var(--font-mono);
  animation: dig 2s ease-in-out infinite;
  z-index: 20;
}

@keyframes dig {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 3px solid #5a3d20;
  border-bottom: 3px solid #5a3d20;
  transform: rotate(45deg);
}

/* ========== Section Styling ========== */
.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--terracotta);
  letter-spacing: 2px;
  margin-bottom: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,0.4);
  padding: 8px 15px;
  border-radius: 4px;
}

.section-label::before {
  content: '⛏';
  font-size: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--sand);
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.5);
}

.section-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 50px;
}

/* ========== About Cards ========== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 50px;
}

.about-card {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(20, 184, 166, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.about-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(20, 184, 166, 0.12);
}

.about-card:hover::before {
  opacity: 1;
}

.about-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(13, 47, 94, 0.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border);
}

.about-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--gold);
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--gold);
}

.about-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* ========== FRC Section ========== */
.frc-intro {
  margin-bottom: 40px;
}

.frc-main {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.frc-main p {
  font-size: 16px;
  line-height: 1.8;
}

.frc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .frc-grid {
    grid-template-columns: 1fr;
  }
}

.frc-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px 25px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.frc-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.15);
}

.frc-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--terracotta) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.frc-card.frc-main .frc-icon {
  margin: 0 auto 20px;
}

.frc-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--text-dark);
}

.frc-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--gold);
}

.frc-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.frc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.frc-list li {
  color: var(--text-secondary);
  font-size: 13px;
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.frc-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.frc-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .frc-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.frc-stat {
  text-align: center;
  padding: 25px 15px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.frc-stat-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 5px;
}

.frc-stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* FRC Artifacts positioning */
.artifact-controller {
  top: 15%;
  left: 8%;
  width: 60px;
  animation-delay: 0.3s;
}

.artifact-battery {
  top: 60%;
  right: 10%;
  width: 50px;
  animation-delay: 0.6s;
}

.artifact-wheel {
  bottom: 20%;
  left: 5%;
  width: 50px;
  animation-delay: 0.9s;
}

/* ========== Motto Box ========== */
.motto-box {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(36, 26, 14, 0.4));
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  padding: 45px 50px;
  text-align: center;
  border-radius: 12px;
  position: relative;
  margin-top: 0;
  margin-bottom: 40px;
  transition: all 0.4s ease;
}

.motto-box:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(20, 184, 166, 0.1);
  border-color: rgba(20, 184, 166, 0.4);
}

.motto-box::before,
.motto-box::after {
  content: '❝';
  font-size: 40px;
  color: var(--gold);
  opacity: 0.35;
  position: absolute;
}

.motto-box::before { top: 15px; left: 25px; }
.motto-box::after { content: '❞'; bottom: 15px; right: 25px; }

.motto-box p {
  font-family: var(--font-mono);
  font-size: 21px;
  color: var(--sand);
  font-style: italic;
  line-height: 1.7;
}

/* ========== Timeline ========== */
.timeline {
  position: relative;
  max-width: 750px;
  margin: 0 auto;
  padding-left: 70px;
  text-align: left;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom,
    var(--sand) 0%,
    var(--terracotta) 50%,
    var(--gold) 100%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-year {
  position: absolute;
  left: -70px;
  width: 45px;
  height: 45px;
  background: rgba(0,0,0,0.6);
  border: 3px solid var(--sand);
  border-radius: 4px;
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--sand);
  z-index: 1;
}

.timeline-year::after {
  content: attr(data-year);
  transform: rotate(-45deg);
}

.timeline-current .timeline-year {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--text-dark);
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.6);
}

.timeline-content {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 25px;
  backdrop-filter: blur(5px);
}

.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 10px;
}

.timeline-content p {
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-size: 14px;
}

.timeline-images {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.timeline-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 2px solid var(--border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.timeline-video {
  width: 100%;
  max-width: 200px;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 2px solid var(--border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.timeline-images .timeline-image {
  margin-bottom: 0;
  max-width: 250px;
  height: 200px;
  object-fit: cover;
}

.timeline-caption {
  font-style: italic;
  color: var(--sand);
  font-size: 13px;
}

.timeline-badge {
  display: inline-block;
  padding: 5px 15px;
  background: rgba(13, 148, 136, 0.3);
  border: 1px solid var(--terracotta);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--terracotta);
}

/* ========== Team Grid ========== */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 0 auto 30px auto;
  max-width: 1300px;
  width: 100%;
  box-sizing: border-box;
}

.team-card {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
  width: 200px;
  flex: 0 0 200px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.team-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
  transition: width 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(20, 184, 166, 0.15);
}

.team-card:hover::after {
  width: 80%;
}

.team-photo {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto 18px;
  border: 3px solid var(--gold);
  display: block;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.team-card:hover .team-photo {
  transform: scale(1.08);
  box-shadow: 0 6px 25px rgba(20, 184, 166, 0.25);
}

.team-avatar {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--sand), var(--terracotta));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  border: 3px solid var(--border);
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.team-card:hover .team-avatar {
  transform: scale(1.08);
  border-color: var(--gold);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.25);
}

.team-card h3 {
  font-size: 15px;
  margin-bottom: 5px;
  color: var(--sand);
}

.team-role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--terracotta);
  margin-bottom: 8px;
}

.team-bio {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

ul.team-bio {
  text-align: left;
  list-style-position: inside;
  padding-left: 0;
  margin: 0;
}

ul.team-bio li {
  margin-bottom: 4px;
}

ul.team-bio a {
  color: var(--gold);
}

ul.team-bio a:hover {
  color: var(--gold-light);
}

.team-more {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
}

/* ========== Robots Grid ========== */
.robots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 80px;
}

.robot-card {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.robot-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold), var(--terracotta));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.robot-card:hover {
  border-color: var(--gold);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(20, 184, 166, 0.12);
  transform: translateY(-5px);
}

.robot-card:hover::before {
  opacity: 1;
}

.robot-featured {
  border-color: var(--terracotta);
  box-shadow: 0 0 25px rgba(13, 148, 136, 0.2);
}

.robot-featured::before {
  opacity: 1;
  background: linear-gradient(180deg, var(--terracotta), var(--gold));
}

.robot-header {
  margin-bottom: 15px;
}

.robot-tag {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--terracotta), #a04428);
  color: var(--sand);
  font-family: var(--font-mono);
  font-size: 10px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.robot-featured .robot-tag {
  background: linear-gradient(135deg, var(--gold), #b8860b);
  color: var(--text-dark);
}

.robot-header h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--gold);
}

.robot-specs {
  margin-bottom: 15px;
}

.spec {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(45, 160, 140, 0.2);
  font-size: 12px;
}

.spec:last-child { border-bottom: none; }

.spec-label {
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.spec-value {
  color: var(--sand);
}

.robot-image {
  width: 40%;
  display: block;
  margin: 0 auto 15px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.robot-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ========== Stats Grid ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px 15px;
  text-align: center;
  backdrop-filter: blur(5px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
  text-shadow: 0 0 15px rgba(20, 184, 166, 0.4);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

/* ========== Episode Topics ========== */
.episode-topics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.topic {
  padding: 8px 18px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--sand);
  transition: all 0.3s ease;
}

.topic:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ========== Resources Links ========== */
.resources-links {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.resource-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 30px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid #e6ff00;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--sand);
  transition: all 0.3s ease;
  box-shadow: 0 0 10px #e6ff00, 0 0 20px rgba(230, 255, 0, 0.5), inset 0 0 10px rgba(230, 255, 0, 0.1);
}

.resource-link:hover {
  border-color: #ffff00;
  color: var(--gold);
  box-shadow: 0 0 15px #ffff00, 0 0 30px rgba(255, 255, 0, 0.6), inset 0 0 15px rgba(255, 255, 0, 0.2);
}

.resource-link svg {
  width: 16px;
  height: 16px;
}

/* ========== Sponsors ========== */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  max-width: 700px;
  margin: 0 auto 50px;
}

.sponsor-card {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 35px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.sponsor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sponsor-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(20, 184, 166, 0.15);
}

.sponsor-card:hover::before {
  opacity: 1;
}

.sponsor-primary {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.1);
}

.sponsor-logo {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.sponsor-card:hover .sponsor-logo {
  transform: scale(1.05);
}

.sponsor-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.sponsor-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--terracotta);
  font-family: var(--font-mono);
  font-size: 13px;
  transition: color 0.3s ease;
}

.sponsor-link:hover {
  color: var(--gold);
}

.sponsor-cta {
  text-align: center;
  padding: 50px 40px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(36, 26, 14, 0.6) 100%);
  border: 2px solid var(--border);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.sponsor-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold), var(--terracotta));
}

.sponsor-cta:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 40px rgba(20, 184, 166, 0.15);
}

.sponsor-cta h3 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 15px;
}

.sponsor-cta p {
  color: var(--text-secondary);
  margin-bottom: 25px;
  font-size: 16px;
  line-height: 1.7;
}

/* ========== Contact ========== */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 850px;
  margin: 0 auto;
  text-align: left;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
}

.contact-item h4 {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 4px;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.contact-item a,
.contact-item p {
  font-size: 15px;
  color: var(--sand);
}

.contact-message {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-message p {
  color: var(--text-secondary);
  margin-bottom: 25px;
  font-size: 16px;
  line-height: 1.7;
}

/* ========== Bedrock Layer (Jurassic) ========== */
.bedrock-layer {
  height: 250px;
  background: linear-gradient(180deg, var(--layer-7) 0%, #1a0f08 50%, #120a05 100%);
  position: relative;
  overflow: hidden;
}

.bedrock-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Dark soil texture instead of grid */
  background-image:
    radial-gradient(circle at 15% 25%, rgba(40, 25, 15, 0.4) 1px, transparent 1px),
    radial-gradient(circle at 75% 60%, rgba(30, 18, 10, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 45% 80%, rgba(50, 30, 15, 0.25) 1px, transparent 1px),
    radial-gradient(circle at 85% 30%, rgba(35, 20, 10, 0.35) 1px, transparent 1px);
  background-size: 40px 40px, 60px 60px, 35px 35px, 55px 55px;
}

/* Bedrock Dinosaur Fossils */
.bedrock-layer .artifact {
  z-index: 2;
}

.bedrock-layer .artifact svg {
  color: rgba(200, 180, 150, 0.8);
  filter: drop-shadow(0 0 10px rgba(180, 160, 140, 0.4));
}

.bedrock-layer .artifact:hover svg {
  color: rgba(220, 200, 170, 0.95);
  filter: drop-shadow(0 0 20px rgba(200, 180, 160, 0.6));
}

/* Bedrock neon glow artifact */
.bedrock-layer .artifact.neon-glow svg {
  color: #ffff00;
  filter: drop-shadow(0 0 8px #ffff00)
          drop-shadow(0 0 20px #ffff00)
          drop-shadow(0 0 40px rgba(255, 255, 0, 0.8));
}

.artifact-trex {
  width: 140px;
  height: 70px;
  top: 30px;
  left: 10%;
  animation: artifactFloat 6s ease-in-out infinite;
}

.artifact-trilobite {
  width: 55px;
  height: 75px;
  top: 50px;
  right: 8%;
  animation: artifactFloat 5s ease-in-out infinite 1s;
}

.artifact-ammonite {
  width: 65px;
  height: 65px;
  top: 80px;
  left: 45%;
  animation: artifactFloat 5.5s ease-in-out infinite 0.5s;
}

.artifact-dino-bone {
  width: 90px;
  height: 35px;
  top: 40px;
  right: 30%;
  transform: rotate(-15deg);
  animation: artifactFloat 4.5s ease-in-out infinite 1.5s;
}

.bedrock-layer .age-label {
  bottom: 20px;
  right: 30px;
  background: rgba(20, 12, 8, 0.9);
  border-color: rgba(160, 140, 100, 0.5);
}

.bedrock-layer .age-label:hover {
  border-color: #c4a35a;
  box-shadow: 0 0 15px rgba(196, 163, 90, 0.3);
}

.bedrock-layer .age-label strong {
  color: #c4a35a;
}

.bedrock-layer .age-tooltip {
  background: rgba(30, 22, 15, 0.98);
  border-color: #c4a35a;
}

.bedrock-layer .age-tooltip .tooltip-title {
  color: #c4a35a;
}

/* Bedrock artifacts - tooltips appear above */
.bedrock-layer .artifact-tooltip.extended {
  top: auto;
  bottom: calc(100% + 12px);
  background: rgba(20, 12, 8, 0.98);
  border-color: rgba(160, 140, 100, 0.6);
}

.artifact-trex .artifact-tooltip.extended {
  left: 0 !important;
  transform: translateX(0) !important;
  bottom: calc(100% + 15px);
  top: auto;
}

/* Fix pocket watch tooltip - move right */
.artifact-wrench .artifact-tooltip.extended {
  left: 0 !important;
  right: auto !important;
  transform: translateX(0) !important;
}

/* Fix mammoth tusk tooltip - move left */
.artifact-bone .artifact-tooltip.extended {
  left: auto !important;
  right: -20px !important;
  transform: translateX(0) !important;
}

.artifact-trilobite .artifact-tooltip.extended {
  right: 0 !important;
  left: auto !important;
  transform: translateX(0) !important;
}

.artifact-ammonite .artifact-tooltip.extended {
  left: 50% !important;
  transform: translateX(-50%) !important;
}

.artifact-dino-bone .artifact-tooltip.extended {
  right: 0 !important;
  left: auto !important;
  transform: translateX(0) !important;
}

/* ========== Footer ========== */
.footer {
  background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
  border-top: 4px solid var(--gold);
  padding: 60px 20px 50px;
  text-align: center;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 18px;
  text-shadow: 0 0 30px rgba(20, 184, 166, 0.3);
}

.footer-motto {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  font-style: italic;
  opacity: 0.9;
}

.footer-origin {
  font-size: 13px;
  color: var(--terracotta);
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.footer-copy {
  font-size: 12px;
  color: rgba(224, 247, 244, 0.4);
  letter-spacing: 0.3px;
}

/* ========== Fade In Animation ========== */
.fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Sponsor Popup ========== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-modal {
  background: linear-gradient(145deg, #132d4a, #0a1f1c);
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 45px 35px;
  max-width: 450px;
  width: 90%;
  text-align: center;
  transform: scale(0.8);
  transition: transform 0.4s ease;
  box-shadow: 0 0 40px rgba(20, 184, 166, 0.4);
}

.popup-overlay.active .popup-modal {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  font-size: 30px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.3s ease;
}

.popup-close:hover {
  color: var(--gold);
}

.popup-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--gold), var(--terracotta));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--text-dark);
  fill: var(--text-dark);
}

.popup-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 15px;
}

.popup-message {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.popup-email {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--sand);
  background: rgba(20, 184, 166, 0.2);
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid var(--gold);
  margin-bottom: 20px;
}

.popup-email:hover {
  background: rgba(20, 184, 166, 0.3);
}

.popup-btn {
  width: 100%;
  padding: 16px 25px;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .robots-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: center;
  }

  .contact-info {
    align-items: center;
  }

  .layer-label {
    display: none;
  }

  .age-label {
    font-size: 12px;
    padding: 10px 15px;
    right: 20px;
    bottom: 20px;
  }

  .age-label .age-tooltip {
    width: 240px;
    padding: 12px;
  }

  .age-tooltip .tooltip-desc {
    font-size: 11px;
  }

  .artifact-tooltip.extended {
    width: 190px;
    padding: 10px;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
  }

  .artifact-tooltip .tooltip-name {
    font-size: 11px;
  }

  .artifact-tooltip .tooltip-info {
    font-size: 9px;
    line-height: 1.4;
  }

  .artifact-tooltip .tooltip-dig-time {
    font-size: 8px;
  }

  .dig-site {
    transform: scale(0.85);
  }

  .surface-figures {
    gap: 60px;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero-title { font-size: 40px; }
  .hero-subtitle-text { font-size: 18px; }
  .section-title { font-size: 32px; }

  .surface-tool { display: none; }

  .dig-site {
    transform: scale(0.7);
  }

  .surface-figures {
    gap: 40px;
    padding: 0 10%;
  }

  .hole-1 { left: 10%; }
  .hole-2 { right: 10%; }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }

  .sponsors-grid {
    grid-template-columns: 1fr;
  }

  /* Keep artifacts visible but smaller on tablet */
  .artifact {
    transform: scale(0.7);
  }

  .artifact svg {
    opacity: 0.6;
  }

  /* Hide some surface artifacts on tablet */
  .artifact-ring,
  .artifact-shell,
  .artifact-gear-surface {
    display: none;
  }

  .timeline {
    padding-left: 50px;
  }

  .timeline::before {
    left: 15px;
  }

  .timeline-year {
    left: -50px;
    width: 35px;
    height: 35px;
    font-size: 9px;
  }

  .resources-links {
    flex-direction: column;
    align-items: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .nav { padding: 12px 20px; }
  .nav-logo { font-size: 22px; }

  .hero-title { font-size: 32px; }
  .hero-tagline { font-size: 14px; }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    padding: 0 20px;
  }

  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }

  .dig-site {
    display: none;
  }

  /* Hide some artifacts on mobile, keep main ones */
  .artifact-laptop,
  .artifact-medal,
  .artifact-wrench,
  .artifact-scroll,
  .artifact-column,
  .artifact-scarab,
  .artifact-arrowhead,
  .surface-artifact {
    display: none;
  }

  /* Show just a couple on mobile */
  .artifact-pottery,
  .artifact-coin-surface {
    display: block;
    transform: scale(0.6);
  }

  .stat-number { font-size: 32px; }
  .stats-grid { gap: 12px; }

  .age-label {
    font-size: 11px;
    padding: 8px 12px;
    right: 15px;
    bottom: 15px;
  }

  .age-label .age-tooltip {
    width: 200px;
    padding: 10px;
    right: -10px;
  }

  .age-tooltip .tooltip-title {
    font-size: 12px;
  }

  .age-tooltip .tooltip-period {
    font-size: 10px;
  }

  .age-tooltip .tooltip-desc {
    font-size: 10px;
  }

  .artifact-tooltip.extended {
    width: 160px;
    padding: 8px;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
  }

  .artifact-tooltip .tooltip-name {
    font-size: 10px;
  }

  .artifact-tooltip .tooltip-info {
    font-size: 8px;
    line-height: 1.3;
  }

  .artifact-tooltip .tooltip-dig-time {
    font-size: 7px;
    padding-top: 4px;
    margin-top: 4px;
  }

  .episode-topics {
    gap: 8px;
  }

  .topic {
    padding: 6px 14px;
    font-size: 11px;
  }
}

/* ========== Multi-Page Layout ========== */

/* Home Page Hero */
/* .home-page uses body background */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 100px 20px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(20, 184, 166, 0.15) 0%, transparent 50%),
    rgba(26, 20, 16, 0.75);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(20, 184, 166, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(13, 148, 136, 0.08) 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: rgba(20, 184, 166, 0.2);
  border: 1px solid var(--gold);
  padding: 8px 20px;
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 30px;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(48px, 10vw, 100px);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 15px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--gold) 0%, var(--terracotta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-location {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--sand);
  margin-bottom: 25px;
  letter-spacing: 3px;
}

.hero-tagline {
  font-size: 18px;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 40px;
  font-style: italic;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px 30px;
  border-radius: 10px;
  border-left: 3px solid var(--gold);
}

.hero-cta {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Quick Links Section */
.quick-links {
  padding: 80px 20px;
  background: rgba(26, 20, 16, 0.8);
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: var(--container-width);
  margin: 0 auto;
}

@media (max-width: 900px) {
  .quick-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .quick-links-grid {
    grid-template-columns: 1fr;
  }
}

.quick-link-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 35px 30px;
  text-decoration: none;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.quick-link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--terracotta));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.quick-link-card:hover {
  border-color: rgba(20, 184, 166, 0.5);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(20, 184, 166, 0.1);
  background: rgba(0, 0, 0, 0.45);
}

.quick-link-card:hover::before {
  transform: scaleX(1);
}

.quick-link-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--terracotta) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
  transition: all 0.3s ease;
}

.quick-link-card:hover .quick-link-icon {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
}

.quick-link-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--text-dark);
}

.quick-link-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.quick-link-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Home Stats */
.home-stats {
  padding: 60px 20px;
  background: rgba(26, 20, 16, 0.8);
}

/* Page Header */
.page-header {
  min-height: 25vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 30px 10px;
  background: rgba(26, 20, 16, 0.75);
  text-align: center;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(20, 184, 166, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(13, 148, 136, 0.04) 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px;
  pointer-events: none;
}

.page-header-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.page-title {
  font-family: var(--font-title);
  font-size: clamp(40px, 9vw, 72px);
  font-weight: 400;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--terracotta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  letter-spacing: 3px;
  text-shadow: none;
  animation: titleFadeIn 0.8s ease-out;
}

@keyframes titleFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.8;
  animation: subtitleFadeIn 0.8s ease-out 0.2s both;
}

@keyframes subtitleFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page Content */
.page-content {
  padding: 30px 30px 100px;
  background: rgba(26, 20, 16, 0.8);
  min-height: 60vh;
}

.page-content .container {
  max-width: var(--container-width);
  margin: 0 auto;
}

/* Content Sections */
.content-section {
  margin-bottom: 80px;
}

.content-section h2 {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 35px;
  text-align: center;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 15px;
}

.content-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--terracotta));
  border-radius: 2px;
}

.lead-text {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.9;
  text-align: center;
  max-width: 750px;
  margin: 0 auto 60px;
  padding: 30px 40px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  border-left: 4px solid var(--gold);
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

@media (max-width: 700px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-item {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 35px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold), var(--terracotta));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-item:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(20, 184, 166, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(20, 184, 166, 0.1);
}

.feature-item:hover::before {
  opacity: 1;
}

.feature-item h4 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 15px;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.feature-item:hover h4 {
  color: var(--gold-light);
}

.feature-item p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 800px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

.skill-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 25px 20px;
}

.skill-card h4 {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 10px;
}

.skill-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Tech Tags */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tech-tag {
  background: rgba(20, 184, 166, 0.15);
  border: 1px solid var(--gold);
  padding: 8px 18px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 50px 30px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-top: 40px;
}

.cta-section h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 15px;
}

.cta-section p {
  color: var(--text-secondary);
  margin-bottom: 25px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-section h2 {
  text-align: left;
  margin-bottom: 15px;
}

.contact-info-section > p {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(0, 0, 0, 0.35);
  border-color: var(--border);
  transform: translateX(5px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--terracotta) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
  transform: scale(1.05);
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-dark);
}

.contact-item h4 {
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 6px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-item a,
.contact-item p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-item a {
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--gold);
}

.contact-cta-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-cta-card {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(36, 26, 14, 0.5));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 35px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.contact-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
}

.contact-cta-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px);
}

.contact-cta-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 12px;
}

.contact-cta-card p {
  color: var(--text-secondary);
  margin-bottom: 25px;
  font-size: 15px;
  line-height: 1.7;
}

.contact-links h4 {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-link {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(20, 184, 166, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

@media (max-width: 700px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.faq-item {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(0, 0, 0, 0.45);
  border-color: rgba(20, 184, 166, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.faq-item h4 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 12px;
}

.faq-item p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item a {
  color: var(--terracotta);
  transition: color 0.3s ease;
}

.faq-item a:hover {
  color: var(--gold);
}

/* Sponsors Page */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .tiers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .tiers-grid {
    grid-template-columns: 1fr;
  }
}

.tier-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 25px 20px;
  text-align: center;
}

.tier-card.tier-featured {
  border-color: var(--gold);
  background: rgba(20, 184, 166, 0.1);
}

.tier-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 10px;
}

.tier-amount {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.tier-benefits {
  list-style: none;
  text-align: left;
}

.tier-benefits li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid rgba(45, 160, 140, 0.15);
}

.tier-benefits li:last-child {
  border-bottom: none;
}

.inkind-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.inkind-item {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.sponsor-link {
  display: inline-block;
  margin-top: 15px;
  font-size: 13px;
  color: var(--gold);
}

/* Departments Grid */
.departments-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

@media (max-width: 900px) {
  .departments-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .departments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.department-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 15px;
  text-align: center;
}

.department-card h4 {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 8px;
}

.department-card p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* FRC Hero */
.frc-hero {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.frc-hero h2 {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 20px;
}

/* Active Nav State */
.nav-links a.active {
  color: var(--gold);
}

/* Button Large */
.btn-large {
  padding: 16px 35px;
  font-size: 16px;
}

