/* ============================================
   AGENTBET.IO — Complete Stylesheet v1.1
   ============================================ */

:root {
  --bg: #060614;
  --bg2: #0c0c20;
  --bg3: #14142e;
  --bg-panel: rgba(255,255,255,0.025);
  --bg-panel-hover: rgba(255,255,255,0.045);
  --border: rgba(255,255,255,0.06);
  --border-strong: rgba(255,255,255,0.12);
  --purple: #8b5cf6;
  --purple-light: #a78bfa;
  --purple-dark: #7c3aed;
  --green: #10b981;
  --green-light: #34d399;
  --red: #ef4444;
  --red-light: #fca5a5;
  --gold: #fbbf24;
  --orange: #fb923c;
  --cyan: #06b6d4;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #475569;
  --shadow-purple: 0 8px 32px rgba(139,92,246,0.25);
  --shadow-green: 0 8px 32px rgba(16,185,129,0.25);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --t: all 0.25s cubic-bezier(0.4,0,0.2,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  font-feature-settings: 'cv02','cv03','cv04','cv11';
}
h1,h2,h3,h4,h5 { font-family: 'Space Grotesk', sans-serif; line-height: 1.15; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
button { font-family: inherit; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  transition: var(--t);
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff;
  box-shadow: 0 4px 14px rgba(139,92,246,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(139,92,246,0.5); }
.btn-success {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: #fff;
  box-shadow: 0 4px 14px rgba(16,185,129,0.35);
}
.btn-success:hover { transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--border-strong); background: var(--bg-panel); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover { background: var(--bg-panel); }
.btn-secondary {
  background: var(--bg-panel);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--bg-panel-hover); }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-xl { padding: 18px 36px; font-size: 1.1rem; border-radius: 14px; }
.btn-full { width: 100%; }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: var(--t);
}
.navbar.scrolled {
  background: rgba(6,6,20,0.85);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--purple), var(--green));
  font-size: 1rem;
  color: #fff;
  font-weight: 900;
}
.logo-text { color: var(--text); }
.logo-accent { background: linear-gradient(135deg, var(--purple-light), var(--green-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.nav-links { display: flex; align-items: center; gap: 28px; flex: 1; }
.nav-links a { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ── PROMO BANNER ── */
.promo-banner {
  margin-top: 70px;
  background: linear-gradient(90deg, rgba(139,92,246,0.18), rgba(16,185,129,0.18));
  border-bottom: 1px solid rgba(139,92,246,0.25);
  padding: 10px 0;
}
.promo-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.promo-badge {
  background: var(--gold);
  color: #1a0f00;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.promo-text { font-size: 0.88rem; color: var(--text-muted); }
.promo-text strong { color: var(--text); }
.promo-cta { color: var(--green-light); font-weight: 700; font-size: 0.88rem; }

/* ── HERO ── */
.hero {
  min-height: calc(100vh - 110px);
  display: flex;
  align-items: center;
  position: relative;
  padding: 60px 24px 80px;
  max-width: 1240px;
  margin: 0 auto;
  gap: 60px;
}
.hero-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
}
.orb-1 { width: 500px; height: 500px; background: var(--purple); top: -100px; left: -100px; animation: orbFloat 12s ease-in-out infinite; }
.orb-2 { width: 400px; height: 400px; background: var(--green); bottom: 100px; right: -50px; animation: orbFloat 14s ease-in-out infinite reverse; }
.orb-3 { width: 300px; height: 300px; background: var(--cyan); top: 50%; left: 50%; transform: translate(-50%,-50%); animation: orbFloat 16s ease-in-out infinite; }
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.08); }
  66% { transform: translate(-30px,40px) scale(0.92); }
}

.hero-content { flex: 1; max-width: 620px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.25);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--green-light);
  margin-bottom: 24px;
  font-weight: 500;
}
.pulse-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform: scale(1); }
  50% { opacity:0.4; transform: scale(1.6); }
}
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}
.gradient-text {
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--green-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.65;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 28px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  width: fit-content;
}
.stat-pill { text-align: left; }
.stat-num { display: block; font-size: 1.5rem; font-weight: 800; color: var(--text); font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.02em; }
.stat-label { font-size: 0.7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

.hero-visual { flex: 0 0 420px; position: relative; }

/* ── AGENT ONBOARD CARD (Moltbook style) ── */
.agent-onboard {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}
.agent-onboard-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.agent-onboard-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.agent-onboard-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 2px; }
.agent-onboard-sub { font-size: 0.82rem; color: var(--text-muted); }

