/* ================================================================
   GOMBAY GAMING HUB — VOID CITADEL DESIGN SYSTEM
   Built by NexKeys Agency  |  nexkeysagency.netlify.app
================================================================ */

/* ── TOKENS ──────────────────────────────────────────────────── */
:root {
  --void:        #030307;
  --deep:        #07071A;
  --surface:     #0D0D24;
  --surface2:    #12122E;
  --surface3:    #18183A;

  --violet:      #7C3AED;
  --violet-hi:   #9F5FF7;
  --violet-glow: rgba(124,58,237,.5);
  --violet-lo:   rgba(124,58,237,.1);
  --violet-mid:  rgba(124,58,237,.22);

  --cyan:        #06B6D4;
  --cyan-hi:     #22D3EE;
  --cyan-glow:   rgba(6,182,212,.35);
  --cyan-lo:     rgba(6,182,212,.09);

  --gold:        #F59E0B;
  --gold-glow:   rgba(245,158,11,.3);
  --gold-lo:     rgba(245,158,11,.1);

  --crimson:     #EF4444;
  --crimson-lo:  rgba(239,68,68,.1);

  --emerald:     #10B981;
  --emerald-lo:  rgba(16,185,129,.1);

  --tx:          #F0EEF8;
  --tx2:         #9B96B8;
  --tx3:         #5B5680;
  --border:      rgba(124,58,237,.18);
  --border2:     rgba(255,255,255,.06);

  --f-display:  'Orbitron', sans-serif;
  --f-ui:       'Exo 2', sans-serif;
  --f-body:     'Barlow', sans-serif;

  --container: 1320px;
  --nav-h:     64px;
  --r:         8px;
  --r2:        14px;
  --r3:        20px;

  --sh-sm:   0 2px 16px rgba(3,3,7,.6);
  --sh-md:   0 8px 40px rgba(3,3,7,.8);
  --sh-glow: 0 0 40px var(--violet-glow);

  --ease: cubic-bezier(.22,.68,0,1.2);
  --out:  cubic-bezier(.16,1,.3,1);
  --dur:  .25s;
  --dur2: .45s;
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--f-body);
  background: var(--void);
  color: var(--tx);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}
a    { text-decoration: none; color: inherit; }
button { font-family: var(--f-ui); cursor: none; border: none; background: none; }
img  { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
::-webkit-scrollbar       { width: 3px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: var(--violet); border-radius: 99px; }

/* ── CUSTOM CURSOR ───────────────────────────────────────────── */
.cursor-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--cyan); position: fixed; z-index: 99999;
  pointer-events: none; transform: translate(-50%,-50%);
}
.cursor-ring {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid rgba(124,58,237,.65);
  position: fixed; z-index: 99998;
  pointer-events: none; transform: translate(-50%,-50%);
  transition: width .18s var(--ease), height .18s var(--ease),
              border-color .18s, background .18s;
}
body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring {
  width: 44px; height: 44px;
  border-color: var(--cyan);
  background: rgba(6,182,212,.06);
}

/* ── PAGE LOADER ─────────────────────────────────────────────── */
.page-loader {
  position: fixed; inset: 0; z-index: 99900;
  background: var(--void); display: flex;
  flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  transition: opacity .5s, visibility .5s;
}
.page-loader.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
  font-family: var(--f-display);
  font-size: 38px; font-weight: 900; letter-spacing: .14em; color: var(--tx);
}
.loader-logo span { color: var(--violet-hi); }
.loader-bar {
  width: 200px; height: 2px; background: var(--surface3);
  border-radius: 99px; overflow: hidden;
}
.loader-progress {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  border-radius: 99px;
  animation: loadFill .95s var(--out) .15s forwards;
}
@keyframes loadFill { to { width: 100%; } }
.loader-tag {
  font-family: var(--f-ui); font-size: 10px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--tx3);
}

/* ── TYPOGRAPHY ──────────────────────────────────────────────── */
.section-eyebrow {
  font-family: var(--f-ui); font-size: 11px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--cyan);
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
}
.section-title {
  font-family: var(--f-display);
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 700; letter-spacing: -.01em; line-height: 1.1; color: var(--tx);
}
.section-title .accent { color: var(--violet-hi); }
.text-link {
  font-family: var(--f-ui); font-size: 13px; font-weight: 600;
  color: var(--violet-hi); letter-spacing: .04em;
  display: inline-flex; align-items: center; gap: 4px;
  transition: color var(--dur), gap var(--dur);
}
.text-link:hover { color: var(--cyan); gap: 8px; }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--r);
  background: var(--violet); color: var(--tx);
  font-family: var(--f-display); font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 0 28px var(--violet-glow);
  position: relative; overflow: hidden;
  transition: all var(--dur) var(--ease);
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.14), transparent);
  pointer-events: none;
}
.btn-primary:hover { background: var(--violet-hi); transform: translateY(-2px); box-shadow: 0 0 48px var(--violet-glow), 0 10px 32px rgba(0,0,0,.5); }
.btn-primary.large { padding: 16px 36px; font-size: 12px; }

