/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #111827;
  --bg-dark: #0b0f1a;
  --surface: #1a2035;
  --surface-2: #1e2642;
  --surface-3: #232d47;
  --card: #161e30;
  --border: #2a3454;
  --border-light: #334066;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-glow: rgba(59,130,246,.25);
  --green: #22c55e;
  --red: #ef4444;
  --yellow: #eab308;
  --orange: #f97316;
  --purple: #8b5cf6;
  --cyan: #06b6d4;
  --text: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 14px;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-dark);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
input, select { font-family: inherit; }
img { max-width: 100%; }
ul { list-style: none; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ===== SPLASH ===== */
.splash-screen {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg-dark);
  display: flex; flex-direction: column; overflow: hidden;
  transition: opacity 0.5s ease;
}
.splash-screen.hidden { opacity: 0; pointer-events: none; }
.sb-center { flex: 1; display: grid; place-items: center; }
.sb-center-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.sb-logo { animation: fadeInUp 0.6s ease both; }
.sb-logo-icon {
  width: 72px; height: 72px; border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), #60a5fa);
  display: grid; place-items: center; font-size: 36px; font-weight: 900;
  color: #fff; box-shadow: 0 8px 32px rgba(59,130,246,.4);
}
.sb-brand { font-size: 36px; font-weight: 900; letter-spacing: -0.5px; color: #fff; }
.sb-brand span { color: var(--accent); }
.sb-tagline {
  color: var(--text-secondary); font-size: 14px; letter-spacing: 1px;
  text-transform: uppercase; font-weight: 500;
  animation: fadeInUp 0.6s ease 0.15s both;
}
.sb-foot-bar {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; padding: 0 24px 40px;
  animation: fadeInUp 0.6s ease 0.25s both;
}
.sb-track { position: relative; width: min(200px, 50vw); height: 3px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.08); }
.sb-bar { position: absolute; top: 0; bottom: 0; left: 0; width: 40%; border-radius: 999px; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: sbSweep 1.2s ease infinite; }
.sb-legal { color: var(--text-muted); font-size: 11px; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sbSweep { from { transform: translateX(-150%); } to { transform: translateX(400%); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ===== HEADER ===== */
.header { position: sticky; top: 0; z-index: 40; width: 100%; background: var(--bg); border-bottom: 1px solid var(--border); backdrop-filter: blur(12px); }
.header-inner { max-width: 1400px; margin: 0 auto; width: 100%; display: flex; align-items: center; height: 56px; padding: 0 16px; gap: 12px; }
.header-logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; white-space: nowrap; flex-shrink: 0; text-decoration: none; }
.header-logo-svg { width: 34px; height: 34px; flex-shrink: 0; filter: drop-shadow(0 2px 8px rgba(37,99,235,.4)); transition: transform 0.2s; }
.header-logo:hover .header-logo-svg { transform: scale(1.08); }
.header-logo-text { font-size: 20px; font-weight: 900; color: #ffffff !important; letter-spacing: -0.3px; }
.header-logo-accent { color: #3b82f6 !important; }
.header-spacer { flex: 1; }
.sport-tabs { display: flex; align-items: center; gap: 4px; overflow-x: auto; }
.sport-tabs::-webkit-scrollbar { display: none; }
.sport-tab { display: flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; transition: all 0.2s; color: var(--text-secondary); }
.sport-tab:hover { color: #fff; background: rgba(255,255,255,.06); }
.sport-tab.active { background: var(--accent); color: #fff; box-shadow: 0 2px 8px var(--accent-glow); }
.sport-tab svg { width: 16px; height: 16px; }
.header-balance { display: flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--border); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; color: var(--green); cursor: pointer; transition: all 0.2s; }
.header-balance:hover { border-color: var(--accent); }
.header-balance svg { width: 14px; height: 14px; }
.header-balance-wrap { position: relative; }
.balance-dropdown { position: absolute; top: calc(100% + 6px); right: 0; z-index: 60; min-width: 160px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,.3); display: none; overflow: hidden; }
.balance-dropdown.open { display: block; animation: notifSlideIn 0.15s ease; }
.balance-dropdown-item { display: flex; align-items: center; gap: 8px; padding: 10px 16px; font-size: 13px; font-weight: 600; color: var(--text); text-decoration: none; transition: background 0.15s; }
.balance-dropdown-item:hover { background: rgba(255,255,255,.05); }
.balance-dropdown-item.deposit:hover { background: rgba(34,197,94,.08); color: var(--green); }
.balance-dropdown-item.withdraw:hover { background: rgba(249,115,22,.08); color: var(--orange); }
.header-bets-btn { display: flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 700; white-space: nowrap; color: var(--text); transition: all 0.2s; }
.header-bets-btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(59,130,246,.08); }
.header-bets-btn svg { width: 16px; height: 16px; }
.header-icon-btn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--text-secondary); transition: all 0.2s; position: relative; }
.header-icon-btn:hover { background: rgba(255,255,255,.06); color: #fff; }
.header-icon-btn svg { width: 18px; height: 18px; }
.header-icon-btn .notif-dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); border: 2px solid var(--bg); }
.header-user { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 600; white-space: nowrap; transition: all 0.2s; cursor: pointer; }
.header-user:hover { border-color: var(--accent); }
.header-user-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; }

/* ===== LAYOUT ===== */
.page-layout { display: flex; max-width: 1400px; margin: 0 auto; min-height: calc(100vh - 56px); position: relative; z-index: 10; }
.sidebar-left { display: none; flex-direction: column; width: 260px; flex-shrink: 0; border-right: 1px solid var(--border); position: sticky; top: 56px; height: calc(100vh - 56px); overflow-y: auto; background: var(--bg); padding: 16px 0; }
@media (min-width: 1024px) { .sidebar-left { display: flex; } }
.sidebar-section { margin-bottom: 20px; }
.sidebar-section-header { display: flex; align-items: center; justify-content: space-between; padding: 0 16px; margin-bottom: 8px; }
.sidebar-section-title { font-size: 13px; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; }
.sidebar-section-count { font-size: 11px; font-weight: 700; color: var(--text-muted); background: var(--surface); padding: 2px 8px; border-radius: 999px; }
.sidebar-item { display: flex; align-items: center; gap: 10px; padding: 8px 16px; font-size: 13px; font-weight: 500; color: var(--text-secondary); transition: all 0.15s; cursor: pointer; }
.sidebar-item:hover { background: rgba(255,255,255,.04); color: var(--text); }
.sidebar-item-flag { font-size: 16px; flex-shrink: 0; }
.sidebar-item-name { flex: 1; }
.sidebar-item-count { font-size: 11px; color: var(--text-muted); font-weight: 600; }
.main-content { flex: 1; min-width: 0; padding: 16px; }
.main-content-wide { flex: 1; min-width: 0; padding: 16px; }
@media (min-width: 1024px) { .main-content { max-width: 820px; } .main-content-wide { max-width: none; } }

/* ===== RIGHT SIDEBAR ===== */
.sidebar-right { display: none; flex-direction: column; width: 320px; flex-shrink: 0; border-left: 1px solid var(--border); position: sticky; top: 56px; height: calc(100vh - 56px); background: var(--bg); padding: 16px; }
@media (min-width: 1280px) { .sidebar-right { display: flex; } }
.sidebar-right-scroll { flex: 1; overflow-y: auto; min-height: 0; }