.agent-tabs {
  display: flex;
  gap: 4px;
  background: rgba(0,0,0,0.3);
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 20px;
}
.agent-tab {
  flex: 1;
  padding: 10px;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-muted);
  transition: var(--t);
}
.agent-tab.active {
  background: rgba(139,92,246,0.2);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(139,92,246,0.3);
}

.agent-command-box {
  background: #050510;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 0.82rem;
  color: var(--green-light);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
.agent-command-box code { flex: 1; word-break: break-all; }
.agent-copy {
  background: rgba(139,92,246,0.2);
  border: 1px solid rgba(139,92,246,0.3);
  color: var(--purple-light);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--t);
  white-space: nowrap;
}
.agent-copy:hover { background: rgba(139,92,246,0.3); }
.agent-copy.copied { background: rgba(16,185,129,0.2); color: var(--green-light); border-color: rgba(16,185,129,0.4); }

.agent-steps {
  list-style: none;
  counter-reset: step;
  margin: 16px 0;
}
.agent-steps li {
  counter-increment: step;
  position: relative;
  padding: 10px 0 10px 38px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.agent-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 10px;
  width: 24px;
  height: 24px;
  background: rgba(139,92,246,0.15);
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--purple-light);
}

/* ── LIVE TICKER ── */
.live-ticker {
  display: flex;
  align-items: center;
  background: rgba(12,12,32,0.6);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  height: 42px;
  backdrop-filter: blur(20px);
}
.ticker-label {
  flex-shrink: 0;
  padding: 0 18px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--red);
  border-right: 1px solid var(--border);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 1px;
}
.ticker-label::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
.ticker-track { flex: 1; overflow: hidden; position: relative; }
.ticker-inner {
  display: flex;
  gap: 56px;
  animation: tickerScroll 90s linear infinite;
  white-space: nowrap;
  padding-left: 24px;
  width: max-content;
}
.ticker-inner span { font-size: 0.82rem; color: var(--text-muted); flex-shrink: 0; }
.ticker-inner span b { color: var(--green-light); font-weight: 700; }
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── SECTIONS ── */
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg2); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-badge {
  display: inline-block;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.25);
  color: var(--purple-light);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}

