:root {
    --navy: #0d1117;
    --navy2: #161b22;
    --navy3: #1f2937;
    --pixel-yellow: #ffd700;
    --pixel-green: #39d353;
    --pixel-red: #ff4757;
    --pixel-blue: #58a6ff;
    --pixel-purple: #a78bfa;
    --pixel-orange: #ff7043;
    --pixel-cyan: #00d4ff;
    --text: #e6edf3;
    --text-muted: #8b949e;
    --border: rgba(255,255,255,0.08);
    --border-hover: rgba(255,255,255,0.18);
    --card-bg: #161b22;
    --card-hover: #1c2330;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { background: var(--navy); color: var(--text); font-family: 'DM Sans', sans-serif; line-height: 1.6; overflow-x: hidden; }

  /* -- HEADER -- */
  header { position: sticky; top: 0; z-index: 200; background: rgba(13,17,23,0.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
  .header-inner { max-width: 1280px; margin: 0 auto; padding: 0 2rem; height: 64px; display: flex; align-items: center; gap: 2rem; }
  .logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; flex-shrink: 0; }
  .logo-icon { width: 36px; height: 36px; background: var(--pixel-yellow); display: flex; align-items: center; justify-content: center; font-family: 'Press Start 2P', monospace; font-size: 0.55rem; color: var(--navy); border-radius: 4px; flex-shrink: 0; box-shadow: 3px 3px 0 rgba(255,215,0,0.3); }
  .logo-wordmark { font-family: 'Press Start 2P', monospace; font-size: 0.72rem; color: var(--text); line-height: 1.5; }
  .logo-wordmark .y { color: var(--pixel-yellow); }
  nav { display: flex; align-items: center; gap: 0.2rem; margin-left: auto; }
  nav a { font-size: 0.84rem; font-weight: 500; color: var(--text-muted); text-decoration: none; padding: 0.4rem 0.85rem; border-radius: 6px; transition: all 0.15s; }
  nav a:hover, nav a.active { color: var(--text); background: rgba(255,255,255,0.07); }
  .nav-cta { background: var(--pixel-yellow) !important; color: var(--navy) !important; font-weight: 600 !important; margin-left: 0.4rem; }
  .nav-cta:hover { background: #ffe333 !important; transform: translateY(-1px); }
  .hdr-search { position: relative; display: flex; align-items: center; margin-left: 1rem; }
  .hdr-search input { background: var(--navy2); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 0.85rem; padding: 0.45rem 2.4rem 0.45rem 0.9rem; width: 200px; outline: none; transition: border-color 0.2s, width 0.3s; }
  .hdr-search input:focus { border-color: var(--pixel-yellow); width: 260px; }
  .hdr-search input::placeholder { color: var(--text-muted); }
  .hdr-search .s-ico { position: absolute; right: 0.7rem; width: 15px; height: 15px; color: var(--text-muted); pointer-events: none; }

  /* -- HAMBURGER -- */
  .hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 38px; height: 38px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 7px; cursor: pointer; padding: 0 10px; margin-left: auto; flex-shrink: 0; transition: border-color 0.15s; }
  .hamburger:hover { border-color: var(--pixel-yellow); }
  .hamburger span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.25s; }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* -- MOBILE DRAWER -- */
  .mobile-drawer { display: none; position: fixed; top: 64px; left: 0; right: 0; background: rgba(13,17,23,0.98); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); z-index: 199; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; }
  .mobile-drawer.open { opacity: 1; transform: translateY(0); pointer-events: all; }
  .mobile-drawer-inner { max-width: 1280px; margin: 0 auto; padding: 1rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.3rem; }
  .mobile-drawer a { display: flex; align-items: center; font-size: 1rem; font-weight: 500; color: var(--text-muted); text-decoration: none; padding: 0.75rem 0.85rem; border-radius: 8px; transition: all 0.12s; border: 1px solid transparent; }
  .mobile-drawer a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
  .mobile-drawer .mob-cta { background: var(--pixel-yellow); color: var(--navy) !important; font-weight: 700; margin-top: 0.4rem; border-color: var(--pixel-yellow) !important; font-family: 'Press Start 2P', monospace; font-size: 0.6rem; letter-spacing: 0.05em; justify-content: center; }
  .mobile-drawer .mob-cta:hover { background: #ffe333; }
  .mobile-drawer-search { display: flex; gap: 0.5rem; padding: 0 0.85rem; margin-bottom: 0.5rem; }
  .mobile-drawer-search input { flex: 1; background: var(--navy2); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 0.9rem; padding: 0.55rem 0.9rem; outline: none; transition: border-color 0.2s; }
  .mobile-drawer-search input:focus { border-color: var(--pixel-yellow); }
  .mobile-drawer-divider { height: 1px; background: var(--border); margin: 0.5rem 0.85rem; }

  /* -- A-Z BAR -- */
  .az-bar { background: var(--navy2); border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
  .az-bar::-webkit-scrollbar { display: none; }
  .az-bar-inner { max-width: 1280px; margin: 0 auto; padding: 0.5rem 2rem; display: flex; align-items: center; gap: 0.80rem; white-space: nowrap; }
  .az-bar-inner span { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; margin-right: 0.4rem; letter-spacing: 0.06em; flex-shrink: 0; }
  .az-bar-inner a { font-family: 'Press Start 2P', monospace; font-size: 0.80rem; color: var(--text-muted); text-decoration: none; padding: 0.35rem 0.5rem; border: 1px solid var(--border); border-radius: 4px; transition: all 0.12s; flex-shrink: 0; }
  .az-bar-inner a:hover { color: var(--navy); background: var(--pixel-yellow); border-color: var(--pixel-yellow); }

  /* -- HERO -- */
  .hero { position: relative; padding: 4rem 2rem 3rem; overflow: hidden; }
  .hero-bg { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(ellipse 900px 500px at 50% 0%, rgba(255,215,0,0.05) 0%, transparent 70%); }
  .hero-grid { position: absolute; inset: -40%; bottom: 0; background-image: linear-gradient(rgba(255,215,0,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,215,0,0.03) 1px, transparent 1px); background-size: 44px 44px; transform: perspective(700px) rotateX(28deg); transform-origin: center top; }
  .hero-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 420px; gap: 3rem; align-items: center; }
  .hero-text { }
  .hero-tag { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255,215,0,0.08); border: 1px solid rgba(255,215,0,0.2); color: var(--pixel-yellow); font-family: 'Press Start 2P', monospace; font-size: 0.80rem; letter-spacing: 0.12em; padding: 0.4rem 0.8rem; border-radius: 4px; margin-bottom: 1.2rem; }
  .hero-h1 { font-family: 'Press Start 2P', monospace; font-size: clamp(1.1rem, 2.8vw, 2rem); color: var(--text); line-height: 1.5; margin-bottom: 1.2rem; letter-spacing: -0.01em; }
  .hero-h1 .hl { color: var(--pixel-yellow); }
  .hero-desc { font-size: 1rem; color: var(--text-muted); line-height: 1.8; max-width: 540px; margin-bottom: 1.8rem; }
  .hero-desc strong { color: var(--pixel-blue); font-weight: 600; }
  .hero-try { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.8rem; }
  .hero-try a { color: var(--pixel-yellow); text-decoration: none; font-weight: 500; border-bottom: 1px solid rgba(255,215,0,0.3); transition: border-color 0.15s; }
  .hero-try a:hover { border-color: var(--pixel-yellow); }
  .hero-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; }
  .hbtn { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; text-decoration: none; padding: 0.8rem 1.4rem; border-radius: 8px; transition: all 0.15s; font-family: 'Press Start 2P', monospace; font-size: 1.00rem; letter-spacing: 0.04em; }
  .hbtn-primary { background: var(--pixel-yellow); color: var(--navy); box-shadow: 0 4px 0 rgba(180,140,0,0.5); }
  .hbtn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(180,140,0,0.5); }
  .hbtn-sec { background: transparent; color: var(--text); border: 1px solid var(--border); }
  .hbtn-sec:hover { border-color: var(--border-hover); background: rgba(255,255,255,0.04); }

  /* Hero stats */
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .stat-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.2rem; transition: border-color 0.15s; }
  .stat-card:hover { border-color: var(--border-hover); }
  .stat-val { font-family: 'Press Start 2P', monospace; font-size: 1.1rem; color: var(--pixel-yellow); margin-bottom: 0.2rem; }
  .stat-lbl { font-size: 0.75rem; color: var(--text-muted); }
  .stat-card.green .stat-val { color: var(--pixel-green); }
  .stat-card.blue .stat-val { color: var(--pixel-blue); }
  .stat-card.red .stat-val { color: var(--pixel-red); }

  /* -- TICKER -- */
  .ticker { background: var(--pixel-yellow); overflow: hidden; padding: 0.55rem 0; }
  .ticker-inner { display: flex; gap: 0; }
  .ticker-track { display: flex; gap: 0; animation: tick 40s linear infinite; white-space: nowrap; }
  .ticker-track:hover { animation-play-state: paused; }
  @keyframes tick { from{transform:translateX(0)} to{transform:translateX(-50%)} }
  .ticker-item { font-family: 'Press Start 2P', monospace; font-size: 1.0rem; color: var(--navy); padding: 0 1.5rem; letter-spacing: 0.06em; }
  .ticker-sep { color: rgba(0,0,0,0.25); margin: 0 0.2rem; }

  /* -- PAGE LAYOUT -- */
  .page { max-width: 1280px; margin: 0 auto; padding: 2rem 2rem 5rem; display: grid; grid-template-columns: 1fr 280px; gap: 2rem; align-items: start; }
  .main { min-width: 0; }

  /* Section header */
  .sec-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
  .sec-ttl { font-family: 'Press Start 2P', monospace; font-size: 1.00rem; letter-spacing: 0.1em; color: var(--text); display: flex; align-items: center; gap: 0.65rem; }
  .sec-ttl::before { content:''; display:block; width:10px; height:10px; background:var(--pixel-yellow); flex-shrink:0; }
  .sec-more { font-size: 0.78rem; color: var(--pixel-blue); text-decoration: none; transition: color 0.12s; }
  .sec-more:hover { color: var(--pixel-yellow); }

  /* -- GAME CARDS -- */
  .game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
  .game-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; text-decoration: none; transition: all 0.18s; display: flex; flex-direction: column; position: relative; }
  .game-card:hover { transform: translateY(-4px); border-color: var(--border-hover); box-shadow: 0 12px 32px rgba(0,0,0,0.4); }
  .gc-accent { height: 3px; width: 100%; flex-shrink: 0; }
  .gc-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--navy3); }
  .gc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; image-rendering: pixelated; transition: transform 0.3s; }
  .game-card:hover .gc-thumb img { transform: scale(1.06); }
  .gc-body { padding: 0.75rem; flex: 1; display: flex; flex-direction: column; }
  .gc-title { font-size: 0.82rem; font-weight: 600; color: var(--text); line-height: 1.35; margin-bottom: 0.3rem; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .gc-meta { font-size: 0.7rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.4rem; margin-top: auto; padding-top: 0.4rem; }
  
  .gc-year { font-family: 'DM Mono', monospace;   cursor: pointer;}
  .gc-year a { color: var(--pixel-blue); text-decoration: none;   cursor: pointer;}
  .gc-year a:hover { text-decoration: underline;   cursor: pointer;}

  .gc-gen { font-family: 'DM Mono', monospace; }
  .gc-play { display: inline-flex; align-items: center; gap: 0.3rem; font-family: 'Press Start 2P', monospace; font-size: 0.42rem; background: var(--pixel-yellow); color: var(--navy); padding: 0.3rem 0.6rem; border-radius: 4px; margin-left: auto; opacity: 0; transition: opacity 0.15s; }
  .game-card:hover .gc-play { opacity: 1; }

  /* Genre accent colours */
  .acc-red { background: var(--pixel-red); }
  .acc-blue { background: var(--pixel-blue); }
  .acc-green { background: var(--pixel-green); }
  .acc-purple { background: var(--pixel-purple); }
  .acc-orange { background: var(--pixel-orange); }
  .acc-cyan { background: var(--pixel-cyan); }
  .acc-yellow { background: var(--pixel-yellow); }

  /* -- NEWS SECTION -- */
  .news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2.5rem; }
  .news-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 10px; padding: 1.2rem 1.4rem; text-decoration: none; transition: all 0.15s; display: flex; flex-direction: column; gap: 0.6rem; }
  .news-card:hover { border-color: var(--border-hover); background: var(--card-hover); }
  .news-card.featured { grid-column: span 2; background: linear-gradient(135deg, rgba(255,215,0,0.04) 0%, var(--card-bg) 60%); border-color: rgba(255,215,0,0.2); }
  .news-date { font-family: 'DM Mono', monospace; font-size: 0.72rem; color: var(--pixel-yellow); font-weight: 500; }
  .news-title { font-size: 0.95rem; font-weight: 600; color: var(--text); line-height: 1.4; }
  .news-body { font-size: 0.82rem; color: var(--text-muted); line-height: 1.7; }
  .news-body a { color: var(--pixel-blue); text-decoration: none; }
  .news-body a:hover { text-decoration: underline; }
  .news-tag { display: inline-block; font-family: 'Press Start 2P', monospace; font-size: 0.42rem; padding: 0.25rem 0.6rem; border-radius: 3px; letter-spacing: 0.08em; }
  .news-tag.update { background: rgba(57,211,83,0.1); color: var(--pixel-green); border: 1px solid rgba(57,211,83,0.25); }
  .news-tag.new { background: rgba(88,166,255,0.1); color: var(--pixel-blue); border: 1px solid rgba(88,166,255,0.25); }
  .news-tag.feature { background: rgba(255,215,0,0.1); color: var(--pixel-yellow); border: 1px solid rgba(255,215,0,0.25); }
  .news-read-more { font-size: 0.78rem; color: var(--pixel-blue); text-decoration: none; display: inline-flex; align-items: center; gap: 0.3rem; }

  /* -- SIDEBAR -- */
  .sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 1.25rem; }
  .sb { background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
  .sb-hd { display: flex; align-items: center; gap: 0.55rem; padding: 0.8rem 1rem; border-bottom: 1px solid var(--border); }
  .sb-dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: 1px; }
  .sb-hd h3 { font-family: 'Press Start 2P', monospace; font-size: 0.9rem; letter-spacing: 0.1em; color: var(--text-muted); text-transform: uppercase; }
  .sb-bd { padding: 0.7rem; }

  /* Search box */
  .sb-search { display: flex; gap: 0.4rem; }
  .sb-search input { flex: 1; background: var(--navy); border: 1px solid var(--border); border-radius: 6px; color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 0.85rem; padding: 0.5rem 0.75rem; outline: none; transition: border-color 0.15s; min-width: 0; }
  .sb-search input:focus { border-color: var(--pixel-yellow); }
  .sb-search input::placeholder { color: rgba(255,255,255,0.2); }
  .sb-search button { background: var(--pixel-yellow); color: var(--navy); border: none; border-radius: 6px; padding: 0.5rem 0.75rem; cursor: pointer; font-family: 'Press Start 2P', monospace; font-size: 0.44rem; font-weight: 700; transition: all 0.12s; flex-shrink: 0; }
  .sb-search button:hover { background: #ffe333; }

  /* Tag cloud */
  .tag-cloud { display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .tag-cloud a { font-size: 0.75rem; color: var(--text-muted); text-decoration: none; background: rgba(255,255,255,0.04); border: 1px solid var(--border); padding: 0.2rem 0.55rem; border-radius: 4px; transition: all 0.12s; }
  .tag-cloud a:hover { color: var(--text); border-color: var(--border-hover); }

  /* Genre list */
  .glist { list-style: none; display: flex; flex-direction: column; }
  .glist a { display: flex; align-items: center; justify-content: space-between; padding: 0.42rem 0.55rem; border-radius: 5px; color: var(--text-muted); text-decoration: none; font-size: 0.83rem; font-weight: 400; transition: all 0.12s; }
  .glist a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
  .gl-l { display: flex; align-items: center; gap: 0.5rem; }
  .gl-ic { width: 18px; text-align: center; font-size: 0.82rem; }
  .gl-ct { font-family: 'DM Mono', monospace; font-size: 0.72rem; color: rgba(255,255,255,0.25); }

  /* Login */
  .login-form { display: flex; flex-direction: column; gap: 0.6rem; }
  .login-field { display: flex; flex-direction: column; gap: 0.3rem; }
  .login-field label { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; }
  .login-field input { background: var(--navy); border: 1px solid var(--border); border-radius: 6px; color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 0.85rem; padding: 0.5rem 0.75rem; outline: none; width: 100%; transition: border-color 0.15s; }
  .login-field input:focus { border-color: var(--pixel-yellow); }
  .login-field input::placeholder { color: rgba(255,255,255,0.2); }
  .login-btn { background: var(--pixel-yellow); color: var(--navy); font-family: 'Press Start 2P', monospace; font-size: 0.52rem; padding: 0.65rem; border: none; border-radius: 6px; cursor: pointer; letter-spacing: 0.08em; font-weight: 700; width: 100%; margin-top: 0.2rem; box-shadow: 0 3px 0 rgba(180,140,0,0.5); transition: all 0.15s; }
  .login-btn:hover { transform: translateY(-1px); }
  .login-links { display: flex; justify-content: space-between; margin-top: 0.1rem; }
  .login-links a { font-size: 0.75rem; color: var(--pixel-blue); text-decoration: none; }
  .login-links a:hover { color: var(--pixel-yellow); }

  /* A-Z grid */
  .az { display: flex; flex-wrap: wrap; gap: 4px; }
  .az a { width: 27px; height: 27px; display: flex; align-items: center; justify-content: center; font-family: 'Press Start 2P', monospace; font-size: 0.90rem; color: var(--text-muted); text-decoration: none; border: 1px solid var(--border); border-radius: 4px; transition: all 0.12s; }
  .az a:hover { color: var(--navy); background: var(--pixel-yellow); border-color: var(--pixel-yellow); transform: scale(1.1); }

  /* Live now */
  .live-list { display: flex; flex-direction: column; gap: 0.3rem; }
  .live-row { display: flex; align-items: center; gap: 0.65rem; padding: 0.48rem 0.55rem; border-radius: 7px; text-decoration: none; transition: background 0.12s; }
  .live-row:hover { background: rgba(255,255,255,0.05); }
  .live-av { width: 32px; height: 32px; border-radius: 6px; background: var(--navy3); display: flex; align-items: center; justify-content: center; font-size: 0.95rem; flex-shrink: 0; border: 1px solid var(--border); }
  .live-inf { min-width: 0; flex: 1; }
  .live-n { font-size: 0.79rem; font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .live-c { font-size: 0.68rem; color: var(--text-muted); }
  .live-dot { width: 7px; height: 7px; background: var(--pixel-green); border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 5px var(--pixel-green); animation: lp 2s ease infinite; }
  @keyframes lp { 0%,100%{opacity:1} 50%{opacity:0.25} }

  /* Year browser */
  .year-groups { display: flex; flex-direction: column; gap: 0.75rem; }
  .year-group-label { font-family: 'Press Start 2P', monospace; font-size: 0.44rem; letter-spacing: 0.1em; color: var(--pixel-yellow); margin-bottom: 0.35rem; }
  .year-chips { display: flex; flex-wrap: wrap; gap: 4px; }
  .year-chips a { font-family: 'DM Mono', monospace; font-size: 0.90rem; color: var(--text-muted); text-decoration: none; padding: 0.22rem 0.55rem; border: 1px solid var(--border); border-radius: 4px; transition: all 0.12s; }
  .year-chips a:hover { color: var(--navy); background: var(--pixel-yellow); border-color: var(--pixel-yellow); }

  /* -- FOOTER -- */
  footer { background: var(--navy2); border-top: 1px solid var(--border); padding: 2.5rem 2rem; }
  .footer-in { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
  .flogo { font-family: 'Press Start 2P', monospace; font-size: 0.68rem; color: var(--text-muted); }
  .flogo span { color: var(--pixel-yellow); }
  .flinks { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
  .flinks a { font-size: 0.82rem; color: var(--text-muted); text-decoration: none; transition: color 0.15s; }
  .flinks a:hover { color: var(--text); }
  .fcopy { font-size: 0.76rem; color: rgba(255,255,255,0.18); font-family: 'DM Mono', monospace; text-align: center; line-height: 1.7; }

  /* Animations */
  @keyframes fadeUp { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:translateY(0)} }
  .hero-text { animation: fadeUp 0.5s ease both; }
  .hero-stats { animation: fadeUp 0.5s 0.12s ease both; }
  .game-card { animation: fadeUp 0.4s ease both; }
  .game-card:nth-child(2) { animation-delay: 0.05s; }
  .game-card:nth-child(3) { animation-delay: 0.1s; }
  .game-card:nth-child(4) { animation-delay: 0.15s; }
  .game-card:nth-child(5) { animation-delay: 0.2s; }

  @media(max-width:960px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: repeat(4,1fr); }
    .page { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .news-grid { grid-template-columns: 1fr; }
    .news-card.featured { grid-column: span 1; }
  }
  @media(max-width:640px) {
    .hamburger { display: flex; }
    .mobile-drawer { display: block; }
    nav { display: none; }
    .hdr-search { display: none; }
    .hero { padding: 2.5rem 1.25rem 2rem; }
    .hero-h1 { font-size: 0.95rem; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .game-grid { grid-template-columns: repeat(2, 1fr); }
    .az-bar-inner { padding: 0.4rem 1rem; }
  }