.btn-ghost {
  padding: 12px 22px; border-radius: var(--r);
  border: 1px solid var(--border2); color: var(--tx2);
  font-family: var(--f-ui); font-size: 13px; font-weight: 600;
  transition: all var(--dur);
}
.btn-ghost:hover { border-color: var(--violet-mid); color: var(--tx); }

.btn-wishlist {
  width: 48px; height: 48px; border-radius: var(--r);
  background: var(--surface2); border: 1px solid var(--border);
  color: var(--tx2);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--dur) var(--ease);
}
.btn-wishlist:hover, .btn-wishlist.active {
  background: var(--gold-lo); border-color: var(--gold); color: var(--gold);
}
.btn-wishlist.active svg { fill: var(--gold); }

/* ── LAYOUT HELPERS ──────────────────────────────────────────── */
.section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.sh-left { flex: 1; min-width: 0; }

/* ── REVEAL ──────────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s var(--out), transform .7s var(--out);
}
.reveal.visible { opacity: 1; transform: none; }

/* ════════════════════════════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════════════════════════════ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  background: rgba(3,3,7,.82);
  backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid var(--border2);
  transition: box-shadow var(--dur), background var(--dur);
}
.site-nav.scrolled { background: rgba(3,3,7,.97); box-shadow: 0 1px 0 var(--border), var(--sh-md); }

.nav-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 0 32px; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-left  { display: flex; align-items: center; gap: 40px; flex-shrink: 0; }
.nav-right { display: flex; align-items: center; gap: 8px; }

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 8px; }
.logo-icon { font-size: 18px; color: var(--violet-hi); filter: drop-shadow(0 0 6px var(--violet-glow)); }
.logo-text {
  font-family: var(--f-display);
  font-size: 20px; font-weight: 900; letter-spacing: .14em; color: var(--tx);
  position: relative; display: inline-block;
}
.logo-text::before {
  content: attr(data-text); position: absolute; inset: 0;
  color: var(--cyan); clip-path: polygon(0 0, 100% 0, 100% 38%, 0 38%);
  transform: translateX(-1.5px); opacity: .6; pointer-events: none;
}
.logo-text::after {
  content: attr(data-text); position: absolute; inset: 0;
  color: var(--crimson); clip-path: polygon(0 62%, 100% 62%, 100% 100%, 0 100%);
  transform: translateX(1.5px); opacity: .6; pointer-events: none;
}
.footer-logo-text { font-size: 24px; }

/* Nav links */
.nav-links { display: flex; gap: 2px; }
.nav-links .nl {
  font-family: var(--f-ui); font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 6px; color: var(--tx2);
  position: relative; transition: all var(--dur);
}
.nav-links .nl:hover, .nav-links .nl.active {
  color: var(--tx); background: var(--violet-lo);
}
.nav-links .nl.active::after {
  content: ''; position: absolute; bottom: 1px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--violet-hi);
}

/* Icon button */
.icon-btn {
  width: 38px; height: 38px; border-radius: var(--r);
  background: var(--surface2); border: 1px solid var(--border2);
  color: var(--tx2); display: flex; align-items: center; justify-content: center;
  transition: all var(--dur) var(--ease);
}
.icon-btn:hover { color: var(--tx); border-color: var(--border); background: var(--surface3); }

/* Search */
.nav-search-wrap { position: relative; display: flex; align-items: center; }
.nav-search-input {
  width: 0; opacity: 0; pointer-events: none;
  position: absolute; right: 44px; top: 0;
  height: 38px; padding: 0 14px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); color: var(--tx);
  font-family: var(--f-ui); font-size: 13px; outline: none;
  transition: all var(--dur2) var(--out);
}
.nav-search-input.open { width: 220px; opacity: 1; pointer-events: all; }
.nav-search-input::placeholder { color: var(--tx3); }
.nav-search-results {
  position: absolute; top: 48px; right: 0; width: 280px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--r2); box-shadow: var(--sh-md); z-index: 200; overflow: hidden;
}
.nsr-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; font-family: var(--f-ui); font-size: 13px; color: var(--tx2);
  transition: all var(--dur);
}
.nsr-item:hover { background: var(--violet-lo); color: var(--tx); }
.nsr-emoji { font-size: 18px; }
.nsr-game  { font-weight: 600; color: var(--tx); flex: 1; }
.nsr-price { font-size: 12px; color: var(--cyan); font-weight: 700; }