/* ── GAME CARDS ── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.game-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: var(--t);
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139,92,246,0.4);
  background: var(--bg-panel-hover);
}
.game-card-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.game-flip .game-card-glow { background: radial-gradient(circle at 50% 0%, rgba(251,191,36,0.12), transparent 70%); }
.game-dice .game-card-glow { background: radial-gradient(circle at 50% 0%, rgba(16,185,129,0.12), transparent 70%); }
.game-crash .game-card-glow { background: radial-gradient(circle at 50% 0%, rgba(239,68,68,0.12), transparent 70%); }
.game-card:hover .game-card-glow { opacity: 1; }

.game-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  font-size: 2rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.game-flip .game-icon-wrap { background: linear-gradient(135deg, rgba(251,191,36,0.18), rgba(251,146,60,0.18)); }
.game-dice .game-icon-wrap { background: linear-gradient(135deg, rgba(16,185,129,0.18), rgba(6,182,212,0.18)); }
.game-crash .game-icon-wrap { background: linear-gradient(135deg, rgba(239,68,68,0.18), rgba(251,146,60,0.18)); }

.game-badge {
  display: inline-block;
  background: rgba(139,92,246,0.18);
  color: var(--purple-light);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.game-badge-hot { background: rgba(239,68,68,0.18); color: var(--red-light); }

.game-card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 10px; position: relative; z-index: 1; }
.game-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 22px; line-height: 1.6; position: relative; z-index: 1; }

.game-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
  padding: 14px;
  background: rgba(0,0,0,0.25);
  border-radius: 10px;
  position: relative;
  z-index: 1;
}
.game-stats div { text-align: center; flex: 1; }
.game-stats span { display: block; font-size: 0.68rem; color: var(--text-dim); text-transform: uppercase; margin-bottom: 4px; letter-spacing: 0.5px; }
.game-stats strong { font-size: 0.95rem; font-weight: 700; color: var(--text); }

/* ── PREDICTION MARKETS ── */
.markets-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.market-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: var(--t);
}
.market-card:hover { border-color: rgba(139,92,246,0.3); transform: translateY(-2px); }
.market-cat {
  font-size: 0.72rem;
  color: var(--purple-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  font-weight: 600;
}
.market-q { font-size: 1rem; font-weight: 600; margin-bottom: 18px; line-height: 1.4; min-height: 44px; }
.market-bar { height: 6px; background: rgba(239,68,68,0.25); border-radius: 4px; margin-bottom: 8px; overflow: hidden; }
.bar-yes { height: 100%; background: var(--green); border-radius: 4px; transition: width 0.3s; }
.market-meta { display: flex; justify-content: space-between; font-size: 0.8rem; margin-bottom: 18px; }
.yes-pct { color: var(--green-light); font-weight: 700; }
.no-pct { color: var(--red-light); font-weight: 700; }
.pool { color: var(--text-dim); }
.market-actions { display: flex; gap: 10px; }
.btn-yes { background: rgba(16,185,129,0.12); color: var(--green-light); border: 1px solid rgba(16,185,129,0.3); padding: 9px 18px; border-radius: 8px; font-weight: 600; flex:1; font-size: 0.88rem; cursor: pointer; }
.btn-yes:hover { background: rgba(16,185,129,0.22); }
.btn-no { background: rgba(239,68,68,0.12); color: var(--red-light); border: 1px solid rgba(239,68,68,0.3); padding: 9px 18px; border-radius: 8px; font-weight: 600; flex:1; font-size: 0.88rem; cursor: pointer; }
.btn-no:hover { background: rgba(239,68,68,0.22); }

.market-create {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(139,92,246,0.3);
  background: rgba(139,92,246,0.04);
}
.create-icon {
  width: 56px; height: 56px;
  background: rgba(139,92,246,0.18);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  color: var(--purple-light);
  margin-bottom: 14px;
}
.market-create h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.market-create p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 18px; }

/* ── ARENA ── */
.arena-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.arena-text h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; margin: 16px 0; }
.arena-text p { color: var(--text-muted); margin-bottom: 22px; line-height: 1.65; }
.arena-list { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.arena-list li { font-size: 0.92rem; color: var(--text-muted); padding-left: 4px; }
.arena-cta-group { display: flex; gap: 12px; }

.leaderboard {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.lb-header {
  padding: 14px 20px;
  font-weight: 700;
  font-size: 0.88rem;
  background: linear-gradient(90deg, rgba(139,92,246,0.12), transparent);
  border-bottom: 1px solid var(--border);
}
.lb-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.2s;
}
.lb-row:hover { background: rgba(255,255,255,0.03); }
.lb-first { background: rgba(251,191,36,0.06); }
.lb-rank { width: 22px; font-size: 0.85rem; color: var(--text-dim); font-weight: 700; }
.lb-first .lb-rank { color: var(--gold); }
.lb-name { flex: 1; font-size: 0.9rem; font-weight: 500; }
.lb-win { color: var(--green-light); font-weight: 700; font-size: 0.9rem; }

/* ── STEPS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  transition: var(--t);
}
.step:hover { border-color: rgba(139,92,246,0.3); transform: translateY(-2px); }
.step-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--purple-light);
  opacity: 0.5;
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 12px;
}
.step h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ── CTA SECTION ── */
.cta-section { padding: 60px 0 100px; }
.cta-box {
  background: linear-gradient(135deg, rgba(139,92,246,0.18), rgba(16,185,129,0.12));
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 24px;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-orb-1, .cta-orb-2 { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.35; pointer-events: none; }
.cta-orb-1 { width: 300px; height: 300px; background: var(--purple); top: -100px; left: -100px; }
.cta-orb-2 { width: 300px; height: 300px; background: var(--green); bottom: -100px; right: -100px; }
.cta-content { position: relative; z-index: 1; }
.cta-badge {
  display: inline-block;
  background: rgba(251,191,36,0.15);
  border: 1px solid rgba(251,191,36,0.3);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 22px;
}
.cta-content h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px; }
.cta-content p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 32px; }
.cta-fine { font-size: 0.78rem; color: var(--text-dim); margin-top: 16px; }

