/* ═══════════════════════════════════════════════════════
   MOBIUSPARADOX — Global Stylesheet
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Exo+2:wght@300;400;500;600;700&family=Bebas+Neue&display=swap');

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --white:       #ffffff;
  --snow:        #f8f8fb;
  --ice:         #f0f0f8;
  --ink:         #0a0a14;
  --ink2:        #11111c;
  --ink3:        #18182a;
  --muted:       #7070a0;
  --line:        #e4e4f0;
  --line-dark:   rgba(255,255,255,.08);
  --cyan:        #00d4ff;
  --magenta:     #ff2d78;
  --lime:        #39ff14;
  --violet:      #7c3aff;
  --gold:        #ffd166;
  --cyan-dim:    rgba(0,212,255,.12);
  --magenta-dim: rgba(255,45,120,.10);
  --lime-dim:    rgba(57,255,20,.10);
  --success:     #22c55e;
  --danger:      #ef4444;
  --shadow-card: 0 4px 24px rgba(0,0,0,.07);
  --shadow-lg:   0 16px 48px rgba(0,0,0,.14);
  --r:           8px;
  --r2:          14px;
  --r3:          22px;
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth }

body {
  font-family: 'Exo 2', sans-serif;
  background: var(--ink);
  color: #e8e6f0;
  overflow-x: hidden;
}

/* ── ACCESSIBILITY: keyboard focus ──────────────────────────── */
/* Only shown for keyboard navigation, never for mouse clicks   */
:focus { outline: none }
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── SCANLINES ──────────────────────────────────────────────── */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9000;
  background: repeating-linear-gradient(0deg,transparent,transparent 3px,rgba(0,0,0,.016) 3px,rgba(0,0,0,.016) 4px);
}

/* ── CUSTOM CURSOR ──────────────────────────────────────────── */
/* Block the UA stylesheet from restoring system cursor on interactive elements.
   Without this, browsers show pointer/text cursor on <a>, <button>, <input>,
   <select> etc., which breaks the custom cursor on every page.               */
*, *::before, *::after { cursor: none !important }
body { cursor: none }
#cur-dot {
  position: fixed; top: 0; left: 0;
  width: 6px; height: 6px;
  background: var(--cyan); border-radius: 50%;
  pointer-events: none; z-index: 100001;
  box-shadow: 0 0 8px var(--cyan);
  transition: width .12s, height .12s, background .12s;
  will-change: transform;
}
#cur-dot.hovered { width: 12px; height: 12px; background: var(--magenta); box-shadow: 0 0 12px var(--magenta); }
#cur-cross {
  position: fixed; top: 0; left: 0;
  width: 28px; height: 28px;
  pointer-events: none; z-index: 100000;
  will-change: transform;
}
#cur-cross::before, #cur-cross::after {
  content: ''; position: absolute; background: rgba(255,255,255,.5); border-radius: 2px;
}
#cur-cross::before { width: 1px; height: 100%; left: 50%; top: 0 }
#cur-cross::after  { width: 100%; height: 1px; top: 50%; left: 0 }

/* ── PIXEL GRID ─────────────────────────────────────────────── */
.pgrid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ══════════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 56px; height: 68px;
  background: rgba(10,10,20,.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.logo {
  font-family: 'Orbitron', monospace;
  font-size: 1.1rem; font-weight: 900;
  letter-spacing: 3px; text-decoration: none;
  color: var(--white); text-transform: uppercase;
}
.logo span { color: var(--cyan); text-shadow: 0 0 12px var(--cyan) }

nav ul { list-style: none; display: flex; gap: 36px; align-items: center }

nav a {
  text-decoration: none; font-size: .78rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,.4); transition: color .2s;
}
nav a:hover { color: var(--white) }

.nav-pill {
  background: var(--cyan); color: var(--ink) !important;
  padding: 10px 22px; border-radius: 3px;
  font-size: .72rem !important; letter-spacing: 2px;
  border: 1px solid var(--cyan);
  transition: background .2s, color .2s, box-shadow .2s !important;
}
.nav-pill:hover {
  background: var(--white) !important; color: var(--ink) !important;
  box-shadow: 0 0 0 1px var(--cyan);
}