/* Notif */
.notif-btn { position: relative; }
.notif-badge {
  position: absolute; top: -4px; right: -4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--crimson); color: var(--tx);
  font-size: 9px; font-weight: 900; font-family: var(--f-ui);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--void);
}

/* Avatar + Dropdown */
.avatar-wrap { position: relative; }
.avatar-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--border); padding: 0;
  overflow: visible; position: relative;
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--dur);
}
.avatar-btn:hover, .avatar-btn[aria-expanded="true"] { border-color: var(--violet-hi); }
.avatar-img { width: 34px; height: 34px; border-radius: 50%; }
.avatar-status {
  position: absolute; bottom: -1px; right: -1px;
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--void);
}
.avatar-status.online { background: var(--emerald); }

.dropdown-menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  width: 220px; background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--r2); box-shadow: var(--sh-md); z-index: 600;
  overflow: hidden; flex-direction: column; display: none;
}
.dropdown-menu.open {
  display: flex;
  animation: dropIn .22s var(--ease) forwards;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-8px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
.dm-header {
  display: flex; align-items: center; gap: 12px; padding: 16px;
}
.dm-avatar { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); }
.dm-name   { display: block; font-family: var(--f-display); font-size: 13px; font-weight: 700; color: var(--tx); letter-spacing: .04em; }
.dm-level  { font-size: 11px; color: var(--violet-hi); font-weight: 600; }
.dm-divider { height: 1px; background: var(--border2); margin: 0 12px; }
.dm-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; font-family: var(--f-ui); font-size: 13px; font-weight: 500;
  color: var(--tx2); transition: all var(--dur);
}
.dm-item:hover { background: var(--violet-lo); color: var(--tx); }
.dm-item.danger { color: var(--crimson); }
.dm-item.danger:hover { background: var(--crimson-lo); }

/* Burger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px; border-radius: 6px;
}
.nav-burger span {
  display: block; width: 20px; height: 2px;
  background: var(--tx2); border-radius: 99px;
  transition: all var(--dur);
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  display: none; flex-direction: column;
  padding: 12px 20px 20px;
  border-top: 1px solid var(--border2);
  background: rgba(3,3,7,.98);
}
.mobile-drawer.open { display: flex; }
.md-link {
  font-family: var(--f-ui); font-size: 14px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--tx2);
  padding: 11px 12px; border-radius: 6px; transition: all var(--dur);
}
.md-link:hover { color: var(--tx); background: var(--violet-lo); }

/* ════════════════════════════════════════════════════════════════
   LIVE TICKER
════════════════════════════════════════════════════════════════ */
.ticker-wrap {
  position: sticky; top: var(--nav-h); z-index: 700;
  background: rgba(12,12,30,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  overflow: hidden; height: 36px;
  display: flex; align-items: center;
}
.ticker-inner { display: flex; align-items: center; gap: 0; height: 100%; overflow: hidden; }
.ticker-live-badge {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
  padding: 0 16px; height: 100%;
  background: var(--violet); border-right: 1px solid rgba(255,255,255,.1);
  font-family: var(--f-display); font-size: 9px; font-weight: 900;
  letter-spacing: .18em; color: var(--tx);
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--cyan);
  animation: blink .9s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:.2; } }
.ticker-track {
  display: flex; gap: 0; white-space: nowrap;
  animation: tickScroll 30s linear infinite;
  padding-left: 24px;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes tickScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.tick-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-ui); font-size: 11px; font-weight: 600;
  color: var(--tx2); padding: 0 28px; border-right: 1px solid var(--border2);
}
.tick-item span { color: var(--cyan); }
.tick-item .tick-up   { color: var(--emerald); }
.tick-item .tick-down { color: var(--crimson); }

/* ════════════════════════════════════════════════════════════════
   HERO SLIDESHOW
════════════════════════════════════════════════════════════════ */
.hero-section {
  position: relative; overflow: hidden;
  height: 100vh; min-height: 600px; max-height: 900px;
  padding-top: var(--nav-h);
}

/* Slides */
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity .8s ease;
}
.hero-slide.active { opacity: 1; pointer-events: all; }

.slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.06);
  transition: transform 8s ease-out;
}
.hero-slide.active .slide-bg { transform: scale(1); }

