/* ============================================================
   VARIANT 1 — NEON ARCADE (mockup-1)
   Synthwave/CRT immersion: scanlines, neon glow, grid floor.
   ============================================================ */

:root {
  --bg: #0a0118;
  --bg-accent: #140b2e;
  --panel: #140b2e;
  --panel-2: #1d1145;
  --line: #2a1b5e;
  --txt: #eae6ff;
  --dim: #8f86b8;
  --accent: #ff2d95;
  --accent-2: #22e4f2;
  --danger: #ffd23f;
  --radius: 12px;
  --font-body: 16px/1.5 'Segoe UI', system-ui, sans-serif;
  --font-head: 'Segoe UI', system-ui, sans-serif;
}

/* CRT scanlines over everything */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 99; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 2px, rgba(0, 0, 0, .12) 2px 4px);
}

/* Perspective grid floor */
/* The perspective floor is deliberately wider than the screen (left:-20%;
   width:140%) so the rotated plane reaches both edges — but as a viewport-fixed
   box that width counted toward scrollable overflow and gave narrow screens a
   horizontal scrollbar. The oversize now lives on a ::before inside a
   viewport-width clipping box: same look, no scrollbar. */
.grid-floor {
  position: fixed; left: 0; right: 0; bottom: 0; height: 38vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.grid-floor::before {
  content: ""; position: absolute; bottom: -40px; left: -20%; width: 140%; height: 100%;
  background:
    linear-gradient(transparent, rgba(255, 45, 149, .14)),
    repeating-linear-gradient(90deg, rgba(34, 228, 242, .18) 0 1px, transparent 1px 70px),
    repeating-linear-gradient(0deg, rgba(34, 228, 242, .18) 0 1px, transparent 1px 34px);
  transform: perspective(300px) rotateX(55deg);
}

.site-header { border-bottom-color: rgba(255, 45, 149, .3); }
.logo {
  font-family: 'Courier New', monospace; letter-spacing: 2px; color: #fff;
  text-shadow: 0 0 8px var(--accent), 0 0 24px var(--accent);
}
.logo span { color: var(--accent-2); text-shadow: 0 0 8px var(--accent-2), 0 0 24px var(--accent-2); }
.main-nav a { text-transform: uppercase; letter-spacing: 1px; }
.main-nav a:hover, .main-nav a.on { color: var(--accent-2); text-shadow: 0 0 10px var(--accent-2); }
.main-nav .member-signout button { text-transform: uppercase; letter-spacing: 1px; }
.main-nav .member-signout button:hover { color: var(--accent-2); text-shadow: 0 0 10px var(--accent-2); }
.search-trigger { border-color: rgba(34, 228, 242, .4); }

.hero h1 {
  font-weight: 900; letter-spacing: 3px; text-transform: uppercase;
  background: linear-gradient(180deg, #fff 20%, var(--accent) 70%, #7b0f4b);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 45, 149, .55));
}
.cta {
  background: linear-gradient(90deg, var(--accent), #a41cf0); color: #fff;
  box-shadow: 0 0 24px rgba(255, 45, 149, .6);
}
.cta:hover { box-shadow: 0 0 40px rgba(255, 45, 149, .9); }
.stat b { color: var(--danger); text-shadow: 0 0 12px rgba(255, 210, 63, .7); }

.lane-title { color: var(--accent-2); text-shadow: 0 0 10px rgba(34, 228, 242, .6); display: flex; align-items: center; gap: 12px; }
.lane-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(34, 228, 242, .5), transparent); }

.game-card:hover { box-shadow: 0 12px 30px rgba(255, 45, 149, .35); border-color: var(--accent); }
.play-hover { color: var(--accent-2); text-shadow: 0 0 12px var(--accent-2); }
.console-tile:hover { border-color: var(--danger); box-shadow: 0 0 18px rgba(255, 210, 63, .35); }

.player-frame { border-color: var(--accent); box-shadow: 0 0 60px rgba(255, 45, 149, .35); }
.boot-text { color: var(--accent-2); }
.reg-panel { border-color: var(--accent); }

.feature-banner { background: linear-gradient(115deg, #1d1145 0%, #3b1a68 60%, rgba(255, 45, 149, .25) 100%); }

.purchase-card:hover { border-color: var(--accent-2); box-shadow: 0 0 18px rgba(34, 228, 242, .25); }

.site-footer { border-top-color: rgba(255, 45, 149, .25); }

/* ---- category: marquee sign + top-scores leaderboard ---- */

.marquee-hero {
  margin: 22px 0; padding: 34px 30px 26px; text-align: center;
  border: 2px solid var(--accent); border-radius: 18px;
  background:
    radial-gradient(ellipse at 50% -20%, rgba(255, 45, 149, .35), transparent 60%),
    linear-gradient(180deg, #1d1145, #0d0523);
  box-shadow: 0 0 46px rgba(255, 45, 149, .35), inset 0 0 60px rgba(34, 228, 242, .07);
  position: relative; z-index: 1;
}
.marquee-hero h1 {
  font-size: clamp(28px, 4.6vw, 46px); text-transform: uppercase; letter-spacing: 3px;
  background: linear-gradient(180deg, #fff 25%, var(--accent) 75%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 16px rgba(255, 45, 149, .6));
}
.marquee-sub { color: var(--dim); max-width: 62ch; margin: 12px auto 0; }
.marquee-hero .seo-intro { max-width: 68ch; margin: 10px auto 0; }
.marquee-stats { display: flex; gap: 30px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.mstat b { display: block; font-size: 22px; color: var(--danger); text-shadow: 0 0 12px rgba(255, 210, 63, .7); }
.mstat span { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: 2px; }

.scoreboard { list-style: none; margin: 0; padding: 0; counter-reset: rank; }
.scoreboard li + li { margin-top: 10px; }
.scoreboard a {
  display: grid; grid-template-columns: 74px 1fr auto auto; gap: 16px; align-items: center;
  background: var(--panel); border: 1px solid #2a1b5e; border-radius: 12px;
  padding: 14px 18px; text-decoration: none; transition: .18s;
  font-family: 'Courier New', monospace;
}
.scoreboard a:hover { border-color: var(--accent-2); box-shadow: 0 0 22px rgba(34, 228, 242, .3); transform: translateX(6px); }
.scoreboard .rank {
  font-weight: 900; font-size: 20px; color: var(--danger);
  text-shadow: 0 0 10px rgba(255, 210, 63, .8); letter-spacing: 1px;
}
.scoreboard .score-name { font-weight: 800; letter-spacing: 2px; font-size: 15px; }
.scoreboard .score-meta { color: var(--dim); font-size: 12px; }
.scoreboard .score-play { color: var(--accent-2); font-weight: 800; letter-spacing: 2px; font-size: 13px; text-shadow: 0 0 10px var(--accent-2); }
@media (max-width: 700px) { .scoreboard a { grid-template-columns: 54px 1fr auto; } .scoreboard .score-meta { display: none; } }