.nav-pill-outline {
  background: transparent; color: rgba(255,255,255,.7) !important;
  padding: 10px 22px; border-radius: 3px;
  font-size: .72rem !important; letter-spacing: 2px;
  border: 1px solid rgba(255,255,255,.2);
  transition: background .2s, border-color .2s !important;
}
.nav-pill-outline:hover { background: rgba(255,255,255,.07) !important; border-color: var(--cyan) !important }

/* User email chip */
.nav-user {
  display: flex; align-items: center; gap: 10px;
}
.nav-email {
  font-size: .72rem; font-weight: 600; letter-spacing: 1px;
  color: rgba(255,255,255,.4); text-transform: lowercase;
  max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nav-email::before { content: '●'; color: var(--cyan); margin-right: 5px; font-size: .5rem }

.nav-logout {
  background: transparent; color: var(--magenta) !important;
  padding: 8px 18px; border-radius: 3px;
  font-size: .7rem !important; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; border: 1px solid var(--magenta);
  cursor: none; text-decoration: none;
  transition: background .2s, color .2s !important;
}
.nav-logout:hover { background: var(--magenta) !important; color: var(--white) !important }

/* Hamburger */
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: none; padding: 4px; background: none; border: none }
.nav-burger span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .28s ease, opacity .2s ease }
/* Burger → X when open */
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg) }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0) }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg) }
.nav-mobile { display: none }

/* Nav active state — current page indicator */
nav a.nav-active { color: var(--cyan) !important }

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */

.hero {
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 60px;
  background: var(--ink);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 820px; padding: 80px 56px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .7rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid rgba(0,212,255,.3);
  border-radius: 100px; padding: 6px 14px; margin-bottom: 28px;
}
.hero-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: blink 1.4s ease-in-out infinite }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:.2} }

.hero-h1 {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  font-weight: 900; line-height: 1.05;
  letter-spacing: -1px; margin-bottom: 24px;
  color: var(--white);
}
.hero-h1 em { font-style: normal; color: var(--cyan); text-shadow: 0 0 30px rgba(0,212,255,.4) }
.hero-h1 .accent-m { color: var(--magenta) }

.hero-p {
  font-size: 1.1rem; font-weight: 400; line-height: 1.7;
  color: rgba(255,255,255,.45); max-width: 560px; margin-bottom: 40px;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap }

.btn-neon {
  display: inline-block; text-decoration: none;
  padding: 14px 32px; border-radius: 3px;
  font-family: 'Orbitron', monospace; font-size: .75rem;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  background: rgba(255,255,255,.07); color: var(--white);
  border: 2px solid rgba(255,255,255,.15);
  position: relative; overflow: hidden;
  transition: color .3s, background .3s, box-shadow .3s;
}
.btn-neon::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  opacity: 0; transition: opacity .3s;
}
.btn-neon:hover { color: var(--white); box-shadow: 0 0 24px rgba(0,212,255,.4) }
.btn-neon:hover::after { opacity: 1 }
.btn-neon span { position: relative; z-index: 1 }

.btn-wire {
  display: inline-block; text-decoration: none;
  padding: 14px 32px; border-radius: 3px;
  font-family: 'Orbitron', monospace; font-size: .75rem;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  background: transparent; color: rgba(255,255,255,.7);
  border: 2px solid rgba(255,255,255,.2);
  transition: border-color .3s, background .3s, color .3s;
}
.btn-wire:hover { border-color: var(--cyan); color: var(--white); background: rgba(255,255,255,.04) }

/* Hero decoration */
.hero-deco {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 45%; height: 80%; z-index: 1; pointer-events: none;
}
.hero-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid;
  animation: spin linear infinite;
}
.ring-1 { width: 400px; height: 400px; right: 5%; top: 10%;
  border-color: rgba(0,212,255,.15); animation-duration: 30s }