.slide-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(3,3,7,.95) 0%,
    rgba(3,3,7,.7) 45%,
    rgba(3,3,7,.15) 75%,
    rgba(3,3,7,.05) 100%
  );
}

/* Scanlines overlay */
.scanlines {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent, transparent 2px,
    rgba(0,0,0,.06) 2px, rgba(0,0,0,.06) 4px
  );
}

/* HUD corners */
.hud-corner {
  position: absolute; z-index: 4; pointer-events: none;
  width: 24px; height: 24px; opacity: .45;
}
.hud-corner.tl { top: 82px; left: 20px; border-top: 2px solid var(--cyan); border-left: 2px solid var(--cyan); }
.hud-corner.tr { top: 82px; right: 20px; border-top: 2px solid var(--cyan); border-right: 2px solid var(--cyan); }
.hud-corner.bl { bottom: 60px; left: 20px; border-bottom: 2px solid var(--cyan); border-left: 2px solid var(--cyan); }
.hud-corner.br { bottom: 60px; right: 20px; border-bottom: 2px solid var(--cyan); border-right: 2px solid var(--cyan); }

.hud-coords {
  position: absolute; top: 90px; right: 40px; z-index: 4;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-ui); font-size: 9px; letter-spacing: .15em;
  opacity: .45; pointer-events: none;
}
.hc-lbl { color: var(--cyan); font-weight: 700; }
.hc-val { color: var(--tx2); }

/* Slide content */
.slide-content {
  position: relative; z-index: 5;
  max-width: var(--container); margin: 0 auto;
  padding: 0 48px; width: 100%;
  display: flex; flex-direction: column; gap: 0;
  max-width: 680px; padding-left: 80px;
}

.slide-eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.ey-tag {
  font-family: var(--f-ui); font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--violet-lo); border: 1px solid var(--violet-mid);
  color: var(--violet-hi); padding: 5px 12px; border-radius: 99px;
}
.ey-sep { color: var(--tx3); font-size: 12px; }
.ey-id  { font-family: var(--f-ui); font-size: 11px; color: var(--tx3); letter-spacing: .12em; }

.slide-title {
  font-family: var(--f-display);
  font-size: clamp(52px, 8vw, 100px);
  font-weight: 900; letter-spacing: -.02em; line-height: .95;
  color: var(--tx); text-shadow: 0 0 80px rgba(124,58,237,.3);
  margin-bottom: 20px;
}

.slide-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.sm-score { display: flex; align-items: center; gap: 8px; }
.score-num {
  font-family: var(--f-display); font-size: 28px; font-weight: 900; color: var(--gold);
  line-height: 1;
}
.score-stars { font-size: 13px; color: var(--gold); letter-spacing: 1px; }
.score-count { font-size: 11px; color: var(--tx3); font-family: var(--f-ui); }
.sm-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.mpill {
  padding: 4px 11px; border-radius: 99px;
  font-family: var(--f-ui); font-size: 10px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  background: var(--surface3); border: 1px solid var(--border2); color: var(--tx2);
}
.mpill.genre { background: var(--violet-lo); border-color: var(--violet-mid); color: var(--violet-hi); }

.slide-desc {
  font-family: var(--f-body); font-size: 15px; color: var(--tx2);
  line-height: 1.7; max-width: 480px; margin-bottom: 28px;
}

.slide-actions {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 28px;
}

.slide-stats {
  display: flex; align-items: center; gap: 0;
  background: rgba(13,13,36,.7);
  border: 1px solid var(--border2);
  border-radius: var(--r2); padding: 12px 20px;
  backdrop-filter: blur(8px);
  width: fit-content;
}
.ss-item { text-align: center; padding: 0 20px; }
.ss-val {
  display: block; font-family: var(--f-display);
  font-size: 20px; font-weight: 800; color: var(--tx); line-height: 1;
}
.ss-lbl { font-size: 10px; color: var(--tx3); font-family: var(--f-ui); letter-spacing: .08em; }
.ss-sep { width: 1px; height: 32px; background: var(--border2); flex-shrink: 0; }

/* Right art */
.slide-art-wrap {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 50%; display: flex; align-items: center; justify-content: center;
  overflow: hidden; z-index: 3; pointer-events: none;
}
.slide-art-inner { position: relative; width: 100%; height: 100%; }
.slide-art {
  width: 100%; height: 100%; object-fit: cover; opacity: .25;
  filter: saturate(.6);
  transition: opacity .8s ease, transform .8s ease;
}
.hero-slide.active .slide-art { opacity: .35; }