/* ── FOOTER ── */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 56px 0 28px; }
.footer-top { display: flex; gap: 60px; margin-bottom: 44px; flex-wrap: wrap; }
.footer-brand { flex: 1; min-width: 250px; }
.footer-brand .logo { margin-bottom: 14px; display: inline-flex; }
.footer-brand p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.7; max-width: 320px; }
.footer-links { display: flex; gap: 56px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 4px; }
.footer-col a { font-size: 0.85rem; color: var(--text-dim); transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.04);
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom p { font-size: 0.76rem; color: var(--text-dim); }
.footer-badges { display: flex; gap: 8px; }
.footer-badges span {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-dim);
}

/* ── AUTH PAGES ── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
  background: var(--bg);
  position: relative;
}
.auth-card {
  background: rgba(12,12,32,0.6);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px 38px;
  width: 100%;
  max-width: 440px;
  backdrop-filter: blur(24px);
  position: relative;
  box-shadow: var(--shadow-card);
}
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo .logo { justify-content: center; font-size: 1.5rem; }
.auth-title { font-size: 1.5rem; font-weight: 700; text-align: center; margin-bottom: 6px; }
.auth-sub { text-align: center; color: var(--text-muted); font-size: 0.88rem; margin-bottom: 28px; }
.auth-promo {
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 22px;
  font-size: 0.85rem;
  color: var(--green-light);
  text-align: center;
}
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.form-input {
  width: 100%;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-size: 0.94rem;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
}
.form-input:focus { border-color: var(--purple-light); background: rgba(0,0,0,0.5); }
.form-input::placeholder { color: var(--text-dim); }
.form-error {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.3);
  color: var(--red-light);
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  margin-bottom: 18px;
}
.auth-footer { text-align: center; margin-top: 22px; font-size: 0.85rem; color: var(--text-muted); }
.auth-footer a { color: var(--purple-light); font-weight: 600; }

/* ── DASHBOARD LAYOUT ── */
.app-layout {
  position: relative;
  min-height: 100vh;
}
.sidebar {
  background: var(--bg2);
  border-right: 1px solid var(--border);
  padding: 24px 16px;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 100;
}
.sidebar-brand {
  padding: 6px 12px 22px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.sidebar-brand .logo { font-size: 1.25rem; }
.sidebar-section {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-dim);
  padding: 16px 14px 8px;
  font-weight: 700;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--t);
}
.sidebar-link:hover { background: rgba(255,255,255,0.04); color: var(--text); }
.sidebar-link.active {
  background: rgba(139,92,246,0.15);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(139,92,246,0.25);
}
.sidebar-icon { width: 18px; text-align: center; font-size: 1rem; }
.sidebar-bal {
  margin: 14px 4px 0;
  padding: 14px;
  background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(16,185,129,0.08));
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: 12px;
}
.sidebar-bal-label { font-size: 0.7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.sidebar-bal-amt { font-size: 1.2rem; font-weight: 700; font-family: 'Space Grotesk', sans-serif; }
.sidebar-bal-sub { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }
.sidebar-footer { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); }

.app-main {
  margin-left: 240px;
  padding: 28px 32px 60px;
  min-height: 100vh;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding: 12px 16px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.topbar-greeting { font-size: 1rem; }
.topbar-greeting strong { color: var(--text); }
.topbar-greeting span { color: var(--text-muted); }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.balance-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 10px;
  font-weight: 700;
  color: var(--green-light);
  font-size: 0.9rem;
}

.page-title { font-size: 1.7rem; font-weight: 700; margin-bottom: 4px; }
.page-sub { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 28px; }