.ring-2 { width: 280px; height: 280px; right: 15%; top: 20%;
  border-color: rgba(255,45,120,.12); animation-duration: 20s; animation-direction: reverse }
.ring-3 { width: 160px; height: 160px; right: 26%; top: 32%;
  border-color: rgba(124,58,255,.2); animation-duration: 15s }
@keyframes spin { to { transform: rotate(360deg) } }

.hero-nodes {
  position: absolute; inset: 0;
}
.hnode {
  position: absolute; width: 4px; height: 4px;
  border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: float ease-in-out infinite alternate;
}
@keyframes float { from{transform:translateY(0)} to{transform:translateY(-14px)} }

/* ══════════════════════════════════════════════════════════════
   TICKER
══════════════════════════════════════════════════════════════ */
.ticker-wrap {
  overflow: hidden; background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 14px 0;
}
.ticker-track {
  display: flex; gap: 60px; width: max-content;
  animation: ticker 40s linear infinite;
}
@keyframes ticker { to { transform: translateX(-50%) } }
.ticker-item {
  font-family: 'Orbitron', monospace; font-size: .62rem;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,.35); white-space: nowrap;
  display: flex; align-items: center; gap: 8px;
}
.ticker-item span { color: var(--cyan); opacity: .6 }

/* ══════════════════════════════════════════════════════════════
   SECTION COMMONS
══════════════════════════════════════════════════════════════ */
.sec { padding: 120px 0; position: relative; overflow: hidden }
.sec-inner { max-width: 1200px; margin: 0 auto; padding: 0 56px }

.sec-eyebrow {
  font-family: 'Orbitron', monospace; font-size: .62rem;
  font-weight: 700; letter-spacing: 4px; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 14px;
}
.sec-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900; line-height: 1.1; letter-spacing: -1px;
  color: var(--white);
}
.sec-title em { font-style: normal; color: var(--cyan) }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease }
.reveal.visible { opacity: 1; transform: translateY(0) }

/* ══════════════════════════════════════════════════════════════
   FEATURES
══════════════════════════════════════════════════════════════ */
.features-bg { background: var(--ink2) }
.features-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 64px; flex-wrap: wrap; gap: 24px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feat-card {
  background: var(--ink3); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r3); padding: 36px 32px;
  transition: box-shadow .3s, transform .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.feat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  opacity: 0; transition: opacity .3s;
}
.feat-card:hover { box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(0,212,255,.15); transform: translateY(-4px); border-color: rgba(0,212,255,.2) }
.feat-card:hover::before { opacity: 1 }
.feat-icon { font-size: 2rem; margin-bottom: 20px }
.feat-card h3 {
  font-family: 'Orbitron', monospace; font-size: .95rem;
  font-weight: 700; letter-spacing: 1px; margin-bottom: 12px;
  color: var(--white);
}
.feat-card p { font-size: .9rem; color: rgba(255,255,255,.45); line-height: 1.7 }

/* ══════════════════════════════════════════════════════════════
   GAMES SECTION
══════════════════════════════════════════════════════════════ */
.games-bg { background: var(--ink); position: relative }
.games-bg .pgrid {
  background-image: linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),
                    linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);
  background-size: 40px 40px;
}

