@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ═══════════════════════════════════════════════════
   LIGHT THEME (default)
   ═══════════════════════════════════════════════════ */
:root {
  --bg:           #f8fafc;
  --bg-card:      #ffffff;
  --bg-card2:     #f1f5f9;
  --border:       rgba(0,0,0,0.09);
  --border-hover: rgba(0,0,0,0.18);
  --green:        #16a34a;
  --green-dim:    #15803d;
  --green-glow:   rgba(22,163,74,0.12);
  --blue:         #0284c7;
  --red:          #dc2626;
  --yellow:       #d97706;
  --text:         #0f172a;
  --text-muted:   #94a3b8;
  --text-dim:     #475569;
  --navbar-bg:    rgba(255,255,255,0.92);
  --shadow:       0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.14);
  --radius:       12px;
  --radius-lg:    18px;
  --transition:   .18s cubic-bezier(.4,0,.2,1);
  color-scheme: light;
}

/* ═══════════════════════════════════════════════════
   DARK THEME
   ═══════════════════════════════════════════════════ */
[data-theme="dark"] {
  --bg:           #080c14;
  --bg-card:      #0d1421;
  --bg-card2:     #111927;
  --border:       rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.14);
  --green:        #00ff88;
  --green-dim:    #00cc6e;
  --green-glow:   rgba(0,255,136,0.18);
  --blue:         #0ea5e9;
  --red:          #ef4444;
  --yellow:       #f59e0b;
  --text:         #e2e8f0;
  --text-muted:   #64748b;
  --text-dim:     #94a3b8;
  --navbar-bg:    rgba(8,12,20,0.92);
  --shadow:       0 4px 32px rgba(0,0,0,0.5);
  --shadow-lg:    0 8px 48px rgba(0,0,0,0.65);
  color-scheme: dark;
}

/* ── Reset ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background .25s, color .25s;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
img { display: block; max-width: 100%; }

/* ── Scrollbar ───────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-card2); border-radius: 3px; }

/* ── Utility ─────────────────────────────────────── */
.hidden  { display: none !important; }
.flex    { display: flex; }
.items-center { align-items: center; }
.gap-2   { gap: 8px; }
.gap-4   { gap: 16px; }
.w-full  { width: 100%; }
.text-green   { color: var(--green); }
.text-red     { color: var(--red); }
.text-muted   { color: var(--text-muted); }
.text-dim     { color: var(--text-dim); }
.font-bold    { font-weight: 700; }
.font-semibold{ font-weight: 600; }
.text-sm      { font-size: .85rem; }
.text-xs      { font-size: .75rem; }
.text-lg      { font-size: 1.125rem; }
.text-xl      { font-size: 1.25rem; }
.text-2xl     { font-size: 1.5rem; }
.text-3xl     { font-size: 2rem; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }

/* ── Layout ──────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.page      { padding-top: 80px; min-height: 100vh; }
.page-content { padding: 32px 0 80px; }

/* ── Navbar ──────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 64px;
  background: var(--navbar-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background .25s, border-color .25s;
}
.navbar .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.navbar-logo {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  display: flex; align-items: center; gap: 6px;
  color: var(--text);
}
.navbar-logo .accent { color: var(--green); }

.navbar-links { display: flex; align-items: center; gap: 4px; }
.navbar-links a {
  padding: 6px 14px; border-radius: 8px;
  font-size: .9rem; font-weight: 500;
  color: var(--text-dim);
  transition: color var(--transition), background var(--transition);
}
.navbar-links a:hover,
.navbar-links a.active { color: var(--text); background: var(--bg-card2); }

.navbar-right { display: flex; align-items: center; gap: 8px; }

/* ── Theme Toggle Button ─────────────────────────── */
.theme-toggle {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 10px;
  font-size: .85rem;
  color: var(--text-dim);
  cursor: pointer;
  transition: all var(--transition);
  display: flex; align-items: center; gap: 4px;
  white-space: nowrap;
}
.theme-toggle:hover { border-color: var(--green); color: var(--green); }

