/* ============================================================
   BOM-BET KENYA — Main Stylesheet
   Brand: BomBet (bombet.co.ke) | License: BK.0000796
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --bg-primary:   #0b0c1e;
  --bg-secondary: #141530;
  --bg-card:      #1c1e3d;
  --bg-card2:     #22245a;
  --accent-gold:  #f5a623;
  --accent-orange:#e63946;
  --accent-cyan:  #00b4d8;
  --accent-green: #2dc653;
  --accent-purple:#7c3aed;
  --text-white:   #ffffff;
  --text-muted:   #9ea3c4;
  --border:       rgba(255,255,255,0.08);
  --shadow:       0 8px 32px rgba(0,0,0,0.45);
  --radius:       12px;
  --radius-lg:    20px;
  --radius-sm:    8px;
  --transition:   0.25s ease;
  --header-h:     70px;
  --tracker-bar-h:40px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-white);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- Tracker Bar (top strip) ---------- */
.tracker-bar {
  background: linear-gradient(90deg, #e63946 0%, #f5a623 50%, #e63946 100%);
  background-size: 200% 100%;
  animation: trackerBg 4s linear infinite;
  height: var(--tracker-bar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .04em;
  position: relative;
  z-index: 1000;
}
@keyframes trackerBg {
  0%   { background-position: 0%  50%; }
  100% { background-position: 200% 50%; }
}
.tracker-bar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  background: rgba(0,0,0,.25);
  padding: 5px 20px;
  border-radius: 40px;
  font-weight: 800;
  transition: var(--transition);
  white-space: nowrap;
}
.tracker-bar a:hover { background: rgba(0,0,0,.5); transform: scale(1.03); }
.tracker-bar .pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity:1; }
  50%       { transform: scale(1.4); opacity:.6; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-h);
  background: rgba(11,12,30,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 24px;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.logo-wrap { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-wrap img { height: 42px; width: auto; }
.logo-wrap .logo-text { font-size: 1.5rem; font-weight: 900; letter-spacing: -.02em; }
.logo-text span.bom { color: var(--accent-gold); }
.logo-text span.bet { color: var(--text-white); }

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .92rem;
  color: var(--text-muted);
  transition: var(--transition);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active { color: var(--accent-gold); background: rgba(245,166,35,.1); }

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn-login {
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-weight: 600;
  font-size: .9rem;
  color: var(--text-white);
  transition: var(--transition);
}
.btn-login:hover { border-color: var(--accent-gold); color: var(--accent-gold); }
.btn-register {
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(245,166,35,.3);
}
.btn-register:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245,166,35,.4); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: var(--transition);
}
.burger:hover { background: var(--border); }
.burger span { width: 22px; height: 2px; background: var(--text-white); border-radius: 2px; transition: var(--transition); }

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
}
.mobile-nav.open { display: flex; }
.mobile-nav-inner {
  width: 280px;
  height: 100%;
  background: var(--bg-secondary);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  animation: slideIn .25s ease;
}
@keyframes slideIn { from { transform: translateX(-100%); } to { transform: translateX(0); } }
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.mobile-nav-close {
  background: var(--border);
  border: none;
  color: var(--text-white);
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.mobile-nav-inner a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.mobile-nav-inner a:hover,
.mobile-nav-inner a.active { color: var(--accent-gold); background: rgba(245,166,35,.1); }
.mobile-nav-inner .btn-register {
  margin-top: 12px;
  text-align: center;
  justify-content: center;
}
.mobile-tracker {
  margin-top: 16px;
  padding: 12px;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
  border-radius: var(--radius);
  text-align: center;
  font-weight: 800;
  font-size: .95rem;
  color: #fff;
}

/* ---------- Main Layout ---------- */
.page-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.page-main { flex: 1; }

/* Content with optional sidebar */
.content-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
}
.content-layout.no-sidebar { grid-template-columns: 1fr; max-width: 1000px; }
.content-main { min-width: 0; }
.content-layout > .page-main,
.content-layout > main {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.content-layout .section-inner {
  max-width: 100%;
}

/* ---------- Sidebar ---------- */
.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sidebar-box {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
}
.sidebar-box h4 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.sidebar-links { display: flex; flex-direction: column; gap: 4px; }
.sidebar-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}
.sidebar-links a:hover { color: var(--accent-gold); background: rgba(245,166,35,.08); }
.sidebar-links a .ico { font-size: 1.1rem; }
.sidebar-cta {
  display: block;
  padding: 14px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
  border-radius: var(--radius);
  text-align: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  box-shadow: 0 4px 20px rgba(245,166,35,.3);
  transition: var(--transition);
}
.sidebar-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(245,166,35,.45); }

/* ---------- Hero Sections ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,12,30,.95) 40%, rgba(11,12,30,.5) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,.15);
  border: 1px solid rgba(245,166,35,.3);
  padding: 6px 16px;
  border-radius: 40px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 18px;
  max-width: 640px;
}
.hero h1 em { font-style: normal; color: var(--accent-gold); }
.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 30px;
  line-height: 1.7;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  box-shadow: 0 6px 20px rgba(245,166,35,.35);
  transition: var(--transition);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(245,166,35,.5); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-white);
  transition: var(--transition);
}
.btn-secondary:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat { text-align: left; }
.hero-stat .num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent-gold);
  line-height: 1;
}
.hero-stat .lbl { font-size: .8rem; color: var(--text-muted); margin-top: 4px; }

/* Inner page hero (smaller) */
.hero-sm { min-height: 280px; }
.hero-sm .hero-content { padding: 50px 24px; }
.hero-sm h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); }