.games-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 60px; flex-wrap: wrap; gap: 24px;
}
.games-head .btn-wire {
  font-size: .7rem;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.game-card {
  background: var(--ink2); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r3); overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  cursor: none;
}
.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(0,212,255,.15);
  border-color: rgba(0,212,255,.2);
}
.game-img {
  height: 180px; display: flex; align-items: center; justify-content: center;
  font-size: 4rem; position: relative; overflow: hidden;
}
.game-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--ink2) 100%);
}
.gc-bg-1 { background: linear-gradient(135deg, #1a0a2e, #2d1b4e) }
.gc-bg-2 { background: linear-gradient(135deg, #0a1a2e, #0d2d4e) }
.gc-bg-3 { background: linear-gradient(135deg, #0a2e0a, #1a4e1a) }
.gc-bg-4 { background: linear-gradient(135deg, #2e0a0a, #4e1a0a) }
.gc-bg-5 { background: linear-gradient(135deg, #1a1a0a, #3a2e00) }
.gc-bg-6 { background: linear-gradient(135deg, #0a2e2e, #004e4e) }

.game-body { padding: 20px 22px 22px }
.game-chip {
  display: inline-block; font-size: .58rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 100px; margin-bottom: 10px;
}
.chip-hot  { background: rgba(255,45,120,.15); color: var(--magenta); border: 1px solid rgba(255,45,120,.3) }
.chip-new  { background: rgba(0,212,255,.12); color: var(--cyan); border: 1px solid rgba(0,212,255,.25) }
.chip-free { background: rgba(57,255,20,.1); color: var(--lime); border: 1px solid rgba(57,255,20,.25) }
.chip-beta { background: rgba(124,58,255,.15); color: #a78bfa; border: 1px solid rgba(124,58,255,.3) }

.game-title {
  font-family: 'Orbitron', monospace; font-size: 1rem;
  font-weight: 700; color: var(--white); margin-bottom: 6px;
}
.game-genre {
  font-size: .75rem; color: rgba(255,255,255,.4);
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px;
}
.game-desc {
  font-size: .83rem; color: rgba(255,255,255,.55); line-height: 1.6;
  margin-bottom: 18px;
}
.game-footer { display: flex; justify-content: space-between; align-items: center }
.game-rating {
  font-size: .78rem; color: var(--gold); font-weight: 600;
}
.btn-play {
  display: inline-block; text-decoration: none;
  padding: 9px 20px; border-radius: var(--r);
  font-family: 'Orbitron', monospace; font-size: .65rem;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: var(--white); border: none;
  box-shadow: 0 4px 14px rgba(0,212,255,.25);
  transition: box-shadow .3s, transform .2s;
  cursor: none;
}
.btn-play:hover { box-shadow: 0 6px 20px rgba(0,212,255,.45); transform: translateY(-1px) }

/* ══════════════════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════════════════ */
.services-bg { background: var(--ink2) }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px }
.svc-card {
  background: var(--ink3); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r3); padding: 40px 32px;
  transition: box-shadow .3s, transform .3s, border-color .3s;
}
.svc-card:hover { box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(0,212,255,.15); transform: translateY(-4px); border-color: rgba(0,212,255,.2) }
.svc-index { font-family: 'Orbitron', monospace; font-size: .65rem; color: var(--cyan); letter-spacing: 2px }
.svc-icon-wrap { font-size: 2.4rem; margin: 16px 0 }
.svc-card h3 {
  font-family: 'Orbitron', monospace; font-size: 1rem;
  font-weight: 700; margin-bottom: 14px; color: var(--white);
}
.svc-card p { font-size: .88rem; color: rgba(255,255,255,.45); line-height: 1.7; margin-bottom: 20px }
.svc-more {
  font-size: .78rem; font-weight: 700; color: var(--cyan);
  text-decoration: none; letter-spacing: 1px;
  transition: letter-spacing .2s;
}
.svc-more:hover { letter-spacing: 2px }

/* ══════════════════════════════════════════════════════════════
   PRICING
══════════════════════════════════════════════════════════════ */
.pricing-bg { background: var(--ink) }
.pricing-head { text-align: center; margin-bottom: 60px }
.pricing-head .sec-eyebrow { display: block; margin-bottom: 10px }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start }
.price-card {
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--r3);
  padding: 40px 32px; transition: box-shadow .3s, transform .3s;
  position: relative; background: var(--ink2);
}
.price-card:hover { box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(0,212,255,.15); transform: translateY(-4px) }
.price-card.featured {
  background: var(--ink3); color: var(--white);
  border-color: rgba(0,212,255,.3);
  box-shadow: 0 0 0 1px rgba(0,212,255,.2), 0 16px 48px rgba(0,0,0,.4);
}
.price-card.featured .price-name { color: rgba(255,255,255,.6) }
.price-card.featured .price-desc { color: rgba(255,255,255,.5) }
.price-card.featured .price-feature { color: rgba(255,255,255,.8) }
.price-card.featured .price-feature::before { color: var(--cyan) }
.price-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: var(--white); font-size: .62rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px;
}
.price-name {
  font-family: 'Orbitron', monospace; font-size: .75rem;
  font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-bottom: 8px;
}
.price-amount {
  font-family: 'Orbitron', monospace; font-size: 2.8rem;
  font-weight: 900; line-height: 1; margin-bottom: 4px; color: var(--white);
}
.price-amount sup { font-size: 1.2rem; vertical-align: top; margin-top: 8px }
.price-period { font-size: .78rem; color: rgba(255,255,255,.35); margin-bottom: 16px }
.price-desc { font-size: .85rem; color: rgba(255,255,255,.4); line-height: 1.6; margin-bottom: 28px }
.price-features { list-style: none; margin-bottom: 32px }
.price-feature {
  font-size: .85rem; padding: 8px 0; color: rgba(255,255,255,.65);
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex; align-items: center; gap: 10px;
}
.price-card.featured .price-feature { border-bottom-color: rgba(255,255,255,.08) }
.price-feature::before { content: '✓'; color: var(--cyan); font-weight: 700; flex-shrink: 0 }
.price-feature.no::before { content: '✕'; color: rgba(255,255,255,.2) }
.price-feature.no { color: rgba(255,255,255,.25) }
.btn-price {
  display: block; width: 100%; text-align: center; text-decoration: none;
  padding: 13px 24px; border-radius: var(--r);
  font-family: 'Orbitron', monospace; font-size: .72rem;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  background: rgba(255,255,255,.07); color: var(--white); border: 1px solid rgba(255,255,255,.12);
  transition: background .3s, box-shadow .3s, border-color .3s;
  cursor: none;
}
.btn-price:hover { background: rgba(0,212,255,.12); border-color: var(--cyan); box-shadow: 0 4px 16px rgba(0,212,255,.2) }
.price-card.featured .btn-price {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(0,212,255,.3);
}
.price-card.featured .btn-price:hover { box-shadow: 0 6px 28px rgba(0,212,255,.5) }

/* ══════════════════════════════════════════════════════════════
   METRICS PANEL
══════════════════════════════════════════════════════════════ */
.growth-bg { background: var(--ink2) }
.growth-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center }
.growth-left .sec-title { margin-bottom: 20px }
.growth-left p { font-size: .95rem; color: rgba(255,255,255,.45); line-height: 1.7; margin-bottom: 32px }

.metric-panel {
  background: var(--ink); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r3); padding: 32px; color: var(--white);
}
.mp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px }
.mp-title { font-family: 'Orbitron', monospace; font-size: .7rem; letter-spacing: 2px; color: rgba(255,255,255,.4) }
.mp-live {
  font-size: .6rem; font-weight: 700; letter-spacing: 2px;
  color: var(--lime); background: rgba(57,255,20,.1);
  border: 1px solid rgba(57,255,20,.25); border-radius: 100px; padding: 3px 10px;
}
.mp-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px }
.mp-key { font-size: .75rem; color: rgba(255,255,255,.45); margin-bottom: 6px }
.mp-bar { height: 4px; background: rgba(255,255,255,.07); border-radius: 4px; width: 200px }
.mp-bar-inner { height: 100%; border-radius: 4px; transition: width 1.5s cubic-bezier(.4,0,.2,1) }
.b1 { background: var(--cyan) }
.b2 { background: var(--magenta) }
.b3 { background: var(--lime) }
.b4 { background: var(--gold) }
.b5 { background: var(--violet) }
.mp-val { font-family: 'Orbitron', monospace; font-size: .95rem; font-weight: 700; color: var(--white); white-space: nowrap }

/* ══════════════════════════════════════════════════════════════
   PARTNERS
══════════════════════════════════════════════════════════════ */
.partners-bg { background: var(--ink) }
.partners-grid {
  display: grid; grid-template-columns: repeat(6,1fr);
  gap: 16px; margin-top: 48px;
}
.pc {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 20px 12px; border: 1px solid rgba(255,255,255,.07); border-radius: var(--r2);
  transition: border-color .2s, box-shadow .2s;
}
.pc:hover { border-color: rgba(0,212,255,.3); box-shadow: 0 4px 16px rgba(0,212,255,.1) }
.pc-icon { font-size: 1.6rem }
.pc-name { font-size: .72rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.35) }

/* ══════════════════════════════════════════════════════════════
   CTA
══════════════════════════════════════════════════════════════ */
.cta-sec {
  background: var(--ink); text-align: center;
  padding: 120px 56px; position: relative; overflow: hidden;
}
.cta-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),
                    linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);
  background-size: 40px 40px;
}
.cta-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0,212,255,.06), transparent);
}
.cta-h {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 900;
  color: var(--white); line-height: 1.1; margin-bottom: 20px; position: relative;
}
.cta-h em { font-style: normal; color: var(--cyan) }
.cta-p { font-size: 1rem; color: rgba(255,255,255,.5); max-width: 540px; margin: 0 auto 40px; line-height: 1.7 }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap }

