: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; }
 /* -- BREADCRUMB -- */
  .breadcrumb-bar { background: var(--navy2); border-bottom: 1px solid var(--border); padding: 0.6rem 2rem; }
  .breadcrumb { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: var(--text-muted); flex-wrap: wrap; }
  .breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.12s; }
  .breadcrumb a:hover { color: var(--pixel-yellow); }
  .breadcrumb .sep { color: rgba(255,255,255,0.2); }
  .breadcrumb .current { color: var(--text); font-weight: 500; }
  
  /* -- 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.25rem; white-space: nowrap; }
  .az-bar-inner span { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; margin-right: 0.8rem; letter-spacing: 0.06em; flex-shrink: 0; }
  .az-bar-inner a { font-family: 'Press Start 2P', monospace; font-size: 0.42rem; 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; }
  
    /* -- PAGE HEADING -- */
  .listing-head { margin-bottom: 1.5rem; }
  .listing-title { font-family: 'Press Start 2P', monospace; font-size: clamp(0.8rem, 2vw, 1.15rem); color: var(--text); line-height: 1.5; margin-bottom: 0.5rem; }
  .listing-title .hl { color: var(--pixel-yellow); }
  .listing-meta { font-size: 0.85rem; color: var(--text-muted); }
  .listing-meta strong { color: var(--text); font-weight: 600; }
  /* 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); }
  
   /* -- FILTER BAR -- */
  .filter-bar { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
  .filter-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
  .filter-btn { font-size: 0.75rem; color: var(--text-muted); text-decoration: none; padding: 0.3rem 0.7rem; border: 1px solid var(--border); border-radius: 5px; transition: all 0.12s; background: none; cursor: pointer; font-family: 'DM Sans', sans-serif; }
  .filter-btn:hover, .filter-btn.on { color: var(--pixel-yellow); border-color: rgba(255,215,0,0.3); background: rgba(255,215,0,0.06); }
  .filter-sep { color: var(--border); }
  /* -- 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; }
  
  
  /* -- GAME LIST -- */
  .game-list { display: flex; flex-direction: column; gap: 0; }
  .game-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 0;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.15s;
    margin-bottom: 0.75rem;
    position: relative;
  }
  .game-row:hover { border-color: var(--border-hover); box-shadow: 0 6px 24px rgba(0,0,0,0.35); transform: translateX(3px); }
  .gr-thumb { position: relative; width: 180px; flex-shrink: 0; background: var(--navy3); overflow: hidden; }
  .gr-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; image-rendering: pixelated; transition: transform 0.3s; min-height: 100px; }
  .game-row:hover .gr-thumb img { transform: scale(1.05); }
  .gr-badge {
    position: absolute; top: 0.4rem; left: 0.4rem;
    font-family: 'Press Start 2P', monospace; font-size: 0.38rem;
    padding: 0.25rem 0.5rem; border-radius: 3px; letter-spacing: 0.06em;
  }
  .gr-badge.playable { background: rgba(57,211,83,0.9); color: #0d1117; }
  .gr-badge.download { background: rgba(88,166,255,0.9); color: #0d1117; }
  .gr-body { padding: 0.9rem 1.1rem; display: flex; flex-direction: column; justify-content: center; gap: 0.35rem; min-width: 0; }
  .gr-title { font-size: 1rem; font-weight: 600; color: var(--text); line-height: 1.3; text-decoration: none; }
  .game-row:hover .gr-title { color: var(--pixel-yellow); }
  .gr-dev { font-size: 0.8rem; color: var(--text-muted); }
  .gr-dev a { color: var(--pixel-blue); text-decoration: none; font-size: 0.8rem; }
  .gr-dev a:hover { text-decoration: underline; }
  .gr-tags { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.2rem; }
  .genre-tag { font-size: 0.7rem; color: var(--text-muted); text-decoration: none; background: rgba(255,255,255,0.05); border: 1px solid var(--border); padding: 0.18rem 0.5rem; border-radius: 4px; transition: all 0.12s; }
  .genre-tag:hover { color: var(--text); border-color: var(--border-hover); }
  .gr-year { font-family: 'DM Mono', monospace; font-size: 0.75rem; color: var(--text-muted); }
  .gr-play { display: inline-flex; align-items: center; gap: 0.35rem; font-family: 'Press Start 2P', monospace; font-size: 0.42rem; background: var(--pixel-yellow); color: var(--navy); padding: 0.35rem 0.7rem; border-radius: 4px; margin-top: 0.4rem; align-self: flex-start; transition: all 0.12s; opacity: 0; }
  .game-row:hover .gr-play { opacity: 1; }
  .gr-play.dl { background: var(--pixel-blue); }
  
  
  
  .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; 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); }
  /* 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; }
 /* -- CONTENT AREA — for plain h1/p/h2 interior pages -- */
  .content-area { background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; padding: 2rem 2.4rem; }
  .content-area h1 { font-family: 'Press Start 2P', monospace; font-size: clamp(0.8rem, 2vw, 1.1rem); color: var(--text); line-height: 1.6; margin-bottom: 1.2rem; }
  .content-area h1 .hl { color: var(--pixel-yellow); }
  .content-area h2 { font-family: 'Press Start 2P', monospace; font-size: 0.66rem; color: var(--pixel-yellow); letter-spacing: 0.08em; margin: 2rem 0 0.85rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
  .content-area h2:first-of-type { border-top: none; margin-top: 1.25rem; padding-top: 0; }
  .content-area h3 { font-size: 0.9rem; font-weight: 600; color: var(--pixel-blue); margin: 1.25rem 0 0.5rem; }
  .content-area p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.85; margin-bottom: 1rem; }
  .content-area p strong { color: var(--text); font-weight: 600; }
  /* catch-all — any <a> inside .content-area gets site colours */
  .content-area a { color: var(--pixel-blue); text-decoration: none; border-bottom: 1px solid rgba(88,166,255,0.3); transition: color 0.15s, border-color 0.15s; }
  .content-area a:hover { color: var(--pixel-yellow); border-color: rgba(255,215,0,0.5); }
  .content-area a:visited { color: var(--pixel-purple); border-color: rgba(167,139,250,0.3); }
  /* keep p a identical — specificity already handled by the rule above */
  .content-area p a { color: var(--pixel-blue); text-decoration: none; border-bottom: 1px solid rgba(88,166,255,0.3); transition: color 0.15s, border-color 0.15s; }
  .content-area p a:hover { color: var(--pixel-yellow); border-color: rgba(255,215,0,0.5); }
  .content-area p a:visited { color: var(--pixel-purple); border-color: rgba(167,139,250,0.3); }
  .content-area ul, .content-area ol { padding-left: 1.4rem; margin-bottom: 1rem; }
  .content-area li { font-size: 0.92rem; color: var(--text-muted); line-height: 1.85; margin-bottom: 0.3rem; }
  .content-area li::marker { color: var(--pixel-yellow); }
  .content-area hr { border: none; border-top: 1px solid var(--border); margin: 1.75rem 0; }
 
 /* Autocomplete Container */
