/* NeonRig Arena — Warnet & Gaming Center demo template
   Archetype: Cinematic Game Hub. Palette: Dark Neon (RGB gaming accents). */
:root {
  --bg: #0b0d14;
  --surface: #12151f;
  --surface-2: #171b28;
  --border: #262b3d;
  --text: #eef0fb;
  --text-muted: #9aa0bf;
  --accent: #7c5cff;
  --accent-2: #00e5ff;
  --accent-3: #ff2fb2;
  --success: #2ee6a6;
  --warn: #ffb545;
  --radius: 14px;
  --shadow: 0 20px 50px rgba(0,0,0,.45);
  --font-head: 'Rajdhani', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}
:root[data-theme="light"] {
  --bg: #f4f5fb;
  --surface: #ffffff;
  --surface-2: #eef0fa;
  --border: #dcdfec;
  --text: #12131c;
  --text-muted: #565b78;
  --shadow: 0 16px 40px rgba(30,20,60,.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1200px, 92%); margin: 0 auto; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; letter-spacing: .01em; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; color: var(--text-muted); }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff;
  padding: .6rem 1rem; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Navbar */
.navbar {
  position: sticky; top: 0; z-index: 100; background: rgba(11,13,20,.85);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--border);
}
:root[data-theme="light"] .navbar { background: rgba(244,245,251,.9); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; padding: .8rem 0; }
.brand { display: flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; }
.brand .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 10px var(--accent-2); }
.nav-links { display: flex; gap: 1.4rem; align-items: center; }
.nav-links a { font-weight: 600; font-size: .92rem; color: var(--text-muted); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-2); }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.theme-toggle {
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--text); border-radius: 8px; width: 38px; height: 38px; cursor: pointer; }
@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 60px 0 auto 0; background: var(--bg); flex-direction: column; padding: 1rem; border-bottom: 1px solid var(--border); display: none; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}

.btn {
  display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.4rem; border-radius: 999px;
  font-weight: 700; font-size: .92rem; cursor: pointer; border: 1px solid transparent; transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-3)); color: #fff; box-shadow: 0 10px 30px rgba(124,92,255,.35); }