.btn-cta-prime {
  display: inline-block; text-decoration: none;
  padding: 16px 40px; border-radius: 3px;
  font-family: 'Orbitron', monospace; font-size: .75rem;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: var(--white);
  box-shadow: 0 4px 24px rgba(0,212,255,.3);
  transition: box-shadow .3s, transform .2s;
}
.btn-cta-prime:hover { box-shadow: 0 8px 40px rgba(0,212,255,.5); transform: translateY(-2px) }

.btn-cta-sec {
  display: inline-block; text-decoration: none;
  padding: 16px 40px; border-radius: 3px;
  font-family: 'Orbitron', monospace; font-size: .75rem;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  background: transparent; color: rgba(255,255,255,.7);
  border: 2px solid rgba(255,255,255,.15);
  transition: border-color .3s, color .3s;
}
.btn-cta-sec:hover { border-color: rgba(255,255,255,.4); color: var(--white) }

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
footer { background: var(--ink2); color: rgba(255,255,255,.5); padding-top: 80px }
.ft { max-width: 1200px; margin: 0 auto; padding: 0 56px 64px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 64px }
.f-logo {
  font-family: 'Orbitron', monospace; font-size: .9rem;
  font-weight: 900; letter-spacing: 3px; text-decoration: none;
  color: var(--white); text-transform: uppercase; display: block; margin-bottom: 18px;
}
.f-logo span { color: var(--cyan) }
.f-desc { font-size: .83rem; line-height: 1.7; margin-bottom: 24px }
.f-soc { display: flex; gap: 10px }
.f-s {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.1); border-radius: 4px;
  font-size: .7rem; font-weight: 700; color: rgba(255,255,255,.4);
  text-decoration: none; transition: border-color .2s, color .2s;
}
.f-s:hover { border-color: var(--cyan); color: var(--cyan) }
.fc h4 { font-family: 'Orbitron', monospace; font-size: .65rem; letter-spacing: 3px; text-transform: uppercase; color: var(--white); margin-bottom: 20px }
.fc ul { list-style: none }
.fc li { margin-bottom: 10px }
.fc a { font-size: .82rem; color: rgba(255,255,255,.4); text-decoration: none; transition: color .2s }
.fc a:hover { color: var(--white) }
.f-bot {
  border-top: 1px solid rgba(255,255,255,.06);
  max-width: 1200px; margin: 0 auto; padding: 20px 56px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Orbitron', monospace; font-size: .58rem;
  letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.2);
}