/* ── Balance Chip ────────────────────────────────── */
.balance-chip {
  background: rgba(22,163,74,0.1);
  border: 1px solid rgba(22,163,74,0.3);
  color: var(--green);
  padding: 5px 14px; border-radius: 20px;
  font-size: .85rem; font-weight: 700; cursor: pointer;
  transition: background var(--transition);
}
[data-theme="dark"] .balance-chip {
  background: rgba(0,255,136,0.1);
  border-color: rgba(0,255,136,0.25);
}
.balance-chip:hover { background: var(--green-glow); }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px; border-radius: var(--radius);
  font-size: .9rem; font-weight: 600;
  transition: all var(--transition);
  border: none; cursor: pointer;
}
.btn-primary { background: var(--green); color: #fff; }
[data-theme="dark"] .btn-primary { color: #000; }
.btn-primary:hover { background: var(--green-dim); transform: translateY(-1px); box-shadow: 0 4px 20px var(--green-glow); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--green); color: var(--green); background: var(--green-glow); }
.btn-ghost { background: var(--bg-card2); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--bg-card); border-color: var(--border-hover); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { filter: brightness(0.9); }
.btn-sm  { padding: 6px 14px; font-size: .82rem; }
.btn-lg  { padding: 14px 32px; font-size: 1rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ── Cards ───────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: border-color var(--transition), box-shadow var(--transition), background .25s;
}
.card:hover { border-color: var(--border-hover); }

/* ── Forms ───────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: .82rem; font-weight: 600; color: var(--text-dim); text-transform: uppercase; letter-spacing: .06em; }
.form-input {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 16px; border-radius: 10px;
  font-size: .95rem;
  transition: border-color var(--transition), box-shadow var(--transition), background .25s;
  outline: none;
}
.form-input:focus { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-glow); }
.form-input::placeholder { color: var(--text-muted); }

/* ── Odds Button ─────────────────────────────────── */
.odds-btn {
  display: flex; flex-direction: column; align-items: center;
  padding: 8px 16px; border-radius: 10px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  cursor: pointer; transition: all var(--transition);
  min-width: 80px;
}
.odds-btn:hover { background: var(--green-glow); border-color: var(--green); }
.odds-btn.selected { background: var(--green-glow); border-color: var(--green); }
.odds-btn .odds-label { font-size: .68rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.odds-btn .odds-value { font-size: 1rem; font-weight: 700; color: var(--green); transition: all .3s; }
.odds-btn .odds-value.up   { color: #16a34a; animation: flash-up .4s; }
.odds-btn .odds-value.down { color: var(--red); animation: flash-down .4s; }
[data-theme="dark"] .odds-btn .odds-value.up { color: #22c55e; }

@keyframes flash-up   { 0%,100%{} 50%{ text-shadow:0 0 10px currentColor } }
@keyframes flash-down { 0%,100%{} 50%{ text-shadow:0 0 10px currentColor } }

/* ── Status Badges ───────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px;
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}
.badge-live     { background: rgba(220,38,38,.1);  color: #dc2626; border: 1px solid rgba(220,38,38,.25); }
.badge-live::before { content:''; width:6px;height:6px;border-radius:50%;background:currentColor; animation: pulse 1.2s infinite; display:block; }
.badge-upcoming { background: rgba(2,132,199,.08); color: var(--blue); border: 1px solid rgba(2,132,199,.2); }
.badge-finished { background: var(--bg-card2); color: var(--text-muted); border: 1px solid var(--border); }
.badge-won      { background: rgba(22,163,74,.1);  color: var(--green); border: 1px solid rgba(22,163,74,.25); }
.badge-lost     { background: rgba(220,38,38,.1);  color: var(--red);   border: 1px solid rgba(220,38,38,.25); }
.badge-pending  { background: rgba(217,119,6,.1);  color: var(--yellow);border: 1px solid rgba(217,119,6,.25); }

@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }

/* ── Ticker ──────────────────────────────────────── */
.ticker-wrap {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden; white-space: nowrap; padding: 8px 0;
  transition: background .25s;
}
.ticker-inner { display: inline-flex; gap: 60px; animation: ticker 30s linear infinite; }
.ticker-item  { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--text-dim); }
.ticker-item .ti-teams { color: var(--text); font-weight: 600; }
.ticker-item .ti-odds  { color: var(--green); font-weight: 700; }
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── Hero ────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; padding: 80px 0 60px;
  background: radial-gradient(ellipse 80% 55% at 50% -10%,
    rgba(22,163,74,.1) 0%, transparent 70%);
}
[data-theme="dark"] .hero {
  background: radial-gradient(ellipse 80% 55% at 50% -10%,
    rgba(0,255,136,.1) 0%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(22,163,74,.08); border: 1px solid rgba(22,163,74,.25);
  color: var(--green); padding: 4px 12px; border-radius: 20px;
  font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; line-height: 1.1; letter-spacing: -1px; }
.hero h1 .hl { color: var(--green); }
.hero p { color: var(--text-dim); font-size: 1.05rem; margin: 16px 0 28px; max-width: 460px; line-height: 1.75; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 32px; }
.hero-stat .value { font-size: 1.8rem; font-weight: 800; color: var(--text); }
.hero-stat .label { font-size: .78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
.hero-visual { display: flex; flex-direction: column; gap: 12px; animation: float 4s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 14px 18px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow);
  transition: background .25s, border-color var(--transition);
}
.hero-card-icon { font-size: 2rem; }
.hero-card-info { flex: 1; }
.hero-card-info .teams { font-weight: 700; font-size: .92rem; }
.hero-card-info .meta  { font-size: .75rem; color: var(--text-muted); margin-top: 2px; }

/* ── Event Card ──────────────────────────────────── */
.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px 18px;
  transition: all var(--transition);
  cursor: pointer; display: block;
  box-shadow: var(--shadow);
}
.event-card:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.event-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.event-sport { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.event-teams { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 14px; }
.event-team  { text-align: center; flex: 1; }
.event-team-name  { font-weight: 700; font-size: .9rem; color: var(--text); }
.event-team-score { font-size: 1.5rem; font-weight: 900; color: var(--text); margin-top: 2px; }
.event-vs    { color: var(--text-muted); font-size: .78rem; font-weight: 700; padding: 0 10px; }
.event-time  { font-size: .75rem; color: var(--text-muted); }
.event-odds-row { display: flex; gap: 6px; }

/* ── Sport Tabs ──────────────────────────────────── */
.sport-tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 4px 0 20px; }
.sport-tab {
  display: flex; align-items: center; gap: 5px; padding: 8px 18px;
  border: 1px solid var(--border); background: var(--bg-card);
  border-radius: 40px; color: var(--text-dim);
  font-size: .88rem; font-weight: 600; cursor: pointer;
  transition: all var(--transition); box-shadow: var(--shadow);
}
.sport-tab:hover { border-color: var(--border-hover); color: var(--text); }
.sport-tab.active { background: var(--green); border-color: var(--green); color: #fff; box-shadow: 0 4px 16px var(--green-glow); }
[data-theme="dark"] .sport-tab.active { color: #000; }

/* ── Grid ────────────────────────────────────────── */
.grid-2      { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 16px; }
.grid-sports { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }

/* ── Bet Slip ────────────────────────────────────── */
.betslip {
  position: sticky; top: 80px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow);
}
.betslip-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  background: var(--bg-card2);
  border-bottom: 1px solid var(--border);
}
.betslip-title { font-weight: 700; font-size: .95rem; }
.betslip-count {
  background: var(--green); color: #fff;
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 800;
}
[data-theme="dark"] .betslip-count { color: #000; }
.betslip-empty { padding: 32px 18px; text-align: center; color: var(--text-muted); font-size: .875rem; }
.betslip-selections { padding: 12px; display: flex; flex-direction: column; gap: 8px; max-height: 380px; overflow-y: auto; }
.slip-item {
  background: var(--bg-card2); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 12px; position: relative;
  transition: background .25s;
}
.slip-item-teams { font-size: .82rem; font-weight: 600; margin-bottom: 2px; }
.slip-item-sel   { font-size: .75rem; color: var(--green); font-weight: 700; }
.slip-item-odds  { font-size: .9rem; font-weight: 800; }
.slip-item-remove {
  position: absolute; top: 8px; right: 8px;
  background: none; border: none; color: var(--text-muted); font-size: .9rem; cursor: pointer;
  transition: color var(--transition);
}
.slip-item-remove:hover { color: var(--red); }
.betslip-footer { padding: 14px 18px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.betslip-summary { display: flex; justify-content: space-between; font-size: .85rem; }
.betslip-payout  { font-size: .95rem; font-weight: 700; }

/* ── Dashboard ───────────────────────────────────── */
.balance-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card2) 100%);
  border: 1px solid rgba(22,163,74,.25);
  border-radius: var(--radius-lg); padding: 28px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
[data-theme="dark"] .balance-card {
  background: linear-gradient(135deg, #0d1421 0%, #071a10 100%);
  border-color: rgba(0,255,136,.22);
}
.balance-card::after {
  content:''; position:absolute; top:-40%; right:-10%;
  width:260px;height:260px; border-radius:50%;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
  pointer-events:none;
}
.balance-value { font-size: 2.8rem; font-weight: 900; color: var(--green); letter-spacing: -1px; }
.balance-label { font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; }

/* ── Table ───────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.table th {
  padding: 10px 16px; text-align: left;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-muted); background: var(--bg-card2);
  border-bottom: 1px solid var(--border);
}
.table td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; color: var(--text); }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--bg-card2); }

/* ── Section Header ──────────────────────────────── */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.section-title  { font-size: 1.2rem; font-weight: 800; }
.section-title span { color: var(--green); }

/* ── Auth Page ───────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(22,163,74,.08) 0%, transparent 70%);
}
[data-theme="dark"] .auth-page {
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(0,255,136,.09) 0%, transparent 70%);
}
.auth-box {
  width: 100%; max-width: 440px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-lg);
}
.auth-logo { text-align: center; margin-bottom: 24px; font-size: 1.6rem; font-weight: 900; }
.auth-tabs {
  display: flex; margin-bottom: 24px;
  background: var(--bg-card2); border-radius: 10px; padding: 4px;
}
.auth-tab {
  flex: 1; padding: 8px; text-align: center; border-radius: 8px;
  font-size: .88rem; font-weight: 600; cursor: pointer;
  color: var(--text-muted); transition: all var(--transition); background: none; border: none;
}
.auth-tab.active { background: var(--green); color: #fff; }
[data-theme="dark"] .auth-tab.active { color: #000; }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-footer { text-align: center; margin-top: 18px; font-size: .82rem; color: var(--text-muted); }
.auth-footer a { color: var(--green); }

/* ── Toast ───────────────────────────────────────── */
#toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 18px;
  font-size: .875rem; font-weight: 500;
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-lg); animation: slide-in .25s cubic-bezier(.4,0,.2,1);
  min-width: 240px;
}
.toast.success { border-color: rgba(22,163,74,.35); }
.toast.error   { border-color: rgba(220,38,38,.35); }
.toast.success::before { content:'✓'; color: var(--green); font-weight: 800; }
.toast.error::before   { content:'✕'; color: var(--red); font-weight: 800; }
@keyframes slide-in { from{transform:translateX(60px);opacity:0} to{transform:translateX(0);opacity:1} }

/* ── Stats Bar ───────────────────────────────────── */
.stats-bar { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 10px 0; }
.stats-bar .container { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.stat-item { display: flex; align-items: center; gap: 8px; font-size: .82rem; }
.stat-item .s-val { font-weight: 700; color: var(--green); }
.stat-item .s-lbl { color: var(--text-muted); }

/* ── Footer ──────────────────────────────────────── */
.footer { background: var(--bg-card); border-top: 1px solid var(--border); padding: 40px 0 20px; margin-top: 60px; transition: background .25s; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { font-size: 1.3rem; font-weight: 900; margin-bottom: 10px; }
.footer-brand p { font-size: .83rem; color: var(--text-muted); max-width: 260px; line-height: 1.7; }
.footer-links h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 12px; font-weight: 700; }
.footer-links a { display: block; font-size: .85rem; color: var(--text-dim); padding: 3px 0; transition: color var(--transition); }
.footer-links a:hover { color: var(--green); }
.footer-bottom { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; font-size: .78rem; color: var(--text-muted); flex-wrap: wrap; gap: 8px; }
.footer-legal { color: var(--text-muted); font-size: .72rem; margin-top: 8px; line-height: 1.6; }

/* ── Modal ───────────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.5); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
}
.modal-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  width: 100%; max-width: 400px; animation: fade-in .2s;
  box-shadow: var(--shadow-lg);
}
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.modal-close  { background: none; border: none; color: var(--text-muted); font-size: 1.2rem; cursor: pointer; }
.quick-amounts { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.quick-amt { padding: 6px 14px; border-radius: 8px; background: var(--bg-card2); border: 1px solid var(--border); color: var(--text-dim); font-size: .83rem; cursor: pointer; transition: all var(--transition); }
.quick-amt:hover { border-color: var(--green); color: var(--green); }

/* ── Animations ──────────────────────────────────── */
.fade-in { animation: fade-in .35s cubic-bezier(.4,0,.2,1) both; }
@keyframes fade-in { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }

.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--bg-card2);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  margin: 40px auto;
}
@keyframes spin { to{transform:rotate(360deg)} }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
  .hero-grid   { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .grid-sports { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0; }
  .hero h1 { font-size: 2rem; }
  .balance-value { font-size: 2rem; }
  .table th, .table td { padding: 8px 10px; }
}
@media (max-width: 480px) {
  .navbar-links { display: none; }
  .hero-btns { flex-direction: column; }
}

/* Team Logos */
.nba-team-logo { width: 34px; height: 34px; object-fit: contain; }
.score-team-icon .nba-team-logo { width: 52px; height: 52px; }
.event-team .nba-team-logo { margin: 0 auto 6px; }