/* ---------- Section Utilities ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-secondary); }
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-header { margin-bottom: 40px; }
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 10px;
}
.section-header h2 span { color: var(--accent-gold); }
.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
}
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

/* ---------- Cards Grid ---------- */
.grid-cards {
  display: grid;
  gap: 20px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { transform: translateY(-4px); border-color: rgba(245,166,35,.3); box-shadow: var(--shadow); }
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.card-body { padding: 18px; }
.card-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.card-body p { font-size: .88rem; color: var(--text-muted); line-height: 1.55; }
.card-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.badge-gold { background: rgba(245,166,35,.15); color: var(--accent-gold); border: 1px solid rgba(245,166,35,.3); }
.badge-red  { background: rgba(230,57,70,.15); color: var(--accent-orange); border: 1px solid rgba(230,57,70,.3); }
.badge-cyan { background: rgba(0,180,216,.15); color: var(--accent-cyan); border: 1px solid rgba(0,180,216,.3); }
.badge-green{ background: rgba(45,198,83,.15); color: var(--accent-green); border: 1px solid rgba(45,198,83,.3); }

/* Feature card */
.feat-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px 24px;
  transition: var(--transition);
}
.feat-card:hover { border-color: rgba(245,166,35,.25); transform: translateY(-3px); }
.feat-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
  background: rgba(245,166,35,.1);
  color: var(--accent-gold);
}
.feat-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feat-card p  { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: .9rem;
}
thead th {
  background: var(--bg-card2);
  padding: 14px 16px;
  text-align: left;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
}
tbody tr { border-bottom: 1px solid var(--border); transition: var(--transition); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: rgba(255,255,255,.03); }
tbody td { padding: 14px 16px; color: var(--text-white); vertical-align: middle; }
tbody td.muted { color: var(--text-muted); }
.table-wrap table tbody td .chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 700;
}
.chip-gold  { background: rgba(245,166,35,.15); color: var(--accent-gold); }
.chip-green { background: rgba(45,198,83,.15);  color: var(--accent-green); }
.chip-red   { background: rgba(230,57,70,.15);  color: var(--accent-orange); }
.chip-cyan  { background: rgba(0,180,216,.15);  color: var(--accent-cyan); }

/* ---------- Charts (CSS-based) ---------- */
.chart-container {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px 24px;
}
.chart-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.chart-subtitle { font-size: .82rem; color: var(--text-muted); margin-bottom: 24px; }