/* ══════════════════════════════════════════════════════════════
   AUTH PAGES
══════════════════════════════════════════════════════════════ */
.auth-page {
  min-height: 100vh; background: var(--ink);
  display: flex; align-items: stretch;
}
.auth-left {
  width: 55%; background: var(--ink2); position: relative;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  padding: 60px;
}
.auth-left-content { position: relative; z-index: 2; max-width: 480px }
.auth-left-logo {
  font-family: 'Orbitron', monospace; font-size: 1.1rem;
  font-weight: 900; letter-spacing: 3px; color: var(--white);
  text-decoration: none; text-transform: uppercase; display: block; margin-bottom: 60px;
}
.auth-left-logo span { color: var(--cyan); text-shadow: 0 0 12px var(--cyan) }

.auth-left h2 {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900; line-height: 1.1;
  color: var(--white); margin-bottom: 20px;
}
.auth-left h2 em { font-style: normal; color: var(--cyan) }
.auth-left p { font-size: .95rem; color: rgba(255,255,255,.45); line-height: 1.7; margin-bottom: 40px }

.auth-testimonial {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r2); padding: 24px;
}
.auth-testimonial p { font-size: .85rem; color: rgba(255,255,255,.6); line-height: 1.6; margin-bottom: 14px }
.auth-test-name { font-family: 'Orbitron', monospace; font-size: .65rem; letter-spacing: 2px; color: var(--cyan) }