.art-reticle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 160px; height: 160px; border-radius: 50%;
  border: 1px solid rgba(6,182,212,.2);
  pointer-events: none;
  animation: reticlePulse 3s ease-in-out infinite;
}
.art-reticle::before {
  content: ''; position: absolute; inset: 16px; border-radius: 50%;
  border: 1px solid rgba(124,58,237,.2);
  animation: reticlePulse 3s ease-in-out infinite .5s;
}
@keyframes reticlePulse {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity: .6; }
  50%      { transform: translate(-50%,-50%) scale(1.12); opacity: 1; }
}

/* Slide nav dots */
.hero-nav {
  position: absolute; bottom: 28px; left: 80px;
  display: flex; align-items: center; gap: 8px; z-index: 6;
}
.hn-dot {
  display: flex; align-items: center;
  background: none; padding: 4px 0; cursor: none;
}
.dot-bar {
  display: block; height: 2px; width: 28px;
  background: rgba(255,255,255,.2); border-radius: 99px;
  transition: width var(--dur), background var(--dur);
  overflow: hidden; position: relative;
}
.dot-bar::after {
  content: ''; position: absolute; inset: 0 100% 0 0;
  background: var(--violet-hi); border-radius: 99px;
}
.hn-dot.active .dot-bar { width: 48px; background: rgba(255,255,255,.1); }
.hn-dot.active .dot-bar::after { right: 0; transition: right 5.2s linear; }

.scroll-hint {
  position: absolute; bottom: 32px; right: 40px; z-index: 6;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: .4;
}
.scroll-hint span { font-family: var(--f-ui); font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--tx2); }
.sh-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--tx2), transparent); animation: shDrop 2s ease-in-out infinite; }
@keyframes shDrop { 0%,100% { transform: scaleY(1); transform-origin: top; } 50% { transform: scaleY(.4); } }

/* ════════════════════════════════════════════════════════════════
   GAMES SECTION
════════════════════════════════════════════════════════════════ */
.games-section { padding: 90px 0 60px; }
.gs-inner { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* Filter pills */
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.fpill {
  padding: 7px 18px; border-radius: 99px;
  font-family: var(--f-ui); font-size: 12px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  background: var(--surface2); border: 1px solid var(--border2); color: var(--tx2);
  transition: all var(--dur);
}
.fpill:hover { color: var(--violet-hi); border-color: var(--violet-mid); }
.fpill.active { background: var(--violet); border-color: var(--violet); color: var(--tx); box-shadow: 0 0 16px var(--violet-glow); }

/* Games grid — 4-col for 12 games */
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.game-card.featured { grid-row: span 2; }
.game-card.featured .gc-img-wrap { aspect-ratio: 3/4; }
.game-card.featured .gc-desc { display: block; }

/* ────────────────────────────────────────────────────────────────
   ONLINE FRIENDS BAR
──────────────────────────────────────────────────────────────── */
.friends-bar {
  background: var(--deep);
  border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border);
  padding: 20px 32px;
}
.friends-inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.friends-label {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-display); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--tx2);
  flex-shrink: 0;
}
.friends-list {
  display: flex; gap: 8px; flex: 1; flex-wrap: wrap;
}
.friend-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--r2); padding: 8px 14px;
  flex: 1; min-width: 180px; max-width: 240px;
  transition: all var(--dur);
}
.friend-item:hover { border-color: var(--border); background: var(--surface2); }
.friend-avatar-wrap { position: relative; flex-shrink: 0; }
.friend-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--border); object-fit: cover;
}
.friend-status {
  position: absolute; bottom: -1px; right: -1px;
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--surface);
}
.friend-status.online { background: var(--emerald); }
.friend-status.idle   { background: var(--gold); }
.friend-info { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.friend-name { font-family: var(--f-ui); font-size: 12px; font-weight: 700; color: var(--tx); }
.friend-game { font-size: 10px; color: var(--violet-hi); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.friend-invite-btn {
  padding: 4px 12px; border-radius: 99px;
  background: var(--violet-lo); border: 1px solid var(--violet-mid);
  color: var(--violet-hi); font-family: var(--f-ui); font-size: 10px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; flex-shrink: 0;
  transition: all var(--dur);
}
.friend-invite-btn:hover { background: var(--violet); color: var(--tx); border-color: var(--violet); }

/* Card */
.game-card {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--r2); overflow: hidden;
  display: flex; flex-direction: column;
  transition: all var(--dur2) var(--out);
}
.game-card:hover { transform: translateY(-6px); border-color: var(--border); box-shadow: 0 20px 60px rgba(3,3,7,.8), 0 0 0 1px var(--violet-mid); }

.gc-img-wrap {
  position: relative; overflow: hidden; aspect-ratio: 16/9;
  flex-shrink: 0;
}
.gc-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--out);
}
.game-card:hover .gc-img-wrap img { transform: scale(1.06); }

