/* ==========================================================================
   ProBet Experts - design system
   One stylesheet for the public site, the member area and the admin panel.
   ========================================================================== */

:root {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e4e9f2;
  --line-strong: #d3dbe8;

  --navy: #0a1124;
  --navy-2: #0f1a33;
  --navy-3: #16233f;
  --on-navy: #e6ecf8;
  --on-navy-muted: #8da0c2;

  --brand: #10b981;
  --brand-600: #059669;
  --brand-700: #047857;
  --brand-50: #ecfdf5;
  --brand-100: #d1fae5;
  --gold: #f0b429;
  --gold-600: #d99a0b;
  --gold-50: #fff8e6;
  --blue: #2563eb;
  --blue-50: #eff4ff;
  --red: #dc2626;
  --red-50: #fef2f2;
  --amber: #d97706;
  --amber-50: #fffbeb;
  --violet: #7c3aed;
  --violet-50: #f5f3ff;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 4px 16px rgba(15, 23, 42, .07), 0 1px 3px rgba(15, 23, 42, .05);
  --shadow-lg: 0 18px 50px rgba(15, 23, 42, .16);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.2; letter-spacing: -.015em; color: var(--ink); }
h1 { font-size: 1.75rem; } h2 { font-size: 1.35rem; } h3 { font-size: 1.1rem; } h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
code, .mono { font-family: var(--mono); font-size: .88em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.2rem 0; }
:focus-visible { outline: 3px solid rgba(16, 185, 129, .45); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--brand-100); }

/* ------------------------------------------------------------- utilities */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.container-sm { max-width: 820px; }
.flex { display: flex; } .inline-flex { display: inline-flex; }
.items-center { align-items: center; } .items-start { align-items: flex-start; } .items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; } .justify-center { justify-content: center; } .justify-end { justify-content: flex-end; }
.wrap { flex-wrap: wrap; } .col { flex-direction: column; } .grow { flex: 1; min-width: 0; }
.gap-1 { gap: 6px; } .gap-2 { gap: 10px; } .gap-3 { gap: 16px; } .gap-4 { gap: 24px; } .gap-5 { gap: 36px; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 1fr) 360px; }
.span-2 { grid-column: span 2; } .span-all { grid-column: 1 / -1; }
.muted { color: var(--muted); } .small { font-size: .86rem; } .xs { font-size: .76rem; }
.bold { font-weight: 700; } .semibold { font-weight: 600; } .center { text-align: center; } .right { text-align: right; }
.up { text-transform: uppercase; letter-spacing: .06em; }
.nowrap { white-space: nowrap; } .break { word-break: break-all; }
.hidden { display: none !important; }
.mt-1 { margin-top: 6px; } .mt-2 { margin-top: 12px; } .mt-3 { margin-top: 20px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 52px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 6px; } .mb-2 { margin-bottom: 12px; } .mb-3 { margin-bottom: 20px; } .mb-4 { margin-bottom: 32px; }
.w-full { width: 100%; }
.text-green { color: var(--brand-600); } .text-red { color: var(--red); } .text-gold { color: var(--gold-600); }
.text-amber { color: var(--amber); } .text-blue { color: var(--blue); }

