    * { margin: 0; padding: 0; box-sizing: border-box; }

    :root {
      --gold: #FFD700;
      --gold-light: #ffee88;
      --cyan: #00ffff;
      --purple: #aa00ff;
      --bg-dark: #000000;
      --bg-void: #0a0a1a;
      --success: #00CED1;
      --danger: #ff4444;
    }

    html {
      scroll-behavior: smooth;
      overflow-x: hidden;
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      background: var(--bg-dark);
      color: #fff;
      overflow-x: hidden;
      line-height: 1.7;
      touch-action: manipulation;
      overscroll-behavior: none;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    /* ========== ANIMATED SPACE BACKGROUND ========== */
    .space-bg {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
      background: radial-gradient(ellipse at center, #0a0a2a 0%, #000000 100%);
      overflow: hidden;
    }

    .stars {
      position: absolute;
      width: 100%;
      height: 100%;
    }

    .stars-layer {
      position: absolute;
      width: 200%;
      height: 200%;
      background-image:
        radial-gradient(2px 2px at 20px 30px, #fff, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(255,215,0,0.6), transparent),
        radial-gradient(1px 1px at 160px 120px, #fff, transparent);
      background-size: 200px 200px;
      animation: parallax-stars 100s linear infinite;
    }

    .stars-layer.layer-2 {
      background-image:
        radial-gradient(1px 1px at 50px 50px, rgba(0,255,255,0.8), transparent),
        radial-gradient(2px 2px at 100px 150px, #fff, transparent),
        radial-gradient(1px 1px at 200px 100px, rgba(170,0,255,0.6), transparent);
      background-size: 300px 300px;
      animation: parallax-stars 150s linear infinite;
      opacity: 0.7;
    }

    .stars-layer.layer-3 {
      background-image:
        radial-gradient(3px 3px at 70px 20px, var(--gold), transparent),
        radial-gradient(2px 2px at 180px 160px, var(--cyan), transparent);
      background-size: 400px 400px;
      animation: parallax-stars 200s linear infinite;
      opacity: 0.5;
    }

    @keyframes parallax-stars {
      from { transform: translate(0, 0); }
      to { transform: translate(-50%, -50%); }
    }

    /* Nebula effect */
    .nebula {
      position: absolute;
      width: 100%;
      height: 100%;
      background:
        radial-gradient(ellipse at 20% 50%, rgba(170,0,255,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(0,255,255,0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 80%, rgba(255,215,0,0.08) 0%, transparent 45%);
      animation: nebula-pulse 20s ease-in-out infinite alternate;
    }

    @keyframes nebula-pulse {
      from { opacity: 0.6; }
      to { opacity: 1; }
    }

    /* Floating particles */
    .particles {
      position: absolute;
      width: 100%;
      height: 100%;
      overflow: hidden;
    }

    .particle {
      position: absolute;
      width: 4px;
      height: 4px;
      background: var(--gold);
      border-radius: 50%;
      opacity: 0;
      animation: float-up 8s ease-in-out infinite;
    }

    @keyframes float-up {
      0% { opacity: 0; transform: translateY(100vh) scale(0); }
      10% { opacity: 1; }
      90% { opacity: 1; }
      100% { opacity: 0; transform: translateY(-10vh) scale(1); }
    }

    /* ========== NAVIGATION ========== */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 10001;
      padding: 0.7rem 1.5rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: rgba(5,5,18,0.95);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(255,215,0,0.15);
      transition: all 0.3s;
      box-shadow: 0 2px 20px rgba(0,0,0,0.5);
    }

    .nav.scrolled {
      padding: 0.5rem 1.5rem;
      background: rgba(5,5,18,0.98);
      box-shadow: 0 4px 30px rgba(0,0,0,0.7);
    }

    .nav-logo {
      font-family: 'Cinzel', serif;
      font-size: 1.5rem;
      font-weight: 900;
      color: var(--gold);
      text-decoration: none;
      text-shadow: 0 0 20px rgba(255,215,0,0.5);
    }

    .nav-links {
      display: flex;
      gap: 2rem;
      align-items: center;
    }

    .nav-links a {
      color: #ccc;
      text-decoration: none;
      font-size: 0.9rem;
      transition: color 0.3s;
    }

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

    /* Hamburger menu for mobile */
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 10px;
      min-width: 44px;
      min-height: 44px;
      justify-content: center;
      align-items: center;
      z-index: 10001;
    }
    .hamburger span {
      width: 22px;
      height: 3px;
      background: #FFD700;
      border-radius: 2px;
      transition: all 0.3s;
    }
    .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
    .mobile-drawer {
      display: block;
      position: fixed;
      top: 0;
      right: -100%;
      width: 260px;
      height: 100vh;
      height: 100dvh;
      background: rgba(10,10,30,0.98);
      border-left: 3px solid #FFD700;
      padding: 80px 20px 40px;
      transition: right 0.3s ease;
      z-index: 10000;
      overflow-y: auto;
    }
    .mobile-drawer.open { right: 0; }
    .mobile-drawer a {
      display: block;
      color: #ccc;
      text-decoration: none;
      font-size: 1rem;
      padding: 14px 0;
      border-bottom: 1px solid rgba(255,215,0,0.1);
      letter-spacing: 1px;
      transition: color 0.3s;
    }
    .mobile-drawer a:hover { color: var(--cyan); }
    .mobile-drawer-overlay {
      display: none;
      position: fixed;
      top: 0; left: 0; width: 100%; height: 100%;
      background: rgba(0,0,0,0.5);
      z-index: 9999;
    }
    .mobile-drawer-overlay.open { display: block; }

    @media (max-width: 768px) {
      .hamburger { display: flex; }
    }

    .nav-btn {
      padding: 0.6rem 1.5rem;
      background: linear-gradient(135deg, var(--gold) 0%, #ffaa00 100%);
      color: #000;
      font-weight: 600;
      border: none;
      border-radius: 6px;
      text-decoration: none;
      transition: all 0.3s;
    }

    .nav-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 20px rgba(255,215,0,0.4);
    }

    /* ========== HERO SECTION ========== */
    .hero {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 4rem 2rem 3rem;
      position: relative;
    }

    .hero-content {
      max-width: 900px;
      width: 100%;
      margin: 0 auto;
      z-index: 10;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .hero-logo-img {
      max-width: 90%;
      width: 800px;
      height: auto;
      margin-bottom: 1rem;
      filter: drop-shadow(0 0 30px rgba(255,215,0,0.6));
      animation: logo-glow 3s ease-in-out infinite alternate;
    }

    @keyframes logo-glow {
      from {
        filter: drop-shadow(0 0 30px rgba(255,215,0,0.6));
      }
      to {
        filter: drop-shadow(0 0 50px rgba(255,215,0,0.9)) drop-shadow(0 0 80px rgba(0,255,255,0.4));
      }
    }

    .hero-tagline {
      font-size: clamp(1.5rem, 4vw, 2.8rem);
      font-weight: 900;
      color: #fff;
      margin-bottom: 1rem;
      text-shadow: 0 0 20px rgba(255,255,255,0.3);
      white-space: nowrap;
      letter-spacing: 3px;
      font-family: 'Cinzel', serif;
    }

    .hero-subtitle {
      font-size: clamp(1rem, 2vw, 1.25rem);
      color: var(--cyan);
      margin-bottom: 2.5rem;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.8;
    }

    .hero-buttons {
      display: flex;
      gap: 1.5rem;
      justify-content: center;
      flex-wrap: wrap;
      margin-bottom: 3rem;
    }

    .btn-primary {
      padding: 1.2rem 2.5rem;
      font-size: 1.2rem;
      font-weight: 700;
      background: linear-gradient(135deg, var(--gold) 0%, #ffaa00 100%);
      color: #000;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      transition: all 0.3s;
      box-shadow: 0 0 30px rgba(255,215,0,0.4);
      animation: btn-pulse 2s ease-in-out infinite;
    }

    @keyframes btn-pulse {
      0%, 100% { box-shadow: 0 0 30px rgba(255,215,0,0.4); }
      50% { box-shadow: 0 0 50px rgba(255,215,0,0.7); }
    }

    .btn-primary:hover {
      transform: translateY(-3px) scale(1.02);
      box-shadow: 0 10px 40px rgba(255,215,0,0.6);
    }

    .btn-secondary {
      padding: 1.2rem 2.5rem;
      font-size: 1.2rem;
      font-weight: 600;
      background: transparent;
      color: var(--cyan);
      border: 2px solid var(--cyan);
      border-radius: 8px;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      transition: all 0.3s;
    }

    .btn-secondary:hover {
      background: rgba(0,255,255,0.1);
      transform: translateY(-3px);
      box-shadow: 0 5px 20px rgba(0,255,255,0.3);
    }

    .btn-quickplay {
      padding: 0.8rem 2rem;
      font-size: 0.95rem;
      font-weight: 700;
      background: transparent;
      color: var(--cyan);
      border: 2px solid var(--cyan);
      border-radius: 8px;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      transition: all 0.3s;
      font-family: 'Cinzel', serif;
      letter-spacing: 2px;
    }

    .btn-quickplay:hover {
      background: rgba(0,255,255,0.1);
      transform: translateY(-2px);
      box-shadow: 0 5px 20px rgba(0,255,255,0.3);
    }

    .hero-social-proof {
      color: #888;
      font-size: 0.95rem;
      margin-bottom: 2rem;
    }

    .hero-social-proof span {
      color: var(--gold);
    }

    .scroll-indicator {
      position: absolute;
      bottom: 0.8rem;
      left: 50%;
      transform: translateX(-50%);
      color: #666;
      font-size: 0.9rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
      animation: bounce 2s ease-in-out infinite;
    }

    .scroll-indicator svg {
      width: 24px;
      height: 24px;
      stroke: var(--cyan);
    }

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

    /* ========== TERMINAL PREVIEW SECTION ========== */
    .terminal-section {
      padding: 3.5rem 2rem;
      background: linear-gradient(180deg, transparent 0%, rgba(0,255,255,0.02) 50%, transparent 100%);
    }

    .section-title {
      text-align: center;
      margin-bottom: 1.5rem;
    }

    .section-title h2 {
      font-family: 'Cinzel', serif;
      font-size: clamp(1.5rem, 4vw, 2.5rem);
      color: var(--cyan);
      margin-bottom: 0.5rem;
    }

    .section-title p {
      color: #888;
      font-size: 1.1rem;
    }

    .terminal-preview {
      max-width: 900px;
      margin: 0 auto;
      background: linear-gradient(135deg, rgba(0,0,0,0.95), rgba(5,5,25,0.95));
      border: 2px solid rgba(0,206,209,0.6);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 0 60px rgba(0,206,209,0.15), inset 0 0 80px rgba(0,0,0,0.5);
    }

    .terminal-header {
      background: linear-gradient(90deg, #1a1a2e 0%, #16213e 100%);
      padding: 0.8rem 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      border-bottom: 1px solid rgba(0,255,255,0.3);
    }

    .terminal-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
    }

    .terminal-dot.red { background: #ff5f56; }
    .terminal-dot.yellow { background: #ffbd2e; }
    .terminal-dot.green { background: #27ca40; }

    .terminal-title {
      margin-left: 1rem;
      color: var(--cyan);
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.85rem;
    }


    .terminal-line {
      margin-bottom: 0.5rem;
      opacity: 0;
      animation: type-in 0.3s ease forwards;
    }

    .terminal-line.prompt { color: var(--success); }
    .terminal-line.output { color: #ccc; }
    .terminal-line.success { color: var(--success); }
    .terminal-line.warning { color: var(--gold); }
    .terminal-line.info { color: var(--cyan); }

    @keyframes type-in {
      from { opacity: 0; transform: translateX(-10px); }
      to { opacity: 1; transform: translateX(0); }
    }

    .cursor {
      display: inline-block;
      width: 10px;
      height: 18px;
      background: var(--cyan);
      animation: blink 1s step-end infinite;
      vertical-align: middle;
    }

    @keyframes blink {
      50% { opacity: 0; }
    }

    /* ========== GAME FLOW SECTION ========== */
    .skills-section {
      padding: 3rem 2rem;
      overflow: hidden;
    }

    .game-flow {
      max-width: 1200px;
      margin: 0 auto;
    }

    .flow-step {
      background: linear-gradient(135deg, rgba(26,0,51,0.9) 0%, rgba(51,0,102,0.8) 100%);
      border: 2px solid var(--purple);
      border-radius: 16px;
      padding: 1.5rem;
      width: 180px;
      text-align: center;
      transition: all 0.3s;
    }

    .flow-step:hover {
      transform: translateY(-8px);
      box-shadow: 0 0 30px rgba(170,0,255,0.5);
      border-color: var(--cyan);
    }

    .flow-icon {
      font-size: 2.5rem;
      margin-bottom: 0.8rem;
    }

    .flow-step h3 {
      font-family: 'Cinzel', serif;
      font-size: 0.9rem;
      color: var(--cyan);
      margin-bottom: 0.5rem;
    }

    .flow-step p {
      color: #aaa;
      font-size: 0.8rem;
      line-height: 1.5;
    }

    .flow-arrow {
      color: var(--gold);
      font-size: 2rem;
      font-weight: bold;
    }

    .athelgard-banner {
      max-width: 700px;
      margin: 3rem auto 0;
      display: flex;
      align-items: center;
      gap: 1.5rem;
      padding: 1.5rem 2rem;
      background: rgba(170,0,255,0.1);
      border: 2px solid var(--purple);
      border-radius: 12px;
    }

    .athelgard-avatar {
      width: 70px;
      height: 70px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--purple), var(--cyan));
      flex-shrink: 0;
    }

    .athelgard-text {
      color: #ccc;
      font-size: 1.1rem;
      line-height: 1.5;
    }

    .athelgard-text strong {
      color: var(--purple);
    }

    @media (max-width: 900px) {
      .flow-arrow { display: none; }
      .athelgard-banner { flex-direction: column; text-align: center; }
    }

    /* ========== PLANETS SECTION ========== */
    .planets-section {
      padding: 3rem 2rem;
      background: linear-gradient(180deg, transparent 0%, rgba(170,0,255,0.03) 50%, transparent 100%);
    }

    .planets-grid {
      max-width: 1000px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 1rem;
    }

    .planet-card {
      background: linear-gradient(135deg, rgba(10,10,26,0.9) 0%, rgba(26,0,51,0.8) 100%);
      border: 2px solid var(--gold);
      border-radius: 12px;
      padding: 1rem;
      text-align: center;
      cursor: pointer;
      transition: all 0.3s;
      background-size: cover;
      background-position: center;
      position: relative;
      overflow: hidden;
      min-height: 100px;
      content-visibility: auto;
      contain-intrinsic-size: 100px;
    }
    .planet-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(10,10,26,0.85) 100%);
      z-index: 0;
    }
    .planet-card > * {
      position: relative;
      z-index: 1;
    }

    .planet-card:hover {
      transform: translateY(-5px) scale(1.05);
      box-shadow: 0 0 25px rgba(255,215,0,0.4);
    }

    .planet-flag {
      font-size: 2.5rem;
      margin-bottom: 0.4rem;
    }

    .planet-name {
      font-size: 1rem;
      color: #e0e0e0;
      font-weight: 600;
      letter-spacing: 0.05em;
      margin-bottom: 0.3rem;
    }

    /* Panel consensus: "Choose your allegiance" promoted to gold call-to-action */
    .planets-note {
      font-family: 'Cinzel', serif;
      font-size: 1.5rem;
      color: #FFD700;
      text-align: center;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-top: 2.5rem;
      text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
    }

    @media (max-width: 768px) {
      .nav-logo { display: none !important; }
      .planets-grid {
        grid-template-columns: repeat(3, 1fr);
      }
      .planet-flag { font-size: 2rem; }
      .planet-name { font-size: 0.85rem; }
    }

    /* ========== YOUR ARSENAL — Panel-approved: Kubrick/Scott/Anderson/Bass/Janoff/Jobs/Ive/Disney/Deakins/Mead ========== */
    .learn-section {
      padding: 3rem 2rem;
    }

    .learn-section .section-title h2 {
      font-family: 'Cinzel', serif;
      font-size: 2.5rem;
      color: #FFD700;
      text-align: center;
      letter-spacing: 0.15em;
      margin-bottom: 0.5rem;
      text-shadow: 0 0 20px rgba(255,215,0,0.3);
    }

    .learn-section .section-title p {
      font-size: 1.1rem;
      color: #00CED1;
      text-align: center;
      margin-bottom: 1.5rem;
      letter-spacing: 0.05em;
    }

    .learn-grid {
      max-width: 1200px;
      margin: 0 auto;
    }

    .learn-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 2rem;
      border: 1px solid rgba(0, 206, 209, 0.15);
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.02);
      backdrop-filter: blur(4px);
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .learn-item:hover {
      border-color: rgba(255, 215, 0, 0.5);
      box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
      transform: translateY(-4px);
    }

    .learn-item.expanded {
      padding: 2.5rem;
      border-color: rgba(255, 215, 0, 0.6);
      box-shadow: 0 0 40px rgba(255, 215, 0, 0.15);
      background: rgba(255, 215, 0, 0.03);
    }

    .learn-item .expanded-detail {
      display: none;
      margin-top: 1rem;
      padding-top: 1rem;
      border-top: 1px solid rgba(255, 215, 0, 0.15);
      width: 100%;
      text-align: left;
    }

    .learn-item.expanded .expanded-detail {
      display: block;
    }

    .learn-item.expanded .learn-icon {
      width: 260px;
      height: 260px;
      font-size: 6rem;
      border-width: 4px;
      box-shadow: 0 0 40px rgba(255, 215, 0, 0.2), 0 0 80px rgba(255, 215, 0, 0.08);
    }

    .learn-icon {
      width: 200px;
      height: 200px;
      border-radius: 50%;
      object-fit: cover;
      margin: 0 auto 1rem;
      border: 3px solid rgba(255, 215, 0, 0.4);
      box-shadow: 0 0 30px rgba(255, 215, 0, 0.2), 0 0 70px rgba(255, 215, 0, 0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 4.5rem;
      background: linear-gradient(135deg, rgba(255,215,0,0.1) 0%, rgba(0,206,209,0.05) 100%);
      -webkit-user-select: none;
      user-select: none;
      pointer-events: none;
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .learn-icon, [id^="feature-img"] {
      -webkit-touch-callout: none;
      -webkit-user-drag: none;
    }

    .learn-icon img {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      object-fit: cover;
    }

    .learn-item h4 {
      font-family: 'Cinzel', serif;
      font-size: 1.3rem;
      color: #00CED1;
      letter-spacing: 0.1em;
      margin-bottom: 0.5rem;
      text-transform: uppercase;
    }

    .learn-item p {
      font-size: 0.95rem;
      color: #aaa;
      line-height: 1.5;
      max-width: 320px;
      font-style: italic;
    }

    /* ========== FEATURES CAROUSEL — ALL BREAKPOINTS ========== */
    .features-carousel-wrap { position: relative; }
    .features-grid {
      display: flex !important;
      overflow: hidden !important;
      gap: 0 !important;
      position: relative;
    }
    .features-grid > div {
      min-width: 50%;
      flex-shrink: 0;
      transition: transform 0.4s ease;
    }
    .features-carousel-dots {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-top: 24px;
    }
    .features-carousel-dot {
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: rgba(255,255,255,0.25);
      cursor: pointer;
      transition: all 0.3s;
      border: none;
      padding: 0;
    }
    .features-carousel-dot.active {
      background: #FFD700;
      box-shadow: 0 0 8px rgba(255,215,0,0.5);
    }
    .features-carousel-arrow {
      display: flex;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 40px;
      height: 40px;
      background: rgba(0,0,0,0.6);
      border: 1px solid rgba(255,215,0,0.3);
      border-radius: 50%;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: #FFD700;
      font-size: 18px;
      z-index: 2;
      transition: background 0.2s;
    }
    .features-carousel-arrow:hover { background: rgba(255,215,0,0.2); }
    .features-carousel-arrow.prev { left: 8px; }
    .features-carousel-arrow.next { right: 8px; }

    /* ========== ARSENAL SCROLL ARROWS ========== */
    .arsenal-carousel-wrap { position: relative; }
    .arsenal-arrow {
      display: flex;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 40px;
      height: 40px;
      background: rgba(0,0,0,0.6);
      border: 1px solid rgba(0,206,209,0.3);
      border-radius: 50%;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: #00CED1;
      font-size: 18px;
      z-index: 2;
      transition: background 0.2s;
    }
    .arsenal-arrow:hover { background: rgba(0,206,209,0.2); }
    .arsenal-prev { left: 0; }
    .arsenal-next { right: 0; }

    /* ========== YOUR JOURNEY — WRAPPING GRID (all 7 cards visible) ========== */
    .game-flow {
      display: grid !important;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px !important;
      width: 100%;
      box-sizing: border-box;
    }
    .game-flow > * {
      box-sizing: border-box;
    }

    /* ========== KILL CHAIN CAROUSEL ========== */
    .kc-card { min-width: 25%; }
    @media (max-width: 1199px) and (min-width: 901px) { .kc-card { min-width: 33.333%; } }
    @media (max-width: 900px) and (min-width: 601px) { .kc-card { min-width: 50%; } }
    @media (max-width: 600px) { .kc-card { min-width: 50%; } }

    /* ========== YOUR ARSENAL — JS CAROUSEL ALL BREAKPOINTS ========== */
    .learn-grid {
      display: flex !important;
      overflow: hidden !important;
      gap: 0 !important;
      position: relative;
      padding: 0 !important;
      width: 100%;
      box-sizing: border-box;
    }
    .learn-grid .learn-item {
      min-width: 25%;
      flex-shrink: 0;
      transition: transform 0.4s ease;
      padding: 1.5rem;
      box-sizing: border-box;
    }

    /* ========== TABLET BREAKPOINT ========== */
    @media (max-width: 1199px) and (min-width: 901px) {
      .learn-grid .learn-item {
        min-width: 33.333%;
      }
    }

    /* ========== MOBILE SCROLL CAROUSELS ========== */
    @media (max-width: 900px) {
      /* Most Wanted — horizontal scroll */
      .bosses-row {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex-wrap: nowrap !important;
        gap: 16px;
        padding: 0 20px;
      }
      .bosses-row::-webkit-scrollbar { display: none; }
      .bosses-row > * {
        scroll-snap-align: start;
        flex-shrink: 0;
        min-width: 85vw;
        max-width: 85vw;
      }

      /* Features — 1 card at a time on mobile */
      .features-grid > div {
        min-width: 100%;
      }

      /* Your Journey — 2 columns on tablet */
      .game-flow {
        grid-template-columns: repeat(2, 1fr) !important;
      }

      /* Your Arsenal — 2 cards at a time on tablet-mobile */
      .learn-grid .learn-item {
        min-width: 50%;
      }
    }

    @media (max-width: 600px) {
      /* Your Arsenal — 1 card at a time on phone */
      .learn-grid .learn-item {
        min-width: 100%;
      }
      /* 18 Nations — horizontal scroll */
      .planets-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex-wrap: nowrap !important;
        gap: 10px !important;
        padding: 0 16px;
        grid-template-columns: none !important;
      }
      .planets-grid::-webkit-scrollbar { display: none; }
      .planets-grid > .planet-card {
        scroll-snap-align: start;
        flex-shrink: 0;
        min-width: 42vw;
        max-width: 42vw;
      }
      /* Kill chain carousel — responsive card widths */
      .kc-card { min-width: 33.333%; }
      .kc-arrow { display: flex !important; }
    }

    /* ========== FINAL CTA ========== */
    .cta-section {
      padding: 4rem 2rem;
      text-align: center;
      position: relative;
    }

    .cta-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: radial-gradient(ellipse at center, rgba(255,215,0,0.1) 0%, transparent 60%);
    }

    .cta-content {
      position: relative;
      z-index: 10;
    }

    .cta-content h2 {
      font-family: 'Cinzel', serif;
      font-size: clamp(2rem, 5vw, 3rem);
      color: var(--gold);
      margin-bottom: 1rem;
      text-shadow: 0 0 30px rgba(255,215,0,0.5);
    }

    .cta-content p {
      color: #aaa;
      font-size: 1.2rem;
      margin-bottom: 2rem;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }

    /* ========== FOOTER (polished styles below in the reveal/social-proof section) ========== */

    /* ========== RESPONSIVE ========== */
    @media (max-width: 768px) {
      .nav-links {
        display: none;
      }
      /* Mobile PLAY button removed — page should scroll freely */
      /* Hide volume slider and movie button on small mobile */
      #landing-volume, #landing-movie-btn { display: none !important; }
      /* Hide music progress bar on mobile */
      #music-progress { display: none !important; }

      .hero {
        padding-top: 8rem;
      }

      .hero-buttons {
        flex-direction: column;
        align-items: center;
      }

      .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
      }

      .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }

      .planets-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
      }

      .planet-card {
        padding: 0.6rem;
      }

      .planet-emoji, .planet-flag {
        font-size: 1.6rem;
      }

      .planet-name {
        font-size: 0.75rem;
      }

      /* Hero title — smaller on mobile */
      #hero-logo {
        font-size: clamp(2.2rem, 12vw, 4rem) !important;
        letter-spacing: 0.08em !important;
        padding-right: 0.08em !important;
      }

      .hero-tagline {
        font-size: 1rem !important;
        letter-spacing: 1px !important;
      }

      .hero-subtitle {
        font-size: 0.9rem !important;
        padding: 0 10px;
      }

      /* Carousel dots — shrink for small screens */
      .carousel-dot {
        width: 10px !important;
        height: 10px !important;
        padding: 2px !important;
      }
      #hero-carousel-dots {
        gap: 5px !important;
        max-width: 90vw;
        flex-wrap: wrap;
        justify-content: center;
      }

      .hero {
        padding: 4rem 1rem 4.5rem !important;
      }

      /* Mission story — mobile-friendly padding */
      .terminal-section {
        padding: 3rem 0.8rem !important;
      }

      .terminal-preview {
        border-radius: 14px !important;
      }

      /* WHAT YOU ACTUALLY DO — stack cards vertically */
      .section-title h2 {
        font-size: clamp(1.2rem, 5vw, 2rem) !important;
      }

    }

    /* Extra small screens (phones in portrait) */
    @media (max-width: 480px) {
      .planets-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
      }

      .planet-card {
        padding: 0.5rem 0.3rem;
        min-height: 70px;
      }

      .planet-flag, .planet-emoji {
        font-size: 1.3rem;
      }

      .planet-name {
        font-size: 0.65rem;
      }

      #hero-logo {
        font-size: 2rem !important;
      }

      .hero-tagline {
        font-size: 0.85rem !important;
      }

      /* Compact nav on small screens */
      .nav { padding: 0.5rem 0.8rem !important; }
      #landing-volume { display: none !important; }
      /* Hide music progress container + shrink left nav group so hamburger stays visible */
      .nav > div:first-child { min-width:0; flex:1; overflow:hidden; gap:8px !important; }
      .nav > div:first-child > div:last-child { display:none !important; } /* progress bar container */
      .nav .hamburger { flex-shrink:0; }

      .hero {
        padding-top: 5.5rem !important;
      }

      /* Global mobile overflow prevention (except scroll carousels) */
      section:not(.learn-section):not(.skills-section):not(.planets-section), div[style*="max-width"] {
        max-width: 100vw !important;
        overflow-x: hidden !important;
      }
      .bosses-row, .planets-grid, .learn-grid {
        overflow-x: auto !important;
      }
      .features-grid {
        overflow: hidden !important;
      }
      #ath-dialogue-body {
        min-height: 360px !important;
        max-height: 420px !important;
      }
      /* Your Journey — single column on small phones */
      .skills-section {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
      }
      .game-flow {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
      }
    }

    /* 375px and below — iPhone SE, iPhone 12 mini, small Android */
    @media (max-width: 375px) {
      .planets-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.3rem;
      }
      .planet-card {
        padding: 0.4rem 0.2rem;
        min-height: 60px;
      }
      .planet-flag, .planet-emoji { font-size: 1.1rem; }
      .planet-name { font-size: 0.6rem; letter-spacing: 0; }
      #hero-logo { font-size: 1.6rem !important; }
      .hero-tagline { font-size: 0.75rem !important; }
      .hero { padding-top: 5rem !important; }
      .hero-subtitle { font-size: 0.7rem !important; }
      .features-grid { gap: 0.5rem !important; }
      .feature-card { padding: 0.8rem !important; }
      .feature-card h3 { font-size: 0.9rem !important; }
      .feature-card p { font-size: 0.7rem !important; }
      section { padding: 2rem 0.8rem !important; }
      h2 { font-size: 1.2rem !important; }
    }

    /* ========== SCROLL-TRIGGERED REVEAL ANIMATIONS ========== */
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                  transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }

    /* ========== HOW IT WORKS — 3-STEP SECTION ========== */
    .how-it-works {
      padding: 3rem 2rem;
      background: linear-gradient(180deg, transparent 0%, rgba(255,215,0,0.02) 50%, transparent 100%);
    }

    .how-steps {
      display: flex;
      justify-content: center;
      align-items: flex-start;
      gap: 2rem;
      max-width: 900px;
      margin: 0 auto;
      flex-wrap: wrap;
    }

    .how-step {
      flex: 1;
      min-width: 220px;
      max-width: 280px;
      text-align: center;
      padding: 2.5rem 1.5rem;
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(255,215,0,0.12);
      border-radius: 20px;
      transition: all 0.4s ease;
      position: relative;
    }

    .how-step:hover {
      border-color: rgba(255,215,0,0.4);
      transform: translateY(-6px);
      box-shadow: 0 12px 40px rgba(255,215,0,0.08);
    }

    .how-step-number {
      position: absolute;
      top: -18px;
      left: 50%;
      transform: translateX(-50%);
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--gold), #ffaa00);
      color: #000;
      font-family: 'Cinzel', serif;
      font-size: 0.9rem;
      font-weight: 900;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 0 20px rgba(255,215,0,0.3);
    }

    .how-step-icon {
      width: 72px;
      height: 72px;
      margin: 0.5rem auto 1.2rem;
      border-radius: 50%;
      background: rgba(255,215,0,0.06);
      border: 2px solid rgba(255,215,0,0.15);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .how-step-icon svg {
      width: 32px;
      height: 32px;
      stroke: var(--gold);
      fill: none;
      stroke-width: 1.5;
    }

    .how-step h3 {
      font-family: 'Cinzel', serif;
      font-size: 1rem;
      color: var(--gold);
      letter-spacing: 2px;
      margin-bottom: 0.6rem;
    }

    .how-step p {
      color: rgba(255,255,255,0.6);
      font-size: 0.9rem;
      line-height: 1.7;
    }

    .how-connector {
      display: flex;
      align-items: center;
      color: rgba(255,215,0,0.3);
      font-size: 1.5rem;
      padding-top: 3rem;
    }

    @media (max-width: 768px) {
      .how-connector { display: none; }
      .how-steps { flex-direction: column; align-items: center; }
      .how-step { max-width: 340px; width: 100%; }
    }

    /* ========== SOCIAL PROOF SECTION ========== */
    .social-proof {
      padding: 3rem 2rem;
      text-align: center;
    }

    .social-proof-stats {
      display: flex;
      justify-content: center;
      gap: 3rem;
      flex-wrap: wrap;
      margin-bottom: 2rem;
    }

    .proof-stat {
      text-align: center;
    }

    .proof-stat-number {
      font-family: 'Cinzel', serif;
      font-size: 2rem;
      font-weight: 900;
      color: var(--gold);
      text-shadow: 0 0 20px rgba(255,215,0,0.3);
    }

    .proof-stat-label {
      color: rgba(255,255,255,0.5);
      font-size: 0.8rem;
      letter-spacing: 2px;
      margin-top: 0.3rem;
    }

    .testimonial-cards {
      display: flex;
      justify-content: center;
      gap: 1.5rem;
      flex-wrap: wrap;
      max-width: 900px;
      margin: 0 auto;
    }

    .testimonial-card {
      flex: 1;
      min-width: 240px;
      max-width: 280px;
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(0,206,209,0.15);
      border-radius: 16px;
      padding: 1.5rem;
      text-align: left;
      transition: all 0.3s ease;
    }

    .testimonial-card:hover {
      border-color: rgba(0,206,209,0.4);
      transform: translateY(-4px);
    }

    .testimonial-text {
      color: rgba(255,255,255,0.7);
      font-size: 0.9rem;
      font-style: italic;
      line-height: 1.7;
      margin-bottom: 1rem;
    }

    .testimonial-author {
      display: flex;
      align-items: center;
      gap: 0.8rem;
    }

    .testimonial-avatar {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      flex-shrink: 0;
    }

    .testimonial-name {
      font-family: 'Cinzel', serif;
      font-size: 0.8rem;
      color: var(--cyan);
      letter-spacing: 1px;
    }

    .testimonial-role {
      color: rgba(255,255,255,0.5);
      font-size: 0.8rem;
    }

    @media (max-width: 768px) {
      .social-proof-stats { gap: 1.5rem; }
      .testimonial-cards { flex-direction: column; align-items: center; }
      .testimonial-card { max-width: 340px; width: 100%; }
    }

    /* ========== SCAN-LINE OVERLAY (CSS-only CRT effect for terminal) ========== */
    .scanline-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 3;
      background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,255,255,0.015) 2px,
        rgba(0,255,255,0.015) 4px
      );
      animation: scanline-scroll 8s linear infinite;
    }

    .scanline-overlay::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: linear-gradient(180deg, rgba(0,255,255,0.06), transparent);
      animation: scanline-beam 4s ease-in-out infinite;
    }

    @keyframes scanline-scroll {
      from { background-position: 0 0; }
      to { background-position: 0 100px; }
    }

    @keyframes scanline-beam {
      0%, 100% { top: 0; opacity: 0; }
      10% { opacity: 1; }
      90% { opacity: 1; }
      50% { top: 100%; opacity: 0.5; }
    }

    /* ========== HERO CTA — SINGLE PRIMARY ACTION ========== */
    .hero-cta-area {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.8rem;
      margin-bottom: 2rem;
    }

    .hero-continue-link {
      color: rgba(0,255,255,0.6);
      font-size: 0.85rem;
      text-decoration: none;
      letter-spacing: 1px;
      transition: all 0.3s;
      font-family: 'Inter', sans-serif;
      display: none;
    }

    .hero-continue-link:hover {
      color: var(--cyan);
      text-shadow: 0 0 10px rgba(0,255,255,0.3);
    }

    .hero-continue-link.show {
      display: inline-block;
    }

    /* ========== POLISHED FOOTER ========== */
    .footer {
      padding: 3rem 2rem 2rem;
      background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.95) 100%);
      border-top: 1px solid rgba(255,215,0,0.1);
    }

    .footer-inner {
      max-width: 900px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1.5rem;
    }

    .footer-brand {
      font-family: 'Cinzel', serif;
      font-size: 1.2rem;
      font-weight: 900;
      color: var(--gold);
      letter-spacing: 4px;
      text-shadow: 0 0 15px rgba(255,215,0,0.3);
    }

    .footer-links {
      display: flex;
      justify-content: center;
      gap: 2rem;
      margin-bottom: 0;
      flex-wrap: wrap;
    }

    .footer-links a {
      color: rgba(255,255,255,0.5);
      text-decoration: none;
      font-size: 0.85rem;
      transition: color 0.3s;
      letter-spacing: 0.5px;
      padding: 12px 0;
      min-height: 44px;
      display: inline-flex;
      align-items: center;
    }

    .footer-links a:hover {
      color: var(--cyan);
    }

    .footer-social {
      display: flex;
      gap: 0.8rem;
      justify-content: center;
    }

    .footer-social a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: 1px solid rgba(255,255,255,0.15);
      color: rgba(255,255,255,0.5);
      text-decoration: none;
      font-size: 0.85rem;
      transition: all 0.3s;
    }

    .footer-social a:hover {
      border-color: var(--cyan);
      color: var(--cyan);
      box-shadow: 0 0 15px rgba(0,255,255,0.15);
      transform: translateY(-2px);
    }

    .footer-divider {
      width: 60px;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255,215,0,0.3), transparent);
    }

    .footer-copy {
      color: rgba(255,255,255,0.5);
      font-size: 0.8rem;
      text-align: center;
    }

    .footer-platform {
      display: inline-block;
      background: rgba(255,215,0,0.06);
      border: 1px solid rgba(255,215,0,0.15);
      border-radius: 20px;
      padding: 4px 14px;
      color: rgba(255,215,0,0.6);
      font-size: 0.8rem;
      letter-spacing: 2px;
      font-family: 'Cinzel', serif;
    }

    /* ========== REDUCED MOTION ========== */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
      .reveal { opacity: 1; transform: none; }
    }

    /* ========== LOGIN MODAL ========== */
    .login-modal-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0,0,0,0.9);
      z-index: 10000;
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(10px);
    }

    .login-modal-overlay.active {
      display: flex;
    }

    .login-modal {
      background: linear-gradient(135deg, #0a0a2a 0%, #1a1a3a 100%);
      border: 3px solid var(--gold);
      border-radius: 20px;
      padding: 2.5rem;
      width: 90%;
      max-width: 420px;
      text-align: center;
      box-shadow: 0 0 60px rgba(255,215,0,0.3), 0 0 120px rgba(0,255,255,0.1);
      animation: modal-appear 0.3s ease;
    }

    @keyframes modal-appear {
      from { transform: scale(0.9); opacity: 0; }
      to { transform: scale(1); opacity: 1; }
    }

    .login-modal h2 {
      font-family: 'Cinzel', serif;
      font-size: 1.8rem;
      color: var(--gold);
      margin-bottom: 0.5rem;
      text-shadow: 0 0 20px rgba(255,215,0,0.5);
    }

    .login-modal .subtitle {
      color: var(--cyan);
      font-size: 0.9rem;
      margin-bottom: 1.5rem;
    }

    .login-input-group {
      margin-bottom: 1rem;
      text-align: left;
    }

    .login-input-group label {
      display: block;
      font-family: 'Cinzel', serif;
      font-size: 0.75rem;
      color: var(--cyan);
      margin-bottom: 0.3rem;
      letter-spacing: 1px;
    }

    .login-input {
      width: 100%;
      padding: 1rem;
      background: rgba(0,0,0,0.6);
      border: 2px solid rgba(255,215,0,0.3);
      border-radius: 8px;
      color: #fff;
      font-family: 'JetBrains Mono', monospace;
      font-size: 1.1rem;
      transition: all 0.3s;
    }

    .login-input:focus {
      outline: none;
      border-color: var(--gold);
      box-shadow: 0 0 20px rgba(255,215,0,0.3);
    }

    .login-input::placeholder {
      color: #666;
      font-size: 0.9rem;
    }

    .remember-me {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin: 1rem 0;
      cursor: pointer;
    }

    .remember-me input {
      width: 18px;
      height: 18px;
      accent-color: var(--gold);
      cursor: pointer;
    }

    .remember-me span {
      color: #aaa;
      font-size: 0.9rem;
    }

    .login-btn {
      width: 100%;
      padding: 1rem;
      margin-top: 0.5rem;
      border: none;
      border-radius: 8px;
      font-family: 'Cinzel', serif;
      font-size: 1rem;
      font-weight: 700;
      letter-spacing: 2px;
      cursor: pointer;
      transition: all 0.3s;
    }

    .login-btn-primary {
      background: linear-gradient(135deg, var(--gold) 0%, #ffaa00 100%);
      color: #000;
      box-shadow: 0 5px 20px rgba(255,215,0,0.3);
    }

    .login-btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 30px rgba(255,215,0,0.5);
    }

    .login-btn-secondary {
      background: transparent;
      border: 2px solid var(--cyan);
      color: var(--cyan);
      margin-top: 0.8rem;
    }

    .login-btn-secondary:hover {
      background: rgba(0,255,255,0.1);
      transform: translateY(-2px);
    }

    .login-divider {
      display: flex;
      align-items: center;
      margin: 1.5rem 0;
      color: #666;
      font-size: 0.85rem;
    }

    .login-divider::before,
    .login-divider::after {
      content: '';
      flex: 1;
      height: 1px;
      background: linear-gradient(90deg, transparent, #444, transparent);
    }

    .login-divider span {
      padding: 0 1rem;
    }

    .login-error {
      background: rgba(255,68,68,0.2);
      border: 1px solid var(--danger);
      border-radius: 6px;
      padding: 0.8rem;
      margin-bottom: 1rem;
      color: #ff6b6b;
      font-size: 0.9rem;
      display: none;
    }

    .login-error.show {
      display: block;
    }

    .login-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      width: 36px;
      height: 36px;
      background: rgba(255,255,255,0.1);
      border: none;
      border-radius: 50%;
      color: #888;
      font-size: 1.5rem;
      cursor: pointer;
      transition: all 0.3s;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .login-close:hover {
      background: rgba(255,68,68,0.3);
      color: #ff6b6b;
    }

    .login-modal-container {
      position: relative;
    }
    /* Volume slider styling */
    #landing-volume::-webkit-slider-thumb { -webkit-appearance:none; width:12px; height:12px; border-radius:50%; background:#FFD700; cursor:pointer; border:none; }
    #landing-volume::-moz-range-thumb { width:12px; height:12px; border-radius:50%; background:#FFD700; cursor:pointer; border:none; }