.gc-hover-layer {
  position: absolute; inset: 0;
  background: rgba(3,3,7,.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--dur);
}
.game-card:hover .gc-hover-layer { opacity: 1; }
.gc-dl-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 22px; border-radius: var(--r);
  background: var(--violet); color: var(--tx);
  font-family: var(--f-display); font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 0 24px var(--violet-glow);
  transform: translateY(8px); transition: all .2s var(--ease);
}
.game-card:hover .gc-dl-btn { transform: translateY(0); }
.gc-dl-btn:hover { background: var(--violet-hi); }

.gc-badge {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--f-ui); font-size: 9px; font-weight: 900;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 99px;
  background: var(--violet); color: var(--tx);
}
.gc-badge.top    { background: linear-gradient(90deg, var(--gold), #e67e22); color: var(--void); }
.gc-badge.free   { background: var(--emerald); }
.gc-badge.horror { background: var(--crimson); }

.gc-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.gc-meta { display: flex; align-items: center; justify-content: space-between; }
.gc-genre { font-family: var(--f-ui); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--violet-hi); }
.gc-plats { display: flex; gap: 4px; }
.plat {
  font-family: var(--f-ui); font-size: 9px; font-weight: 700;
  letter-spacing: .06em; padding: 2px 8px; border-radius: 4px;
  background: var(--surface3); border: 1px solid var(--border2); color: var(--tx3);
}
.gc-title {
  font-family: var(--f-display); font-size: 16px; font-weight: 700;
  color: var(--tx); letter-spacing: -.01em; line-height: 1.2;
}
.game-card.featured .gc-title { font-size: 20px; }
.gc-desc { font-size: 13px; color: var(--tx2); line-height: 1.55; display: none; }
.gc-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border2);
}
.gc-rating { display: flex; align-items: center; gap: 6px; }
.gcr-n { font-family: var(--f-display); font-size: 16px; font-weight: 800; color: var(--gold); }
.gcr-s { font-size: 11px; color: var(--gold); }
.gc-price { font-family: var(--f-display); font-size: 14px; font-weight: 700; color: var(--tx); }
.gc-price.free-tag { color: var(--emerald); }
.gc-wish {
  width: 32px; height: 32px; border-radius: 6px;
  background: var(--surface2); border: 1px solid var(--border2);
  color: var(--tx3); display: flex; align-items: center; justify-content: center;
  transition: all var(--dur) var(--ease);
}
.gc-wish:hover, .gc-wish.active { background: var(--gold-lo); border-color: var(--gold); color: var(--gold); }
.gc-wish.active svg { fill: var(--gold); stroke: var(--gold); }

/* ════════════════════════════════════════════════════════════════
   DUAL SECTION: CHARTS + NEW RELEASES
════════════════════════════════════════════════════════════════ */
.dual-section { padding: 80px 0; background: var(--deep); border-top: 1px solid var(--border2); border-bottom: 1px solid var(--border2); }
.ds-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start;
}