/* ── BALANCE HERO CARD ── */
.balance-hero {
  background: linear-gradient(135deg, rgba(139,92,246,0.18), rgba(16,185,129,0.1));
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: 20px;
  padding: 32px 36px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.balance-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(139,92,246,0.2), transparent 70%);
  pointer-events: none;
}
.balance-hero-content { position: relative; z-index: 1; }
.balance-hero-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; font-weight: 600; }
.balance-hero-amount { font-size: 3rem; font-weight: 800; font-family: 'Space Grotesk', sans-serif; line-height: 1; letter-spacing: -0.03em; margin-bottom: 6px; }
.balance-hero-sub { font-size: 0.9rem; color: var(--text-muted); }
.balance-hero-actions { display: flex; gap: 10px; position: relative; z-index: 1; }

.free-spin-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(251,191,36,0.15);
  border: 1px solid rgba(251,191,36,0.3);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 12px;
}

/* ── STATS GRID ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.stat-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  transition: var(--t);
}
.stat-card:hover { border-color: var(--border-strong); }
.stat-card-label { font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; font-weight: 600; }
.stat-card-val { font-size: 1.5rem; font-weight: 700; font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.02em; }
.stat-card-val.green { color: var(--green-light); }
.stat-card-val.red { color: var(--red-light); }
.stat-card-trend { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }

/* ── QUICK GAMES ROW ── */
.quick-games {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.quick-game {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--t);
}
.quick-game:hover {
  transform: translateY(-2px);
  border-color: rgba(139,92,246,0.4);
}
.quick-game-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(139,92,246,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.quick-game-name { font-size: 1rem; font-weight: 700; margin-bottom: 2px; }
.quick-game-sub { font-size: 0.8rem; color: var(--text-muted); }

/* ── HISTORY TABLE ── */
.panel {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.panel-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.panel-body { padding: 22px; }
.history-row {
  display: grid;
  grid-template-columns: 100px 100px 1fr auto auto;
  gap: 16px;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.85rem;
  align-items: center;
}
.history-row:last-child { border-bottom: none; }
.history-game {
  background: rgba(139,92,246,0.1);
  color: var(--purple-light);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  width: fit-content;
}
.history-bet { color: var(--text-muted); font-weight: 600; }
.history-result { color: var(--text-muted); font-size: 0.85rem; }
.history-payout { font-weight: 700; }
.history-payout.win { color: var(--green-light); }
.history-payout.lose { color: var(--red-light); }
.history-time { color: var(--text-dim); font-size: 0.78rem; min-width: 60px; text-align: right; }
.empty-state {
  padding: 60px 24px;
  text-align: center;
  color: var(--text-dim);
}

/* ── GAME PAGES ── */
.game-page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  margin: 0 auto;
  max-width: 1100px;
}
@media (max-width: 1024px) { .game-page-layout { grid-template-columns: 1fr; } }

.game-canvas {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 18px;
}
.game-header-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.game-header-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(139,92,246,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.game-header-text h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: 2px; }
.game-header-text p { color: var(--text-muted); font-size: 0.85rem; }

/* ── COIN FLIP ── */
.coin-stage {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  perspective: 800px;
}
.coin-3d {
  width: 140px;
  height: 140px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1.2s cubic-bezier(0.4,0,0.2,1);
}
.coin-3d.spin-heads { transform: rotateY(1800deg); }
.coin-3d.spin-tails { transform: rotateY(1980deg); }
.coin-face-3d {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  font-weight: 900;
  backface-visibility: hidden;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.3), 0 8px 32px rgba(251,191,36,0.4);
}
.coin-heads {
  background: linear-gradient(135deg, #fde047, #f59e0b);
  color: #1a0f00;
}
.coin-tails {
  background: linear-gradient(135deg, #c084fc, #7c3aed);
  color: #fff;
  transform: rotateY(180deg);
}

.side-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}
.side-btn {
  padding: 18px;
  border-radius: 14px;
  border: 2px solid var(--border);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  transition: var(--t);
  background: var(--bg-panel);
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.side-btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
}
.side-btn.heads .side-btn-icon { background: linear-gradient(135deg, #fde047, #f59e0b); color: #1a0f00; }
.side-btn.tails .side-btn-icon { background: linear-gradient(135deg, #c084fc, #7c3aed); color: #fff; }
.side-btn:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.side-btn.selected { border-color: var(--purple-light); background: rgba(139,92,246,0.1); box-shadow: 0 0 0 4px rgba(139,92,246,0.1); }

/* ── BET INPUT ── */
.bet-section { margin-bottom: 22px; }
.bet-section-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}
.bet-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 14px;
  transition: border-color 0.2s;
}
.bet-input-wrap:focus-within { border-color: var(--purple-light); }
.bet-input-prefix { color: var(--text-dim); font-size: 0.9rem; font-weight: 600; }
.bet-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 16px 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  outline: none;
}
.bet-quick { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.bet-q {
  padding: 7px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--t);
  color: var(--text-muted);
}
.bet-q:hover { background: rgba(139,92,246,0.15); color: var(--text); border-color: rgba(139,92,246,0.3); }

/* ── GAME RESULT ── */
.game-result {
  padding: 22px;
  border-radius: 14px;
  text-align: center;
  margin-bottom: 18px;
  display: none;
  animation: slideUp 0.4s ease-out;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.game-result.win { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); }
.game-result.lose { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); }
.result-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; opacity: 0.9; }
.result-amount { font-size: 2.2rem; font-weight: 800; font-family: 'Space Grotesk', sans-serif; line-height: 1; }
.result-detail { font-size: 0.82rem; color: var(--text-muted); margin-top: 6px; }