.btn-outline { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn-ghost { background: transparent; color: var(--accent-2); }
.btn-sm { padding: .5rem 1rem; font-size: .82rem; }

/* Hero cinematic */
.hero { position: relative; padding: 5.5rem 0 4rem; overflow: hidden; background: radial-gradient(120% 120% at 50% -10%, #1b1440 0%, var(--bg) 60%); }
.hero-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 40px 40px; opacity: .25; mask-image: radial-gradient(circle at 50% 30%, black, transparent 70%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .4rem; color: var(--accent-2); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); line-height: 1.08; }
.hero h1 span { background: linear-gradient(135deg, var(--accent-2), var(--accent-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.05rem; max-width: 46ch; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.4rem 0 2rem; }
.hero-stats { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.hero-stat b { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--accent-2); }
.hero-stat span { font-size: .8rem; color: var(--text-muted); }
.hero-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }

/* Countdown banner */
.countdown-banner { background: linear-gradient(90deg, #1b0f3a, #2a0f3a); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1.1rem 0; }
.countdown-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.countdown-title { font-family: var(--font-head); font-weight: 700; }
.countdown-title small { display: block; color: var(--text-muted); font-family: var(--font-body); font-weight: 400; font-size: .78rem; }
.countdown-timer { display: flex; gap: .6rem; }
.countdown-timer div { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: .5rem .8rem; text-align: center; min-width: 58px; }
.countdown-timer b { display: block; font-family: var(--font-head); font-size: 1.3rem; color: var(--accent-2); }
.countdown-timer span { font-size: .68rem; color: var(--text-muted); }

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: var(--surface); }
.eyebrow { color: var(--accent-2); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-desc { max-width: 60ch; }
.text-center { text-align: center; }

/* Tab carousel (station types) */
.tabs { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; margin: 1.6rem 0 2rem; }
.tab-btn { background: var(--surface-2); border: 1px solid var(--border); color: var(--text-muted); padding: .6rem 1.2rem; border-radius: 999px; font-weight: 700; cursor: pointer; font-size: .88rem; }
.tab-btn.active { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-3)); border-color: transparent; }
.tab-panel { display: none; }
.tab-panel.active { display: grid; }
.spotlight { grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
@media (max-width: 800px) { .spotlight { grid-template-columns: 1fr; } }
.spotlight img { border-radius: 10px; }
.spec-list { list-style: none; margin: 1rem 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.spec-list li { background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: .6rem .8rem; font-size: .85rem; }
.spec-list li b { display: block; color: var(--accent-2); font-family: var(--font-head); }
.price-tag { display: inline-block; font-family: var(--font-head); font-size: 1.4rem; color: var(--accent-2); margin: .6rem 0; }

/* Marquee */
.marquee-row { overflow: hidden; padding: 1.4rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 22s linear infinite; align-items: center; }
.marquee-track img { height: 28px; opacity: .75; filter: grayscale(1); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Cards grid */
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-body { padding: 1.1rem; }
.card-tag { display: inline-block; background: var(--surface-2); color: var(--accent-2); font-size: .72rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; margin-bottom: .5rem; }
.card h3 { font-size: 1.05rem; }

/* Membership comparison table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--surface); }
th, td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: .88rem; }
th { background: var(--surface-2); font-family: var(--font-head); color: var(--accent-2); }
tr:last-child td { border-bottom: none; }

/* Leaderboard */
.leaderboard { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.leaderboard li { display: grid; grid-template-columns: 40px 1fr auto; gap: 1rem; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: .8rem 1rem; }
.leaderboard .rank { font-family: var(--font-head); font-size: 1.2rem; color: var(--accent-2); text-align: center; }
.leaderboard li:nth-child(1) .rank { color: #ffd75e; }
.leaderboard .points { font-family: var(--font-head); color: var(--accent-3); }

/* Calculator widget */
.calc-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 700px) { .calc-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-weight: 700; font-size: .85rem; }
.field select, .field input { background: var(--surface-2); border: 1px solid var(--border); color: var(--text); padding: .7rem .8rem; border-radius: 8px; font-size: .92rem; }
.calc-result { margin-top: 1.4rem; background: var(--surface-2); border: 1px dashed var(--accent); border-radius: 10px; padding: 1.2rem; }
.calc-result .total { font-family: var(--font-head); font-size: 2rem; color: var(--accent-2); }
.calc-promo { color: var(--success); font-weight: 700; font-size: .85rem; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .full { grid-column: 1 / -1; }
input, select, textarea { font-family: var(--font-body); }
textarea { resize: vertical; min-height: 100px; }
.form-status { margin-top: 1rem; padding: .8rem 1rem; border-radius: 8px; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(46,230,166,.12); color: var(--success); border: 1px solid var(--success); }
.form-status.err { background: rgba(255,47,178,.12); color: var(--accent-3); border: 1px solid var(--accent-3); }

/* FAQ accordion */
.faq-item { border: 1px solid var(--border); border-radius: 10px; margin-bottom: .7rem; background: var(--surface); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; color: var(--text); padding: 1rem 1.2rem; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: .95rem; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; padding: 0 1.2rem; }
.faq-item.open .faq-a { max-height: 320px; padding: 0 1.2rem 1.1rem; }
.no-result { text-align: center; padding: 2.4rem 1rem; color: var(--text-muted); display: none; }
.no-result.show { display: block; }

/* Breadcrumb / detail hero */
.detail-hero { padding: 3rem 0 2rem; background: var(--surface); border-bottom: 1px solid var(--border); }
.breadcrumb { font-size: .82rem; color: var(--text-muted); margin-bottom: .8rem; }
.breadcrumb a { color: var(--accent-2); }

/* Footer */
footer.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 3rem 0 1.4rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { font-size: .95rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-grid a { color: var(--text-muted); font-size: .88rem; }
.footer-grid a:hover { color: var(--accent-2); }
.footer-bottom { text-align: center; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--border); color: var(--text-muted); font-size: .82rem; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

.badge-live { display: inline-flex; align-items: center; gap: .4rem; background: rgba(46,230,166,.12); color: var(--success); font-size: .72rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; }
.badge-live .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); animation: pulse 1.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