/* Charts list */
.charts-list { margin-top: 20px; display: flex; flex-direction: column; gap: 6px; }
.chart-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--border2);
  transition: all var(--dur);
}
.chart-item:hover { border-color: var(--border); background: var(--surface2); transform: translateX(4px); }
.ci-rank {
  font-family: var(--f-display); font-size: 18px; font-weight: 900;
  width: 28px; text-align: center; flex-shrink: 0;
  color: var(--tx3);
}
.ci-rank.gold-rank   { color: var(--gold); text-shadow: 0 0 12px var(--gold-glow); }
.ci-rank.silver-rank { color: #94A3B8; }
.ci-rank.bronze-rank { color: #CD7F32; }
.ci-img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.ci-info { flex: 1; min-width: 0; }
.ci-title { font-family: var(--f-ui); font-size: 13px; font-weight: 700; color: var(--tx); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ci-genre { font-size: 11px; color: var(--tx3); }
.ci-score { font-family: var(--f-display); font-size: 14px; font-weight: 800; color: var(--gold); flex-shrink: 0; }
.ci-trend { font-size: 12px; flex-shrink: 0; }

/* New releases carousel */
.nc-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; }
.nr-controls { display: flex; gap: 8px; }
.ctrl-btn {
  width: 38px; height: 38px; border-radius: var(--r);
  background: var(--surface2); border: 1px solid var(--border2);
  color: var(--tx2); display: flex; align-items: center; justify-content: center;
  transition: all var(--dur) var(--ease);
}
.ctrl-btn:hover { background: var(--violet); border-color: var(--violet); color: var(--tx); }

.nr-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.nr-track {
  display: flex; gap: 14px; overflow-x: auto; scroll-behavior: smooth;
  scrollbar-width: none; cursor: grab; padding: 4px 0;
}
.nr-track:active { cursor: grabbing; }
.nr-track::-webkit-scrollbar { display: none; }
.nr-card {
  min-width: 160px; border-radius: var(--r2);
  background: var(--surface); border: 1px solid var(--border2);
  overflow: hidden; flex-shrink: 0; cursor: none;
  transition: all var(--dur2) var(--out);
}
.nr-card:hover { transform: translateY(-5px); border-color: var(--border); box-shadow: var(--sh-md); }
.nr-card-img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.nr-card-body { padding: 10px 12px; }
.nr-card-title { font-family: var(--f-ui); font-size: 12px; font-weight: 700; color: var(--tx); margin-bottom: 4px; }
.nr-card-price { font-family: var(--f-display); font-size: 13px; font-weight: 800; color: var(--violet-hi); }
.nr-card-price.free { color: var(--emerald); }

/* ════════════════════════════════════════════════════════════════
   STATS RIBBON
════════════════════════════════════════════════════════════════ */
.stats-ribbon {
  background: linear-gradient(135deg, var(--surface), var(--surface2));
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 48px 32px;
}
.ribbon-inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0;
}
.rib-item { text-align: center; padding: 0 52px; }
.rib-num {
  display: block; font-family: var(--f-display);
  font-size: clamp(32px, 5vw, 52px); font-weight: 900;
  color: var(--tx); letter-spacing: -.02em; line-height: 1;
}
.rib-lbl { font-family: var(--f-ui); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tx3); margin-top: 8px; display: block; }
.rib-sep { width: 1px; height: 56px; background: var(--border); flex-shrink: 0; }

/* ════════════════════════════════════════════════════════════════
   JOIN CTA
════════════════════════════════════════════════════════════════ */
.join-cta {
  padding: 120px 32px; text-align: center;
  position: relative; overflow: hidden;
  background: var(--void);
}
.join-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(124,58,237,.12), transparent 70%);
  pointer-events: none;
}
.jc-inner { max-width: 640px; margin: 0 auto; position: relative; z-index: 1; }
.jc-glow-orb {
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.2), transparent 70%);
  pointer-events: none; z-index: -1;
  animation: orbPulse 5s ease-in-out infinite;
}
@keyframes orbPulse { 0%,100% { transform: translateX(-50%) scale(1); opacity:.8; } 50% { transform: translateX(-50%) scale(1.2); opacity: 1; } }
.jc-title {
  font-family: var(--f-display);
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 900; letter-spacing: -.02em; line-height: 1.05;
  color: var(--tx); margin: 14px 0 18px;
}
.jc-sub { font-size: 16px; color: var(--tx2); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.jc-features {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 12px;
  margin-bottom: 36px;
}
.jcf {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 99px;
  background: var(--surface2); border: 1px solid var(--border);
  font-family: var(--f-ui); font-size: 13px; font-weight: 600; color: var(--tx2);
}
.jc-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.jc-disclaimer { font-size: 12px; color: var(--tx3); font-family: var(--f-ui); }

/* ════════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--deep); border-top: 1px solid var(--border2);
  padding: 60px 32px 0;
}
.footer-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 2fr;
  gap: 60px; padding-bottom: 48px;
  border-bottom: 1px solid var(--border2);
}
.footer-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.footer-tagline { font-size: 13px; color: var(--tx3); max-width: 260px; line-height: 1.65; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 8px; }
.fsoc {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface2); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  color: var(--tx3); transition: all var(--dur);
}
.fsoc:hover { background: var(--violet); border-color: var(--violet); color: var(--tx); }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.fl-col h4 {
  font-family: var(--f-display); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--tx2);
  margin-bottom: 16px;
}
.fl-col ul { display: flex; flex-direction: column; gap: 10px; }
.fl-col ul li a { font-size: 13px; color: var(--tx3); transition: color var(--dur); font-family: var(--f-ui); }
.fl-col ul li a:hover { color: var(--violet-hi); }
.footer-bottom {
  max-width: var(--container); margin: 0 auto;
  padding: 18px 0; display: flex; align-items: center; justify-content: space-between;
  font-family: var(--f-ui); font-size: 11px; color: var(--tx3);
  flex-wrap: wrap; gap: 10px;
}
.nexkeys-link { color: var(--violet-hi); font-weight: 700; transition: color var(--dur); }
.nexkeys-link:hover { color: var(--cyan); }
.footer-legal { display: flex; gap: 14px; }
.footer-legal a { color: var(--tx3); font-size: 11px; font-family: var(--f-ui); transition: color var(--dur); }
.footer-legal a:hover { color: var(--violet-hi); }

/* ════════════════════════════════════════════════════════════════
   TOAST
════════════════════════════════════════════════════════════════ */
#toastContainer {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  display: flex; flex-direction: column; gap: 8px; pointer-events: none;
}
.toast {
  background: var(--surface2); color: var(--tx);
  border-radius: var(--r2); padding: 12px 18px;
  font-family: var(--f-ui); font-size: 13px; font-weight: 500;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--sh-md), 0 0 0 1px var(--border);
  border-left: 3px solid var(--violet-hi);
  pointer-events: all; max-width: 320px;
  animation: toastIn .3s var(--ease) forwards;
}
@keyframes toastIn  { from { opacity:0; transform:translateX(20px); } to { opacity:1; transform:none; } }
@keyframes toastOut { to   { opacity:0; transform:translateX(20px); } }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1023px)
════════════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .slide-content { padding-left: 40px; max-width: 560px; }
  .slide-title { font-size: clamp(44px, 9vw, 76px); }
  .slide-art-wrap { opacity: .5; }
  .hero-nav { left: 40px; }

  .games-grid { grid-template-columns: repeat(3, 1fr); }
  .game-card.featured { grid-row: span 1; }
  .game-card.featured .gc-img-wrap { aspect-ratio: 16/9; }
  .friends-bar { padding: 16px 24px; }
  .friend-item { min-width: 160px; }

  .ds-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-links { grid-template-columns: repeat(3,1fr); }
  .rib-item { padding: 0 28px; }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 767px)