/* Bar chart */
.bar-chart { display: flex; flex-direction: column; gap: 14px; }
.bar-row { display: flex; align-items: center; gap: 12px; }
.bar-label { width: 130px; font-size: .82rem; color: var(--text-muted); flex-shrink: 0; text-align: right; }
.bar-track { flex: 1; height: 10px; background: rgba(255,255,255,.06); border-radius: 10px; overflow: hidden; }
.bar-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 1s cubic-bezier(.25,.8,.25,1);
}
.bar-fill.gold   { background: linear-gradient(90deg, var(--accent-gold), #ffd166); }
.bar-fill.orange { background: linear-gradient(90deg, var(--accent-orange), #ff6b6b); }
.bar-fill.cyan   { background: linear-gradient(90deg, var(--accent-cyan), #90e0ef); }
.bar-fill.green  { background: linear-gradient(90deg, var(--accent-green), #80ffaa); }
.bar-fill.purple { background: linear-gradient(90deg, var(--accent-purple), #a78bfa); }
.bar-value { width: 44px; font-size: .82rem; font-weight: 700; color: var(--text-white); flex-shrink: 0; }

/* Donut / Progress circles */
.donut-chart { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.donut-item  { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.donut-ring  { position: relative; width: 110px; height: 110px; }
.donut-ring svg { transform: rotate(-90deg); }
.donut-ring .track { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 8; }
.donut-ring .fill  { fill: none; stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset 1.2s ease; }
.donut-center {
  position: absolute;
  inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 900; color: var(--text-white);
}
.donut-center span { font-size: .65rem; color: var(--text-muted); font-weight: 500; }
.donut-label { font-size: .8rem; color: var(--text-muted); text-align: center; max-width: 100px; }

/* Line / Area chart (SVG-based canvas) */
.line-chart-wrap { overflow-x: auto; }
.line-chart-wrap svg { min-width: 340px; }

/* Pie chart legend */
.pie-legend { display: flex; flex-direction: column; gap: 10px; }
.pie-legend-item { display: flex; align-items: center; gap: 10px; font-size: .86rem; }
.pie-legend-dot  { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }

/* ---------- Steps ---------- */
.steps { display: flex; gap: 0; flex-wrap: nowrap; }
.step {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 12px;
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 36px;
  right: -15%;
  width: 30%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), transparent);
}
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.2rem;
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(245,166,35,.35);
}
.step h4 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.step p   { font-size: .82rem; color: var(--text-muted); }

/* ---------- Winner Ticker ---------- */
.winner-ticker {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 16px 20px;
  overflow: hidden;
  position: relative;
}
.ticker-label { font-size: .75rem; font-weight: 700; color: var(--accent-green); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.ticker-track { display: flex; gap: 24px; animation: tickerScroll 30s linear infinite; width: max-content; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.ticker-item .avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--bg-card2); display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 700; color: var(--accent-gold); flex-shrink: 0; }
.ticker-item .name  { font-size: .82rem; font-weight: 600; }
.ticker-item .amount { font-size: .82rem; font-weight: 800; color: var(--accent-green); }
.ticker-sep { color: var(--border); }

/* ---------- Bonus Cards ---------- */
.bonus-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.bonus-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.bonus-card-img { width: 100%; aspect-ratio: 5/3; object-fit: cover; }
.bonus-card-body { padding: 22px; }
.bonus-card .amount {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 4px;
}
.bonus-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.bonus-card p  { font-size: .86rem; color: var(--text-muted); margin-bottom: 16px; }
.bonus-ribbon {
  position: absolute;
  top: 16px;
  right: -8px;
  background: var(--accent-orange);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 4px 0 0 4px;
}
.bonus-ribbon::after {
  content:'';
  position:absolute;
  bottom:-6px; right:0;
  width:8px; height:6px;
  background: #8b1a24;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* ---------- Stats Band ---------- */
.stats-band {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card2));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.stats-band-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-box { text-align: center; }
.stat-box .num {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-box .lbl { font-size: .82rem; color: var(--text-muted); margin-top: 4px; }

/* ---------- Payment Methods ---------- */
.payment-list { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.payment-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 600;
  transition: var(--transition);
}
.payment-item:hover { border-color: rgba(245,166,35,.3); }
.payment-item img { height: 28px; width: auto; }

/* ---------- Game Grid ---------- */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.game-tile {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.game-tile:hover { transform: scale(1.04); border-color: rgba(245,166,35,.35); }
.game-tile img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }
.game-tile-info { padding: 12px; }
.game-tile-info h4 { font-size: .87rem; font-weight: 700; }
.game-tile-info .players { font-size: .75rem; color: var(--accent-green); margin-top: 3px; }
.game-tile::before {
  content: '▶ PLAY';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: .9rem;
  letter-spacing: .1em;
  color: var(--accent-gold);
  opacity: 0;
  transition: var(--transition);
}
.game-tile:hover::before { opacity: 1; }

/* ---------- Author Section ---------- */
.author-block {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 36px;
}
.author-photo-wrap {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent-gold);
  box-shadow: 0 0 30px rgba(245,166,35,.25);
}
.author-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.author-info { flex: 1; }
.author-name { font-size: 1.4rem; font-weight: 900; margin-bottom: 4px; }
.author-role { font-size: .85rem; color: var(--accent-gold); font-weight: 600; margin-bottom: 14px; }
.author-bio   { font-size: .92rem; color: var(--text-muted); line-height: 1.7; }
.author-socials { display: flex; gap: 10px; margin-top: 16px; }
.author-socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.author-socials a:hover { color: var(--accent-gold); border-color: var(--accent-gold); }

/* ---------- SEO Text Block ---------- */
.seo-block {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 36px;
  margin-top: 24px;
}
.seo-block h2 { font-size: 1.4rem; font-weight: 900; margin-bottom: 16px; }
.seo-block h3 { font-size: 1.1rem; font-weight: 700; margin: 24px 0 10px; color: var(--accent-gold); }
.seo-block p  { font-size: .92rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 14px; }
.seo-block ul { padding-left: 20px; margin-bottom: 14px; }
.seo-block ul li {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 6px;
  list-style: disc;
}
.seo-block a { color: var(--accent-gold); text-decoration: underline; }
.seo-block a:hover { color: var(--text-white); }

/* ---------- Forms (Login / Register) ---------- */
.form-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.form-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 40px;
  width: 100%;
  max-width: 460px;
}
.form-box h1 { font-size: 1.8rem; font-weight: 900; margin-bottom: 6px; }
.form-box .subtitle { font-size: .9rem; color: var(--text-muted); margin-bottom: 28px; }
.form-box .subtitle a { color: var(--accent-gold); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.form-group input, .form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-size: .95rem;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus, .form-group select:focus { border-color: var(--accent-gold); }
.form-group input::placeholder { color: var(--text-muted); }
.form-input-icon { position: relative; }
.form-input-icon .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.form-input-icon input { padding-left: 42px; }
.form-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(245,166,35,.3);
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,166,35,.45); }
.form-divider { text-align: center; color: var(--text-muted); font-size: .82rem; margin: 18px 0; position: relative; }
.form-divider::before, .form-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: var(--border);
}
.form-divider::before { left: 0; }
.form-divider::after  { right: 0; }
.social-login { display: flex; gap: 12px; }
.social-btn {
  flex: 1;
  padding: 11px;
  background: var(--bg-primary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.social-btn:hover { border-color: rgba(255,255,255,.2); }
.form-footnote { font-size: .8rem; color: var(--text-muted); text-align: center; margin-top: 18px; line-height: 1.6; }
.form-footnote a { color: var(--accent-gold); }
.phone-prefix {
  display: flex;
  gap: 0;
}
.phone-prefix .prefix {
  padding: 12px 14px;
  background: var(--bg-card2);
  border: 1.5px solid var(--border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: .9rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.phone-prefix input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding-top: 56px;
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .logo-wrap { margin-bottom: 14px; }
.footer-brand p { font-size: .85rem; color: var(--text-muted); line-height: 1.7; max-width: 280px; margin-bottom: 18px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; color: var(--text-muted);
  transition: var(--transition);
}
.footer-socials a:hover { color: var(--accent-gold); border-color: var(--accent-gold); }
.footer-col h4 {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: .88rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--accent-gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .8rem; color: var(--text-muted); }
.footer-license {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: .75rem;
  color: var(--text-muted);
}
.footer-license strong { color: var(--accent-gold); }
.footer-age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--accent-orange);
  color: var(--accent-orange);
  font-size: .75rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); transition: var(--transition); }
.breadcrumb a:hover { color: var(--accent-gold); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .cur { color: var(--text-white); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-q {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: .95rem;
  user-select: none;
  transition: var(--transition);
}
.faq-q:hover { color: var(--accent-gold); }
.faq-q .icon { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--bg-card2); display: flex; align-items: center; justify-content: center; font-size: .8rem; transition: transform var(--transition); }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 20px 18px; font-size: .88rem; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ---------- Alert / CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, #1a1a45 0%, #2a1a45 50%, #1a2a45 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(245,166,35,.2);
  padding: 42px 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(245,166,35,.1), transparent 60%);
}
.cta-banner h2 { font-size: 1.8rem; font-weight: 900; margin-bottom: 12px; position: relative; }
.cta-banner p  { font-size: 1rem; color: var(--text-muted); margin-bottom: 24px; position: relative; }
.cta-banner .btn-primary { position: relative; }

/* ---------- Mobile App Mockup ---------- */
.app-mockup-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.app-phone-wrap { display: flex; justify-content: center; }
.app-phone-wrap img { max-height: 520px; width: auto; }
.app-features-list { display: flex; flex-direction: column; gap: 18px; }
.app-feat-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.app-feat-item:hover { border-color: rgba(245,166,35,.25); }
.app-feat-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.app-feat-item h4 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.app-feat-item p  { font-size: .84rem; color: var(--text-muted); }

/* App store buttons */
.app-download-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.app-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.app-download-btn:hover { border-color: var(--accent-gold); }
.app-download-btn .store-icon { font-size: 1.6rem; }
.app-download-btn .store-text .line1 { font-size: .7rem; color: var(--text-muted); }
.app-download-btn .store-text .line2 { font-size: .95rem; font-weight: 700; }

/* ---------- Page Header (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, #1a1545 100%);
  border-bottom: 1px solid var(--border);
  padding: 48px 0 40px;
}
.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.page-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 900; margin-bottom: 10px; }
.page-hero h1 span { color: var(--accent-gold); }
.page-hero p { color: var(--text-muted); font-size: .98rem; max-width: 560px; }

/* ---------- Jackpot ---------- */
.jackpot-counter {
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, #1a0a3e, #2a1060);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(124,58,237,.4);
}
.jackpot-counter .label { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 10px; }
.jackpot-amount {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  background: linear-gradient(135deg, #ffd166, #f5a623, #e63946);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.02em;
  animation: jackpotPulse 2s ease-in-out infinite;
}
@keyframes jackpotPulse { 0%,100%{filter:brightness(1)} 50%{filter:brightness(1.2)} }
.jackpot-counter .desc { font-size: .88rem; color: var(--text-muted); margin-top: 10px; }

/* ---------- Responsible Gambling Badge ---------- */
.rg-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45,198,83,.1);
  border: 1px solid rgba(45,198,83,.3);
  padding: 6px 14px;
  border-radius: 40px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ---------- Legal Pages ---------- */
.legal-content h2 { font-size: 1.3rem; font-weight: 800; margin: 30px 0 12px; color: var(--accent-gold); }
.legal-content h3 { font-size: 1.05rem; font-weight: 700; margin: 20px 0 8px; }
.legal-content p  { font-size: .9rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 12px; }
.legal-content ul { padding-left: 20px; margin-bottom: 12px; }
.legal-content ul li { font-size: .9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 5px; list-style: disc; }

/* ---------- Toast / Notification ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent-green);
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 9999;
  font-size: .88rem;
  max-width: 300px;
  animation: toastIn .3s ease;
}
@keyframes toastIn { from { transform: translateX(120%); opacity:0; } to { transform: none; opacity:1; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-band-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .main-nav { display: none; }
  .btn-login  { display: none; }
  .burger     { display: flex; }
  
  .hero { min-height: 380px; }
  .hero-content { padding: 40px 20px; }
  .hero-stats { gap: 20px; }
  .hero-stat .num { font-size: 1.4rem; }
  
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .steps  { flex-direction: column; }
  .step:not(:last-child)::after { display: none; }
  
  .author-block { flex-direction: column; align-items: center; text-align: center; padding: 24px; }
  .author-photo-wrap { width: 140px; height: 140px; }
  .author-socials { justify-content: center; }
  
  .app-mockup-section { grid-template-columns: 1fr; }
  .app-phone-wrap img { max-height: 300px; }
  
  .section { padding: 48px 0; }
  .section-inner { padding: 0 16px; }
  
  .seo-block { padding: 24px; }
  .cta-banner { padding: 28px 20px; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  
  .bar-label { width: 90px; font-size: .75rem; }
  
  .donut-ring { width: 90px; height: 90px; }
  .donut-ring svg { width: 90px; height: 90px; }
  .jackpot-counter { padding: 28px 20px; }
  
  .content-layout { padding: 0 16px; }
  .breadcrumb { padding: 12px 16px 0; }
}

@media (max-width: 480px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats-band-inner { grid-template-columns: repeat(2, 1fr); }
  
  .hero h1 { font-size: 1.7rem; }
  .hero p  { font-size: .9rem; }
  .hero-buttons { flex-direction: column; }
  .btn-primary, .btn-secondary { justify-content: center; }
  
  .donut-chart { justify-content: center; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  
  .form-box { padding: 24px 16px; }
  .social-login { flex-direction: column; }
  
  .tracker-bar { font-size: .8rem; gap: 10px; }
  .tracker-bar a { padding: 4px 14px; }
}

/* ============================================================
   AUTH PAGES (login / register)
   ============================================================ */
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--header-h, 70px) - 40px);
}
.auth-promo {
  background: linear-gradient(135deg, #0b0c1e 0%, #1c1e3d 100%);
  border-right: 1px solid #2a2d52;
  padding: 48px 40px;
  display: flex;
  align-items: center;
}
.auth-promo-register {
  background: linear-gradient(135deg, #0f1428 0%, #1a1060 100%);
}
.auth-promo-inner { max-width: 380px; }
.auth-promo-inner img { margin-bottom: 24px; }
.auth-promo-inner h2 { font-size: 2rem; color: var(--gold); margin-bottom: 12px; }
.auth-promo-inner p { color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
.auth-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}
.auth-stat {
  text-align: center;
  background: rgba(255,255,255,.05);
  border-radius: 8px;
  padding: 10px 16px;
}
.auth-stat strong { display: block; font-size: 1.3rem; color: #fff; }
.auth-stat span { font-size: .75rem; color: var(--muted); }
.auth-trust {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-trust span { font-size: .8rem; color: #9ea3c4; }
.bonus-highlight-box {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.bonus-hl-item {
  flex: 1;
  background: rgba(245,166,35,.08);
  border: 1px solid rgba(245,166,35,.2);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  font-size: .9rem;
}
.bonus-hl-item strong { display: block; font-size: 1.2rem; color: var(--gold); }
.bonus-hl-item span { font-size: .72rem; color: var(--muted); }
.register-steps-small {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rs-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  color: #ccc;
}
.rs-item span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: #000;
  font-weight: 700;
  font-size: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auth-form-side {
  padding: 48px 40px;
  background: var(--bg-secondary);
  overflow-y: auto;
}
.form-box {
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid #2a2d52;
  padding: 36px 32px;
  max-width: 440px;
  margin: 0 auto 32px;
}
.form-title { font-size: 1.6rem; margin-bottom: 4px; }
.form-sub { color: var(--muted); font-size: .9rem; margin-bottom: 24px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: .85rem; font-weight: 600; color: #ccc; }
.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field input[type="password"] {
  background: #0d0f22;
  border: 1px solid #2a2d52;
  border-radius: 8px;
  color: #fff;
  font-size: .95rem;
  padding: 11px 14px;
  outline: none;
  transition: border-color .2s;
  width: 100%;
}
.form-field input:focus { border-color: var(--gold); }
.input-with-prefix {
  display: flex;
  border: 1px solid #2a2d52;
  border-radius: 8px;
  overflow: hidden;
  background: #0d0f22;
}
.input-prefix {
  background: rgba(255,255,255,.05);
  border-right: 1px solid #2a2d52;
  padding: 11px 12px;
  font-size: .85rem;
  color: var(--muted);
  white-space: nowrap;
}
.input-with-prefix input {
  border: none !important;
  border-radius: 0 !important;
  flex: 1;
}
.input-with-toggle {
  position: relative;
}
.input-with-toggle input { padding-right: 44px; }
.toggle-pw, .toggle-pw-confirm {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px;
}
.field-hint { font-size: .75rem; color: var(--muted); }
.form-row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .85rem;
  color: #ccc;
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; }
.terms-label { line-height: 1.5; }
.forgot-link { font-size: .85rem; color: var(--gold); text-decoration: none; white-space: nowrap; }
.forgot-link:hover { text-decoration: underline; }
.required { color: var(--red); }
.optional { color: var(--muted); font-size: .8rem; font-weight: 400; }
.btn-xl { padding: 14px 20px; font-size: 1rem; }
.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--muted);
  font-size: .85rem;
}
.form-divider::before, .form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #2a2d52;
}
.form-switch {
  text-align: center;
  margin-top: 16px;
  font-size: .9rem;
  color: var(--muted);
}
.form-switch a { color: var(--gold); text-decoration: none; }
.form-note {
  margin-top: 16px;
  padding: 12px;
  background: rgba(255,255,255,.03);
  border-radius: 8px;
  font-size: .8rem;
  color: var(--muted);
  text-align: center;
}
.auth-info-section { max-width: 440px; margin: 0 auto; }
.auth-info-section h2 { font-size: 1.2rem; margin-bottom: 12px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.hero-about {
  background: linear-gradient(135deg, #0b0c1e, #1a0a3d);
  min-height: 220px;
}
.author-box-lg {
  gap: 32px;
  align-items: flex-start;
}
.author-box-lg img {
  border-radius: 50%;
  border: 3px solid var(--gold);
  flex-shrink: 0;
}
.score-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 700;
  font-size: .85rem;
}
.score-badge.green { background: rgba(45,198,83,.15); color: #2dc653; border: 1px solid rgba(45,198,83,.3); }
.score-badge.yellow { background: rgba(245,166,35,.15); color: #f5a623; border: 1px solid rgba(245,166,35,.3); }
.score-badge.red { background: rgba(230,57,70,.15); color: #e63946; border: 1px solid rgba(230,57,70,.3); }

/* ============================================================
   LEGAL PAGES (privacy, terms, responsible-gambling)
   ============================================================ */
.hero-legal {
  background: linear-gradient(135deg, #0b0c1e, #12142e);
  min-height: 200px;
}
.hero-rg {
  background: linear-gradient(135deg, #0b1a1e, #0a1f30);
  min-height: 240px;
}
.rg-badge {
  background: rgba(0,180,216,.15);
  color: #00b4d8;
  border-color: rgba(0,180,216,.3);
}
.toc-box {
  background: var(--card-bg);
  border: 1px solid #2a2d52;
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  padding: 24px 28px;
}
.toc-box h2 { font-size: 1rem; margin-bottom: 12px; color: var(--gold); }
.toc-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.toc-list li a { color: var(--cyan); font-size: .9rem; text-decoration: none; }
.toc-list li a:hover { text-decoration: underline; }
.legal-content h2 { margin-top: 2rem; margin-bottom: .75rem; font-size: 1.25rem; }
.legal-content p { color: #ccc; line-height: 1.8; margin-bottom: 1rem; }
.legal-content ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; margin-bottom: 1rem; }
.legal-content ul li { color: #ccc; line-height: 1.7; }
.legal-content a { color: var(--cyan); }
.content-layout-wide { max-width: 1200px; }

/* RG Urgent Box */
.rg-urgent-box {
  background: rgba(230,57,70,.07);
  border: 1px solid rgba(230,57,70,.25);
  border-radius: 16px;
  padding: 28px;
}
.rg-urgent-box h2 { color: #e63946; margin-bottom: 10px; }
.rg-urgent-box p { color: var(--muted); margin-bottom: 20px; }
.rg-help-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.rg-help-card {
  background: var(--card-bg);
  border: 1px solid #2a2d52;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.rg-help-icon { font-size: 2rem; margin-bottom: 8px; }
.rg-help-card h3 { font-size: .95rem; margin-bottom: 6px; }
.rg-help-card p { font-size: .8rem; color: var(--muted); margin-bottom: 12px; }
.rg-sidebar-widget { border: 1px solid rgba(230,57,70,.3); background: rgba(230,57,70,.05); }
.rg-sidebar-widget h3 { color: #e63946; }

/* ============================================================
   HOW TO PLAY � extra elements
   ============================================================ */
.info-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.info-card {
  background: var(--card-bg);
  border: 1px solid #2a2d52;
  border-radius: 12px;
  padding: 20px 24px;
}
.info-card h3 { font-size: 1rem; color: var(--gold); margin-bottom: 12px; }
.numbered-list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.numbered-list li { color: #ccc; font-size: .9rem; line-height: 1.5; }

/* Bar chart horizontal variant */
.bar-chart-horizontal .bar-item {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.bar-chart-horizontal .bar-label {
  width: 100%;
  white-space: normal;
  font-size: .82rem;
}

/* Step number large */
.step-num-lg {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: #000;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.steps-vertical { display: flex; flex-direction: column; gap: 0; }
.step-row {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #1c1e3d;
  align-items: flex-start;
}
.step-row:last-child { border-bottom: none; }
.step-body h3 { font-size: 1rem; margin-bottom: 6px; }
.step-body p { color: var(--muted); line-height: 1.6; }

/* ============================================================
   RESPONSIVE � Auth, RG, Legal
   ============================================================ */
@media (max-width: 900px) {
  .auth-layout { grid-template-columns: 1fr; }
  .auth-promo { display: none; }
  .auth-form-side { padding: 32px 20px; }
  .rg-help-cards { grid-template-columns: 1fr; }
  .info-card-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .form-box { padding: 24px 18px; }
  .auth-stats { gap: 10px; }
  .bonus-highlight-box { flex-direction: column; }
  .author-box-lg { flex-direction: column; align-items: center; text-align: center; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */

/* Skip navigation link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  background: var(--accent-gold);
  color: #000;
  font-weight: 700;
  font-size: .95rem;
  padding: 10px 22px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  transition: top .15s ease;
  white-space: nowrap;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #000;
  outline-offset: 2px;
}

/* Focus-visible for keyboard users */
:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

/* Ensure touch targets are at least 44×44px (WCAG 2.5.5) */
.main-nav a,
.btn,
.btn-login,
.btn-register,
.tracker-bar a,
.mobile-nav a,
.faq-q,
.footer-col a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .tracker-bar { animation: none; }
  .hstat-num { transition: none; }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .tracker-bar,
  .site-header,
  .mobile-nav,
  .mobile-nav-overlay,
  .hero-actions,
  .sidebar,
  .skip-link,
  .btn { display: none !important; }

  body { background: #fff; color: #000; font-size: 12pt; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 10pt; color: #555; }
  .page-main { max-width: 100%; margin: 0; }
  h1, h2, h3 { page-break-after: avoid; color: #000; }
  table { border-collapse: collapse; width: 100%; }
  th, td { border: 1px solid #999; padding: 6px; color: #000; }
  .site-footer { border-top: 1px solid #ccc; padding-top: 12pt; }
}

/* BomBet photo refresh overrides */
.hero-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-about {
  background: linear-gradient(90deg, rgba(8,9,25,.92) 0%, rgba(8,9,25,.72) 52%, rgba(8,9,25,.38) 100%), url('/images/hero-about.webp') center/cover no-repeat;
}
.hero-legal {
  background: linear-gradient(90deg, rgba(8,9,25,.94) 0%, rgba(8,9,25,.74) 52%, rgba(8,9,25,.4) 100%), url('/images/hero-legal.webp') center/cover no-repeat;
}
.hero-rg {
  background: linear-gradient(90deg, rgba(5,18,24,.94) 0%, rgba(5,18,24,.74) 52%, rgba(5,18,24,.4) 100%), url('/images/hero-responsible.webp') center/cover no-repeat;
}
.auth-promo {
  background: linear-gradient(135deg, rgba(11,12,30,.94), rgba(28,30,61,.78)), url('/images/hero-login.webp') center/cover no-repeat;
  align-items: flex-start;
}
.auth-promo-register {
  background: linear-gradient(135deg, rgba(15,20,40,.94), rgba(26,16,96,.76)), url('/images/hero-register.webp') center/cover no-repeat;
}
.auth-promo-inner {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  margin-top: 24px;
}
.checkbox-label {
  display: block;
  position: relative;
  padding-left: 28px;
}
.checkbox-label input[type="checkbox"] {
  position: absolute;
  left: 0;
  top: .2em;
}
.checkbox-label a {
  display: inline;
  min-height: 0;
}

/* BomBet component repair: footer, sidebars, payment tables, donuts */
.footer-grid {
  width: 100%;
  max-width: 1280px;
  padding-inline: 24px;
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(160px, 1fr));
}
.footer-col {
  min-width: 0;
}
.footer-col > img {
  margin-bottom: 14px;
}
.footer-desc,
.footer-warn {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.65;
  max-width: 360px;
}
.footer-warn {
  color: #ff5b68;
  font-weight: 800;
}
.licence-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(245,166,35,.25);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
}
.licence-icon {
  flex: 0 0 auto;
  font-size: 1.35rem;
}
.licence-badge div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.licence-badge strong {
  color: var(--accent-gold);
  font-size: 1.05rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.licence-badge span:not(.licence-icon) {
  color: var(--text-muted);
  font-size: .82rem;
}
.footer-age {
  display: block;
  width: auto;
  height: auto;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(230,57,70,.35);
  border-radius: 10px;
  color: #ff5b68;
  background: rgba(230,57,70,.08);
  font-size: .86rem;
  line-height: 1.45;
  text-align: left;
}

.sidebar-widget {
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 18px;
}
.sidebar-widget h3 {
  margin-bottom: 12px;
  font-size: 1.05rem;
}
.sidebar-nav,
.spec-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  min-height: 36px;
  color: var(--text-white);
}
.spec-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.spec-list li:last-child {
  border-bottom: 0;
}
.spec-list span,
.spec-list strong {
  min-width: 0;
  overflow-wrap: anywhere;
}
.spec-list strong {
  text-align: right;
}
.green {
  color: var(--accent-green);
}

.payment-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.payment-logos img,
.data-table td img {
  display: inline-flex;
  vertical-align: middle;
  width: 96px;
  max-width: 96px;
  height: 48px;
  max-height: 44px;
  object-fit: contain;
  margin-right: 8px;
}
.payment-logos img {
  width: 120px;
  height: 60px;
  max-width: 120px;
  max-height: 60px;
}
.data-table td:first-child {
  display: table-cell;
}

.donut-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 22px;
}
.donut-row-center {
  justify-content: center;
}
.donut-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  padding: 16px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.06);
}
.donut-wrap .donut-ring {
  width: 110px;
  height: 110px;
  flex: 0 0 auto;
}
.donut-wrap .donut-label {
  display: block;
  max-width: 130px;
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.35;
  text-align: center;
}
.donut-wrap .donut-label strong {
  display: block;
  margin-top: 4px;
  color: var(--text-white);
  font-size: .95rem;
}

.bar-chart {
  gap: 18px;
}
.bar-item,
.bar-row {
  align-items: start;
}
.bar-track {
  height: 34px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.065);
}
.bar-fill {
  min-width: 72px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-orange));
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  overflow: visible;
  text-shadow: 0 1px 3px rgba(0,0,0,.35);
}
.bar-fill[style*="--bar-color"] {
  background: linear-gradient(90deg, var(--bar-color), color-mix(in srgb, var(--bar-color) 70%, #fff));
}
.bar-label {
  padding-top: 6px;
}
.chart-note {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    padding-inline: 20px;
  }
  .footer-bottom {
    align-items: flex-start;
    text-align: left;
  }
  .licence-badge {
    width: 100%;
  }
  .sidebar-widget {
    padding: 18px;
  }
  .donut-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .donut-wrap {
    padding: 14px 8px;
  }
  .donut-wrap .donut-ring {
    width: 92px;
    height: 92px;
  }
  .payment-logos img {
    width: 120px;
    max-width: 120px;
  }
  .data-table td img {
    display: block;
    margin: 0 0 8px;
    width: 100px;
    height: 50px;
    max-width: 100px;
  }
  .bar-track {
    height: 32px;
  }
  .bar-fill {
    justify-content: flex-start;
    padding-inline: 10px;
    font-size: .74rem;
  }
}

@media (max-width: 420px) {
  .donut-row {
    grid-template-columns: 1fr;
  }
}
.game-card > img,
.bonus-card > img,
.bonus-card-lg > img {
  object-fit: cover;
  background: #0b0c1e;
}

/* BomBet responsive layout repair */
.header-inner {
  min-width: 0;
}
.container:not(.hero-content):not(.header-inner) {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 24px;
}
.logo-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.main-nav {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
}
.main-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: nowrap;
}
.main-nav li {
  display: flex;
}
.header-cta .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: var(--transition);
}
.btn-outline,
.btn-secondary {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
  color: var(--text-white);
}
.btn-outline:hover,
.btn-secondary:hover {
  border-color: rgba(245,166,35,.45);
  color: var(--accent-gold);
  background: rgba(245,166,35,.08);
}
.btn-ghost {
  color: var(--accent-gold);
  background: transparent;
}
.btn-block {
  width: 100%;
}
.btn-lg {
  min-height: 54px;
  padding: 15px 26px;
}

.mobile-nav {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(360px, 88vw);
  height: 100vh;
  background: #111329;
  border-right: 1px solid rgba(255,255,255,.08);
  box-shadow: 24px 0 60px rgba(0,0,0,.45);
  transform: translateX(-105%);
  transition: transform .25s ease;
  z-index: 1101;
  padding: 18px;
  overflow-y: auto;
  backdrop-filter: none;
}
.mobile-nav.open {
  display: block;
  transform: translateX(0);
}
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(3px);
}
.mobile-nav.open + .mobile-nav-overlay {
  display: block;
}
.mobile-nav-close {
  margin-left: auto;
  margin-bottom: 14px;
}
.mobile-tracker {
  margin: 0 0 14px;
  padding: 0;
  background: transparent;
}
.mobile-tracker .btn,
.mobile-tracker a {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  border-radius: 10px;
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-nav li.divider {
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: 8px 0;
}
.mobile-nav a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-muted);
  font-weight: 700;
}
.mobile-nav a:not(.btn):hover,
.mobile-nav a:not(.btn).active {
  background: rgba(245,166,35,.1);
  color: var(--accent-gold);
}

.grid {
  display: grid;
  gap: 20px;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.game-card,
.bonus-card,
.bonus-card-lg,
.chart-box,
.stats-band,
.app-showcase-inner,
.form-box {
  min-width: 0;
}
.section-head,
.section-header {
  margin-bottom: 34px;
}
.section-head h2,
.section-header h2 {
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.15;
}
.section-head p,
.section-header p {
  margin-top: 8px;
  color: var(--text-muted);
  max-width: 680px;
}
.hero-actions,
.hero-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(100px, 1fr));
  gap: 14px;
  max-width: 720px;
}
.hstat,
.hero-stat {
  min-width: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.07);
}
.hstat-num,
.hero-stat .num {
  display: block;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 900;
  line-height: 1;
  color: var(--accent-gold);
}
.hstat-label,
.hero-stat .lbl {
  display: block;
  margin-top: 5px;
  font-size: .78rem;
  color: var(--text-muted);
}
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: #101126;
  border-block: 1px solid rgba(255,255,255,.07);
  padding: 10px 0;
}
.ticker {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: tickerScroll 38s linear infinite;
}
.ticker span {
  white-space: nowrap;
  color: var(--text-white);
  font-weight: 700;
  font-size: .9rem;
}
.game-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245,166,35,.32);
  box-shadow: var(--shadow);
}
.game-card > img {
  width: 100%;
  aspect-ratio: 17 / 10;
  height: auto;
  flex: 0 0 auto;
}
.game-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.game-card-body p {
  color: var(--text-muted);
  font-size: .9rem;
}
.game-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.game-info-row span,
.game-rtp {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(245,166,35,.1);
  color: var(--accent-gold);
  font-size: .78rem;
  font-weight: 800;
}

.bonus-card-lg {
  display: grid;
  grid-template-columns: minmax(180px, .9fr) minmax(0, 1.1fr);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.bonus-card-lg > img {
  width: 100%;
  height: 100%;
  min-height: 240px;
}
.bonus-card-lg .bonus-body {
  padding: 24px;
}
.bonus-terms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.bonus-term {
  min-width: 0;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.02);
}
.data-table {
  width: 100%;
  min-width: 720px;
}
.data-table th,
.data-table td {
  white-space: nowrap;
}
.data-table td:first-child,
.data-table th:first-child {
  white-space: normal;
  min-width: 180px;
}

.charts-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.chart-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  overflow: hidden;
}
.chart-box-wide {
  margin-top: 20px;
}
.bar-chart {
  min-width: 0;
}
.bar-item,
.bar-row {
  display: grid;
  grid-template-columns: minmax(100px, 150px) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.bar-item .bar-label,
.bar-row .bar-label {
  width: auto;
  text-align: left;
  color: var(--text-muted);
}
.bar-track {
  min-width: 0;
}
.line-chart-wrap {
  max-width: 100%;
  overflow-x: auto;
}
.line-chart-wrap canvas,
.line-chart-wrap svg {
  max-width: 100%;
}

.section-inner > .stats-band,
.stats-band:not(:has(.stats-band-inner)) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.stat-item {
  min-width: 0;
  text-align: center;
  padding: 14px 10px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
}
.stat-num {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1;
  font-weight: 900;
  color: var(--accent-gold);
}
.stat-item span:last-child {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: .82rem;
}

.app-showcase-inner {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.app-screenshot img {
  width: min(100%, 300px);
  height: auto;
  margin: 0 auto;
}

@media (max-width: 1120px) {
  .main-nav a { padding-inline: 9px; font-size: .86rem; }
  .header-cta .btn { padding-inline: 16px; }
}

@media (max-width: 960px) {
  .main-nav,
  .header-cta {
    display: none;
  }
  .burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: rgba(255,255,255,.06);
  }
}

@media (max-width: 900px) {
  .content-layout {
    grid-template-columns: 1fr;
    padding-inline: 16px;
    width: 100%;
    max-width: 100%;
  }
  .content-layout .section-inner {
    padding-inline: 0;
  }
  .grid-3,
  .grid-4,
  .charts-row,
  .app-showcase-inner {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .bonus-card-lg {
    grid-template-columns: 1fr;
  }
  .bonus-card-lg > img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .section-inner > .stats-band,
  .stats-band:not(:has(.stats-band-inner)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .auth-layout {
    display: block;
    min-height: auto;
  }
  .auth-promo {
    display: none;
  }
  .auth-form-side {
    padding: 28px 16px;
  }
}

@media (max-width: 560px) {
  .container:not(.hero-content):not(.header-inner) {
    padding-inline: 16px;
  }
  .site-header {
    padding-inline: 12px;
  }
  .tracker-bar {
    padding-inline: 10px;
    overflow: hidden;
  }
  .tracker-bar .pulse {
    display: none;
  }
  .tracker-bar a {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .hero {
    min-height: 420px;
  }
  .hero-content {
    padding-inline: 16px;
  }
  .hero-actions,
  .hero-buttons {
    flex-direction: column;
  }
  .hero-actions .btn,
  .hero-buttons .btn,
  .btn-lg {
    width: 100%;
    justify-content: center;
  }
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
  }
  .hstat,
  .hero-stat {
    padding: 12px;
  }
  .section-inner > .stats-band,
  .stats-band:not(:has(.stats-band-inner)) {
    grid-template-columns: 1fr;
  }
  .chart-box {
    padding: 18px;
  }
  .bar-item,
  .bar-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .data-table {
    min-width: 640px;
  }
  .form-box {
    padding: 22px 16px;
  }
}