/* ── DICE GAME ── */
.dice-stage {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  position: relative;
}
.dice-cube {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #fff, #e2e8f0);
  border-radius: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  padding: 14px;
  gap: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), inset 0 -4px 8px rgba(0,0,0,0.1);
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.dice-cube.rolling { animation: diceRoll 0.8s ease-in-out; }
@keyframes diceRoll {
  0% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(180deg) scale(1.2); }
  50% { transform: rotate(360deg) scale(0.95); }
  75% { transform: rotate(540deg) scale(1.1); }
  100% { transform: rotate(720deg) scale(1); }
}
.dice-dot {
  background: #0f172a;
  border-radius: 50%;
  display: none;
}
.dice-roll-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  font-family: 'Space Grotesk', sans-serif;
  grid-column: 1 / 4;
  grid-row: 1 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dice-info-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}
.dice-info-card {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}
.dice-info-label { font-size: 0.7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; font-weight: 600; }
.dice-info-val { font-size: 1.2rem; font-weight: 700; font-family: 'Space Grotesk', sans-serif; }
.dice-info-val.green { color: var(--green-light); }
.dice-info-val.gold { color: var(--gold); }

.dice-slider {
  margin-bottom: 18px;
  padding: 18px;
  background: rgba(0,0,0,0.2);
  border-radius: 12px;
  border: 1px solid var(--border);
}
.dice-slider input[type=range] {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  appearance: none;
  background: linear-gradient(90deg, var(--green) 0%, var(--green) var(--val, 50%), rgba(239,68,68,0.4) var(--val, 50%));
  outline: none;
  cursor: pointer;
  margin: 14px 0;
}
.dice-slider input[type=range]::-webkit-slider-thumb {
  appearance: none;
  width: 22px; height: 22px;
  background: #fff;
  border-radius: 50%;
  border: 4px solid var(--purple);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.dice-slider input[type=range]::-moz-range-thumb {
  width: 22px; height: 22px;
  background: #fff;
  border-radius: 50%;
  border: 4px solid var(--purple);
  cursor: pointer;
}
.dice-slider-labels { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--text-muted); }

/* ── CRASH GAME ── */
.crash-stage {
  background: linear-gradient(180deg, rgba(239,68,68,0.05), rgba(16,185,129,0.05));
  border: 1px solid var(--border);
  border-radius: 16px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}