.auth-deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none }
.auth-ring {
  position: absolute; border-radius: 50%; border: 1px solid rgba(0,212,255,.06);
}
.ar1 { width: 600px; height: 600px; bottom: -200px; right: -200px }
.ar2 { width: 400px; height: 400px; bottom: -100px; right: -100px }
.ar3 { width: 200px; height: 200px; bottom: 50px; right: 50px; border-color: rgba(0,212,255,.12) }

.auth-right {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 60px 80px;
}
.auth-form-wrap { width: 100%; max-width: 400px }
.auth-form-title {
  font-family: 'Orbitron', monospace; font-size: 1.5rem;
  font-weight: 900; color: var(--white); margin-bottom: 8px;
}
.auth-form-sub { font-size: .88rem; color: rgba(255,255,255,.4); margin-bottom: 40px }
.auth-form-sub a { color: var(--cyan); text-decoration: none }
.auth-form-sub a:hover { text-decoration: underline }

.auth-field { margin-bottom: 20px }
.auth-label {
  display: block; font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.35); margin-bottom: 8px;
}
.auth-input {
  width: 100%; font-family: 'Exo 2', sans-serif;
  font-size: .92rem; color: var(--white);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r); padding: 13px 16px;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.auth-input:focus {
  border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,212,255,.12);
}
.auth-input::placeholder { color: rgba(255,255,255,.2) }

.auth-submit {
  width: 100%; padding: 15px; border-radius: var(--r);
  font-family: 'Orbitron', monospace; font-size: .78rem;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: var(--white); border: none; cursor: none;
  box-shadow: 0 4px 20px rgba(0,212,255,.3);
  transition: box-shadow .3s, transform .2s, opacity .2s;
  margin-top: 8px;
}
.auth-submit:hover { box-shadow: 0 6px 30px rgba(0,212,255,.5); transform: translateY(-1px) }
.auth-submit:disabled { opacity: .6; transform: none }

.auth-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 24px 0; color: rgba(255,255,255,.2); font-size: .75rem;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.08);
}

.auth-error {
  background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3);
  border-radius: var(--r); padding: 12px 16px;
  font-size: .83rem; color: #fca5a5; margin-bottom: 16px; display: none;
}
.auth-success {
  background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3);
  border-radius: var(--r); padding: 12px 16px;
  font-size: .83rem; color: #86efac; margin-bottom: 16px; display: none;
}

/* Loading spinner */
.auth-spinner { display: none; align-items: center; justify-content: center; gap: 10px; color: rgba(255,255,255,.4); font-size: .8rem; margin-top: 14px }
.auth-spinner::before {
  content: ''; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(0,212,255,.2); border-top-color: var(--cyan);
  animation: spin .7s linear infinite;
}

/* ══════════════════════════════════════════════════════════════
   AI TOOL PAGE
══════════════════════════════════════════════════════════════ */
.tool-page {
  background: var(--ink); min-height: 100vh;
  padding-top: 68px; color: var(--white);
}
.tool-nav {
  background: rgba(10,10,20,.95); border-bottom: 1px solid rgba(255,255,255,.07);
}
.tool-wrap {
  max-width: 980px; margin: 0 auto;
  padding: 40px 24px 80px;
  position: relative; z-index: 1;
}