/* --------------------------------------------------------------- buttons */
.btn {
  --b: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; font: 600 .92rem/1.2 var(--font); border-radius: 10px;
  border: 1px solid var(--b); background: var(--surface); color: var(--ink);
  cursor: pointer; transition: transform .12s, box-shadow .15s, background .15s, border-color .15s;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; border-color: var(--ink-2); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.disabled { opacity: .55; pointer-events: none; }
.btn-primary { background: var(--brand-600); border-color: var(--brand-600); color: #fff; box-shadow: 0 1px 2px rgba(5, 150, 105, .35); }
.btn-primary:hover { background: var(--brand-700); border-color: var(--brand-700); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #3b2a00; }
.btn-gold:hover { background: var(--gold-600); border-color: var(--gold-600); }
.btn-dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-3); border-color: var(--navy-3); }
.btn-danger { background: var(--red); border-color: var(--red); color: #fff; }
.btn-danger:hover { background: #b91c1c; border-color: #b91c1c; }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: rgba(15, 23, 42, .06); border-color: transparent; box-shadow: none; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-sm { padding: 6px 12px; font-size: .82rem; border-radius: 8px; }
.btn-lg { padding: 14px 26px; font-size: 1rem; border-radius: 12px; }
.btn-block { display: flex; width: 100%; }

/* ----------------------------------------------------------------- forms */
.field { margin-bottom: 16px; }
.label { display: block; margin-bottom: 6px; font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.hint { margin-top: 5px; font-size: .78rem; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; padding: 10px 13px; font: 500 .94rem var(--font); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px;
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder, .textarea::placeholder { color: #9aa7bd; font-weight: 400; }
.input:hover, .select:hover, .textarea:hover { border-color: #b8c4d8; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(16, 185, 129, .16); }
.textarea { resize: vertical; min-height: 84px; }
.input-icon { position: relative; }
.input-icon > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #94a3b8; pointer-events: none; }
.input-icon > .input { padding-left: 40px; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand-600); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
input[type=file].input { padding: 8px; }
.secret-note { font-size: .76rem; color: var(--brand-700); font-weight: 600; }

/* ----------------------------------------------------------------- cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-pad { padding: 22px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.card-head h2, .card-head h3 { margin: 0; font-size: 1.02rem; }
.card-body { padding: 22px; }
.card-flush { overflow: hidden; }
.card-hover { transition: transform .18s, box-shadow .18s, border-color .18s; }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }

.stat { padding: 18px 20px; display: flex; gap: 14px; align-items: center; }
.stat-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.1rem; flex: none; }
.stat-label { font-size: .78rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.stat-value { font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.tone-green { background: var(--brand-50); color: var(--brand-600); }
.tone-gold { background: var(--gold-50); color: var(--gold-600); }
.tone-blue { background: var(--blue-50); color: var(--blue); }
.tone-violet { background: var(--violet-50); color: var(--violet); }
.tone-red { background: var(--red-50); color: var(--red); }
.tone-amber { background: var(--amber-50); color: var(--amber); }

/* ---------------------------------------------------------------- badges */
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px;
  font-size: .73rem; font-weight: 700; letter-spacing: .02em; line-height: 1.5;
  background: #eef2f7; color: var(--ink-2); white-space: nowrap;
}
.badge-green { background: var(--brand-100); color: var(--brand-700); }
.badge-amber { background: #fdf0cc; color: #8a5a00; }
.badge-red { background: #fde0e0; color: #a31d1d; }
.badge-blue { background: #dbe7ff; color: #1e46a8; }
.badge-violet { background: #e9e1ff; color: #5b21b6; }
.badge-gold { background: #fdecb9; color: #7a5200; }
.badge-gray { background: #eceff4; color: #475569; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); display: inline-block; }
.dot.live { box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }

/* ---------------------------------------------------------------- alerts */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; border-radius: 10px; border: 1px solid; margin-bottom: 18px; font-size: .92rem; }
.alert i { margin-top: 3px; }
.alert-success { background: var(--brand-50); border-color: #a7f0cf; color: #065f46; }
.alert-error { background: var(--red-50); border-color: #f7c2c2; color: #991b1b; }
.alert-info { background: var(--blue-50); border-color: #c5d6fb; color: #1e3a8a; }
.alert-warn { background: var(--amber-50); border-color: #f6dca0; color: #8a5200; }

/* ---------------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; padding: 11px 16px; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fafcff; }
.empty { text-align: center; padding: 42px 20px; color: var(--muted); }
.empty i { font-size: 2rem; color: #b5c0d3; margin-bottom: 10px; display: block; }

/* ------------------------------------------------------------ tabs/modal */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; }
.tab { padding: 11px 16px; font-weight: 600; font-size: .9rem; color: var(--muted); border: 0; background: none; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; font-family: var(--font); }
.tab:hover { color: var(--ink); }
.tab.active { color: var(--brand-700); border-bottom-color: var(--brand-600); }
.tab-panel { display: none; } .tab-panel.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(8, 14, 30, .62); backdrop-filter: blur(4px); }
.modal.open { display: flex; }
.modal-box { background: var(--surface); border-radius: var(--radius-lg); width: 100%; max-width: 480px; max-height: 92vh; overflow: auto; box-shadow: var(--shadow-lg); animation: fade .2s ease; }
.modal-box.lg { max-width: 760px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.modal-head h3 { margin: 0; }
.modal-body { padding: 22px; }
.icon-btn { width: 34px; height: 34px; border-radius: 9px; border: 0; background: transparent; cursor: pointer; color: var(--muted); font-size: 1rem; }
.icon-btn:hover { background: rgba(15, 23, 42, .07); color: var(--ink); }

/* ------------------------------------------------------------- progress */
.progress { height: 8px; background: #e8edf5; border-radius: 99px; overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand), #34d399); }
.progress.gold > span { background: linear-gradient(90deg, var(--gold-600), #fcd34d); }
.progress.violet > span { background: linear-gradient(90deg, #7c3aed, #a78bfa); }

/* ------------------------------------------------------------- app shell */
.shell { display: flex; min-height: 100vh; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: 264px; z-index: 50; display: flex; flex-direction: column;
  background: var(--navy); color: var(--on-navy); border-right: 1px solid rgba(255, 255, 255, .05);
  transition: transform .25s ease;
}
.sidebar-brand { display: flex; align-items: center; gap: 11px; padding: 22px 22px 18px; color: #fff; font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; }
.sidebar-brand:hover { text-decoration: none; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, #10b981, #047857); color: #fff; font-size: .95rem; box-shadow: 0 6px 16px rgba(16, 185, 129, .35); flex: none; }
.brand-name small { color: var(--gold); font-weight: 800; }
.nav { padding: 6px 12px 16px; overflow-y: auto; flex: 1; }
.nav-label { padding: 16px 12px 6px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #5f7197; }
.nav a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin-bottom: 2px; border-radius: 10px;
  color: var(--on-navy-muted); font-weight: 600; font-size: .91rem; transition: background .15s, color .15s;
}
.nav a i { width: 18px; text-align: center; font-size: .95rem; }
.nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; }
.nav a.active { background: rgba(16, 185, 129, .16); color: #5eead4; }
.nav a.active i { color: #34d399; }
.nav .count { margin-left: auto; background: var(--red); color: #fff; font-size: .68rem; padding: 1px 7px; border-radius: 99px; }
.nav .count.amber { background: var(--gold); color: #3b2a00; }
.sidebar-foot { padding: 14px 16px; border-top: 1px solid rgba(255, 255, 255, .07); }
.userchip { display: flex; align-items: center; gap: 11px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, #1f3a6b, #2b5aa6); color: #fff; font-weight: 800; font-size: .95rem; }
.userchip .name { font-weight: 700; font-size: .9rem; color: #fff; line-height: 1.2; }
.userchip .role { font-size: .74rem; color: var(--on-navy-muted); }

.main { flex: 1; margin-left: 264px; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px; padding: 14px 30px;
  background: rgba(244, 246, 251, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.topbar h1 { font-size: 1.28rem; margin: 0; }
.topbar .sub { color: var(--muted); font-size: .84rem; }
.menu-btn { display: none; }
.content { padding: 28px 30px 50px; flex: 1; }
.page-foot { padding: 20px 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.scrim { display: none; }

/* ------------------------------------------------------------ auth pages */
.auth {
  min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  background: var(--surface);
}
.auth-art {
  position: relative; overflow: hidden; padding: 56px; color: #fff; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(900px 500px at 10% -10%, rgba(16, 185, 129, .32), transparent 60%),
              radial-gradient(700px 500px at 100% 100%, rgba(37, 99, 235, .28), transparent 60%), var(--navy);
}
.auth-art::after { content: ""; position: absolute; inset: 0; 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: 44px 44px; mask-image: radial-gradient(circle at 30% 30%, #000, transparent 75%); pointer-events: none; }
.auth-art > * { position: relative; z-index: 1; }
.auth-art h2 { color: #fff; font-size: 2.1rem; max-width: 460px; }
.auth-art p { color: var(--on-navy-muted); max-width: 440px; }
.auth-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.auth-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-navy); }
.auth-points i { color: #34d399; margin-top: 4px; }
.auth-form-side { display: grid; place-items: center; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 410px; }
.auth-card h1 { font-size: 1.65rem; }

/* ---------------------------------------------------------- public site */
.site-nav { position: sticky; top: 0; z-index: 60; background: rgba(10, 17, 36, .92); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.site-nav .container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.site-brand { display: flex; align-items: center; gap: 11px; color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.site-brand:hover { text-decoration: none; }
.site-links { display: flex; gap: 28px; align-items: center; }
.site-links a { color: #b6c3de; font-weight: 600; font-size: .92rem; }
.site-links a:hover { color: #fff; text-decoration: none; }
.site-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; color: #fff; background: none; border: 0; font-size: 1.3rem; cursor: pointer; }

.ticker { background: var(--navy-2); color: #b6c3de; border-bottom: 1px solid rgba(255, 255, 255, .06); overflow: hidden; font-size: .82rem; }
.ticker-track { display: flex; gap: 46px; padding: 9px 0; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.ticker-item b { color: #fff; }
.ticker-item .odds { color: var(--gold); font-weight: 700; }
@keyframes marquee { to { transform: translateX(-50%); } }

.hero { position: relative; overflow: hidden; color: #fff; padding: 88px 0 96px; background: radial-gradient(1000px 520px at 15% -10%, rgba(16, 185, 129, .30), transparent 60%), radial-gradient(800px 520px at 95% 10%, rgba(37, 99, 235, .26), transparent 60%), var(--navy); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(#000 30%, transparent 95%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px; border-radius: 99px; background: rgba(16, 185, 129, .13); border: 1px solid rgba(52, 211, 153, .3); color: #6ee7b7; font-weight: 700; font-size: .8rem; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); color: #fff; font-weight: 800; letter-spacing: -.035em; margin: 18px 0 18px; line-height: 1.07; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #34d399, #fcd34d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.14rem; color: #b6c3de; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; color: #8da0c2; font-size: .85rem; }
.hero-trust i { color: #34d399; margin-right: 6px; }
.hero-panel { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg); padding: 22px; backdrop-filter: blur(10px); box-shadow: var(--shadow-lg); }
.hero-panel h3 { color: #fff; font-size: .95rem; display: flex; align-items: center; justify-content: space-between; }
.tip-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .09); }
.tip-row .teams { font-weight: 700; color: #fff; }
.tip-row .pick { font-size: .82rem; color: #8da0c2; }
.odds-pill { background: rgba(240, 180, 41, .14); color: var(--gold); font-weight: 800; padding: 6px 12px; border-radius: 9px; border: 1px solid rgba(240, 180, 41, .3); }

.statbar { margin-top: -52px; position: relative; z-index: 2; }
.statbar .card { display: grid; grid-template-columns: repeat(4, 1fr); box-shadow: var(--shadow); }
.statbar .cell { padding: 24px 26px; border-right: 1px solid var(--line); }
.statbar .cell:last-child { border-right: 0; }
.statbar .num { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; }
.statbar .cap { color: var(--muted); font-size: .84rem; font-weight: 600; }

.section { padding: 84px 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section.dark { background: var(--navy); color: var(--on-navy); }
.section-head { max-width: 640px; margin: 0 auto 46px; text-align: center; }
.section-head .kicker { color: var(--brand-600); font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; }
.section-head p { color: var(--muted); font-size: 1.04rem; }
.section.dark .section-head h2 { color: #fff; } .section.dark .section-head p { color: var(--on-navy-muted); }

.feature { padding: 26px; }
.feature .ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-size: 1.2rem; margin-bottom: 16px; }
.feature h3 { font-size: 1.05rem; } .feature p { color: var(--muted); margin: 0; font-size: .93rem; }

.perf-card { padding: 26px; }
.perf-card .big { font-size: 2.8rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }

.tip-card { padding: 20px; }
.tip-card .teams { font-weight: 800; font-size: 1.04rem; }
.tip-card .pick { color: var(--brand-700); font-weight: 600; font-size: .9rem; margin-top: 3px; }
.odds-box { display: inline-flex; flex-direction: column; align-items: center; background: var(--gold-50); border: 1px solid #f6dfa0; border-radius: 10px; padding: 6px 14px; }
.odds-box small { font-size: .65rem; color: #8a6a10; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.odds-box b { font-size: 1.2rem; color: #7a5200; line-height: 1.1; }

.plan { padding: 28px 24px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--brand); box-shadow: 0 18px 44px rgba(16, 185, 129, .18); transform: translateY(-8px); }
.plan .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand-600); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 14px; border-radius: 99px; }
.plan .price { font-size: 2.5rem; font-weight: 800; letter-spacing: -.04em; margin: 8px 0 2px; }
.plan .price small { font-size: .95rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 11px; flex: 1; font-size: .92rem; }
.plan li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.plan li i { color: var(--brand-600); margin-top: 4px; font-size: .8rem; }
.plan li.off { color: #a4b0c4; } .plan li.off i { color: #c3ccdb; }
.plan .tier-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.1rem; margin-bottom: 8px; }

.shot img { width: 100%; height: 200px; object-fit: cover; background: #e8edf5; }
.review { padding: 24px; } .review p { color: var(--ink-2); font-size: .96rem; }
.stars { color: var(--gold); letter-spacing: 2px; }

details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
details.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; list-style: none; gap: 16px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .75rem; color: var(--brand-600); transition: transform .2s; }
details.faq[open] summary::after { transform: rotate(180deg); }
details.faq[open] { border-color: var(--brand); }
details.faq .answer { padding: 0 22px 20px; color: var(--muted); }

.cta-band { background: radial-gradient(700px 300px at 80% 0, rgba(16, 185, 129, .3), transparent 60%), var(--navy); color: #fff; border-radius: 24px; padding: 56px 40px; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.cta-band p { color: #b6c3de; }

.site-foot { background: var(--navy); color: var(--on-navy-muted); padding: 60px 0 28px; font-size: .9rem; }
.site-foot h4 { color: #fff; font-size: .9rem; margin-bottom: 14px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-foot a { color: var(--on-navy-muted); } .site-foot a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 22px; font-size: .8rem; text-align: center; }
.social a { width: 38px; height: 38px; border-radius: 10px; display: inline-grid; place-items: center; background: rgba(255, 255, 255, .07); margin-right: 8px; font-size: 1.05rem; }
.social a:hover { background: var(--brand-600); text-decoration: none; }

/* ----------------------------------------------------- member dashboard */
.plan-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 28px; border-radius: var(--radius-lg); color: #fff; background: radial-gradient(500px 200px at 100% 0, rgba(240, 180, 41, .28), transparent 60%), linear-gradient(135deg, #0f1a33, #16315f); }
.plan-banner h3 { color: #fff; margin: 0 0 4px; font-size: 1.2rem; } .plan-banner p { margin: 0; color: #b6c3de; font-size: .92rem; }
.tip-item { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.chat { display: flex; flex-direction: column; height: 100%; }
.chat-log { height: 270px; overflow-y: auto; padding: 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; gap: 8px; }
.bubble { max-width: 78%; padding: 9px 13px; border-radius: 14px; font-size: .9rem; background: #e8edf5; align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.me { align-self: flex-end; background: var(--brand-600); color: #fff; border-radius: 14px; border-bottom-right-radius: 4px; }
.bubble time { display: block; font-size: .68rem; opacity: .7; margin-top: 2px; }
.banner-ad { display: block; border-radius: 12px; padding: 14px 18px; color: #fff; }
.banner-ad:hover { text-decoration: none; filter: brightness(1.06); }

/* ------------------------------------------------------------- checkout */
.steps { display: flex; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 9px; color: var(--muted); font-weight: 600; font-size: .88rem; }
.step .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #e3e9f3; color: var(--ink-2); font-size: .78rem; font-weight: 800; }
.step.on { color: var(--ink); } .step.on .n { background: var(--brand-600); color: #fff; }
.step + .step::before { content: ""; width: 28px; height: 2px; background: var(--line-strong); margin-right: 8px; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.pick { position: relative; display: block; cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick-box { display: block; padding: 18px; background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s, background .15s; height: 100%; }
.pick:hover .pick-box { border-color: var(--line-strong); }
.pick input:checked + .pick-box { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 4px rgba(16, 185, 129, .13); }
.pick input:focus-visible + .pick-box { outline: 3px solid rgba(16, 185, 129, .5); outline-offset: 2px; }
.pick-box .price { font-size: 1.55rem; font-weight: 800; letter-spacing: -.03em; }
.method-ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-size: 1.1rem; background: #eef2f8; color: var(--ink-2); margin-bottom: 10px; }
.pick input:checked + .pick-box .method-ico { background: var(--brand-600); color: #fff; }
.summary-row { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line-strong); font-size: .92rem; }
.summary-row:last-child { border-bottom: 0; }
.pay-box { text-align: center; padding: 34px 24px; }
.pay-status-ico { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; font-size: 1.8rem; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 4px solid #d6efe5; border-top-color: var(--brand-600); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.copy-row { display: flex; gap: 8px; align-items: stretch; }
.copy-row code { flex: 1; min-width: 0; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; word-break: break-all; text-align: left; font-size: .85rem; }
.qr { display: inline-block; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.countdown { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 1.1rem; }

/* ---------------------------------------------------------- admin extras */
.callout-url { display: flex; align-items: center; gap: 8px; background: var(--surface-2); border: 1px dashed var(--line-strong); border-radius: 10px; padding: 9px 12px; }
.callout-url code { flex: 1; min-width: 0; word-break: break-all; }
.gw-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.switch { position: relative; width: 46px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; background: #cbd5e3; border-radius: 99px; transition: .2s; cursor: pointer; }
.switch span::before { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.switch input:checked + span { background: var(--brand-600); }
.switch input:checked + span::before { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 3px solid rgba(16, 185, 129, .5); outline-offset: 2px; }
.test-result { font-size: .86rem; font-weight: 600; }
.sub-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; background: var(--surface); }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 6px 14px; font-size: .88rem; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; word-break: break-word; }
.preview-box { background: linear-gradient(135deg, #1a2547, #16213e); border-radius: 12px; padding: 15px; }

/* ----------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g-main { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { max-width: 520px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: none; box-shadow: var(--shadow-lg); }
  .scrim.open { display: block; position: fixed; inset: 0; background: rgba(8, 14, 30, .55); z-index: 40; }
  .main { margin-left: 0; }
  .menu-btn { display: inline-grid; }
  .topbar, .content, .page-foot { padding-left: 18px; padding-right: 18px; }
  .auth { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-links, .site-cta .hide-m { display: none; }
  .nav-toggle { display: inline-block; }
  .site-links.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 4px; background: var(--navy); padding: 14px 22px 22px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .site-links.open a { padding: 10px 0; width: 100%; }
  .plan.featured { transform: none; }
  .statbar .card { grid-template-columns: repeat(2, 1fr); }
  .statbar .cell:nth-child(2) { border-right: 0; }
  .statbar .cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding: 60px 0; }
}
@media (max-width: 620px) {
  .g2, .g3, .g4, .g5 { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .hero { padding: 56px 0 80px; }
  .kv { grid-template-columns: 1fr; gap: 0; } .kv dd { margin-bottom: 8px; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 22px; }
  .content { padding-top: 20px; }
  .table th, .table td { padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print { .sidebar, .topbar, .scrim, .menu-btn { display: none !important; } .main { margin: 0; } }

/* ---- payment methods strip (home) */
.paystrip { padding: 28px 0 6px; }
.paystrip .card { padding: 18px 22px; }
.paystrip-head { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.paystrip-head i { color: var(--green, #059669); }
.paystrip-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.paylogo { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 132px; text-align: center; }
.paylogo .box { width: 100%; height: 64px; display: flex; align-items: center; justify-content: center; padding: 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: transform .15s, box-shadow .15s; }
.paylogo:hover .box { transform: translateY(-2px); box-shadow: var(--shadow); }
.paylogo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.paylogo .nm { font-size: .78rem; font-weight: 700; line-height: 1.2; }
.paylogo .cp { font-size: .7rem; color: var(--muted); line-height: 1.2; margin-top: -3px; }
.paychip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .88rem; background: #fff; }
.paychip i { color: var(--green, #059669); }
@media (max-width: 560px) { .paylogo { width: calc(50% - 8px); } }