.crash-multiplier {
  font-size: 5rem;
  font-weight: 900;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--green-light);
  transition: color 0.1s, transform 0.2s;
  text-shadow: 0 0 40px rgba(16,185,129,0.4);
  letter-spacing: -0.04em;
  z-index: 2;
}
.crash-multiplier.crashed { color: var(--red); text-shadow: 0 0 40px rgba(239,68,68,0.5); animation: shake 0.5s; }
@keyframes shake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}
.crash-chart {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.crash-history {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.crash-pill {
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
}
.crash-pill.green { background: rgba(16,185,129,0.15); color: var(--green-light); }
.crash-pill.red { background: rgba(239,68,68,0.15); color: var(--red-light); }

/* ── GAME SIDEBAR ── */
.game-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.side-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
}
.side-panel h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 14px; }
.side-stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.side-stat-row:last-child { border-bottom: none; }
.side-stat-row span { color: var(--text-muted); }
.side-stat-row strong { color: var(--text); }
.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255,255,255,0.02);
  margin-bottom: 6px;
  transition: var(--t);
}
.side-link:hover { background: rgba(139,92,246,0.1); color: var(--text); }

/* ── WALLET PAGE ── */
.wallet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 768px) { .wallet-grid { grid-template-columns: 1fr; } }
.wallet-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.wallet-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; }

.chain-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.chain-opt {
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  text-align: center;
  cursor: pointer;
  transition: var(--t);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}
.chain-opt:hover { background: var(--bg-panel-hover); color: var(--text); }
.chain-opt.active {
  background: rgba(139,92,246,0.15);
  border-color: rgba(139,92,246,0.4);
  color: var(--text);
}
.chain-opt-emoji { font-size: 1.3rem; display: block; margin-bottom: 4px; }

.qr-wrap {
  background: #fff;
  padding: 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  width: fit-content;
}
.qr-wrap img, .qr-wrap canvas { display: block; width: 180px; height: 180px; }

.deposit-address {
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  word-break: break-all;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.copy-btn {
  background: rgba(139,92,246,0.15);
  border: 1px solid rgba(139,92,246,0.3);
  color: var(--purple-light);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--t);
}
.copy-btn:hover { background: rgba(139,92,246,0.25); }
.copy-btn.copied { background: rgba(16,185,129,0.2); color: var(--green-light); border-color: rgba(16,185,129,0.4); }

.warn-box {
  background: rgba(251,191,36,0.08);
  border: 1px solid rgba(251,191,36,0.25);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.82rem;
  color: var(--gold);
  margin-bottom: 18px;
  line-height: 1.5;
}

/* ── PROMOTIONS ── */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 768px) { .promo-grid { grid-template-columns: 1fr; } }

.promo-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: var(--t);
}
.promo-card:hover { transform: translateY(-3px); border-color: rgba(139,92,246,0.3); }
.promo-card.featured { background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(16,185,129,0.08)); border-color: rgba(139,92,246,0.3); }
.promo-card-tag {
  display: inline-block;
  background: rgba(251,191,36,0.15);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.promo-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.promo-card-amount {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(135deg, var(--purple-light), var(--green-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}
.promo-card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 20px; line-height: 1.6; }
.promo-card-meta { font-size: 0.78rem; color: var(--text-dim); margin-top: 12px; }

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--bg3);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 14px 22px;
  font-size: 0.9rem;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s;
  max-width: 360px;
  box-shadow: var(--shadow-card);
  font-weight: 500;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-color: rgba(16,185,129,0.4); color: var(--green-light); }
.toast.error { border-color: rgba(239,68,68,0.4); color: var(--red-light); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .sidebar { transform: translateX(-100%); transition: transform 0.3s; }
  .sidebar.open { transform: translateX(0); }
  .app-main { margin-left: 0; padding: 20px 16px 60px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .quick-games { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero { flex-direction: column; text-align: center; padding-top: 40px; gap: 40px; }
  .hero-visual { flex: 0 0 auto; width: 100%; max-width: 480px; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { width: 60px; height: 1px; }
  .hero-actions { justify-content: center; }
  .games-grid { grid-template-columns: 1fr; }
  .markets-preview { grid-template-columns: 1fr; }
  .arena-split { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-links { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .auth-card { padding: 32px 24px; }
  .balance-hero { flex-direction: column; align-items: stretch; gap: 20px; text-align: center; }
  .balance-hero-actions { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .game-page-layout { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
}