════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .nav-inner { padding: 0 20px; }
  .nav-search-wrap { display: none; }
  .nav-right { gap: 6px; }

  .hero-section { height: auto; max-height: none; padding: calc(var(--nav-h) + 36px) 0 48px; }
  .hero-slide { position: relative; opacity: 1; pointer-events: all; display: none; }
  .hero-slide.active { display: flex; flex-direction: column; }
  .slide-bg { position: absolute; }
  .slide-art-wrap { display: none; }
  .slide-content { padding: 0 20px; max-width: 100%; position: relative; z-index: 5; }
  .slide-title { font-size: clamp(40px, 12vw, 64px); }
  .slide-stats { flex-direction: column; gap: 12px; padding: 14px; }
  .ss-sep { width: 80px; height: 1px; }
  .hero-nav { bottom: 16px; left: 20px; }
  .scroll-hint { display: none; }
  .hud-corner, .hud-coords { display: none; }

  .games-section { padding: 60px 0 40px; }
  .gs-inner { padding: 0 20px; }
  .games-grid { grid-template-columns: 1fr 1fr; }
  .game-card.featured { grid-column: span 2; }
  .game-card.featured .gc-img-wrap { aspect-ratio: 16/9; }
  .gc-desc { display: none !important; }
  .friends-bar { padding: 16px 20px; }
  .friends-inner { gap: 14px; }
  .friends-list { gap: 8px; }
  .friend-item { min-width: 140px; padding: 8px 10px; }
  .friend-invite-btn { display: none; }

  .dual-section { padding: 60px 0; }
  .ds-inner { padding: 0 20px; }

  .stats-ribbon { padding: 40px 20px; }
  .ribbon-inner { flex-direction: column; gap: 24px; }
  .rib-sep { width: 60px; height: 1px; }
  .rib-item { padding: 0; }

  .join-cta { padding: 80px 20px; }
  .jc-actions { flex-direction: column; align-items: center; }

  .site-footer { padding: 48px 20px 0; }
  .footer-inner { gap: 28px; padding-bottom: 36px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; align-items: center; }

  .ticker-wrap { display: none; }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤ 400px)
════════════════════════════════════════════════════════════════ */
@media (max-width: 400px) {
  .games-grid { grid-template-columns: 1fr; }
  .game-card.featured { grid-column: span 1; }
  .filter-row { gap: 6px; }
  .fpill { padding: 6px 12px; font-size: 11px; }
  .footer-links { grid-template-columns: 1fr; }
  .slide-actions { flex-direction: column; align-items: flex-start; }
}