/* ===== FEATURED MATCH ===== */
.featured-card { background: linear-gradient(135deg, #1e3a5f 0%, #162033 100%); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 20px; position: relative; overflow: hidden; }
.featured-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(59,130,246,.15), transparent); }
.featured-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(59,130,246,.2); border: 1px solid rgba(59,130,246,.3); padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; color: var(--accent); margin-bottom: 12px; position: relative; }
.featured-teams { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; position: relative; }
.featured-team { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; }
.featured-team-logo { width: 56px; height: 56px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 20px; font-weight: 900; border: 2px solid var(--border); }
.featured-team-name { font-size: 13px; font-weight: 700; text-align: center; }
.featured-vs { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.featured-vs-score { font-size: 22px; font-weight: 900; color: #fff; display: flex; align-items: center; gap: 8px; }
.featured-vs-score .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse 1.5s infinite; }
.featured-info { display: flex; align-items: center; justify-content: space-between; position: relative; }
.featured-league { font-size: 12px; font-weight: 600; color: var(--text-secondary); }
.featured-time { font-size: 12px; color: var(--text-muted); }
.featured-btn { padding: 8px 20px; border-radius: var(--radius-sm); background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; transition: all 0.2s; }
.featured-btn:hover { background: var(--accent-hover); box-shadow: 0 4px 16px var(--accent-glow); }

/* ===== SECTION / TABS ===== */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.section-title { font-size: 18px; font-weight: 800; letter-spacing: -0.3px; }
.section-title-icon { margin-right: 6px; vertical-align: middle; display: inline-flex; }
.section-subtitle { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.tab-bar { display: flex; gap: 4px; margin-bottom: 16px; background: var(--surface); border-radius: var(--radius); padding: 4px; }
.tab-btn { flex: 1; padding: 8px 12px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; text-align: center; color: var(--text-secondary); transition: all 0.2s; }
.tab-btn:hover { color: #fff; }
.tab-btn.active { background: var(--accent); color: #fff; box-shadow: 0 2px 8px var(--accent-glow); }

/* ===== LEAGUE GROUP / ODDS ===== */
.league-group { margin-bottom: 20px; }
.league-group-header { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--surface); border-radius: var(--radius-sm) var(--radius-sm) 0 0; border: 1px solid var(--border); border-bottom: none; }
.league-flag { font-size: 18px; }
.league-name { font-size: 13px; font-weight: 700; flex: 1; }
.league-count { font-size: 11px; font-weight: 700; color: var(--accent); background: rgba(59,130,246,.12); padding: 2px 8px; border-radius: 999px; }
.odds-header { display: grid; grid-template-columns: 1fr 60px 60px 60px; padding: 6px 12px; font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; background: var(--surface); border: 1px solid var(--border); border-bottom: none; }
@media (min-width: 768px) { .odds-header { grid-template-columns: 1fr 72px 72px 72px; } }
.odds-header span:not(:first-child) { text-align: center; }
.match-row { border: 1px solid var(--border); border-top: none; background: var(--card); transition: background 0.15s; }
.match-row:last-child { border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.match-row:hover { background: var(--surface); }
.match-row-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 10px 12px; gap: 12px; }
.match-fav { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; color: var(--text-muted); font-size: 14px; transition: color 0.2s; }
.match-fav:hover { color: var(--yellow); }
.match-fav.active { color: var(--yellow); }
.match-info { min-width: 0; }
.match-teams-row { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.match-team-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.match-score-inline { font-weight: 800; color: var(--accent); padding: 0 4px; white-space: nowrap; }
.match-live-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; color: var(--red); white-space: nowrap; }
.match-live-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: pulse 1.5s infinite; }
.match-meta { font-size: 10px; color: var(--text-muted); margin-top: 2px; }
.match-odds { display: flex; gap: 4px; }
.odds-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 6px 4px; border-radius: var(--radius-sm); min-width: 56px; font-size: 13px; font-weight: 700; background: var(--surface-2); border: 1px solid var(--border); transition: all 0.15s; cursor: pointer; }
.odds-btn:hover { border-color: var(--accent); background: rgba(59,130,246,.1); }
.odds-btn.selected { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 2px 8px var(--accent-glow); }
.odds-btn-label { font-size: 9px; font-weight: 600; color: var(--text-muted); margin-bottom: 1px; }
.odds-btn.selected .odds-btn-label { color: rgba(255,255,255,.7); }

/* ===== LIVE MATCH CARDS (Right Sidebar) ===== */
.live-match-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; margin-bottom: 8px; transition: border-color 0.2s; }
.live-match-card:hover { border-color: var(--accent); }
.live-match-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.live-match-league { font-size: 11px; color: var(--text-muted); font-weight: 600; }
.live-match-badge { font-size: 9px; font-weight: 700; color: var(--red); display: flex; align-items: center; gap: 4px; }
.live-match-badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--red); animation: pulse 1.5s infinite; }
.live-match-teams { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.live-match-team { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.live-match-team-logo { width: 24px; height: 24px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; font-size: 9px; font-weight: 800; }
.live-match-score { font-size: 16px; font-weight: 900; color: #fff; }
.live-match-odds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.live-match-odds .odds-btn { min-width: 0; padding: 5px 4px; font-size: 12px; }

/* ===== BETSLIP ===== */
.betslip-section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; flex-shrink: 0; margin-top: 16px; }
.betslip-header-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.betslip-title { font-size: 15px; font-weight: 800; }
.betslip-count-badge { background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; min-width: 24px; text-align: center; }
.betslip-clear-btn { width: 24px; height: 24px; border-radius: 50%; font-size: 12px; color: var(--text-muted); display: grid; place-items: center; transition: all 0.15s; }
.betslip-clear-btn:hover { background: rgba(239,68,68,.15); color: var(--red); }
.betslip-tabs { display: flex; border-bottom: 1px solid var(--border); }
.betslip-tab { flex: 1; padding: 10px 0; font-size: 13px; font-weight: 700; text-align: center; color: var(--text-muted); position: relative; transition: color 0.2s; }
.betslip-tab.active { color: var(--text); }
.betslip-tab.active::after { content: ''; position: absolute; bottom: -1px; left: 20%; right: 20%; height: 3px; background: var(--accent); border-radius: 999px 999px 0 0; }
.betslip-tab.system-link { text-decoration: none; display: flex; align-items: center; justify-content: center; }
.betslip-tab.system-link:hover { color: var(--accent); }
.betslip-total-row.bonus-row { display: flex; justify-content: space-between; align-items: center; }
.betslip-total-row.bonus-row .bonus-label { font-size: 12px; color: #f59e0b; font-weight: 700; }
.betslip-total-row.bonus-row .bonus-val { font-size: 13px; color: #00e700; font-weight: 800; }
.desktop-load-bar { margin-top: 8px; }
.mybets-cashout-btn .cashout-value { font-weight: 800; margin-left: 4px; }
.betslip-items-scroll { max-height: 220px; overflow-y: auto; }
.betslip-item { padding: 10px 14px; border-bottom: 1px solid var(--border); transition: background 0.15s; }
.betslip-item:last-child { border-bottom: none; }
.betslip-item:hover { background: rgba(255,255,255,.02); }
.betslip-item-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.betslip-item-match { font-size: 12px; font-weight: 700; line-height: 1.3; }
.betslip-item-market { font-size: 11px; color: var(--text-muted); margin-top: 2px; display: flex; align-items: center; gap: 4px; }
.betslip-item-option-tag { background: var(--accent); color: #fff; font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 3px; }
.betslip-item-odd { font-size: 15px; font-weight: 900; color: var(--accent); background: rgba(59,130,246,.1); padding: 4px 10px; border-radius: var(--radius-sm); flex-shrink: 0; white-space: nowrap; }
.betslip-item-remove { display: flex; align-items: center; gap: 2px; font-size: 10px; color: var(--text-muted); cursor: pointer; margin-top: 4px; transition: color 0.15s; }
.betslip-item-remove:hover { color: var(--red); }
.betslip-item-stake-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border); }
.betslip-item-stake { flex: 1; background: var(--bg-dark); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 6px 10px; font-size: 13px; font-weight: 600; color: var(--text); outline: none; transition: border-color 0.15s; }
.betslip-item-stake:focus { border-color: var(--accent); }
.betslip-item-stake::placeholder { color: var(--text-muted); font-weight: 400; }
.betslip-item-potential { font-size: 12px; font-weight: 700; color: var(--green); white-space: nowrap; }
.betslip-item.duplicate-match { opacity: 0.5; }
.betslip-same-match-warning { padding: 8px 12px; margin-bottom: 8px; background: rgba(234,179,8,.1); border: 1px solid rgba(234,179,8,.3); border-radius: var(--radius-sm); font-size: 11px; font-weight: 600; color: #eab308; }
.betslip-empty { padding: 32px 16px; text-align: center; color: rgba(255,255,255,.5); font-size: 12px; line-height: 1.6; }
.betslip-empty-icon { font-size: 28px; margin-bottom: 8px; color: #fff; }
.betslip-stake-section { padding: 12px 14px; }
.betslip-quick-stakes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-bottom: 8px; }
.quick-stake-btn { padding: 6px 0; border-radius: var(--radius-sm); font-size: 12px; font-weight: 700; background: var(--bg); border: 1px solid var(--border); color: var(--text-secondary); transition: all 0.15s; text-align: center; }
.quick-stake-btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(59,130,246,.08); }
.betslip-stake-row { display: flex; align-items: center; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 6px; }
.betslip-stake-input { flex: 1; padding: 10px 8px; background: transparent; border: none; color: var(--text); font-size: 16px; font-weight: 800; outline: none; text-align: center; }
.betslip-stake-input::placeholder { color: var(--text-muted); font-weight: 500; }
.betslip-stake-btn { width: 40px; height: 40px; display: grid; place-items: center; font-size: 18px; font-weight: 700; color: var(--text-secondary); transition: all 0.15s; flex-shrink: 0; }
.betslip-stake-btn:hover { background: rgba(255,255,255,.06); color: #fff; }
.betslip-stake-btn.minus { border-right: 1px solid var(--border); }
.betslip-stake-btn.plus { border-left: 1px solid var(--border); }
.max-bet-btn { width: 100%; padding: 6px; border-radius: var(--radius-sm); font-size: 11px; font-weight: 800; letter-spacing: 0.5px; background: var(--surface-3); color: var(--text-secondary); margin-bottom: 10px; transition: all 0.15s; }
.max-bet-btn:hover { background: var(--accent); color: #fff; }
.betslip-totals { background: var(--bg); border-radius: var(--radius); padding: 10px 12px; margin-bottom: 10px; border: 1px solid var(--border); }
.betslip-total-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 2px 0; }
.betslip-total-row span:first-child { color: var(--text-muted); }
.betslip-odds-value { font-weight: 800; }
.betslip-total-row.highlight { margin-top: 4px; padding-top: 6px; border-top: 1px solid var(--border); }
.betslip-win-value { font-size: 16px; font-weight: 900; color: var(--green); }
.betslip-place-btn { width: 100%; padding: 14px; border-radius: var(--radius); font-size: 15px; font-weight: 900; letter-spacing: 0.3px; background: linear-gradient(135deg, var(--green), #16a34a); color: #fff; transition: all 0.2s; box-shadow: 0 4px 16px rgba(34,197,94,.3); }
.betslip-place-btn:hover { box-shadow: 0 6px 24px rgba(34,197,94,.45); transform: translateY(-1px); }
.betslip-place-btn:active { transform: scale(0.98); }
.betslip-place-btn:disabled { background: var(--surface-3); color: var(--text-muted); box-shadow: none; cursor: not-allowed; transform: none; }
.betslip-balance-line { text-align: center; font-size: 11px; color: var(--text-muted); margin-top: 8px; font-weight: 500; }

/* ===== BET CONFIRM MODAL ===== */
.bet-confirm-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 60; display: none; place-items: center; }
.bet-confirm-overlay.open { display: grid; }
.bet-confirm-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; width: 90%; max-width: 380px; animation: fadeInUp 0.3s ease; }
.bet-confirm-title { font-size: 18px; font-weight: 900; text-align: center; margin-bottom: 16px; }
.bet-confirm-match { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; margin-bottom: 8px; }
.bet-confirm-teams { font-size: 13px; font-weight: 700; text-align: center; }
.bet-confirm-details { display: flex; justify-content: space-between; font-size: 12px; margin-top: 8px; color: var(--text-secondary); }
.bet-confirm-odd { font-weight: 800; color: var(--accent); }
.bet-confirm-stake { font-weight: 800; }
.bet-confirm-potential { font-weight: 900; color: var(--green); font-size: 14px; }
.bet-confirm-actions { display: flex; gap: 8px; margin-top: 16px; }
.bet-confirm-cancel { flex: 1; padding: 12px; border-radius: var(--radius); font-size: 14px; font-weight: 700; background: var(--surface-3); color: var(--text-secondary); transition: background 0.15s; }
.bet-confirm-cancel:hover { background: var(--border); }
.bet-confirm-ok { flex: 1; padding: 12px; border-radius: var(--radius); font-size: 14px; font-weight: 800; background: linear-gradient(135deg, var(--green), #16a34a); color: #fff; transition: all 0.2s; }
.bet-confirm-ok:hover { box-shadow: 0 4px 16px rgba(34,197,94,.35); }

/* ===== TOAST ===== */
.toast { position: fixed; top: 72px; right: 16px; z-index: 70; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; min-width: 280px; box-shadow: 0 8px 32px rgba(0,0,0,.3); animation: slideInRight 0.3s ease; transition: opacity 0.3s, transform 0.3s; }
.toast.hidden { opacity: 0; transform: translateX(20px); pointer-events: none; }
.toast-icon { font-size: 18px; flex-shrink: 0; }
.toast.success { border-color: var(--green); }
.toast.error { border-color: var(--red); }
.toast.warning { border-color: var(--yellow); }
@keyframes slideInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

/* ===== AUTH ===== */
.auth-page { min-height: calc(100vh - 56px); display: flex; align-items: center; justify-content: center; padding: 24px; }
.auth-card { width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.auth-logo { text-align: center; margin-bottom: 24px; }
.auth-logo-icon { width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 12px; background: linear-gradient(135deg, var(--accent), #60a5fa); display: grid; place-items: center; font-size: 24px; font-weight: 900; color: #fff; }
.auth-title { font-size: 24px; font-weight: 900; text-align: center; margin-bottom: 4px; }
.auth-subtitle { font-size: 13px; text-align: center; color: var(--text-secondary); margin-bottom: 24px; }
.auth-field { margin-bottom: 16px; }
.auth-field label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 6px; color: var(--text-secondary); }
.auth-field input { width: 100%; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg); color: var(--text); font-size: 14px; outline: none; transition: border-color 0.2s; }
.auth-field input:focus { border-color: var(--accent); }
.auth-field.password-wrap { position: relative; }
.pw-toggle-wrap { position: relative; display: block; }
.pw-toggle-wrap input { width: 100%; padding: 10px 44px 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg); color: var(--text); font-size: 14px; outline: none; transition: border-color 0.2s; }
.pw-toggle-wrap input:focus { border-color: var(--accent); }
.pw-toggle { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; color: var(--text-muted); border-radius: var(--radius-sm); transition: color 0.15s; background: none; border: none; padding: 0; }
.pw-toggle:hover { color: var(--text); }
.auth-submit { width: 100%; padding: 12px; border-radius: var(--radius); font-size: 14px; font-weight: 800; margin-top: 8px; background: linear-gradient(135deg, var(--accent), #60a5fa); color: #fff; transition: all 0.2s; box-shadow: 0 4px 16px var(--accent-glow); }
.auth-submit:hover { box-shadow: 0 6px 24px rgba(59,130,246,.4); }
.auth-submit:active { transform: scale(0.98); }
.auth-switch { text-align: center; margin-top: 16px; font-size: 13px; color: var(--text-secondary); }
.auth-switch a { color: var(--accent); font-weight: 700; }
.auth-error { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.25); color: #f87171; font-size: 12px; font-weight: 600; padding: 10px; border-radius: var(--radius-sm); margin-bottom: 16px; }

/* ===== ACCOUNT / BETS / CASINO / SPORTS ===== */
.account-page { padding: 24px 16px; max-width: 600px; margin: 0 auto; }
.account-avatar { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #60a5fa); display: grid; place-items: center; font-size: 28px; font-weight: 900; color: #fff; margin: 0 auto 16px; }
.account-name { text-align: left; font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.account-email { text-align: left; font-size: 13px; color: var(--text-secondary); margin-bottom: 4px; }
.account-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.account-stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; text-align: center; }
.account-stat-value { font-size: 18px; font-weight: 800; color: var(--accent); }
.account-stat-label { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.account-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 24px; }
.account-action-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 8px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--text); font-size: 13px; font-weight: 700; transition: all 0.2s; }
.account-action-btn:hover { border-color: var(--accent); transform: translateY(-2px); }
.account-action-btn.deposit { border-color: rgba(34,197,94,.3); }
.account-action-btn.deposit:hover { background: rgba(34,197,94,.08); border-color: var(--green); }
.account-action-btn.withdraw { border-color: rgba(249,115,22,.3); }
.account-action-btn.withdraw:hover { background: rgba(249,115,22,.08); border-color: var(--orange); }
.account-action-btn.transactions { border-color: rgba(59,130,246,.3); }
.account-action-btn.transactions:hover { background: rgba(59,130,246,.08); border-color: var(--accent); }
.account-action-icon { font-size: 24px; }
.bets-page { padding: 16px; max-width: 800px; margin: 0 auto; }
.bet-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
.bet-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.bet-card-teams { font-size: 14px; font-weight: 700; }
.bet-card-status { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.bet-card-status.pending { background: rgba(234,179,8,.15); color: var(--yellow); }
.bet-card-status.won { background: rgba(34,197,94,.15); color: var(--green); }
.bet-card-status.lost { background: rgba(239,68,68,.15); color: var(--red); }
.bet-card-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font-size: 12px; }
.bet-card-detail-label { color: var(--text-muted); }
.bet-card-detail-value { font-weight: 700; }
.casino-page { padding: 16px; max-width: 1000px; margin: 0 auto; }
.casino-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.sports-page { padding: 16px; max-width: 600px; margin: 0 auto; }
.sport-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 8px; transition: all 0.2s; }
.sport-card:hover { transform: translateX(4px); border-color: var(--accent); }
.sport-card-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; }
.sport-card-name { font-size: 15px; font-weight: 700; }
.sport-card-count { font-size: 12px; color: var(--text-muted); }

/* ===== MOBILE NAV ===== */
.mobile-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: rgba(17,24,39,.92); backdrop-filter: blur(20px) saturate(1.5); border-top: 1px solid var(--border); }
@media (min-width: 1024px) { .mobile-nav { display: none; } }
.mobile-nav ul { display: grid; grid-template-columns: repeat(5, 1fr); }
.mobile-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 8px 0; font-size: 10px; font-weight: 500; color: var(--text-muted); transition: color 0.2s; position: relative; }
.mobile-nav a.active { color: var(--accent); font-weight: 700; }
.mobile-nav a .nav-indicator { position: absolute; top: 0; left: 50%; transform: translateX(-50%) scaleX(0); width: 20px; height: 3px; border-radius: 999px; background: var(--accent); transition: transform 0.25s cubic-bezier(.34,1.4,.4,1); }
.mobile-nav a.active .nav-indicator { transform: translateX(-50%) scaleX(1); }
.nav-icon-wrap { position: relative; display: grid; place-items: center; width: 40px; height: 28px; border-radius: 14px; transition: all 0.2s; }
.mobile-nav a.active .nav-icon-wrap { background: rgba(59,130,246,.15); }
.nav-icon-wrap svg { width: 20px; height: 20px; }

/* ===== BETSLIP FAB / PANEL (Mobile) ===== */
.betslip-fab { position: fixed; right: 12px; z-index: 45; bottom: 76px; display: flex; flex-direction: column; align-items: center; gap: 2px; transition: transform 0.15s; }
.betslip-fab:active { transform: scale(0.95); }
@media (min-width: 1280px) { .betslip-fab { display: none; } }
.betslip-fab-count { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font-weight: 900; font-size: 18px; background: linear-gradient(135deg, var(--accent), #60a5fa); color: #fff; box-shadow: 0 4px 16px var(--accent-glow); }
.betslip-fab-label { font-size: 8px; font-weight: 900; letter-spacing: 1.5px; padding: 2px 6px; border-radius: 999px; background: var(--surface-2); color: var(--text-secondary); border: 1px solid var(--border); }
.betslip-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 50; display: none; }
.betslip-overlay.open { display: block; }
.betslip-panel { position: fixed; bottom: 0; left: 0; right: 0; z-index: 51; background: var(--surface); border-top: 1px solid var(--border); border-radius: 16px 16px 0 0; max-height: 70vh; overflow-y: auto; transform: translateY(100%); transition: transform 0.3s cubic-bezier(.34,1.4,.4,1); }
.betslip-panel.open { transform: translateY(0); }
@media (min-width: 768px) { .betslip-panel { max-width: 400px; left: 50%; transform: translateX(-50%) translateY(100%); } .betslip-panel.open { transform: translateX(-50%) translateY(0); } }
.betslip-panel-header { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--border); }
.betslip-panel-header h3 { font-size: 16px; font-weight: 800; }
.betslip-panel-close { font-size: 20px; color: var(--text-muted); padding: 4px; }
.view-all-link { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 12px; font-size: 13px; font-weight: 700; color: var(--accent); border-top: 1px solid var(--border); transition: background 0.15s; }
.view-all-link:hover { background: rgba(59,130,246,.05); }

/* ===== MY BETS PAGE (SportyBet Style) ===== */
.mybets-page { max-width: 680px; margin: 0 auto; padding-bottom: 100px; }
.mybets-header-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-bottom: none; border-radius: var(--radius-lg) var(--radius-lg) 0 0; margin-bottom: 0; }
.mybets-header-left { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; color: var(--text); }
.mybets-header-right { display: flex; align-items: center; gap: 8px; }
.mybets-balance-badge { display: flex; align-items: center; gap: 5px; background: var(--bg); border: 1px solid var(--border); padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; color: var(--green); }
.mybets-deposit-btn { display: flex; align-items: center; gap: 5px; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--green); color: #fff; border: none; transition: all 0.2s; white-space: nowrap; text-decoration: none; }
.mybets-deposit-btn:hover { background: #16a34a; box-shadow: 0 4px 16px rgba(34,197,94,.5); transform: translateY(-1px); }
.mybets-deposit-btn:active { transform: scale(0.97); }

.mybets-main-tabs { display: flex; background: var(--surface); border: 1px solid var(--border); border-top: none; border-radius: 0 0 var(--radius-lg) var(--radius-lg); overflow: hidden; }
.mybets-main-tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 14px 8px; font-size: 14px; font-weight: 700; color: var(--text-muted); position: relative; transition: color 0.2s; }
.mybets-main-tab:hover { color: var(--text-secondary); }
.mybets-main-tab.active { color: var(--accent); }
.mybets-main-tab.active::after { content: ''; position: absolute; bottom: -1px; left: 16%; right: 16%; height: 3px; background: var(--accent); border-radius: 999px 999px 0 0; }
.mybets-tab-count { background: var(--accent); color: #fff; font-size: 10px; font-weight: 800; padding: 1px 7px; border-radius: 999px; min-width: 18px; text-align: center; }

.mybets-filter-bar { display: flex; gap: 6px; padding: 12px 16px; overflow-x: auto; }
.mybets-filter-btn { padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; background: var(--surface); border: 1px solid var(--border); color: var(--text-secondary); transition: all 0.2s; }
.mybets-filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.mybets-filter-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.mybets-empty { text-align: center; padding: 64px 24px; }
.mybets-empty-icon { margin-bottom: 16px; color: var(--text-muted); opacity: 0.4; }
.mybets-empty-title { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.mybets-empty-text { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.mybets-empty-btn { display: inline-block; padding: 10px 24px; border-radius: var(--radius); font-size: 14px; font-weight: 700; background: linear-gradient(135deg, var(--accent), #60a5fa); color: #fff; transition: all 0.2s; }
.mybets-empty-btn:hover { box-shadow: 0 4px 16px var(--accent-glow); transform: translateY(-1px); }

.mybets-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin: 0 16px 14px; overflow: hidden; transition: border-color 0.2s; }
.mybets-card:hover { border-color: var(--border-light); }

.mybets-card-top { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.mybets-card-type { font-size: 13px; font-weight: 800; padding: 3px 10px; border-radius: 4px; background: rgba(59,130,246,.12); color: var(--accent); }
.mybets-card-type.won { background: rgba(34,197,94,.12); color: var(--green); }
.mybets-card-type.lost { background: rgba(239,68,68,.12); color: var(--red); }
.mybets-card-type.pending { background: rgba(234,179,8,.12); color: var(--yellow); }

.mybets-card-actions { display: flex; gap: 4px; }
.mybets-action-btn { display: flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: var(--radius-sm); font-size: 11px; font-weight: 700; color: var(--text-muted); background: transparent; border: 1px solid var(--border); transition: all 0.15s; }
.mybets-action-btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(59,130,246,.06); }

.mybets-card-selections { padding: 0; }
.mybets-selection { display: flex; align-items: flex-start; justify-content: space-between; padding: 12px 14px; gap: 12px; }
.mybets-selection-left { flex: 1; min-width: 0; }
.mybets-selection-teams { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.mybets-team { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
.mybets-vs { color: var(--text-muted); font-size: 11px; font-weight: 500; }
.mybets-selection-meta { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--text-muted); margin-bottom: 6px; }
.mybets-league-flag { font-size: 13px; }

/* Team logos (real images) */
.team-logo-img { width: 28px; height: 28px; border-radius: 50%; object-fit: contain; background: var(--surface-2); flex-shrink: 0; }
.team-logo-img.featured { width: 48px; height: 48px; border: 2px solid var(--border); }
.team-logo-img.sidebar { width: 22px; height: 22px; }
.team-logo-fallback { width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 10px; font-weight: 800; color: var(--text); flex-shrink: 0; }
.team-logo-fallback.featured { width: 48px; height: 48px; font-size: 16px; border: 2px solid var(--border); }
.team-logo-fallback.sidebar { width: 22px; height: 22px; font-size: 8px; }

/* Country flag images */
.flag-img { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; vertical-align: middle; }
.flag-img.sidebar { width: 16px; height: 12px; }
.flag-img.mybets { width: 14px; height: 10px; }
.mybets-league-name { font-weight: 500; }
.mybets-live-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; color: var(--red); background: rgba(239,68,68,.12); padding: 1px 6px; border-radius: 3px; }
.live-dot-sm { width: 5px; height: 5px; border-radius: 50%; background: var(--red); animation: pulse 1.5s infinite; }
.mybets-selection-pick { display: flex; align-items: center; gap: 6px; }
.mybets-pick-label { font-size: 11px; color: var(--text-muted); }
.mybets-pick-value { font-size: 12px; font-weight: 700; color: var(--accent); background: rgba(59,130,246,.1); padding: 2px 8px; border-radius: 3px; }
.mybets-odd-value { font-size: 13px; font-weight: 800; color: var(--text); }

.mybets-selection-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.mybets-selection-score { font-size: 15px; font-weight: 900; color: #fff; }
.mybets-result { font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.3px; }
.mybets-result.won { background: rgba(34,197,94,.15); color: var(--green); }
.mybets-result.lost { background: rgba(239,68,68,.15); color: var(--red); }
.mybets-result.pending { background: rgba(234,179,8,.15); color: var(--yellow); }

.mybets-selection-divider { height: 1px; background: var(--border); margin: 0 14px; }

.mybets-card-footer { padding: 12px 14px; border-top: 1px solid var(--border); background: rgba(0,0,0,.12); }
.mybets-footer-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.mybets-footer-item { text-align: center; }
.mybets-footer-label { display: block; font-size: 10px; color: var(--text-muted); margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.3px; }
.mybets-footer-value { font-size: 14px; font-weight: 800; }
.mybets-footer-item.highlight .mybets-footer-value.win { color: var(--green); font-size: 16px; }

.mybets-cashout-row { margin-bottom: 10px; }
.mybets-cashout-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: var(--radius); font-size: 14px; font-weight: 800; background: linear-gradient(135deg, var(--green), #16a34a); color: #fff; transition: all 0.2s; box-shadow: 0 4px 16px rgba(34,197,94,.3); }
.mybets-cashout-btn:hover { box-shadow: 0 6px 24px rgba(34,197,94,.45); transform: translateY(-1px); }
.mybets-cashout-btn:active { transform: scale(0.98); }

.mybets-card-date { font-size: 11px; color: var(--text-muted); text-align: center; }

@media (max-width: 480px) {
  .mybets-card-actions { gap: 2px; }
  .mybets-action-btn { padding: 4px 7px; font-size: 10px; }
  .mybets-action-btn svg { display: none; }
  .mybets-selection-teams { font-size: 12px; }
  .mybets-team { max-width: 110px; }
  .mybets-footer-value { font-size: 13px; }
  .mybets-footer-item.highlight .mybets-footer-value.win { font-size: 14px; }
}

/* ===== SEARCH OVERLAY ===== */
.search-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); display: none; justify-content: center; align-items: flex-start; padding-top: 80px; }
.search-overlay.open { display: flex; }
.search-panel { width: 100%; max-width: 560px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.5); animation: searchSlideIn 0.2s ease; }
@keyframes searchSlideIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
.search-input-wrap { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.search-input-wrap svg { color: var(--text-muted); flex-shrink: 0; }
.search-input { flex: 1; background: none; border: none; outline: none; font-size: 15px; font-weight: 500; color: var(--text); }
.search-input::placeholder { color: var(--text-muted); }
.search-close { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--text-muted); font-size: 14px; transition: all 0.2s; }
.search-close:hover { background: rgba(255,255,255,.08); color: var(--text); }
.search-results { max-height: 400px; overflow-y: auto; padding: 8px; }
.search-hint { text-align: center; padding: 32px 16px; color: var(--text-muted); font-size: 13px; }
.search-no-results { text-align: center; padding: 24px 16px; color: var(--text-muted); font-size: 13px; }

/* ===== NOTIFICATIONS DROPDOWN ===== */
.notif-dropdown { position: fixed; top: 56px; right: 16px; z-index: 50; width: 360px; max-width: calc(100vw - 32px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: 0 16px 48px rgba(0,0,0,.4); display: none; overflow: hidden; animation: notifSlideIn 0.2s ease; }
.notif-dropdown.open { display: block; }
@keyframes notifSlideIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.notif-dropdown-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 14px; font-weight: 700; }
.notif-clear { font-size: 12px; font-weight: 600; color: var(--accent); transition: opacity 0.2s; }
.notif-clear:hover { opacity: 0.8; }
.notif-list { max-height: 360px; overflow-y: auto; }
.notif-item { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); transition: background 0.15s; cursor: pointer; }
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: rgba(255,255,255,.03); }
.notif-item.unread { background: rgba(59,130,246,.04); }
.notif-icon { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; }
.notif-content { flex: 1; min-width: 0; }
.notif-title { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.notif-text { font-size: 12px; color: var(--text-secondary); line-height: 1.4; }
.notif-time { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.notif-empty { text-align: center; padding: 32px 16px; color: var(--text-muted); font-size: 13px; }

@media (max-width: 480px) {
  .notif-dropdown { right: 8px; left: 8px; width: auto; }
}

/* ===== ACCOUNT / FINANCIAL PAGES ===== */
.account-page { max-width: 640px; margin: 0 auto; }
.account-header { margin-bottom: 20px; }
.account-title { font-size: 22px; font-weight: 800; letter-spacing: -0.3px; }
.account-subtitle { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.account-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 16px; }
.account-balance-display { display: flex; align-items: center; justify-content: space-between; }
.account-balance-label { font-size: 13px; color: var(--text-secondary); font-weight: 600; }
.account-balance-amount { font-size: 24px; font-weight: 900; color: var(--green); }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.form-input { width: 100%; padding: 10px 14px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-size: 14px; font-family: var(--font-sans); transition: border-color 0.2s; }
.form-input:focus { outline: none; border-color: var(--accent); }
.form-hint { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
select.form-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }

/* Deposit Methods */
.deposit-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.deposit-method { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; background: var(--bg); border: 2px solid var(--border); border-radius: var(--radius); cursor: pointer; transition: all 0.2s; text-align: center; }
.deposit-method:hover { border-color: var(--accent); }
.deposit-method.active { border-color: var(--accent); background: rgba(59,130,246,.08); }
.deposit-method input { display: none; }
.deposit-method-icon { font-size: 24px; }
.deposit-method-name { font-size: 13px; font-weight: 700; }
.deposit-method-desc { font-size: 10px; color: var(--text-muted); }

.deposit-submit-btn { width: 100%; padding: 14px; margin-top: 20px; background: linear-gradient(135deg, var(--accent), #2563eb); color: #fff; border: none; border-radius: var(--radius); font-size: 15px; font-weight: 800; cursor: pointer; transition: all 0.2s; }
.deposit-submit-btn:hover { box-shadow: 0 4px 16px var(--accent-glow); transform: translateY(-1px); }
.deposit-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.deposit-note { text-align: center; font-size: 11px; color: var(--text-muted); margin-top: 12px; }

/* Transactions */
.txn-filters { display: flex; gap: 4px; margin-bottom: 16px; overflow-x: auto; padding-bottom: 4px; }
.txn-filter { padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--text-secondary); background: var(--bg); border: 1px solid var(--border); white-space: nowrap; transition: all 0.2s; text-decoration: none; }
.txn-filter:hover { color: var(--text); border-color: var(--accent); }
.txn-filter.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.transactions-list { display: flex; flex-direction: column; }
.transaction-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.transaction-item:last-child { border-bottom: none; }
.transaction-info { flex: 1; min-width: 0; }
.transaction-type { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.transaction-desc { font-size: 12px; color: var(--text-secondary); }
.transaction-time { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.transaction-amount { font-size: 14px; font-weight: 800; white-space: nowrap; }
.transaction-amount.positive { color: var(--green); }
.transaction-amount.negative { color: var(--red); }
.transaction-balance { font-size: 11px; color: var(--text-muted); white-space: nowrap; }
.transaction-status { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.status-pending { background: rgba(234,179,8,.15); color: var(--yellow); }
.status-completed { background: rgba(34,197,94,.15); color: var(--green); }
.status-processing { background: rgba(59,130,246,.15); color: var(--accent); }
.status-failed, .status-rejected { background: rgba(239,68,68,.15); color: var(--red); }
.empty-state { text-align: center; padding: 40px 16px; }
.empty-icon { font-size: 40px; margin-bottom: 12px; }
.empty-state p { color: var(--text-muted); font-size: 14px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; }
.page-btn { padding: 6px 14px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--border); font-size: 12px; font-weight: 600; color: var(--text-secondary); text-decoration: none; transition: all 0.2s; }
.page-btn:hover { border-color: var(--accent); color: var(--accent); }
.page-info { font-size: 12px; color: var(--text-muted); }

@media (max-width: 480px) {
  .deposit-methods { grid-template-columns: 1fr; }
  .transaction-item { flex-wrap: wrap; }
}

/* ===== LIVE ODDS ANIMATION ===== */
.odds-changed { animation: oddsFlash 0.6s ease; }
@keyframes oddsFlash { 0% { background: rgba(59,130,246,.3); } 100% { background: var(--surface); } }
.odds-up { color: var(--green); }
.odds-down { color: var(--red); }

/* ===== CASINO PAGE ===== */
.casino-page { padding: 0; }
.casino-hero { padding: 24px 16px 16px; }
.casino-hero-title { font-size: 22px; font-weight: 900; }
.casino-hero-sub { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.casino-categories { display: flex; gap: 8px; padding: 0 16px 20px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.casino-categories::-webkit-scrollbar { display: none; }
.casino-cat-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); min-width: 80px; text-decoration: none; color: var(--text); transition: all 0.2s; flex-shrink: 0; }
.casino-cat-btn:hover { border-color: var(--accent); transform: translateY(-2px); }
.casino-cat-btn.active { border-color: var(--accent); background: rgba(59,130,246,.08); }
.casino-cat-icon { font-size: 24px; }
.casino-cat-label { font-size: 11px; font-weight: 600; white-space: nowrap; }
.casino-section { padding: 0 16px 20px; }
.casino-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.casino-section-title { font-size: 16px; font-weight: 800; }
.casino-section-link { font-size: 12px; color: var(--accent); font-weight: 600; text-decoration: none; }
.casino-section-link:hover { text-decoration: underline; }
.casino-count { font-size: 12px; color: var(--text-muted); }
.casino-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.casino-scroll::-webkit-scrollbar { display: none; }
.casino-scroll .casino-card { min-width: 160px; max-width: 160px; flex-shrink: 0; }
.casino-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.casino-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--text); transition: all 0.2s; }
.casino-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.casino-card-body { padding: 12px; }
.casino-card-name { font-size: 13px; font-weight: 700; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.casino-card-meta { display: flex; align-items: center; gap: 6px; }
.casino-card-type { font-size: 10px; color: var(--text-muted); text-transform: uppercase; font-weight: 600; }
.casino-card-badge { font-size: 9px; font-weight: 800; padding: 2px 6px; border-radius: 4px; text-transform: uppercase; }
.casino-card-badge.hot { background: rgba(239,68,68,.15); color: var(--red); }
.casino-card-badge.new { background: rgba(59,130,246,.15); color: var(--accent); }
.casino-play-btn { display: block; text-align: center; padding: 8px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; border-radius: 0 0 var(--radius-lg) var(--radius-lg); text-decoration: none; transition: background 0.2s; }
.casino-play-btn:hover { background: #2563eb; }

@media (max-width: 480px) {
  .casino-grid { grid-template-columns: repeat(2, 1fr); }
  .casino-scroll .casino-card { min-width: 140px; max-width: 140px; }
}

/* ===== RESPONSIBLE GAMBLING ===== */
.rg-page { max-width: 640px; margin: 0 auto; }
.rg-header { margin-bottom: 20px; }
.rg-alert { display: flex; gap: 12px; padding: 16px; border-radius: var(--radius-lg); margin-bottom: 16px; }
.rg-alert-warning { background: rgba(234,179,8,.1); border: 1px solid rgba(234,179,8,.3); }
.rg-alert-icon { font-size: 24px; flex-shrink: 0; }
.rg-alert-content { flex: 1; }
.rg-alert-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.rg-alert-text { font-size: 13px; color: var(--text-secondary); }
.rg-section-title { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.rg-section-desc { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }
.rg-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rg-stat-box { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }
.rg-stat-period { font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
.rg-stat-row { display: flex; justify-content: space-between; font-size: 12px; padding: 3px 0; }
.rg-stat-row span { color: var(--text-muted); }
.rg-stat-row strong { font-weight: 700; }
.rg-active-limits { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.rg-limit-chip { display: flex; align-items: center; gap: 8px; padding: 6px 12px; background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.3); border-radius: 999px; font-size: 12px; font-weight: 600; }
.rg-limit-remove { font-size: 14px; color: var(--text-muted); transition: color 0.2s; padding: 2px; }
.rg-limit-remove:hover { color: var(--red); }
.rg-limit-form { margin-top: 12px; }
.rg-form-row { display: flex; gap: 10px; align-items: flex-end; }
.rg-form-row .rg-form-group { flex: 1; }
.rg-form-row .rg-btn { flex-shrink: 0; margin-bottom: 1px; }
.rg-btn { padding: 10px 20px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.2s; border: none; font-family: var(--font-sans); }
.rg-btn-primary { background: var(--accent); color: #fff; }
.rg-btn-primary:hover { background: var(--accent-hover); box-shadow: 0 2px 8px var(--accent-glow); }
.rg-btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text-secondary); }
.rg-btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.rg-btn-sm { padding: 6px 14px; font-size: 12px; }
.rg-exclude-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rg-exclude-card { text-align: center; padding: 20px 16px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.rg-exclude-card-warn { border-color: rgba(234,179,8,.3); }
.rg-exclude-icon { font-size: 32px; margin-bottom: 8px; }
.rg-exclude-title { font-size: 14px; font-weight: 800; margin-bottom: 4px; }
.rg-exclude-desc { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.rg-exclude-durations { display: flex; flex-direction: column; gap: 6px; }
.rg-help-links { display: flex; flex-direction: column; gap: 8px; }
.rg-help-link { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: border-color 0.2s; }
.rg-help-link:hover { border-color: var(--accent); }
.rg-help-icon { font-size: 24px; flex-shrink: 0; }
.rg-help-title { font-size: 13px; font-weight: 700; }
.rg-help-sub { font-size: 11px; color: var(--text-muted); }

/* KYC Tier Progress */
.rg-tier-progress { display: flex; align-items: center; justify-content: center; gap: 0; margin: 20px 0; }
.rg-tier-step { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.rg-tier-dot { width: 36px; height: 36px; border-radius: 50%; background: var(--bg); border: 2px solid var(--border); display: grid; place-items: center; font-size: 14px; font-weight: 800; color: var(--text-muted); transition: all 0.3s; }
.rg-tier-step.active .rg-tier-dot { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 2px 8px var(--accent-glow); }
.rg-tier-label { font-size: 11px; font-weight: 600; color: var(--text-muted); }
.rg-tier-step.active .rg-tier-label { color: var(--text); }
.rg-tier-line { width: 40px; height: 2px; background: var(--border); margin-bottom: 20px; transition: background 0.3s; }
.rg-tier-line.active { background: var(--accent); }
.rg-tier-info { text-align: center; font-size: 13px; }
.rg-tier-benefits { display: flex; flex-direction: column; gap: 8px; }
.rg-tier-benefit { padding: 12px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.rg-tier-benefit-tier { font-size: 12px; font-weight: 800; color: var(--accent); margin-bottom: 2px; }
.rg-tier-benefit-desc { font-size: 12px; color: var(--text-secondary); }
.rg-tier-benefit-limits { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

@media (max-width: 480px) {
  .rg-stats-grid { grid-template-columns: 1fr; }
  .rg-form-row { flex-direction: column; }
  .rg-exclude-options { grid-template-columns: 1fr; }
}

/* ===== REALITY CHECK MODAL ===== */
.reality-check-overlay { position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,.7); display: none; place-items: center; backdrop-filter: blur(4px); }
.reality-check-overlay.open { display: grid; }
.reality-check-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; max-width: 400px; width: 90%; text-align: center; animation: fadeInUp 0.3s ease; }
.reality-check-icon { font-size: 48px; margin-bottom: 12px; }
.reality-check-title { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.reality-check-text { font-size: 13px; color: var(--text-secondary); margin-bottom: 20px; line-height: 1.6; }
.reality-check-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.reality-check-stat { padding: 10px; background: var(--bg); border-radius: var(--radius-sm); }
.reality-check-stat-label { font-size: 11px; color: var(--text-muted); }
.reality-check-stat-value { font-size: 16px; font-weight: 800; margin-top: 2px; }
.reality-check-btn { width: 100%; padding: 12px; background: var(--accent); color: #fff; border: none; border-radius: var(--radius); font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.2s; }
.reality-check-btn:hover { background: var(--accent-hover); }

/* ===== PHASE 3: UX IMPROVEMENTS ===== */

/* Live Score Pulse Animation */
.live-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  margin-right: 6px;
  animation: livePulse 1.5s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

/* Score Change Flash */
.score-flash {
  animation: scoreFlash 0.6s ease;
}
@keyframes scoreFlash {
  0% { background: var(--accent-glow); }
  100% { background: transparent; }
}

/* Market Tabs */
.market-tabs {
  display: flex;
  gap: 4px;
  padding: 8px 12px;
  overflow-x: auto;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  scrollbar-width: none;
}
.market-tabs::-webkit-scrollbar { display: none; }
.market-tab {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.market-tab:hover { color: var(--text); border-color: var(--border-light); }
.market-tab.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Improved Match Card */
.match-card-enhanced {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s;
}
.match-card-enhanced:hover {
  border-color: var(--border-light);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.match-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.match-card-league {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}
.match-card-league-flag { font-size: 14px; }
.match-card-actions {
  display: flex;
  gap: 6px;
}
.match-card-action-btn {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--text-muted);
  transition: all 0.2s;
}
.match-card-action-btn:hover { color: var(--accent); background: var(--accent-glow); }
.match-card-action-btn.favorited { color: var(--yellow); }

.match-card-body {
  padding: 14px;
}
.match-card-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.match-card-team {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.match-card-team.away { justify-content: flex-end; text-align: right; }
.match-card-team-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg);
  display: grid;
  place-items: center;
  font-size: 14px;
}
.match-card-team-name {
  font-size: 13px;
  font-weight: 700;
}
.match-card-score {
  font-size: 20px;
  font-weight: 900;
  min-width: 60px;
  text-align: center;
}
.match-card-score .live-minute {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--red);
  margin-top: 2px;
}

.match-card-odds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.match-card-odds.four-col {
  grid-template-columns: repeat(4, 1fr);
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: skeleton 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}
@keyframes skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-text { height: 14px; margin-bottom: 8px; }
.skeleton-text.short { width: 60%; }
.skeleton-text.medium { width: 80%; }
.skeleton-score { width: 50px; height: 24px; }
.skeleton-odds { height: 36px; }
.skeleton-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 10px;
}

/* Quick Bet Slider */
.quick-bet-slider {
  display: flex;
  gap: 6px;
  margin: 8px 0;
}
.quick-bet-chip {
  flex: 1;
  padding: 8px 4px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.quick-bet-chip:hover { border-color: var(--accent); color: var(--accent); }
.quick-bet-chip.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Cashout Progress Bar */
.cashout-progress {
  height: 4px;
  background: var(--bg);
  border-radius: 2px;
  overflow: hidden;
  margin: 8px 0;
}
.cashout-progress-bar {
  height: 100%;
  background: var(--green);
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Bet Builder Badge */
.bet-builder-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: var(--purple);
  color: #fff;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

/* System Bet Info */
.system-bet-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}
.system-bet-type {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
}
.system-bet-lines {
  font-size: 11px;
  color: var(--text-muted);
}

/* Odds Format Toggle */
.odds-format-toggle {
  display: flex;
  gap: 2px;
  padding: 2px;
  background: var(--bg);
  border-radius: 6px;
  border: 1px solid var(--border);
}
.odds-format-btn {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s;
}
.odds-format-btn:hover { color: var(--text); }
.odds-format-btn.active { background: var(--accent); color: #fff; }

/* Enhanced Bet Slip */
.betslip-item-enhanced {
  padding: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  transition: all 0.2s;
}
.betslip-item-enhanced:hover {
  border-color: var(--border-light);
}
.betslip-item-enhanced .match-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.betslip-item-enhanced .selection {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.betslip-item-enhanced .selection-name {
  font-size: 13px;
  font-weight: 700;
}
.betslip-item-enhanced .selection-odd {
  font-size: 14px;
  font-weight: 800;
  color: var(--green);
}

/* Notification Badge Animation */
.notif-badge-animated {
  animation: notifPop 0.3s ease;
}
@keyframes notifPop {
  0% { transform: scale(0.5); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Search Results Enhanced */
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s;
}
.search-result-item:hover { background: var(--surface-2); }
.search-result-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
}
.search-result-info { flex: 1; min-width: 0; }
.search-result-name { font-size: 13px; font-weight: 600; }
.search-result-sub { font-size: 11px; color: var(--text-muted); }
.search-result-live {
  padding: 2px 6px;
  background: var(--red);
  color: #fff;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
}

/* Mobile Improvements */
@media (max-width: 767px) {
  .match-card-teams { flex-direction: column; gap: 8px; }
  .match-card-team.away { justify-content: flex-start; }
  .match-card-score { min-width: auto; }
  .match-card-odds { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .market-tabs { padding: 6px 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .market-tab { padding: 5px 10px; font-size: 11px; white-space: nowrap; flex: 0 0 auto; }
}

/* ===== PHASE 6: FINAL POLISH ===== */

/* Smooth page transitions */
.main-content {
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Focus states for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Better scrollbar for dark mode */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-light); }

/* Loading spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Toast notifications */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  animation: slideIn 0.3s ease;
  max-width: 320px;
}
.toast.success { border-left: 3px solid var(--green); }
.toast.error { border-left: 3px solid var(--red); }
.toast.info { border-left: 3px solid var(--accent); }
@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Odds movement indicators */
.odds-up {
  color: var(--green) !important;
  animation: oddsValueFlash 0.5s ease;
}
.odds-down {
  color: var(--red) !important;
  animation: oddsValueFlash 0.5s ease;
}
@keyframes oddsValueFlash {
  0%, 100% { background: transparent; }
  50% { background: rgba(255,255,255,0.1); }
}

/* Better button states */
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Card hover effects */
.card-hover {
  transition: transform 0.2s, box-shadow 0.2s;
}
.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* Status badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}
.badge-live { background: var(--red); color: #fff; }
.badge-upcoming { background: var(--accent); color: #fff; }
.badge-finished { background: var(--text-muted); color: #fff; }

/* Table improvements */
.data-table {
  width: 100%;
  border-collapse: collapse;
}
.data-table th,
.data-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.data-table th {
  background: var(--bg);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}
.data-table tr:hover td {
  background: var(--surface);
}

/* Admin dashboard cards */
.admin-stat-card {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.admin-stat-value {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 4px;
}
.admin-stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

/* Responsive utilities */
@media (max-width: 480px) {
  .hide-mobile { display: none !important; }
  .show-mobile { display: block !important; }
}
@media (min-width: 481px) {
  .hide-desktop { display: none !important; }
  .show-desktop { display: block !important; }
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel { position: relative; width: 100%; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 16px; }
.hero-slides { display: flex; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.hero-slide { min-width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 28px 32px; min-height: 180px; position: relative; overflow: hidden; }
.hero-slide::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); pointer-events: none; }
.hero-slide-content { flex: 1; position: relative; z-index: 1; }
.hero-slide-badge { display: inline-block; padding: 4px 10px; background: rgba(255,255,255,0.2); border-radius: 999px; font-size: 10px; font-weight: 800; color: #fff; letter-spacing: 1px; margin-bottom: 10px; backdrop-filter: blur(4px); }
.hero-slide-title { font-size: 24px; font-weight: 900; color: #fff; margin-bottom: 6px; line-height: 1.1; }
.hero-slide-text { font-size: 13px; color: rgba(255,255,255,0.85); margin-bottom: 14px; max-width: 340px; }
.hero-slide-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 22px; background: #fff; color: #111; font-size: 13px; font-weight: 800; border-radius: 999px; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.hero-slide-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.hero-slide-graphic { position: relative; z-index: 1; flex-shrink: 0; margin-left: 20px; }
.hero-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 10; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255,255,255,0.4); cursor: pointer; transition: all 0.3s; padding: 0; }
.hero-dot.active { background: #fff; width: 20px; border-radius: 4px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 32px; height: 32px; border-radius: 50%; border: none; background: rgba(0,0,0,0.3); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background 0.2s; backdrop-filter: blur(4px); }
.hero-arrow:hover { background: rgba(0,0,0,0.6); }
.hero-arrow-left { left: 10px; }
.hero-arrow-right { right: 10px; }
@media (max-width: 767px) {
  .hero-slide { padding: 20px; min-height: 160px; }
  .hero-slide-title { font-size: 20px; }
  .hero-slide-text { font-size: 12px; max-width: 220px; }
  .hero-slide-graphic { display: none; }
  .hero-arrow { display: none; }
}

/* ===== QUICK SPORT ACCESS ===== */
.sport-quick-access { display: flex; gap: 10px; overflow-x: auto; padding: 4px 0 12px; scrollbar-width: none; -ms-overflow-style: none; scroll-snap-type: x mandatory; }
.sport-quick-access::-webkit-scrollbar { display: none; }
.sport-quick-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 80px; height: 80px; border-radius: var(--radius); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; scroll-snap-align: start; flex-shrink: 0; }
.sport-quick-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.sport-quick-name { font-size: 10px; font-weight: 700; color: #fff; }

/* ===== PROMOTIONAL CARDS ===== */
.promo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.promo-card { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-radius: var(--radius); cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; overflow: hidden; position: relative; }
.promo-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.promo-card-text { flex: 1; min-width: 0; }
.promo-card-badge { display: inline-block; padding: 2px 6px; background: rgba(255,255,255,0.2); border-radius: 4px; font-size: 9px; font-weight: 800; color: #fff; letter-spacing: 0.5px; margin-bottom: 4px; }
.promo-card-title { font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 2px; }
.promo-card-desc { font-size: 11px; color: rgba(255,255,255,0.8); }
.promo-card-icon { font-size: 28px; flex-shrink: 0; margin-left: 8px; }
@media (max-width: 767px) {
  .promo-cards { grid-template-columns: 1fr; }
  .promo-card { padding: 14px; }
}

/* ===== CASINO GAME THUMBNAILS ===== */
.casino-card-img { position: relative; width: 100%; aspect-ratio: 3/4; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(59,130,246,.1), rgba(147,51,234,.1)); }
.casino-card-img[data-type="crash"] { background: linear-gradient(135deg, #991b1b, #dc2626, #f97316); }
.casino-card-img[data-type="slots"] { background: linear-gradient(135deg, #581c87, #7c3aed, #a855f7); }
.casino-card-img[data-type="card"] { background: linear-gradient(135deg, #065f46, #059669, #10b981); }
.casino-card-img[data-type="table"] { background: linear-gradient(135deg, #1e3a5f, #2563eb, #3b82f6); }
.casino-card-img[data-type="wheel"] { background: linear-gradient(135deg, #854d0e, #ca8a04, #eab308); }
.casino-card-img[data-type="lottery"] { background: linear-gradient(135deg, #166534, #16a34a, #4ade80); }
.casino-card-img[data-type="instant"] { background: linear-gradient(135deg, #9a3412, #ea580c, #fb923c); }
.casino-card-img .casino-card-icon { font-size: 48px; }
.casino-card-img .casino-card-svg-icon { display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3)); }
.casino-card-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); display: grid; place-items: center; opacity: 0; transition: opacity 0.2s; }
.casino-card:hover .casino-card-overlay { opacity: 1; }
.casino-play-icon { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; }
.casino-hero-svg { display: inline-flex; vertical-align: middle; margin-right: 6px; }
.casino-hero-svg svg { stroke: var(--accent); }

/* ===== LIVE TICKER BAR ===== */
.ticker-bar { display: flex; background: var(--bg-dark); border-bottom: 1px solid var(--border); overflow: hidden; height: 32px; position: relative; z-index: 35; }
.ticker-section { display: flex; align-items: center; flex: 1; overflow: hidden; position: relative; background: var(--bg-dark); }
.ticker-section::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 40px; background: linear-gradient(90deg, var(--bg-dark), transparent); z-index: 3; pointer-events: none; }
.ticker-section::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 40px; background: linear-gradient(270deg, var(--bg-dark), transparent); z-index: 3; pointer-events: none; }
.ticker-section + .ticker-section { border-left: 1px solid var(--border); }
.ticker-label { flex-shrink: 0; padding: 0 10px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; height: 100%; display: flex; align-items: center; position: relative; z-index: 4; }
.ticker-label.live { color: var(--red); background: rgba(239,68,68,0.15); border-right: 1px solid var(--border); }
.ticker-label.wins { color: var(--green); background: rgba(34,197,94,0.15); border-right: 1px solid var(--border); }
.ticker-scroll { display: flex; align-items: center; gap: 24px; animation: tickerScroll 40s linear infinite; white-space: nowrap; padding: 0 12px; }
.ticker-scroll:hover { animation-play-state: paused; }
.ticker-item { font-size: 11px; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; flex-shrink: 0; padding: 0 12px; position: relative; }
.ticker-item + .ticker-item::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: var(--border); }
.ticker-item .live-dot-sm { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.ticker-item strong { color: var(--text); font-weight: 700; }
.ticker-fallback { font-size: 11px; color: var(--text-muted); white-space: nowrap; padding: 0 12px; }
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== FOOTER ===== */
.site-footer { background: var(--bg-dark); border-top: 1px solid var(--border); margin-top: 40px; padding: 32px 16px 16px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; max-width: 1200px; margin: 0 auto; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.footer-logo-text { font-size: 18px; font-weight: 900; color: var(--text); }
.footer-logo-text span { color: var(--accent); }
.footer-tagline { font-size: 12px; color: var(--text-muted); line-height: 1.5; max-width: 240px; }
.footer-socials { display: flex; gap: 8px; margin-top: 4px; }
.footer-social { width: 32px; height: 32px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; color: var(--text-muted); text-decoration: none; transition: all 0.2s; }
.footer-social:hover { background: var(--accent); color: #fff; }
.footer-col-title { font-size: 12px; font-weight: 800; color: var(--text); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-link { font-size: 12px; color: var(--text-muted); text-decoration: none; transition: color 0.15s; }
.footer-link:hover { color: var(--accent); }
.footer-payments { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.footer-pay-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; font-size: 10px; font-weight: 700; color: var(--text-secondary); }
.footer-pay-badge .pay-icon { font-size: 14px; }
.footer-bottom { max-width: 1200px; margin: 24px auto 0; padding-top: 16px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-copy { font-size: 11px; color: var(--text-muted); }
.footer-legal { display: flex; align-items: center; gap: 12px; }
.footer-legal-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.2); border-radius: 4px; font-size: 10px; font-weight: 800; color: var(--red); }
.footer-legal-text { font-size: 10px; color: var(--text-muted); max-width: 300px; line-height: 1.4; }
@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
  .footer-legal-text { max-width: none; }
}

/* ==========================================================================
   PRO SPORTSBOOK UI & FOOTBALL ASSETS ENHANCEMENT
   ========================================================================== */

/* ===== HERO CAROUSEL PRO ===== */
.hero-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #1e2838;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  background: #0b0f16;
}
.hero-slide {
  position: relative;
  min-height: 250px;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  overflow: hidden;
}
.hero-slide-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-slide-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,15,22,0.96) 0%, rgba(11,15,22,0.85) 55%, rgba(11,15,22,0.3) 100%);
}
.derby-overlay {
  background: linear-gradient(90deg, rgba(20,12,28,0.96) 0%, rgba(16,13,28,0.84) 55%, rgba(16,13,28,0.3) 100%);
}
.inplay-overlay {
  background: linear-gradient(90deg, rgba(28,10,12,0.96) 0%, rgba(20,10,15,0.84) 55%, rgba(20,10,15,0.3) 100%);
}
.acca-overlay {
  background: linear-gradient(90deg, rgba(24,18,6,0.96) 0%, rgba(18,14,6,0.84) 55%, rgba(18,14,6,0.3) 100%);
}
.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  padding: 28px 36px;
}
.hero-slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(0, 231, 0, 0.15);
  color: #00e700;
  border: 1px solid rgba(0, 231, 0, 0.3);
  margin-bottom: 8px;
}
.hero-slide-badge.red {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
}
.hero-slide-badge.gold {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.4);
}
.live-pulse-badge {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.4);
}
.live-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00e700;
  animation: pulseDot 1.4s infinite;
}
.live-pulse-dot.red {
  background: #ef4444;
}
@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}
.hero-slide-title {
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin: 6px 0 10px;
}
.vs-divider {
  font-size: 14px;
  color: #94a3b8;
  font-weight: 800;
  padding: 0 4px;
}
.highlight-green { color: #00e700; }
.highlight-gold { color: #fbbf24; }
.hero-slide-text {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 16px;
}
.hero-slide-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-slide-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}
.hero-slide-btn.primary {
  background: linear-gradient(135deg, #00e700, #059669);
  color: #000;
  box-shadow: 0 4px 14px rgba(0, 231, 0, 0.35);
}
.hero-slide-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 231, 0, 0.5);
}
.hero-slide-btn.outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}
.hero-slide-btn.outline:hover {
  background: rgba(255, 255, 255, 0.16);
}
.hero-slide-btn.live {
  background: #ef4444;
  color: #fff;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
}
.hero-slide-btn.live:hover {
  background: #dc2626;
}
.hero-slide-btn.danger {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fff;
}
.hero-slide-btn.gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
}
.hero-mini-odds {
  display: flex;
  gap: 6px;
}
.hero-odd-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s;
}
.hero-odd-pill:hover {
  background: #00e700;
  color: #000;
  border-color: #00e700;
}
.hero-slide-player-badge {
  position: relative;
  z-index: 2;
  padding-right: 36px;
  display: flex;
  align-items: center;
}
.player-badge-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(18, 24, 36, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.player-badge-img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00e700;
}
.player-badge-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.player-badge-tag {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #00e700;
}
.player-badge-tag.gold { color: #f59e0b; }
.player-badge-name {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}
.player-badge-odds {
  font-size: 12px;
  color: #94a3b8;
}

/* ===== TOP COMPETITIONS BAR ===== */
.competitions-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  padding: 10px 14px;
  background: #121824;
  border: 1px solid #1e293b;
  border-radius: 12px;
}
.competitions-label {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.competitions-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.competitions-scroll::-webkit-scrollbar { display: none; }
.comp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #1a2232;
  border: 1px solid #273549;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.comp-chip:hover {
  background: #222d42;
  color: #fff;
  border-color: #3b82f6;
}
.comp-chip.active {
  background: rgba(0, 231, 0, 0.15);
  color: #00e700;
  border-color: rgba(0, 231, 0, 0.4);
}
.comp-badge {
  font-size: 9px;
  background: #ef4444;
  color: #fff;
  padding: 1px 6px;
  border-radius: 10px;
  font-weight: 800;
}
.comp-chip.live-chip {
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}

/* ===== SECTION TITLE ===== */
.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sportsbook-ball-icon {
  font-size: 24px;
  line-height: 1;
}

/* ===== FEATURED MATCH BROADCAST HUD & PITCH RADAR ===== */
.featured-match-broadcast {
  background: radial-gradient(circle at 50% 10%, #1a2538 0%, #0d121c 100%);
  border: 1px solid #233147;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
  margin: 24px 0;
}
.broadcast-banner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: rgba(13, 18, 28, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.broadcast-live-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ef4444;
}
.broadcast-league-info {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
}
.broadcast-body {
  padding: 20px 24px;
}
.broadcast-scoreboard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.broadcast-team {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}
.broadcast-team.away {
  justify-content: flex-end;
}
.broadcast-crest-wrap {
  flex-shrink: 0;
}
.broadcast-crest {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}
.broadcast-team-meta {
  display: flex;
  flex-direction: column;
}
.broadcast-team-name {
  font-size: 16px;
  font-weight: 900;
  color: #fff;
}
.team-form-badges {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}
.form-pill {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 900;
  display: inline-grid;
  place-items: center;
  color: #fff;
}
.form-pill.win { background: #22c55e; }
.form-pill.draw { background: #64748b; }
.form-pill.loss { background: #ef4444; }
.broadcast-score-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.broadcast-digits {
  font-size: 38px;
  font-weight: 900;
  color: #00e700;
  letter-spacing: 2px;
  font-family: monospace, sans-serif;
  line-height: 1;
}
.broadcast-digits .colon {
  color: #64748b;
  margin: 0 4px;
}
.broadcast-status-badge {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
}

/* Tactical Pitch */
.broadcast-pitch-radar-wrap {
  margin: 18px 0;
  background: rgba(10, 14, 22, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px 16px;
}
.tactical-pitch {
  height: 48px;
  background: linear-gradient(90deg, #0e2e18 0%, #154224 50%, #0e2e18 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pitch-marking {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.25);
  pointer-events: none;
}
.penalty-left {
  left: 0; top: 8px; bottom: 8px; width: 35px; border-left: none;
}
.center-line {
  left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, 0.25);
}
.center-circle {
  width: 26px; height: 26px; border-radius: 50%;
}
.penalty-right {
  right: 0; top: 8px; bottom: 8px; width: 35px; border-right: none;
}
.pitch-attack-flow {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 900;
  color: #00e700;
  background: rgba(0, 0, 0, 0.65);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(0, 231, 0, 0.4);
}
.attack-arrow { font-size: 14px; }
.broadcast-stats-strip {
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
  gap: 10px;
}
.stat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #cbd5e1;
}
.stat-val { font-weight: 800; color: #fff; }
.stat-lbl { font-size: 10px; color: #64748b; text-transform: uppercase; }

/* Quick Odds Bar */
.broadcast-odds-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.odds-bar-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.odds-group-label {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
}
.odds-btn-row {
  display: flex;
  gap: 6px;
}
.pro-odds-btn {
  background: #161f2e;
  border: 1px solid #27374e;
  color: #cbd5e1;
  padding: 7px 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.15s;
}
.pro-odds-btn:hover {
  border-color: #00e700;
  color: #00e700;
}
.pro-odds-btn.selected {
  background: #00e700 !important;
  color: #000 !important;
  border-color: #00e700 !important;
}
.broadcast-more-link {
  font-size: 12px;
  font-weight: 800;
  color: #3b82f6;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  transition: all 0.15s;
}
.broadcast-more-link:hover {
  background: #3b82f6;
  color: #fff;
}

/* ===== TABULAR SPORTSBOOK MATCH TABLE ===== */
.sportsbook-tabs {
  display: flex;
  gap: 6px;
}
.sports-filter-btn {
  background: #161f2e;
  border: 1px solid #243449;
  color: #94a3b8;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
}
.sports-filter-btn.active {
  background: #00e700;
  color: #000;
  border-color: #00e700;
}
.sportsbook-league-card {
  background: #121824;
  border: 1px solid #1e2838;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}
.league-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #182233;
  border-bottom: 1px solid #222f44;
}
.league-title-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}
.league-name {
  font-size: 13px;
  font-weight: 900;
  color: #fff;
}
.league-country-tag {
  font-size: 11px;
  color: #64748b;
}
.league-matches-badge {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  background: #101622;
  padding: 2px 8px;
  border-radius: 10px;
}
.market-columns-header {
  display: flex;
  align-items: center;
  gap: 6px;
}
.market-col-head {
  width: 56px;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
}
.match-fixture-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid #1a2332;
  transition: background 0.15s;
}
.match-fixture-row:hover {
  background: #162030;
}
.match-fixture-row:last-child {
  border-bottom: none;
}
.fixture-left-col {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.match-fav-btn {
  background: none;
  border: none;
  color: #64748b;
  font-size: 15px;
  cursor: pointer;
  padding: 0 4px;
}
.match-fav-btn:hover { color: #f59e0b; }
.fixture-status-block {
  width: 56px;
  flex-shrink: 0;
}
.live-minute-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 900;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 4px;
  padding: 2px 6px;
}
.live-blip {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulseDot 1.2s infinite;
}
.upcoming-time-badge {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
}
.fixture-teams-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.team-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
.team-crest-sm {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}
.team-fallback-sm {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  background: #222d42;
  font-size: 9px;
  font-weight: 800;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fixture-team-name {
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fixture-team-score {
  font-size: 13px;
  font-weight: 900;
  color: #00e700;
  margin-left: auto;
  padding-right: 14px;
}
.fixture-odds-cols {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.sportsbook-odds-btn {
  width: 56px;
  height: 38px;
  background: #192333;
  border: 1px solid #27374e;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}
.sportsbook-odds-btn:hover {
  background: #223046;
  border-color: #00e700;
}
.sportsbook-odds-btn.selected {
  background: #00e700 !important;
  border-color: #00e700 !important;
}
.sportsbook-odds-btn.selected .odds-tag {
  color: rgba(0,0,0,0.6) !important;
}
.sportsbook-odds-btn.selected .odds-num {
  color: #000 !important;
}
.odds-tag {
  font-size: 9px;
  font-weight: 800;
  color: #64748b;
  line-height: 1;
}
.odds-num {
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
}
.more-markets-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 38px;
  border-radius: 6px;
  background: #151d2a;
  border: 1px solid #222f42;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s;
}
.more-markets-pill:hover {
  color: #3b82f6;
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.08);
}

/* ===== PRO HEADER COMPONENT STYLES ===== */
.header-logo-icon-wrap {
  display: inline-flex;
  align-items: center;
}
.header-pro-tag {
  background: #00e700;
  color: #000;
  font-size: 8px;
  font-weight: 900;
  padding: 1px 4px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  margin-left: 4px;
}
.header-main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 20px;
}
.header-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.15s;
}
.header-nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.header-nav-link.active {
  color: #00e700;
  background: rgba(0, 231, 0, 0.1);
}
.header-nav-link.live-link {
  color: #f87171;
}
.live-indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulseDot 1s infinite;
}
.header-nav-link.vip-link {
  color: #f59e0b;
}
.header-user-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-quick-deposit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #00e700;
  color: #000;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 231, 0, 0.3);
  transition: all 0.15s;
}
.header-quick-deposit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 231, 0, 0.5);
}
.header-balance-btn {
  background: #161f2e;
  border: 1px solid #26364c;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.balance-currency {
  font-size: 10px;
  color: #00e700;
  font-weight: 900;
}
.header-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
}
.user-avatar-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #3b82f6;
  color: #fff;
  font-weight: 900;
  display: grid;
  place-items: center;
  font-size: 11px;
}

/* ===== ACCA BONUS METER & BOOKING MODAL ===== */
.betslip-acca-meter {
  margin: 10px 12px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 8px;
  padding: 8px 12px;
}
.acca-meter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.acca-meter-title {
  color: #f59e0b;
  font-size: 11px;
  font-weight: 800;
}
.acca-meter-boost {
  color: #00e700;
  font-size: 13px;
  font-weight: 900;
}
.acca-progress-bar {
  height: 5px;
  background: #222d42;
  border-radius: 3px;
  overflow: hidden;
  margin: 6px 0;
}
.acca-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #00e700);
  transition: width 0.3s;
}
.acca-meter-hint {
  font-size: 10px;
  color: #94a3b8;
}
.betslip-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60a5fa;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s;
}
.betslip-book-btn:hover {
  background: #3b82f6;
  color: #fff;
}
.booking-code-load-bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  border-top: 1px solid #1e293b;
  background: #0f1520;
}
.booking-code-input {
  flex: 1;
  background: #161f2e;
  border: 1px solid #27374e;
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.booking-code-load-btn {
  background: #222f44;
  border: 1px solid #334460;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}
.booking-code-load-btn:hover {
  background: #00e700;
  color: #000;
  border-color: #00e700;
}
.betslip-odds-accept-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #94a3b8;
  margin: 8px 0;
  cursor: pointer;
}
.booking-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
  display: none;
  place-items: center;
  z-index: 1000;
}
.booking-modal-overlay.open {
  display: grid;
}
.booking-modal-card {
  background: #131a26;
  border: 1px solid #27384e;
  border-radius: 14px;
  width: 90%;
  max-width: 440px;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}
.booking-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.booking-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
}
.booking-modal-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 20px;
  cursor: pointer;
}
.booking-modal-desc {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 12px;
}
.booking-code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0a0e16;
  border: 2px dashed #00e700;
  border-radius: 10px;
  padding: 12px 18px;
  margin-bottom: 14px;
}
.booking-code-text {
  font-size: 22px;
  font-weight: 900;
  color: #00e700;
  letter-spacing: 2px;
  font-family: monospace;
}
.booking-code-copy-btn {
  background: #00e700;
  color: #000;
  border: none;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
}
.booking-code-copy-btn:hover {
  background: #059669;
  color: #fff;
}
.booking-ticket-summary {
  max-height: 180px;
  overflow-y: auto;
  border: 1px solid #1e2838;
  border-radius: 8px;
  background: #0d121c;
  padding: 8px 12px;
  margin-bottom: 14px;
}
.booking-summary-header {
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid #1e2838;
}
.booking-summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 12px;
}
.booking-summary-item:last-child { border-bottom: none; }
.booking-modal-btn.done {
  width: 100%;
  background: #222d42;
  border: 1px solid #334460;
  color: #fff;
  font-weight: 800;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.15s;
}
.booking-modal-btn.done:hover {
  background: #334460;
}

/* ====================================================================
   HOME PAGE — HERO CAROUSEL
   ==================================================================== */
.hero-carousel { position: relative; overflow: hidden; border-radius: var(--radius-lg); margin-bottom: 16px; min-height: 260px; background: var(--surface); }
.hero-slides { display: flex; transition: transform 0.5s cubic-bezier(.4,0,.2,1); will-change: transform; }
.hero-slide { position: relative; min-width: 100%; min-height: 260px; display: flex; align-items: flex-end; overflow: hidden; }
@media (min-width: 768px) { .hero-carousel { min-height: 320px; } .hero-slide { min-height: 320px; } }

.hero-slide-backdrop { position: absolute; inset: 0; z-index: 0; }
.hero-slide-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: brightness(0.55) saturate(1.2); }
.hero-slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,15,26,.92) 0%, rgba(11,15,26,.55) 60%, rgba(11,15,26,.25) 100%); }
.derby-overlay { background: linear-gradient(90deg, rgba(30,10,50,.92) 0%, rgba(30,10,50,.5) 60%, transparent 100%); }
.inplay-overlay { background: linear-gradient(90deg, rgba(80,10,10,.92) 0%, rgba(50,10,10,.5) 60%, transparent 100%); }
.acca-overlay { background: linear-gradient(90deg, rgba(10,30,10,.92) 0%, rgba(10,30,10,.5) 60%, transparent 100%); }

.hero-slide-content { position: relative; z-index: 2; padding: 20px 20px 24px; flex: 1; max-width: 520px; }
@media (min-width: 640px) { .hero-slide-content { padding: 28px 32px 36px; } }

.hero-slide-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: 4px 12px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: 0.8px; color: #fff; margin-bottom: 12px; text-transform: uppercase; }
.hero-slide-badge.red { background: rgba(239,68,68,.2); border-color: rgba(239,68,68,.4); color: #fca5a5; }
.hero-slide-badge.gold { background: rgba(234,179,8,.2); border-color: rgba(234,179,8,.4); color: #fde68a; }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 1.5s infinite; }
.live-pulse-badge { background: rgba(239,68,68,.15); border-color: rgba(239,68,68,.3); }
.live-pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: pulse 1.5s infinite; display: inline-block; }
.live-pulse-dot.red { background: var(--red); }

.hero-slide-title { font-size: 22px; font-weight: 900; color: #fff; line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 8px; }
@media (min-width: 640px) { .hero-slide-title { font-size: 28px; } }
.highlight-green { color: var(--green); }
.highlight-gold { color: #fbbf24; }
.vs-divider { color: var(--text-muted); font-size: 0.7em; margin: 0 4px; font-weight: 500; }

.hero-slide-text { font-size: 13px; color: rgba(255,255,255,.75); line-height: 1.55; margin-bottom: 18px; max-width: 420px; }

.hero-slide-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.hero-slide-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 22px; border-radius: 999px; font-size: 13px; font-weight: 800; transition: all 0.2s; white-space: nowrap; cursor: pointer; }
.hero-slide-btn.primary { background: var(--accent); color: #fff; box-shadow: 0 4px 16px rgba(59,130,246,.4); }
.hero-slide-btn.primary:hover { background: var(--accent-hover); box-shadow: 0 6px 24px rgba(59,130,246,.55); transform: translateY(-1px); }
.hero-slide-btn.outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.35); }
.hero-slide-btn.outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.hero-slide-btn.live { background: var(--red); color: #fff; box-shadow: 0 4px 16px rgba(239,68,68,.4); }
.hero-slide-btn.live:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(239,68,68,.55); }
.hero-slide-btn.danger { background: linear-gradient(135deg, var(--red), #dc2626); color: #fff; box-shadow: 0 4px 16px rgba(239,68,68,.4); }
.hero-slide-btn.danger:hover { box-shadow: 0 6px 24px rgba(239,68,68,.55); transform: translateY(-1px); }
.hero-slide-btn.gold { background: linear-gradient(135deg, #d97706, #b45309); color: #fff; box-shadow: 0 4px 16px rgba(217,119,6,.35); }
.hero-slide-btn.gold:hover { box-shadow: 0 6px 24px rgba(217,119,6,.5); transform: translateY(-1px); }

.hero-mini-odds { display: flex; gap: 6px; }
.hero-odd-pill { display: inline-flex; align-items: center; gap: 4px; padding: 7px 14px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius-sm); font-size: 13px; font-weight: 800; color: #fff; transition: all 0.2s; cursor: pointer; }
.hero-odd-pill:hover { background: var(--accent); border-color: var(--accent); transform: scale(1.04); }

/* Player badge card on hero */
.hero-slide-player-badge { position: absolute; right: 16px; bottom: 16px; z-index: 3; display: none; }
@media (min-width: 640px) { .hero-slide-player-badge { display: block; right: 24px; bottom: 24px; } }
.player-badge-card { display: flex; align-items: center; gap: 10px; background: rgba(17,24,39,.85); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-lg); padding: 10px 14px; min-width: 220px; }
.player-badge-card.highlight-card { border-color: rgba(234,179,8,.4); background: rgba(30,20,5,.85); }
.player-badge-img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.player-badge-info { display: flex; flex-direction: column; gap: 2px; }
.player-badge-tag { font-size: 9px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; color: var(--text-muted); }
.player-badge-tag.gold { color: #fbbf24; }
.player-badge-name { font-size: 13px; font-weight: 800; color: #fff; line-height: 1.2; }
.player-badge-odds { font-size: 12px; color: var(--text-secondary); }

/* Carousel controls */
.hero-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 6px; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); border: none; cursor: pointer; transition: all 0.25s; padding: 0; }
.hero-dot.active { background: #fff; width: 20px; border-radius: 4px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.15); color: #fff; display: grid; place-items: center; transition: all 0.2s; cursor: pointer; }
.hero-arrow:hover { background: rgba(0,0,0,.7); }
.hero-arrow-left { left: 10px; }
.hero-arrow-right { right: 10px; }

/* ====================================================================
   HOME PAGE — COMPETITIONS BAR
   ==================================================================== */
.competitions-bar { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 12px; margin-bottom: 20px; overflow: hidden; }
.competitions-label { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; flex-shrink: 0; }
.competitions-scroll { display: flex; gap: 8px; overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; }
.competitions-scroll::-webkit-scrollbar { display: none; }
.comp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; color: var(--text-secondary); background: transparent; border: 1px solid transparent; transition: all 0.2s; text-decoration: none; }
.comp-chip:hover { background: rgba(255,255,255,.06); color: var(--text); border-color: var(--border); }
.comp-chip.active { background: rgba(59,130,246,.12); color: var(--accent); border-color: rgba(59,130,246,.3); }
.comp-chip .comp-icon { font-size: 14px; }
.comp-chip .comp-title { font-size: 12px; }
.comp-badge { font-size: 9px; font-weight: 800; background: var(--red); color: #fff; padding: 1px 5px; border-radius: 3px; }
.comp-chip.live-chip { color: var(--red); }
.live-dot-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse 1.5s infinite; display: inline-block; flex-shrink: 0; }

/* ====================================================================
   HOME PAGE — SECTION TITLES
   ==================================================================== */
.section-title-wrap { display: flex; align-items: center; gap: 10px; }
.sportsbook-ball-icon { font-size: 22px; line-height: 1; }
.sportsbook-ball-icon.basketball { font-size: 22px; }
.section-all-link { font-size: 13px; font-weight: 700; color: var(--accent); white-space: nowrap; transition: opacity 0.15s; }
.section-all-link:hover { opacity: 0.75; }

/* ====================================================================
   HOME PAGE — FEATURED MATCH BROADCAST HUD
   ==================================================================== */
.featured-match-broadcast { background: linear-gradient(135deg, #0e1c35 0%, #12182a 60%, #0b0f1a 100%); border: 1px solid rgba(59,130,246,.25); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 24px; box-shadow: 0 8px 32px rgba(0,0,0,.4); }
.broadcast-banner-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; background: rgba(0,0,0,.3); border-bottom: 1px solid rgba(255,255,255,.07); flex-wrap: wrap; gap: 6px; }
.broadcast-live-tag { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; color: var(--red); letter-spacing: 0.4px; text-transform: uppercase; }
.broadcast-league-info { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-secondary); font-weight: 600; }
.broadcast-body { padding: 16px; }
.broadcast-scoreboard { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.broadcast-team { display: flex; align-items: center; gap: 10px; flex: 1; }
.broadcast-team.home { flex-direction: row; }
.broadcast-team.away { flex-direction: row-reverse; }
.broadcast-crest-wrap { flex-shrink: 0; }
.broadcast-crest { width: 56px; height: 56px; border-radius: 50%; object-fit: contain; background: rgba(255,255,255,.06); border: 2px solid rgba(255,255,255,.1); }
.broadcast-team-meta { display: flex; flex-direction: column; gap: 4px; }
.broadcast-team.away .broadcast-team-meta { align-items: flex-end; }
.broadcast-team-name { font-size: 15px; font-weight: 800; color: #fff; line-height: 1.2; }
.team-form-badges { display: flex; align-items: center; gap: 3px; }
.team-form-badges.justify-end { justify-content: flex-end; }
.form-pill { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 4px; font-size: 9px; font-weight: 900; }
.form-pill.win { background: rgba(34,197,94,.2); color: var(--green); }
.form-pill.draw { background: rgba(234,179,8,.2); color: var(--yellow); }
.form-pill.loss { background: rgba(239,68,68,.2); color: var(--red); }
.broadcast-score-center { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; }
.broadcast-digits { display: flex; align-items: center; gap: 8px; }
.broadcast-digits .digit { font-size: 36px; font-weight: 900; color: #fff; line-height: 1; min-width: 36px; text-align: center; }
.broadcast-digits .colon { font-size: 30px; font-weight: 900; color: var(--text-muted); animation: pulse 1.5s infinite; }
.broadcast-status-badge { font-size: 9px; font-weight: 800; color: var(--red); background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.25); padding: 2px 8px; border-radius: 3px; letter-spacing: 0.3px; text-transform: uppercase; }

/* Tactical pitch radar */
.broadcast-pitch-radar-wrap { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.tactical-pitch { position: relative; flex: 1; height: 60px; background: linear-gradient(135deg, #064e1e, #046020); border-radius: 6px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.pitch-marking { position: absolute; border: 1px solid rgba(255,255,255,.2); }
.pitch-marking.penalty-left { left: 8px; top: 10px; bottom: 10px; width: 20px; border-radius: 0 4px 4px 0; }
.pitch-marking.penalty-right { right: 8px; top: 10px; bottom: 10px; width: 20px; border-radius: 4px 0 0 4px; }
.pitch-marking.center-line { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.pitch-marking.center-circle { left: 50%; top: 50%; width: 28px; height: 28px; border-radius: 50%; transform: translate(-50%, -50%); }
.pitch-attack-flow { position: absolute; display: flex; align-items: center; gap: 4px; padding: 2px 6px; background: rgba(34,197,94,.15); border-radius: 3px; font-size: 8px; font-weight: 700; color: var(--green); animation: attackPulse 2s ease infinite; }
.pitch-attack-flow.home-attacking { left: 8px; top: 50%; transform: translateY(-50%); }
.attack-arrow { font-size: 12px; }
.attack-label { font-size: 7px; }
@keyframes attackPulse { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }

.broadcast-stats-strip { display: flex; flex-direction: column; gap: 6px; min-width: 120px; }
.stat-pill { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.stat-val { font-size: 13px; font-weight: 800; color: #fff; min-width: 28px; text-align: center; }
.stat-lbl { font-size: 9px; font-weight: 600; color: var(--text-muted); text-align: center; flex: 1; text-transform: uppercase; letter-spacing: 0.3px; }

/* Broadcast odds bar */
.broadcast-odds-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.odds-bar-group { display: flex; flex-direction: column; gap: 6px; }
.odds-group-label { font-size: 10px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.odds-btn-row { display: flex; gap: 6px; flex-wrap: wrap; }
.odds-btn.pro-odds-btn { min-width: 72px; padding: 8px 10px; flex-direction: column; gap: 2px; border-radius: var(--radius-sm); }
.odds-btn.pro-odds-btn .odds-btn-label { font-size: 9px; }
.odds-btn.pro-odds-btn .odds-btn-value { font-size: 14px; font-weight: 900; }
.broadcast-more-link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: var(--radius-sm); background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.25); color: var(--accent); font-size: 12px; font-weight: 700; transition: all 0.15s; white-space: nowrap; text-decoration: none; }
.broadcast-more-link:hover { background: rgba(59,130,246,.18); }

/* ====================================================================
   HOME PAGE — SPORTSBOOK ODDS BOARD (League table + Match rows)
   ==================================================================== */
.sportsbook-tabs { display: flex; gap: 6px; }
.sports-filter-btn { display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--text-secondary); background: var(--surface); border: 1px solid var(--border); transition: all 0.2s; cursor: pointer; white-space: nowrap; }
.sports-filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.sports-filter-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.sports-filter-btn.live-filter { color: var(--red); }
.sports-filter-btn.live-filter.active { background: var(--red); border-color: var(--red); }

.sportsbook-league-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.sportsbook-league-card.other-sport { border-color: var(--border); }
.league-table-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; background: rgba(0,0,0,.2); border-bottom: 1px solid var(--border); }
.league-title-cell { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; overflow: hidden; }
.league-country-tag { font-size: 10px; color: var(--text-muted); font-weight: 500; white-space: nowrap; }
.league-matches-badge { font-size: 10px; font-weight: 700; color: var(--accent); background: rgba(59,130,246,.1); padding: 1px 7px; border-radius: 999px; white-space: nowrap; }
.league-sport-badge { font-size: 10px; font-weight: 700; color: var(--purple); background: rgba(139,92,246,.1); padding: 1px 7px; border-radius: 999px; white-space: nowrap; }
.market-columns-header { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.market-columns-header.moneyline-head { gap: 6px; }
.market-col-head { min-width: 52px; text-align: center; font-size: 10px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.3px; }
@media (max-width: 640px) { .hidden-sm { display: none !important; } }

.league-matches-list { }
.match-fixture-row { display: flex; align-items: center; padding: 0 8px; border-bottom: 1px solid rgba(255,255,255,.04); min-height: 56px; transition: background 0.15s; }
.match-fixture-row:last-child { border-bottom: none; }
.match-fixture-row:hover { background: rgba(255,255,255,.03); }
.match-fixture-row.is-live-row { background: rgba(239,68,68,.03); }
.match-fixture-row.is-live-row:hover { background: rgba(239,68,68,.06); }

.fixture-left-col { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; padding: 6px 0; }
.match-fav-btn { width: 24px; height: 24px; display: grid; place-items: center; flex-shrink: 0; color: var(--text-muted); font-size: 14px; transition: color 0.2s; border: none; background: none; cursor: pointer; }
.match-fav-btn:hover { color: var(--yellow); }
.fav-icon { line-height: 1; }

.fixture-status-block { display: flex; align-items: center; flex-shrink: 0; width: 46px; }
.live-minute-badge { display: inline-flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 800; color: var(--red); white-space: nowrap; }
.live-blip { width: 5px; height: 5px; border-radius: 50%; background: var(--red); animation: pulse 1.5s infinite; flex-shrink: 0; }
.upcoming-time-badge { font-size: 10px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }

.fixture-teams-block { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.team-line { display: flex; align-items: center; gap: 5px; }
.team-crest-sm { width: 16px; height: 16px; border-radius: 50%; object-fit: contain; flex-shrink: 0; }
.team-fallback-sm { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: var(--surface-3); font-size: 6px; font-weight: 900; color: var(--text); flex-shrink: 0; }
.fixture-team-name { font-size: 12px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px; flex: 1; }
.fixture-team-score { font-size: 13px; font-weight: 900; color: #fff; min-width: 16px; text-align: right; }

.fixture-odds-cols { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.sportsbook-odds-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 52px; height: 44px; padding: 4px 6px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--border); cursor: pointer; transition: all 0.15s; gap: 1px; }
.sportsbook-odds-btn:hover { background: rgba(59,130,246,.1); border-color: var(--accent); transform: scale(1.03); }
.sportsbook-odds-btn.selected { background: var(--accent); border-color: var(--accent); box-shadow: 0 2px 10px var(--accent-glow); }
.sportsbook-odds-btn .odds-tag { font-size: 8px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.3px; line-height: 1; }
.sportsbook-odds-btn.selected .odds-tag { color: rgba(255,255,255,.75); }
.sportsbook-odds-btn .odds-num { font-size: 13px; font-weight: 900; color: var(--accent); line-height: 1; }
.sportsbook-odds-btn.selected .odds-num { color: #fff; }
.more-markets-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 44px; padding: 4px 6px; border-radius: var(--radius-sm); background: transparent; border: 1px solid var(--border); color: var(--text-muted); font-size: 11px; font-weight: 700; transition: all 0.15s; text-decoration: none; }
.more-markets-pill:hover { border-color: var(--accent); color: var(--accent); background: rgba(59,130,246,.06); }

/* ====================================================================
   HOME PAGE — OTHER SPORTS SECTION
   ==================================================================== */
.other-sports-section .sportsbook-league-card { background: var(--card); }

/* ====================================================================
   ADMIN SHARED CONTROLS (all admin pages)
   ==================================================================== */
.filter-tabs { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; align-items: center; }
.filter-tab {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 700;
  color: var(--text-muted); background: var(--surface); border: 1px solid var(--border);
  text-decoration: none; white-space: nowrap; transition: all 0.2s;
}
.filter-tab:hover { border-color: var(--accent); color: var(--accent); }
.filter-tab.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.admin-toolbar { display: flex; gap: 8px; margin-bottom: 16px; align-items: center; flex-wrap: wrap; }
.admin-toolbar form { display: flex; gap: 8px; flex: 1; min-width: 0; align-items: center; flex-wrap: wrap; }
.admin-toolbar input[type="text"] {
  flex: 1 1 180px; min-width: 0; max-width: 320px;
  padding: 8px 12px; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text); font-size: 13px;
}
.admin-toolbar input[type="text"]:focus { outline: none; border-color: var(--accent); }
.admin-toolbar-meta { font-size: 11px; color: var(--text-muted); white-space: nowrap; }
.admin-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.admin-table td .cell-truncate {
  display: inline-block; max-width: 180px; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom;
}

/* ====================================================================
   RESPONSIVE SYSTEM — CUSTOMER + ADMIN
   ==================================================================== */
@media (max-width: 767px) {
  html { font-size: 15px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  body.auth-body { padding-bottom: 0; }
  .auth-page { padding: 16px; min-height: auto; }
  .auth-card { padding: 24px 18px; }

  .header { position: sticky; top: 0; z-index: 55; }
  .header-inner { height: 54px; padding: 0 10px; gap: 7px; }
  .header-logo-svg { width: 30px; height: 30px; }
  .header-logo-text { font-size: 18px; }
  .sport-tabs, .header-bets-btn { display: none; }
  .header-spacer { min-width: 0; }
  .header-balance { padding: 7px 9px; font-size: 12px; white-space: nowrap; }
  .header-icon-btn { width: 34px; height: 34px; flex: 0 0 34px; }
  .header-user { padding: 5px 7px; max-width: 86px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .header-user-avatar { flex: 0 0 auto; }
  .balance-dropdown { position: fixed; top: 58px; right: 10px; left: 10px; min-width: 0; }

  .ticker { overflow: hidden; }
  .page-layout { display: block; width: 100%; min-height: 0; }
  .main-content, .main-content-wide { width: 100%; max-width: none; padding: 10px; }
  .sidebar-left, .sidebar-right { display: none !important; }
  .section-header { gap: 8px; flex-wrap: wrap; }
  .section-title { font-size: 17px; }

  .hero-carousel, .featured-card, .sportsbook-league-card,
  .account-card, .bet-card, .admin-card { border-radius: 10px; }
  .hero-slide { min-height: 164px; padding: 18px 16px; }
  .hero-slide-content { padding: 16px 14px 22px; }
  .hero-slide-title { font-size: 20px; }
  .hero-slide-text { max-width: 85%; margin-bottom: 12px; }
  .hero-arrow { display: none; }
  .hero-slide-btn { padding: 9px 15px; }
  .competitions-bar { margin-bottom: 12px; padding: 7px 9px; }

  .match-row-inner { grid-template-columns: 1fr; gap: 8px; }
  .match-team-name { max-width: calc(100vw - 110px); }
  .match-odds { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .odds-btn { min-width: 0; min-height: 44px; }
  .odds-header { grid-template-columns: 1fr repeat(3, minmax(52px, 1fr)); }

  .broadcast-scoreboard { gap: 6px; }
  .broadcast-crest { width: 40px; height: 40px; }
  .broadcast-team, .broadcast-team.home, .broadcast-team.away {
    gap: 5px; min-width: 0; flex-direction: column; justify-content: center; text-align: center;
  }
  .broadcast-team .broadcast-team-meta,
  .broadcast-team.away .broadcast-team-meta { width: 100%; align-items: center; min-width: 0; }
  .broadcast-team-name { width: 100%; max-width: 82px; font-size: 11px; overflow-wrap: anywhere; }
  .team-form-badges { display: none; }
  .broadcast-score-center { min-width: 86px; }
  .broadcast-digits { gap: 3px; }
  .broadcast-digits .digit { font-size: 23px; min-width: 22px; }
  .broadcast-digits .colon { font-size: 20px; }
  .broadcast-pitch-radar-wrap { flex-direction: column; align-items: stretch; }
  .broadcast-stats-strip { min-width: 0; flex-direction: row; flex-wrap: wrap; }
  .stat-pill { flex: 1 1 90px; }

  .league-table-header { align-items: flex-start; gap: 8px; }
  .market-columns-header { display: none; }
  .match-fixture-row { display: block; padding: 8px; }
  .fixture-left-col { width: 100%; padding: 0 0 7px; }
  .fixture-team-name { max-width: calc(100vw - 135px); }
  .fixture-odds-cols { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .sportsbook-odds-btn, .more-markets-pill { width: 100%; min-width: 0; height: 42px; }
  .fixture-odds-cols .hidden-sm { display: none !important; }

  .account-page, .bets-page, .casino-page, .sports-page, .rg-page, .mybets-page {
    width: 100%; max-width: none; padding: 12px 0 88px;
  }
  .account-header { margin-bottom: 14px; }
  .account-title { font-size: 23px; }
  .account-card { padding: 16px; }
  .account-stats, .account-actions { grid-template-columns: 1fr 1fr; }
  .account-actions > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .bet-card-details, .mybets-footer-row { grid-template-columns: 1fr 1fr; }
  #rushpay-payment-widget { width: 100%; overflow: hidden; }
  #rushpay-payment-widget .rp2-widget { max-width: 100% !important; }
  #rushpay-payment-widget .rp2-hero,
  #rushpay-payment-widget .rp2-body { padding: 16px !important; }

  .search-overlay { padding: 10px; align-items: flex-start; }
  .search-panel { margin-top: 56px; max-height: calc(100dvh - 80px); }
  .notif-dropdown { top: 58px; left: 8px; right: 8px; width: auto; max-width: none; }
  .toast { top: 64px; left: 10px; right: 10px; min-width: 0; width: auto; }
  .bet-confirm-card, .reality-check-card { width: calc(100% - 24px); padding: 20px; }
  .mobile-nav { padding-bottom: env(safe-area-inset-bottom); }
  .betslip-fab { bottom: calc(76px + env(safe-area-inset-bottom)); right: 12px; }
  .betslip-panel { max-height: 82dvh; padding-bottom: env(safe-area-inset-bottom); }

  /* Inline legacy layouts collapse safely without rewriting every view. */
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"],
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] { grid-template-columns: 1fr 1fr !important; }
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
  [style*="min-width:200px"], [style*="min-width:220px"] { min-width: 0 !important; }

  table:not(.admin-table):not(.rg-table) { max-width: 100%; }

  /* Admin pages use standalone templates with repeated local styles. These
     high-specificity rules provide one consistent mobile administration UI. */
  .admin-shell { display: flex !important; flex-direction: column !important; min-height: 100dvh !important; width: 100% !important; }
  .admin-sidebar {
    display: flex !important; position: sticky !important; top: 0 !important; z-index: 60 !important;
    width: 100% !important; height: auto !important; min-height: 52px !important;
    padding: 6px 8px !important; flex-direction: row !important; align-items: center !important;
    overflow-x: auto !important; overflow-y: hidden !important; border-right: 0 !important;
    border-bottom: 1px solid var(--border) !important; gap: 5px !important;
    background: var(--surface) !important; scrollbar-width: none !important;
  }
  .admin-sidebar::-webkit-scrollbar { display: none !important; }
  .admin-sidebar-title, .admin-nav-section { display: none !important; }
  .admin-sidebar .admin-nav-item {
    display: inline-flex !important; align-items: center !important; flex: 0 0 auto !important;
    min-height: 40px !important; padding: 8px 12px !important; border: 1px solid var(--border) !important;
    border-radius: 999px !important; white-space: nowrap !important; font-size: 12px !important;
    background: var(--bg) !important;
  }
  .admin-sidebar .admin-nav-item svg { flex: 0 0 auto; margin-right: 6px !important; }
  .admin-sidebar .admin-nav-item.active {
    color: #fff !important; background: var(--accent) !important;
    border-color: var(--accent) !important; border-right: 1px solid var(--accent) !important;
  }
  .admin-sidebar form { flex: 0 0 auto !important; }
  .admin-main { width: 100% !important; max-width: none !important; padding: 14px 12px 36px !important; overflow: visible !important; }
  .admin-page-title { font-size: 20px !important; margin-bottom: 14px !important; overflow-wrap: anywhere; }
  .admin-stats { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .admin-stat { padding: 12px !important; min-width: 0 !important; }
  .admin-stat-value { font-size: 20px !important; overflow-wrap: anywhere; }
  .admin-card { padding: 12px !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
  .admin-card > .admin-table-wrap,
  .admin-card > table.admin-table { margin: 0; }
  /* Keep real table layout; scroll inside the card/wrapper only. */
  .admin-table { display: table !important; width: 100% !important; min-width: 640px; border-collapse: collapse !important; }
  .admin-table th, .admin-table td { overflow-wrap: normal; word-break: normal; }
  .admin-table td .cell-truncate { max-width: 140px; }
  .rg-table { display: table !important; width: 100% !important; min-width: 520px; }
  .filter-tabs { overflow-x: auto !important; flex-wrap: nowrap !important; padding-bottom: 6px; gap: 6px !important; scrollbar-width: none !important; }
  .filter-tabs::-webkit-scrollbar { display: none !important; }
  .filter-tab { flex: 0 0 auto !important; min-height: 34px !important; padding: 7px 14px !important; font-size: 12px !important; }
  .admin-toolbar { flex-direction: column !important; align-items: stretch !important; gap: 8px !important; }
  .admin-toolbar form { width: 100% !important; flex: 1 1 auto !important; }
  .admin-toolbar input[type="text"] { flex: 1 1 auto !important; max-width: none !important; min-height: 42px; font-size: 14px; }
  .admin-toolbar .admin-btn { min-height: 42px !important; }
  .admin-toolbar-meta { text-align: right; }
  .search-bar { flex-direction: column !important; align-items: stretch !important; gap: 8px !important; }
  .search-bar form { width: 100% !important; flex-wrap: wrap !important; }
  .search-bar input { flex: 1 1 140px !important; max-width: none !important; min-height: 42px; font-size: 14px; }
  .match-count { text-align: right; }
  .form-row { display: grid !important; grid-template-columns: 1fr !important; gap: 10px !important; }
  .form-group { width: 100% !important; min-width: 0 !important; }
  .form-group input, .form-group select, .form-group textarea { width: 100% !important; min-height: 44px; }
  .admin-btn { min-height: 40px; }
  .review-actions { flex-direction: column !important; align-items: stretch !important; }
  .review-actions input { width: 100% !important; min-width: 0 !important; }
  .pagination { flex-wrap: wrap !important; gap: 6px !important; justify-content: center !important; }
  .pagination a, .pagination span { min-height: 36px; display: inline-flex; align-items: center; }

  .tab-bar { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tab-bar::-webkit-scrollbar { display: none; }
  .tab-btn { flex: 0 0 auto; white-space: nowrap; padding: 8px 14px; }
  .deposit-methods { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }

  .rg-tier-progress { gap: 0; margin: 16px -4px; }
  .rg-tier-dot { width: 28px; height: 28px; font-size: 12px; }
  .rg-tier-label { font-size: 9px; text-align: center; max-width: 56px; }
  .rg-tier-line { width: 22px; margin-bottom: 16px; }
  .rg-exclude-options { grid-template-columns: 1fr; }

  .account-page > [style*="display:flex"][style*="justify-content:center"] { flex-wrap: wrap; }

  .account-card table, .account-page table, .rg-page table {
    display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
  }
  .account-card th, .account-card td, .account-page th, .account-page td { white-space: nowrap; }

  .casino-grid { grid-template-columns: repeat(2, 1fr); }
  .casino-scroll .casino-card { min-width: 140px; max-width: 140px; }
  .competitions-bar { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .comp-chip { flex: 0 0 auto; white-space: nowrap; }

  .ref-share-row input { min-width: 0 !important; width: 100%; flex: 1 1 100% !important; }
  .ref-share-row button, .ref-share-row a { flex: 1 1 auto; text-align: center; }
  .ref-badge { position: static !important; display: inline-block; margin-bottom: 12px; }
  .redeem-row { flex-wrap: wrap; }
  .redeem-row .btn-primary { min-width: calc(50% - 4px); }
}

@media (max-width: 380px) {
  .header-logo-text { display: none; }
  .header-user { max-width: 48px; font-size: 0; }
  .header-user svg, .header-user-avatar { margin: 0; }
  .account-stats, .account-actions, .admin-stats { grid-template-columns: 1fr !important; }
  .bet-card-details, .mybets-footer-row { grid-template-columns: 1fr; }
  .mobile-nav a { font-size: 9px; }
}

/* ====================================================================
   SECTION HELPERS
   ==================================================================== */
.text-right { text-align: right; }
.justify-end { justify-content: flex-end; }