.tool-blob {
  position: fixed; border-radius: 50%;
  filter: blur(120px); pointer-events: none; z-index: 0;
}
.tool-blob-1 { width:600px;height:600px;background:rgba(0,229,255,.05);top:-200px;left:-150px;animation:drift1 20s ease-in-out infinite alternate }
.tool-blob-2 { width:500px;height:500px;background:rgba(255,45,120,.04);bottom:-100px;right:-100px;animation:drift2 25s ease-in-out infinite alternate }
@keyframes drift1{to{transform:translate(80px,60px)}}
@keyframes drift2{to{transform:translate(-60px,-80px)}}

/* ══════════════════════════════════════════════════════════════
   NOTIFICATIONS / TOAST
══════════════════════════════════════════════════════════════ */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px }
.toast {
  background: var(--ink2); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r2); padding: 14px 20px;
  font-size: .83rem; color: var(--white);
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
  min-width: 260px; max-width: 340px;
  transform: translateX(120%); transition: transform .3s ease;
  display: flex; align-items: center; gap: 10px;
}
.toast.show { transform: translateX(0) }
.toast.success { border-left: 3px solid var(--success) }
.toast.error   { border-left: 3px solid var(--danger) }
.toast.info    { border-left: 3px solid var(--cyan) }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  nav { padding: 0 28px }
  nav ul { gap: 20px }
  .hero-content { padding: 80px 28px }
  .sec-inner { padding: 0 28px }
  .features-grid { grid-template-columns: repeat(2,1fr) }
  .games-grid { grid-template-columns: repeat(2,1fr) }
  .pricing-grid { grid-template-columns: repeat(2,1fr) }
  .svc-grid { grid-template-columns: repeat(2,1fr) }
  .growth-layout { grid-template-columns: 1fr; gap: 40px }
  .partners-grid { grid-template-columns: repeat(4,1fr) }
  .ft { grid-template-columns: 1fr 1fr; gap: 40px }
  .auth-left { width: 48% }
  .auth-right { padding: 40px }
}

@media (max-width: 768px) {
  nav ul { display: none }
  nav ul.open { display: flex; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0; background: rgba(10,10,20,.98); backdrop-filter: blur(20px); padding: 24px 28px; border-bottom: 1px solid rgba(255,255,255,.07); gap: 16px; z-index: 499 }
  .nav-burger { display: flex }
  .hero-content { padding: 60px 20px }
  .hero-deco { display: none }
  .hero-h1 { font-size: 2rem }
  .sec { padding: 80px 0 }
  .sec-inner { padding: 0 20px }
  .features-grid { grid-template-columns: 1fr }
  .games-grid { grid-template-columns: 1fr }
  .pricing-grid { grid-template-columns: 1fr }
  .svc-grid { grid-template-columns: 1fr }
  .partners-grid { grid-template-columns: repeat(3,1fr) }
  .auth-page { flex-direction: column }
  .auth-left { width: 100%; padding: 40px 24px; min-height: auto }
  .auth-right { padding: 40px 24px }
  .ft { grid-template-columns: 1fr; gap: 32px }
  .f-bot { flex-direction: column; gap: 10px; text-align: center }
  .cta-sec { padding: 80px 20px }
  nav { padding: 0 20px }
  .mp-bar { width: 120px }
}

/* ══════════════════════════════════════════════════════════════
   REDUCED MOTION — disable all animations for users who need it
══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto }
  /* Keep the custom cursor functional but instant */
  .reveal { opacity: 1; transform: none }
}

/* ══════════════════════════════════════════════════════════════
   COLOUR SCHEME — dark mode for native form controls
   (date pickers, number spinners, select option lists, etc.)
══════════════════════════════════════════════════════════════ */
input, select, textarea { color-scheme: dark }
input[type=date]::-webkit-calendar-picker-indicator,
input[type=time]::-webkit-calendar-picker-indicator {
  filter: invert(0.7) sepia(1) saturate(3) hue-rotate(170deg);
  opacity: .7;
}
