
    :root {
      --bg: #0a0a12;
      --bg-soft: #12121f;
      --paper: #ffffff;
      --ink: #e8e8f0;
      --ink-soft: #9a9ab0;
      --indigo: #6366f1;
      --indigo-glow: #818cf8;
      --violet: #8b5cf6;
      --fuchsia: #d946ef;
      --emerald: #10b981;
      --amber: #f59e0b;
      --radius: 20px;
      --radius-sm: 14px;
      --shadow-lg: 0 30px 80px -20px rgba(99, 102, 241, 0.45);
      --shadow-md: 0 12px 40px -12px rgba(0, 0, 0, 0.5);
      --font-display: 'Space Grotesk', system-ui, sans-serif;
      --font-body: 'DM Sans', system-ui, sans-serif;
      --font-mono: 'JetBrains Mono', monospace;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: var(--font-body);
      background: var(--bg);
      color: var(--ink);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    /* Aurora background */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      z-index: -2;
      background:
        radial-gradient(ellipse 80% 60% at 15% 0%, rgba(99, 102, 241, 0.30), transparent 55%),
        radial-gradient(ellipse 60% 50% at 85% 10%, rgba(217, 70, 239, 0.22), transparent 55%),
        radial-gradient(ellipse 70% 60% at 50% 100%, rgba(16, 185, 129, 0.10), transparent 60%),
        var(--bg);
    }
    body::after {
      content: '';
      position: fixed;
      inset: 0;
      z-index: -1;
      background-image:
        linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
      background-size: 64px 64px;
      mask-image: radial-gradient(ellipse at center, black 25%, transparent 80%);
      -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 80%);
      pointer-events: none;
    }

    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }

    .container {
      width: min(1280px, 92vw);
      margin-inline: auto;
    }

    /* ===== HEADER ===== */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      background: rgba(10, 10, 18, 0.65);
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 0;
      gap: 24px;
    }
    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 18px;
      letter-spacing: -0.02em;
      color: var(--paper);
    }
    .brand-mark {
      width: 30px;
      height: 30px;
      border-radius: 9px;
      background: conic-gradient(from 210deg, var(--indigo), var(--fuchsia), var(--indigo-glow), var(--indigo));
      box-shadow: 0 0 24px rgba(129, 140, 248, 0.55);
      position: relative;
    }
    .brand-mark::after {
      content: '';
      position: absolute;
      inset: 6px;
      border-radius: 5px;
      background: var(--bg);
    }
    .nav-links {
      display: flex;
      gap: 6px;
      align-items: center;
    }
    .nav-links a {
      padding: 9px 16px;
      border-radius: 999px;
      font-size: 14.5px;
      font-weight: 500;
      color: var(--ink-soft);
      transition: all 0.2s ease;
    }
    .nav-links a:hover {
      color: var(--paper);
      background: rgba(255,255,255,0.06);
    }
    .nav-links a[aria-current="page"] {
      color: var(--paper);
      background: rgba(99, 102, 241, 0.18);
      box-shadow: inset 0 0 0 1px rgba(129, 140, 248, 0.35);
    }
    .nav-toggle {
      display: none;
      width: 42px;
      height: 42px;
      border-radius: 12px;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.1);
      cursor: pointer;
      position: relative;
    }
    .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
      position: absolute;
      width: 18px;
      height: 2px;
      background: var(--paper);
      border-radius: 2px;
      left: 50%;
      transform: translateX(-50%);
    }
    .nav-toggle span { top: 50%; margin-top: -1px; }
    .nav-toggle span::before { content: ''; top: -6px; }
    .nav-toggle span::after { content: ''; top: 6px; }

    /* ===== HERO ===== */
    .hero {
      padding: 80px 0 60px;
      text-align: center;
      position: relative;
    }
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 7px 16px 7px 10px;
      border-radius: 999px;
      background: rgba(99, 102, 241, 0.12);
      border: 1px solid rgba(129, 140, 248, 0.3);
      font-size: 13px;
      font-weight: 500;
      color: var(--indigo-glow);
      margin-bottom: 26px;
      animation: float 4s ease-in-out infinite;
    }
    .hero-badge .dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--emerald);
      box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
    }
    @keyframes float {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-5px); }
    }
    .hero h1 {
      font-family: var(--font-display);
      font-size: clamp(38px, 6.5vw, 76px);
      line-height: 1.02;
      letter-spacing: -0.035em;
      margin: 0 0 22px;
      font-weight: 700;
      background: linear-gradient(180deg, #ffffff 25%, #a5a5c8 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    .hero h1 .accent {
      background: linear-gradient(120deg, var(--indigo-glow), var(--fuchsia), var(--emerald), var(--indigo-glow));
      background-size: 250% 250%;
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      animation: shine 8s ease infinite;
    }
    @keyframes shine {
      0%, 100% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
    }
    .hero > .container > p {
      max-width: 640px;
      margin: 0 auto;
      color: var(--ink-soft);
      font-size: 17px;
    }
    .hero-stats {
      display: flex;
      justify-content: center;
      gap: 48px;
      margin-top: 42px;
      flex-wrap: wrap;
    }
    .hero-stat {
      text-align: center;
    }
    .hero-stat .num {
      font-family: var(--font-display);
      font-size: 32px;
      font-weight: 700;
      color: var(--paper);
      display: block;
      line-height: 1;
      letter-spacing: -0.02em;
    }
    .hero-stat .lbl {
      font-size: 12px;
      color: var(--ink-soft);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      font-family: var(--font-mono);
      margin-top: 6px;
      display: block;
    }

    /* ===== SECTION HEAD ===== */
    .section { padding: 60px 0; }
    .section-head {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 32px;
      margin-bottom: 44px;
      flex-wrap: wrap;
    }
    .section-head h2 {
      font-family: var(--font-display);
      font-size: clamp(26px, 4vw, 44px);
      letter-spacing: -0.028em;
      line-height: 1.08;
      margin: 8px 0 0;
      color: var(--paper);
    }
    .mono-cap {
      font-family: var(--font-mono);
      font-size: 12px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--indigo-glow);
    }
    .section-head p {
      color: var(--ink-soft);
      max-width: 460px;
      font-size: 15px;
      margin: 0;
    }
    .text-gradient {
      background: linear-gradient(120deg, var(--indigo-glow), var(--fuchsia), var(--emerald));
      background-size: 200% 200%;
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      animation: shine 8s ease infinite;
    }

    /* ===== CATEGORY CARDS ===== */
    .cats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 20px;
    }
    .cat-tile {
      position: relative;
      border-radius: var(--radius);
      overflow: hidden;
      background: linear-gradient(160deg, rgba(30, 30, 50, 0.85), rgba(18, 18, 31, 0.95));
      border: 1px solid rgba(255,255,255,0.08);
      padding: 22px;
      display: flex;
      flex-direction: column;
      gap: 16px;
      cursor: pointer;
      transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      min-height: 220px;
    }
    .cat-tile::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -30%;
      width: 240px;
      height: 240px;
      background: radial-gradient(circle, rgba(129, 140, 248, 0.22), transparent 70%);
      opacity: 0;
      transition: opacity 0.4s;
      pointer-events: none;
    }
    .cat-tile:hover {
      transform: translateY(-6px);
      border-color: rgba(129, 140, 248, 0.4);
      box-shadow: 0 24px 60px -20px rgba(99, 102, 241, 0.5);
    }
    .cat-tile:hover::before { opacity: 1; }
    .cat-tile .pic {
      width: 56px;
      height: 56px;
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.12);
      background: rgba(99, 102, 241, 0.1);
      position: relative;
      z-index: 1;
    }
    .cat-tile .pic img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .cat-tile .name {
      font-family: var(--font-display);
      font-size: 20px;
      font-weight: 600;
      color: var(--paper);
      letter-spacing: -0.015em;
      margin: 0;
      position: relative;
      z-index: 1;
    }
    .cat-tile .count {
      font-family: var(--font-mono);
      font-size: 12.5px;
      color: var(--indigo-glow);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-top: auto;
      position: relative;
      z-index: 1;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .cat-tile .count::after {
      content: '?';
      transition: transform 0.25s;
    }
    .cat-tile:hover .count::after { transform: translateX(4px); }

    /* ===== FEATURED ===== */
    .featured-grid {
      display: grid;
      grid-template-columns: 1.6fr 1fr 1fr;
      grid-template-rows: 1fr 1fr;
      gap: 18px;
      margin-bottom: 18px;
    }
    .featured-grid > :first-child {
      grid-row: span 2;
    }
    @media (max-width: 900px) {
      .featured-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
      }
      .featured-grid > :first-child {
        grid-column: span 2;
        grid-row: auto;
        min-height: 320px;
      }
    }
    @media (max-width: 560px) {
      .featured-grid { grid-template-columns: 1fr; }
      .featured-grid > :first-child { grid-column: auto; }
    }

    /* ===== GAME CARD ===== */
    .game-card {
      position: relative;
      border-radius: var(--radius-sm);
      overflow: hidden;
      background-color: #1a1a2e;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      cursor: pointer;
      min-height: 300px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 20px;
      transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
      border: 1px solid rgba(255,255,255,0.08);
      isolation: isolate;
    }
    .game-card::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 20%, rgba(10,10,18,0.92) 100%);
      z-index: 0;
      transition: opacity 0.35s;
    }
    .game-card:hover {
      transform: translateY(-6px);
      border-color: rgba(129, 140, 248, 0.5);
      box-shadow: 0 30px 70px -20px rgba(99, 102, 241, 0.55);
    }
    .game-card:hover::after { opacity: 0.92; }
    .game-card > * {
      position: relative;
      z-index: 1;
    }
    .game-card .eyebrow {
      font-family: var(--font-mono);
      font-size: 10.5px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--fuchsia);
      font-weight: 700;
      margin-bottom: 8px;
    }
    .game-card .title {
      font-family: var(--font-display);
      font-size: 18px;
      font-weight: 600;
      color: var(--paper);
      margin: 0 0 8px;
      line-height: 1.2;
      letter-spacing: -0.01em;
    }
    .game-card .cats {
      font-size: 12.5px;
      color: var(--ink-soft);
      margin: 0;
      line-height: 1.45;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .game-card--featured .title { font-size: 24px; }
    .game-card--featured::before {
      content: '? FEATURED';
      position: absolute;
      top: 18px;
      left: 18px;
      z-index: 2;
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.1em;
      font-weight: 700;
      padding: 6px 12px;
      border-radius: 999px;
      background: linear-gradient(135deg, var(--indigo), var(--fuchsia));
      color: var(--paper);
      box-shadow: 0 8px 24px -6px rgba(99, 102, 241, 0.6);
    }

    /* ===== GALLERY GRID ===== */
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 18px;
    }
    .gallery-grid .game-card {
      min-height: 300px;
    }

    /* ===== SECTION HEADER VARIANT WITH DIVIDER ===== */
    .divider-head {
      display: flex;
      align-items: center;
      gap: 20px;
      margin: 24px 0 32px;
    }
    .divider-head h3 {
      font-family: var(--font-display);
      font-size: 20px;
      margin: 0;
      white-space: nowrap;
      color: var(--paper);
      letter-spacing: -0.015em;
      display: inline-flex;
      align-items: center;
      gap: 10px;
    }
    .divider-head h3::before {
      content: '';
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--fuchsia);
      box-shadow: 0 0 14px var(--fuchsia);
    }
    .divider-head .line {
      flex: 1;
      height: 1px;
      background: linear-gradient(90deg, rgba(255,255,255,0.14), transparent);
    }
    .divider-head .badge {
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.08em;
      padding: 5px 11px;
      border-radius: 999px;
      background: rgba(99, 102, 241, 0.14);
      color: var(--indigo-glow);
      border: 1px solid rgba(129, 140, 248, 0.3);
    }

    /* ===== FOOTER ===== */
    .footer {
      border-top: 1px solid rgba(255,255,255,0.06);
      padding: 60px 0 32px;
      background: rgba(0,0,0,0.25);
      margin-top: 40px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.6fr repeat(4, 1fr);
      gap: 40px;
      margin-bottom: 48px;
    }
    @media (max-width: 900px) {
      .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    }
    @media (max-width: 520px) {
      .footer-grid { grid-template-columns: 1fr; }
    }
    .footer-brand p {
      color: var(--ink-soft);
      font-size: 14px;
      max-width: 320px;
      margin-top: 14px;
    }
    .footer h5 {
      font-family: var(--font-display);
      font-size: 13px;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: var(--indigo-glow);
      margin: 0 0 16px;
    }
    .footer-grid a {
      display: block;
      color: var(--ink-soft);
      font-size: 14px;
      padding: 5px 0;
      transition: color 0.2s, transform 0.2s;
    }
    .footer-grid a:hover {
      color: var(--paper);
      transform: translateX(3px);
    }
    .footer-fine {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      padding-top: 24px;
      border-top: 1px solid rgba(255,255,255,0.06);
      color: var(--ink-soft);
      font-size: 13px;
      flex-wrap: wrap;
    }
    .footer-fine a { color: var(--fuchsia); }

    .pill {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 6px 13px;
      border-radius: 999px;
      font-size: 12.5px;
      background: rgba(16, 185, 129, 0.12);
      border: 1px solid rgba(16, 185, 129, 0.3);
      color: var(--emerald);
    }
    .pill .dot {
      width: 6px; height: 6px; border-radius: 50%;
      background: var(--emerald);
    }

    /* Reveal */
    .reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
    }
    .reveal.in {
      opacity: 1;
      transform: none;
    }

    /* Responsive */
    @media (max-width: 720px) {
      .nav-links { display: none; }
      .nav-toggle { display: inline-block; }
      .section { padding: 44px 0; }
      .hero { padding: 56px 0 40px; }
      .hero-stats { gap: 28px; }
      .hero-stat .num { font-size: 26px; }
    }