.hdr-search, .sb-search, .mobile-drawer-search { 
    position: relative; 
}
.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1a1a1a !important;
    border: 1px solid #444;
    border-top: none;
    z-index: 10000;
    max-height: 450px;
    overflow-y: auto;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.8);
    margin-top: 1px;
}
/* Individual Result Row */
.ac-item {
    padding: 12px 16px;
    cursor: pointer;
    color: #ffffff !important; /* Forces visibility */
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    line-height: 1.4;
    border-bottom: 1px solid #2a2a2a;
    display: block;
    text-align: left;
    transition: background 0.1s ease;
}
.ac-item:last-child {
    border-bottom: none;
}
/* Hover/Focus State */
.ac-item:hover, .ac-item.selected {
    background-color: #0078ff !important; /* Your signature blue */
    color: #ffffff !important;
}
/* Prevent text selection while clicking fast */
.ac-item {
    user-select: none;
}
  /* Game title bar */
  .game-header { margin-bottom: 1.5rem; }
  .game-genre-badge {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: rgba(255,71,87,0.12); border: 1px solid rgba(255,71,87,0.3);
    color: var(--pixel-red); font-family: 'Press Start 2P', monospace;
    font-size: 0.48rem; letter-spacing: 0.1em; padding: 0.3rem 0.65rem;
    border-radius: 3px; margin-bottom: 0.75rem;
  }
  .game-title-h1 { font-family: 'Press Start 2P', monospace; font-size: clamp(1rem, 2.5vw, 1.6rem); color: var(--text); line-height: 1.4; margin-bottom: 0.75rem; letter-spacing: -0.01em; }
  .game-meta-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
  .meta-chip { display: flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; color: var(--text-muted); }
  .meta-chip strong { color: var(--text); font-weight: 500; }
  .meta-sep { color: var(--border-hover); }
  /* Rating stars */
  .star-row { display: flex; align-items: center; gap: 0.5rem; }
  .stars { display: flex; gap: 2px; }
  .star { width: 14px; height: 14px; color: var(--pixel-yellow); }
  .star.empty { color: rgba(255,255,255,0.15); }
  .rating-val { font-family: 'DM Mono', monospace; font-size: 0.82rem; color: var(--pixel-yellow); font-weight: 500; }
  .rating-count { font-size: 0.75rem; color: var(--text-muted); }
  /* -- GAME PLAYER -- */
  .game-player-wrap {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    line-height: 0;
  }
  .game-player-wrap iframe {
    width: 100%;
    display: block;
    border: none;
  }
  .game-help-tip {
    display: flex; align-items: center; gap: 0.6rem;
    background: rgba(88,166,255,0.07); border: 1px solid rgba(88,166,255,0.2);
    border-radius: 8px; padding: 0.65rem 1rem; margin-bottom: 1.5rem;
    font-size: 0.82rem; color: var(--text-muted);
  }
  .game-help-tip a { color: var(--pixel-blue); text-decoration: none; font-weight: 500; }
  .game-help-tip a:hover { text-decoration: underline; }
  .help-icon { font-size: 1rem; flex-shrink: 0; }
  /* -- ACTION BUTTONS -- */
  .action-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2rem; }
  .abtn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.82rem; font-weight: 600; text-decoration: none;
    padding: 0.65rem 1.2rem; border-radius: 7px; transition: all 0.15s; cursor: pointer; border: none;
  }
  .abtn-primary { background: var(--pixel-yellow); color: var(--navy); box-shadow: 0 3px 0 rgba(180,140,0,0.5); font-family: 'Press Start 2P', monospace; font-size: 0.52rem; letter-spacing: 0.05em; }
  .abtn-primary:hover { transform: translateY(-2px); box-shadow: 0 5px 0 rgba(180,140,0,0.5); }
  .abtn-sec { background: var(--card-bg); color: var(--text); border: 1px solid var(--border); }
  .abtn-sec:hover { border-color: var(--border-hover); background: var(--card-hover); }
  /* -- GAME INFO PANEL -- */
  .info-panel { background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; padding: 1.4rem; margin-bottom: 1.5rem; }
  .info-panel-title { font-family: 'Press Start 2P', monospace; font-size: 0.58rem; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
  .info-panel-title::before { content:''; display:block; width:8px; height:8px; background:var(--pixel-yellow); flex-shrink:0; }
  .info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1.5rem; }
  .info-row { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
  .info-row:last-child, .info-row:nth-last-child(2) { border-bottom: none; }
  .info-label { font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.04em; font-weight: 500; text-transform: uppercase; }
  .info-value { font-size: 0.88rem; color: var(--text); font-weight: 500; }
  .info-value a { color: var(--pixel-blue); text-decoration: none; }
  .info-value a:hover { text-decoration: underline; }
  .info-value .badge { display: inline-block; background: rgba(255,71,87,0.12); border: 1px solid rgba(255,71,87,0.25); color: var(--pixel-red); font-size: 0.7rem; padding: 0.1rem 0.45rem; border-radius: 3px; font-weight: 600; }
  /* -- ABOUT -- */
  .about-section { margin-bottom: 1.5rem; }
  .about-section p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; }
  /* -- SCREENSHOTS -- */
  .screenshots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.6rem; margin-bottom: 2rem; }
  .ss-thumb {
    aspect-ratio: 16/10; overflow: hidden; border-radius: 6px;
    border: 1px solid var(--border); background: var(--navy3); cursor: pointer;
    transition: all 0.15s; position: relative;
  }
  .ss-thumb:hover { border-color: var(--pixel-yellow); transform: scale(1.03); z-index: 2; }
  .ss-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; image-rendering: pixelated; }
  .ss-thumb-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.15s; font-size: 1.2rem; }
  .ss-thumb:hover .ss-thumb-overlay { opacity: 1; }
  /* Lightbox */
  .lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 2rem; }
  .lightbox.active { display: flex; }
  .lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border: 1px solid var(--border); border-radius: 4px; image-rendering: pixelated; }
  .lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; width: 40px; height: 40px; background: var(--card-bg); border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.2rem; color: var(--text); }
  /* -- STAR RATING -- */
  .rate-section { background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; padding: 1.4rem; margin-bottom: 1.5rem; }
  .rate-title { font-family: 'Press Start 2P', monospace; font-size: 0.58rem; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
  .rate-title::before { content:''; display:block; width:8px; height:8px; background:var(--pixel-yellow); flex-shrink:0; }
  .rate-stars { display: flex; gap: 0.5rem; align-items: center; }
  .rate-star-btn {
    width: 40px; height: 40px; border-radius: 6px; background: var(--navy3);
    border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; cursor: pointer; transition: all 0.12s;
  }
  .rate-star-btn:hover, .rate-star-btn.active { background: rgba(255,215,0,0.1); border-color: rgba(255,215,0,0.4); transform: scale(1.1); }
  .rate-label { font-size: 0.82rem; color: var(--text-muted); margin-left: 0.5rem; }
  /* -- DOWNLOAD -- */
  .download-section { background: var(--card-bg); border: 1px solid rgba(57,211,83,0.2); border-radius: 12px; padding: 1.4rem; margin-bottom: 1.5rem; }
  .dl-title { font-family: 'Press Start 2P', monospace; font-size: 0.58rem; letter-spacing: 0.12em; color: var(--pixel-green); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
  .dl-title::before { content:''; display:block; width:8px; height:8px; background:var(--pixel-green); flex-shrink:0; }
  .dl-desc { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1rem; line-height: 1.6; }
  .dl-desc a { color: var(--pixel-blue); text-decoration: none; }
  .captcha-row { display: flex; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
  .captcha-box { background: var(--navy3); border: 1px solid var(--border); border-radius: 6px; padding: 0.5rem; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
  .captcha-box img { border-radius: 3px; display: block; }
  .captcha-refresh { font-size: 0.72rem; color: var(--pixel-blue); cursor: pointer; text-decoration: none; }
  .dl-input-row { display: flex; gap: 0.5rem; flex: 1; }
  .dl-input { background: var(--navy); border: 1px solid var(--border); border-radius: 6px; color: var(--text); font-family: 'DM Mono', monospace; font-size: 0.9rem; padding: 0.55rem 0.8rem; outline: none; width: 120px; transition: border-color 0.15s; }
  .dl-input:focus { border-color: var(--pixel-green); }
  .dl-btn { background: var(--pixel-green); color: var(--navy); font-family: 'Press Start 2P', monospace; font-size: 0.52rem; padding: 0.65rem 1.2rem; border: none; border-radius: 6px; cursor: pointer; letter-spacing: 0.05em; font-weight: 700; box-shadow: 0 3px 0 rgba(30,160,60,0.5); transition: all 0.15s; }
  .dl-btn:hover { transform: translateY(-2px); }
  .dl-register { margin-top: 0.9rem; font-size: 0.78rem; color: var(--text-muted); background: rgba(88,166,255,0.06); border: 1px solid rgba(88,166,255,0.15); border-radius: 6px; padding: 0.65rem 0.9rem; }
  .dl-register a { color: var(--pixel-blue); text-decoration: none; font-weight: 500; }
  /* -- COMMENTS -- */
  .comment-section { margin-bottom: 2rem; }
  .comment-item { background: var(--card-bg); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.2rem; margin-bottom: 0.75rem; }
  .comment-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
  .comment-avatar { width: 32px; height: 32px; border-radius: 6px; background: rgba(255,71,87,0.15); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; border: 1px solid rgba(255,71,87,0.2); }
  .comment-author { font-size: 0.85rem; font-weight: 600; color: var(--text); }
  .comment-date { font-size: 0.72rem; color: var(--text-muted); font-family: 'DM Mono', monospace; margin-left: auto; }
  .comment-rating { display: flex; gap: 2px; margin-left: 0.4rem; }
  .comment-body { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
  .comment-reply { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.75rem; color: var(--pixel-blue); cursor: pointer; margin-top: 0.5rem; text-decoration: none; transition: color 0.12s; }
  .comment-reply:hover { color: var(--pixel-yellow); }
  /* Comment form */
  .comment-form { background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; padding: 1.4rem; }
  .cf-title { font-family: 'Press Start 2P', monospace; font-size: 0.58rem; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 1.2rem; display: flex; align-items: center; gap: 0.5rem; }
  .cf-title::before { content:''; display:block; width:8px; height:8px; background:var(--pixel-purple); flex-shrink:0; }
  .cf-field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
  .cf-field label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
  .cf-field input, .cf-field textarea {
    background: var(--navy); border: 1px solid var(--border); border-radius: 6px;
    color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 0.88rem;
    padding: 0.55rem 0.8rem; outline: none; width: 100%; transition: border-color 0.15s;
  }
  .cf-field input:focus, .cf-field textarea:focus { border-color: var(--pixel-purple); }
  .cf-field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
  .cf-footer { display: flex; align-items: center; justify-content: space-between; }
  .char-count { font-family: 'DM Mono', monospace; font-size: 0.72rem; color: var(--text-muted); }
  .cf-btns { display: flex; gap: 0.5rem; }
  .cf-submit { background: var(--pixel-purple); color: #fff; font-family: 'Press Start 2P', monospace; font-size: 0.5rem; padding: 0.65rem 1.2rem; border: none; border-radius: 6px; cursor: pointer; letter-spacing: 0.06em; box-shadow: 0 3px 0 rgba(120,80,200,0.5); transition: all 0.15s; }
  .cf-submit:hover { transform: translateY(-2px); }
  .cf-clear { background: transparent; color: var(--text-muted); font-size: 0.82rem; padding: 0.65rem 1rem; border: 1px solid var(--border); border-radius: 6px; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all 0.12s; }
  .cf-clear:hover { color: var(--text); border-color: var(--border-hover); }
  .cf-login-note { background: rgba(255,215,0,0.05); border: 1px solid rgba(255,215,0,0.15); border-radius: 6px; padding: 0.7rem 0.9rem; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1rem; }
  .cf-login-note a { color: var(--pixel-yellow); text-decoration: none; font-weight: 500; }
  /* Section divider */
  .sec-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
  .sec-ttl { font-family: 'Press Start 2P', monospace; font-size: 0.62rem; letter-spacing: 0.1em; color: var(--text); display: flex; align-items: center; gap: 0.6rem; }
  .sec-ttl::before { content:''; display:block; width:10px; height:10px; background:var(--pixel-yellow); flex-shrink:0; }
  /* -- 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; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; flex-shrink: 0; }
  .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); }
/* -- CONTACT FORM -- */
  .contact-form-wrap {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: 14px; padding: 2rem;
    animation: fadeUp 0.4s 0.1s ease both;
  }
  .form-title { font-family: 'Press Start 2P', monospace; font-size: 0.58rem; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 1.75rem; display: flex; align-items: center; gap: 0.5rem; }
  .form-title::before { content:''; display:block; width:8px; height:8px; background:var(--pixel-blue); flex-shrink:0; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
  .form-field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
  .form-field label { font-size: 0.78rem; font-weight: 600; color: var(--text); letter-spacing: 0.02em; }
  .form-field .field-hint { font-size: 0.72rem; color: var(--text-muted); }
  .form-field input,
  .form-field textarea,
  .form-field select {
    background: var(--navy); border: 1px solid var(--border); border-radius: 8px;
    color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
    padding: 0.65rem 0.9rem; outline: none; width: 100%;
    transition: border-color 0.15s, box-shadow 0.15s;
  }
  .form-field input:focus,
  .form-field textarea:focus,
  .form-field select:focus {
    border-color: var(--pixel-blue);
    box-shadow: 0 0 0 3px rgba(88,166,255,0.1);
  }
  .form-field input::placeholder,
  .form-field textarea::placeholder { color: rgba(255,255,255,0.2); }
  .form-field textarea { resize: vertical; min-height: 160px; line-height: 1.65; }
  .form-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b949e' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.5rem; cursor: pointer; }
  .form-field select option { background: var(--navy2); }
  /* Captcha row */
  .captcha-row { display: flex; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
  .captcha-box { background: var(--navy3); border: 1px solid var(--border); border-radius: 8px; padding: 0.6rem; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; flex-shrink: 0; }
  .captcha-box img { display: block; border-radius: 4px; }
  .captcha-refresh { font-size: 0.72rem; color: var(--pixel-blue); cursor: pointer; text-decoration: none; transition: color 0.12s; }
  .captcha-refresh:hover { color: var(--pixel-yellow); }
  .captcha-input-wrap { flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
  .captcha-input-wrap label { font-size: 0.78rem; font-weight: 600; color: var(--text); }
  .captcha-input-wrap input { background: var(--navy); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-family: 'DM Mono', monospace; font-size: 1rem; padding: 0.65rem 0.9rem; outline: none; width: 100%; max-width: 180px; transition: border-color 0.15s, box-shadow 0.15s; letter-spacing: 0.12em; }
  .captcha-input-wrap input:focus { border-color: var(--pixel-blue); box-shadow: 0 0 0 3px rgba(88,166,255,0.1); }
  /* Honeypot — hidden from real users */
  .hp { display: none !important; }
  /* Submit row */
  .form-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
  .form-note { font-size: 0.78rem; color: var(--text-muted); }
  .form-note a { color: var(--pixel-blue); text-decoration: none; }
  .submit-btn {
    display: inline-flex; align-items: center; gap: 0.6rem;
    background: var(--pixel-blue); color: var(--navy);
    font-family: 'Press Start 2P', monospace; font-size: 0.54rem;
    padding: 0.85rem 1.6rem; border: none; border-radius: 8px;
    cursor: pointer; letter-spacing: 0.06em; font-weight: 700;
    box-shadow: 0 4px 0 rgba(40,100,180,0.5); transition: all 0.15s;
    flex-shrink: 0;
  }
  .submit-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(40,100,180,0.5); }
  .submit-btn:active { transform: translateY(1px); box-shadow: 0 2px 0 rgba(40,100,180,0.5); }
  /* Success / error states */
  .form-success {
    display: none; background: rgba(57,211,83,0.07); border: 1px solid rgba(57,211,83,0.25);
    border-radius: 10px; padding: 1.4rem 1.6rem; text-align: center;
    margin-top: 1.5rem;
  }
  .form-success .fs-icon { font-size: 2rem; margin-bottom: 0.5rem; }
  .form-success h3 { font-family: 'Press Start 2P', monospace; font-size: 0.65rem; color: var(--pixel-green); margin-bottom: 0.5rem; letter-spacing: 0.06em; }
  .form-success p { font-size: 0.85rem; color: var(--text-muted); }
  
  /* -- CONTACT FORM -- */
  .contact-form-wrap {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: 14px; padding: 2rem;
    animation: fadeUp 0.4s 0.1s ease both;
  }
  .form-title { font-family: 'Press Start 2P', monospace; font-size: 0.58rem; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 1.75rem; display: flex; align-items: center; gap: 0.5rem; }
  .form-title::before { content:''; display:block; width:8px; height:8px; background:var(--pixel-blue); flex-shrink:0; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
  .form-field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
  .form-field label { font-size: 0.78rem; font-weight: 600; color: var(--text); letter-spacing: 0.02em; }
  .form-field .field-hint { font-size: 0.72rem; color: var(--text-muted); }
  .form-field input,
  .form-field textarea,
  .form-field select {
    background: var(--navy); border: 1px solid var(--border); border-radius: 8px;
    color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
    padding: 0.65rem 0.9rem; outline: none; width: 100%;
    transition: border-color 0.15s, box-shadow 0.15s;
  }
  .form-field input:focus,
  .form-field textarea:focus,
  .form-field select:focus {
    border-color: var(--pixel-blue);
    box-shadow: 0 0 0 3px rgba(88,166,255,0.1);
  }
  .form-field input::placeholder,
  .form-field textarea::placeholder { color: rgba(255,255,255,0.2); }
  .form-field textarea { resize: vertical; min-height: 160px; line-height: 1.65; }
  .form-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b949e' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.5rem; cursor: pointer; }
  .form-field select option { background: var(--navy2); }
  /* Captcha row */
  .captcha-row { display: flex; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
  .captcha-box { background: var(--navy3); border: 1px solid var(--border); border-radius: 8px; padding: 0.6rem; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; flex-shrink: 0; }
  .captcha-box img { display: block; border-radius: 4px; }
  .captcha-refresh { font-size: 0.72rem; color: var(--pixel-blue); cursor: pointer; text-decoration: none; transition: color 0.12s; }
  .captcha-refresh:hover { color: var(--pixel-yellow); }
  .captcha-input-wrap { flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
  .captcha-input-wrap label { font-size: 0.78rem; font-weight: 600; color: var(--text); }
  .captcha-input-wrap input { background: var(--navy); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-family: 'DM Mono', monospace; font-size: 1rem; padding: 0.65rem 0.9rem; outline: none; width: 100%; max-width: 180px; transition: border-color 0.15s, box-shadow 0.15s; letter-spacing: 0.12em; }
  .captcha-input-wrap input:focus { border-color: var(--pixel-blue); box-shadow: 0 0 0 3px rgba(88,166,255,0.1); }
  /* Honeypot — hidden from real users */
  .hp { display: none !important; }
  /* Submit row */
  .form-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
  .form-note { font-size: 0.78rem; color: var(--text-muted); }
  .form-note a { color: var(--pixel-blue); text-decoration: none; }
  .submit-btn {
    display: inline-flex; align-items: center; gap: 0.6rem;
    background: var(--pixel-blue); color: var(--navy);
    font-family: 'Press Start 2P', monospace; font-size: 0.54rem;
    padding: 0.85rem 1.6rem; border: none; border-radius: 8px;
    cursor: pointer; letter-spacing: 0.06em; font-weight: 700;
    box-shadow: 0 4px 0 rgba(40,100,180,0.5); transition: all 0.15s;
    flex-shrink: 0;
  }
  .submit-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(40,100,180,0.5); }
  .submit-btn:active { transform: translateY(1px); box-shadow: 0 2px 0 rgba(40,100,180,0.5); }
  /* Success / error states */
  .form-success {
    display: none; background: rgba(57,211,83,0.07); border: 1px solid rgba(57,211,83,0.25);
    border-radius: 10px; padding: 1.4rem 1.6rem; text-align: center;
    margin-top: 1.5rem;
  }
  .form-success .fs-icon { font-size: 2rem; margin-bottom: 0.5rem; }
  .form-success h3 { font-family: 'Press Start 2P', monospace; font-size: 0.65rem; color: var(--pixel-green); margin-bottom: 0.5rem; letter-spacing: 0.06em; }
  .form-success p { font-size: 0.85rem; color: var(--text-muted); }
  /* -- 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; }
  }