/* ===================================================
   ROOBET CASINO FR — Main Stylesheet
   =================================================== */

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

/* ─── CSS Variables ────────────────────────────── */
:root {
  --gold:       #F9B833;
  --gold-light: #FFD167;
  --gold-dark:  #D49520;
  --navy:       #0E0C2A;
  --navy-light: #1A1740;
  --navy-mid:   #231E52;
  --purple:     #2D2060;
  --purple-light: #3A2D7A;
  --card-bg:    #181540;
  --card-border: rgba(249,184,51,0.15);
  --text-main:  #FFFFFF;
  --text-muted: #A89CC8;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 8px 32px rgba(0,0,0,0.5);
  --transition: 0.3s ease;
}

/* ─── Reset & Base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--navy);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 80px 0; }
.section-alt { background: var(--navy-light); }

/* ─── Headings ─────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); color: var(--gold); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}
.section-title span { color: var(--gold); }

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 48px;
  max-width: 680px;
}

/* ─── Gold Divider ─────────────────────────────── */
.gold-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 12px 0 32px;
}

/* ─── HEADER ───────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(14,12,42,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(249,184,51,0.12);
  padding: 0 20px;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.header-logo img {
  height: 38px;
  width: auto;
}
.header-logo .logo-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
}

/* Nav */
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav a:hover { color: var(--gold); background: rgba(249,184,51,0.08); }
.nav a.active { color: var(--gold); }

/* CTA button */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy) !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 24px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249,184,51,0.4);
  color: var(--navy) !important;
}
.btn-cta svg { width: 16px; height: 16px; fill: currentColor; }

.btn-outline {
  background: transparent;
  color: var(--gold) !important;
  border: 2px solid var(--gold);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all var(--transition);
}
.btn-outline:hover {
  background: rgba(249,184,51,0.1);
}

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.burger span { width: 24px; height: 2px; background: var(--gold); border-radius: 2px; transition: all var(--transition); }

/* ─── HERO ─────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--purple) 100%);
  padding: 100px 20px 80px;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(249,184,51,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(45,32,96,0.6) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,184,51,0.12);
  border: 1px solid rgba(249,184,51,0.3);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero h1 {
  color: var(--gold);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero p.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 36px;
}
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-cta-group .btn-cta { font-size: 1.05rem; padding: 14px 36px; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(249,184,51,0.12);
  padding-top: 36px;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat .label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ─── BANNER ───────────────────────────────────── */
.banner-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.banner-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform 0.5s ease;
}
.banner-wrap:hover img { transform: scale(1.02); }
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(14,12,42,0.7) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.banner-overlay .btn-cta { margin: 0; }

/* Banner strip */
.banner-strip {
  padding: 40px 0;
  overflow: hidden;
}
.banner-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.banner-full {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  max-height: 280px;
}
.banner-full img {
  width: 100%;
  object-fit: cover;
  max-height: 280px;
}
.banner-full-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,12,42,0.7) 0%, transparent 60%);
  display: flex;
  align-items: center;
  padding: 40px;
}
.banner-full-overlay .content { max-width: 450px; }
.banner-full-overlay h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--gold);
  margin-bottom: 10px;
}
.banner-full-overlay p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
  font-size: 1rem;
}

/* ─── CARDS ────────────────────────────────────── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
  height: 100%;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(249,184,51,0.35);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(249,184,51,0.15), rgba(249,184,51,0.05));
  border: 1px solid rgba(249,184,51,0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 10px;
}
.card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; }

/* Grid layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: start; }

/* ─── TABLE ─────────────────────────────────────── */
.roo-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  margin: 32px 0;
}
.roo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.roo-table thead { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); }
.roo-table thead th {
  padding: 14px 20px;
  text-align: left;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.roo-table tbody tr { border-bottom: 1px solid rgba(255,255,255,0.06); transition: background var(--transition); }
.roo-table tbody tr:last-child { border-bottom: none; }
.roo-table tbody tr:hover { background: rgba(249,184,51,0.04); }
.roo-table tbody td {
  padding: 13px 20px;
  color: var(--text-muted);
  vertical-align: middle;
}
.roo-table tbody td:first-child { color: var(--text-main); font-weight: 500; }
.roo-table .badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(249,184,51,0.15);
  color: var(--gold);
}
.roo-table .badge-green { background: rgba(34,197,94,0.15); color: #4ade80; }

/* ─── LISTS ─────────────────────────────────────── */
.check-list { display: grid; gap: 10px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.check-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-weight: 800;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-top: 2px;
}

.numbered-list { counter-reset: item; display: grid; gap: 14px; }
.numbered-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
  counter-increment: item;
}
.numbered-list li::before {
  content: counter(item);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-top: 1px;
}

/* ─── GAME GRID ─────────────────────────────────── */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.game-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}
.game-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,0.5); border-color: rgba(249,184,51,0.4); }
.game-card-img {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  border-bottom: 1px solid var(--card-border);
}
.game-card-body { padding: 12px; }
.game-card-body h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.game-card-body p { font-size: 0.75rem; color: var(--text-muted); }

/* ─── PAYMENT ICONS ─────────────────────────────── */
.payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.pay-badge {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
}
.pay-badge:hover { border-color: rgba(249,184,51,0.4); color: var(--gold); }
.pay-badge .icon { font-size: 1.2rem; }

/* ─── FAQ ───────────────────────────────────────── */
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: rgba(249,184,51,0.35); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.98rem;
  gap: 12px;
  user-select: none;
}
.faq-q .arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(249,184,51,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-size: 0.8rem;
  color: var(--gold);
}
.faq-item.open .arrow { background: var(--gold); color: var(--navy); transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 22px 18px;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* ─── RATING ────────────────────────────────────── */
.rating-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.rating-label { width: 130px; font-size: 0.88rem; color: var(--text-muted); flex-shrink: 0; }
.rating-track {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}
.rating-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 4px;
  transition: width 1s ease;
}
.rating-val { font-size: 0.88rem; font-weight: 600; color: var(--gold); width: 36px; text-align: right; }

/* ─── REVIEW CARD ───────────────────────────────── */
.review-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
}
.review-stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 12px; }
.review-text { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 16px; font-style: italic; line-height: 1.7; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  flex-shrink: 0;
}
.review-name { font-size: 0.9rem; font-weight: 600; }
.review-meta { font-size: 0.78rem; color: var(--text-muted); }

/* ─── PROS / CONS ───────────────────────────────── */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pros, .cons {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px;
}
.pros { border: 1px solid rgba(34,197,94,0.2); }
.cons { border: 1px solid rgba(239,68,68,0.2); }
.pros h4, .cons h4 { margin-bottom: 14px; font-size: 1rem; }
.pros h4 { color: #4ade80; }
.cons h4 { color: #f87171; }
.pros li, .cons li {
  font-size: 0.92rem;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-left: 20px;
  position: relative;
}
.pros li::before { content: '+'; position: absolute; left: 0; color: #4ade80; font-weight: 700; }
.cons li::before { content: '−'; position: absolute; left: 0; color: #f87171; font-weight: 700; }
.pros li:last-child, .cons li:last-child { border-bottom: none; }

/* ─── BONUS BOX ─────────────────────────────────── */
.bonus-box {
  background: linear-gradient(135deg, var(--navy-mid), var(--purple));
  border: 1px solid rgba(249,184,51,0.25);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.bonus-box::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(249,184,51,0.12), transparent 70%);
  pointer-events: none;
}
.bonus-box .amount {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.bonus-box .amount-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.bonus-box .disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-top: 16px;
}

/* ─── TICKER ────────────────────────────────────── */
.ticker {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-inner {
  display: inline-flex;
  gap: 40px;
  animation: tickerScroll 25s linear infinite;
}
.ticker-item {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── SECTION HERO-BANNER (mobile mockup) ─────────── */
.hero-banner-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 20px;
}
.hero-banner-row img { border-radius: var(--radius-lg); }

/* ─── FOOTER ─────────────────────────────────────── */
.footer {
  background: #08061E;
  border-top: 1px solid rgba(249,184,51,0.1);
  padding: 60px 20px 30px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-brand .logo-wrap img { height: 32px; }
.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: 20px;
}
.footer-col h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 8px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

/* ─── ANCHOR NAV (sticky in-page) ───────────────── */
.anchor-nav {
  position: sticky;
  top: 70px;
  z-index: 900;
  background: var(--navy-light);
  border-bottom: 1px solid rgba(249,184,51,0.1);
  overflow-x: auto;
  scrollbar-width: none;
}
.anchor-nav::-webkit-scrollbar { display: none; }
.anchor-nav-inner {
  display: flex;
  gap: 4px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.anchor-nav a {
  display: inline-block;
  padding: 14px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.anchor-nav a:hover, .anchor-nav a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ─── INFO BOX ──────────────────────────────────── */
.info-box {
  background: rgba(249,184,51,0.05);
  border: 1px solid rgba(249,184,51,0.2);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.info-box .info-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.info-box p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; }
.info-box strong { color: var(--gold); }

/* ─── BREADCRUMBS ───────────────────────────────── */
.breadcrumbs {
  padding: 16px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.breadcrumbs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 0.82rem;
}
.breadcrumbs li { color: var(--text-muted); }
.breadcrumbs li a { color: var(--text-muted); }
.breadcrumbs li a:hover { color: var(--gold); }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; }
.breadcrumbs li.active { color: var(--gold); }

/* ─── SCROLLBAR ─────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--purple-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ─── MOBILE MENU ───────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  padding: 30px 20px;
  gap: 8px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.05);
  transition: all var(--transition);
}
.mobile-nav a:hover { color: var(--gold); border-color: rgba(249,184,51,0.2); }

/* ══════════════════════════════════════════════════
   RESPONSIVE — TABLET 1024px
══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .grid-4       { grid-template-columns: repeat(2, 1fr); }
  .grid-3       { grid-template-columns: repeat(2, 1fr); }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-2-1     { grid-template-columns: 1fr; }
  .hero-banner-row { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — MOBILE 768px
══════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* --- Base --- */
  html { font-size: 15px; }
  .section { padding: 48px 0; }
  .container { padding: 0 16px; }

  /* --- Header --- */
  .header { padding: 0 16px; }
  .header-inner { height: 60px; gap: 10px; }
  .header-logo img { height: 30px; }
  .header-logo .logo-text { font-size: 1.2rem; }
  .nav { display: none; }
  .burger { display: flex; }
  .header-btns { display: none !important; }
  /* Скрываем кнопки в хедере на мобиле, оставляем только бургер */
  .header-inner > div:last-of-type { display: none; }

  /* --- Mobile nav --- */
  .mobile-nav { top: 60px; padding: 20px 16px; gap: 6px; }
  .mobile-nav a { font-size: 0.95rem; padding: 13px 14px; }

  /* --- Anchor nav --- */
  .anchor-nav { top: 60px; }
  .anchor-nav-inner { padding: 0 12px; gap: 0; }
  .anchor-nav a { padding: 11px 12px; font-size: 0.78rem; }

  /* --- Breadcrumbs --- */
  .breadcrumbs { padding: 12px 16px; }
  .breadcrumbs ul { font-size: 0.78rem; }

  /* --- Hero --- */
  .hero { padding: 48px 16px 44px; }
  .hero-badge { font-size: 0.72rem; padding: 5px 12px; margin-bottom: 18px; }
  .hero h1 { font-size: clamp(1.6rem, 7vw, 2.4rem); margin-bottom: 14px; line-height: 1.2; }
  .hero p.hero-desc { font-size: 0.95rem; margin-bottom: 24px; }
  .hero-cta-group { gap: 10px; margin-bottom: 36px; flex-direction: column; align-items: stretch; }
  .hero-cta-group .btn-cta { font-size: 1rem; padding: 14px 24px; justify-content: center; width: 100%; }
  .hero-cta-group .btn-outline { text-align: center; padding: 12px 24px; }
  .hero-stats { gap: 16px; padding-top: 24px; justify-content: space-around; }
  .hero-stat .num { font-size: 1.5rem; }
  .hero-stat .label { font-size: 0.72rem; }

  /* --- Ticker --- */
  .ticker { padding: 8px 0; }
  .ticker-item { font-size: 0.78rem; }

  /* --- Sections --- */
  .section-title { font-size: clamp(1.3rem, 5vw, 1.7rem); }
  .section-subtitle { font-size: 0.92rem; margin-bottom: 28px; }
  .gold-divider { margin: 10px 0 24px; }

  /* --- Grids --- */
  .grid-2   { grid-template-columns: 1fr; gap: 16px; }
  .grid-3   { grid-template-columns: 1fr; gap: 16px; }
  .grid-4   { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .grid-2-1 { grid-template-columns: 1fr; gap: 20px; }
  .pros-cons { grid-template-columns: 1fr; gap: 14px; }
  .hero-banner-row { grid-template-columns: 1fr; gap: 20px; }

  /* --- Cards --- */
  .card { padding: 20px 18px; }
  .card:hover { transform: none; } /* отключаем hover-lift на тач */
  .card-icon { width: 44px; height: 44px; font-size: 1.2rem; margin-bottom: 12px; }
  .card h3 { font-size: 1rem; }
  .card p { font-size: 0.88rem; }

  /* --- Buttons --- */
  .btn-cta { font-size: 0.9rem; padding: 11px 20px; }
  .btn-outline { font-size: 0.86rem; padding: 9px 18px; }

  /* --- Banner --- */
  .banner-strip { padding: 24px 0; }
  .banner-strip-inner { padding: 0 16px; }
  .banner-full { max-height: 200px; border-radius: var(--radius); }
  .banner-full img { max-height: 200px; }
  .banner-full-overlay {
    padding: 16px;
    background: linear-gradient(180deg, transparent 0%, rgba(14,12,42,0.85) 70%);
    align-items: flex-end;
  }
  .banner-full-overlay .content { max-width: 100%; }
  .banner-full-overlay h3 { font-size: 1rem; margin-bottom: 6px; }
  .banner-full-overlay p { font-size: 0.82rem; margin-bottom: 12px; display: none; }
  .banner-full-overlay .btn-cta { font-size: 0.82rem; padding: 9px 16px; }

  /* --- Tables --- */
  .roo-table-wrap { margin: 20px 0; border-radius: 10px; }
  .roo-table { font-size: 0.8rem; }
  .roo-table thead th { padding: 10px 12px; font-size: 0.75rem; }
  .roo-table tbody td { padding: 10px 12px; }
  .roo-table .badge { font-size: 0.7rem; padding: 2px 8px; }

  /* --- Check / Numbered lists --- */
  .check-list li { font-size: 0.88rem; gap: 10px; }
  .check-list li::before { width: 20px; height: 20px; font-size: 0.7rem; }
  .numbered-list li { font-size: 0.88rem; gap: 12px; }
  .numbered-list li::before { width: 26px; height: 26px; font-size: 0.78rem; }

  /* --- Game grid --- */
  .game-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .game-card-img { height: 80px; font-size: 2rem; }
  .game-card-body { padding: 10px; }
  .game-card-body h4 { font-size: 0.8rem; }
  .game-card-body p { font-size: 0.7rem; }

  /* --- Payment grid --- */
  .payment-grid { gap: 10px; }
  .pay-badge { padding: 9px 14px; font-size: 0.82rem; }
  .pay-badge .icon { font-size: 1rem; }

  /* --- Bonus box --- */
  .bonus-box { padding: 28px 16px; border-radius: var(--radius); }
  .bonus-box .amount { font-size: clamp(2rem, 10vw, 2.8rem); }
  .bonus-box .amount-sub { font-size: 0.88rem; margin-bottom: 16px; }
  .bonus-box .btn-cta { width: 100%; justify-content: center; }

  /* --- Rating bars --- */
  .rating-label { width: 100px; font-size: 0.8rem; }
  .rating-val { font-size: 0.82rem; width: 32px; }

  /* --- Review cards --- */
  .review-card { padding: 18px; }
  .review-text { font-size: 0.88rem; }

  /* --- FAQ --- */
  .faq-q { padding: 15px 16px; font-size: 0.9rem; }
  .faq-a { padding: 0 16px 14px; font-size: 0.88rem; }

  /* --- Info box --- */
  .info-box { padding: 16px; gap: 10px; }
  .info-box p { font-size: 0.88rem; }

  /* --- Pros / Cons --- */
  .pros, .cons { padding: 18px; }
  .pros li, .cons li { font-size: 0.86rem; }

  /* --- Footer --- */
  .footer { padding: 40px 16px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 28px; }
  .footer-brand p { max-width: 100%; font-size: 0.84rem; }
  .footer-col h5 { margin-bottom: 12px; }
  .footer-col ul { gap: 6px; }
  .footer-col ul li a { font-size: 0.84rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 18px; }
  .footer-bottom p { font-size: 0.74rem; }
  .footer-badges { gap: 8px; }
  .footer-badge { font-size: 0.7rem; padding: 4px 10px; }

  /* --- Sticky CTA bottom bar --- */
  .mobile-cta-bar {
    display: flex !important;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 980;
    background: rgba(14,12,42,0.97);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(249,184,51,0.2);
    padding: 10px 16px;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
  }
  .mobile-cta-bar .cta-text {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.3;
  }
  .mobile-cta-bar .cta-text strong { display: block; color: var(--gold); font-size: 0.9rem; }
  .mobile-cta-bar .btn-cta { white-space: nowrap; font-size: 0.88rem; padding: 11px 20px; flex-shrink: 0; }

  /* Добавляем отступ снизу чтобы контент не перекрывался баром */
  body { padding-bottom: 68px; }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE 480px
══════════════════════════════════════════════════ */
@media (max-width: 480px) {
  html { font-size: 14px; }

  .hero h1 { font-size: clamp(1.45rem, 8vw, 1.9rem); }
  .hero-stats { gap: 10px; }
  .hero-stat { min-width: 60px; }
  .hero-stat .num { font-size: 1.3rem; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .game-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* Таблица — прокрутка горизонтальная */
  .roo-table { font-size: 0.74rem; min-width: 420px; }
  .roo-table thead th { padding: 8px 10px; font-size: 0.68rem; }
  .roo-table tbody td { padding: 8px 10px; }

  .section-title { font-size: clamp(1.2rem, 6vw, 1.5rem); }

  /* Banner на очень маленьких экранах */
  .banner-full { max-height: 160px; }
  .banner-full img { max-height: 160px; }
  .banner-full-overlay h3 { font-size: 0.9rem; }

  .bonus-box { padding: 22px 14px; }
  .bonus-box .amount { font-size: 2rem; }

  .card { padding: 16px 14px; }

  .faq-q { font-size: 0.85rem; padding: 13px 14px; }
  .faq-a { font-size: 0.84rem; }

  .footer-grid { gap: 22px; }

  /* Убираем отступы у section-alt на мобиле */
  .section { padding: 36px 0; }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — EXTRA SMALL 360px
══════════════════════════════════════════════════ */
@media (max-width: 360px) {
  .hero h1 { font-size: 1.35rem; }
  .hero-cta-group .btn-cta { font-size: 0.88rem; padding: 12px 16px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .roo-table { font-size: 0.7rem; min-width: 380px; }
  .header-logo img { height: 26px; }
  .mobile-cta-bar { padding: 8px 12px; }
  .mobile-cta-bar .btn-cta { font-size: 0.82rem; padding: 10px 14px; }
}

/* ══════════════════════════════════════════════════
   Скрываем мобильный бар на десктопе
══════════════════════════════════════════════════ */
.mobile-cta-bar { display: none; }

/* ─── UTILITIES ─────────────────────────────────── */
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* ─── TOUCH IMPROVEMENTS ────────────────────────── */
/* Увеличиваем минимальную зону касания для кнопок */
a, button, [data-go], .faq-q, .burger {
  -webkit-tap-highlight-color: rgba(249,184,51,0.15);
  touch-action: manipulation;
}
.btn-cta, .btn-outline {
  min-height: 44px;
}
/* Убираем hover-эффекты на touch-устройствах */
@media (hover: none) {
  .card:hover { transform: none; box-shadow: none; border-color: var(--card-border); }
  .game-card:hover { transform: none; box-shadow: none; }
  .btn-cta:hover { transform: none; box-shadow: none; }
  a:hover { color: var(--gold); }
}
/* Запрет переноса текста у бейджей */
.badge, .footer-badge { white-space: nowrap; }
/* Плавный скролл таблиц */
.roo-table-wrap { -webkit-overflow-scrolling: touch; }
/* Мобильная типографика — убираем слишком мелкий шрифт */
input, select, textarea { font-size: 16px !important; }

/* ─── TABLE OF CONTENTS (TOC) ───────────────────── */
.toc-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(249,184,51,0.2);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 0 auto 32px;
  max-width: 860px;
}
.toc-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 10px;
}
.toc-toggle {
  background: none;
  border: 1px solid rgba(249,184,51,0.3);
  color: var(--gold);
  border-radius: 6px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
.toc-toggle:hover { background: rgba(249,184,51,0.1); }
#toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#toc-list.toc-hidden { display: none; }
#toc-list li { padding: 0; }
#toc-list > li > a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  transition: color 0.2s;
}
#toc-list > li > a::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
#toc-list > li > a:hover { color: var(--gold); }
#toc-list ul {
  list-style: none;
  padding: 0 0 0 22px;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#toc-list ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
  transition: color 0.2s;
}
#toc-list ul li a::before {
  content: '—';
  color: rgba(249,184,51,0.4);
  font-size: 0.7rem;
}
#toc-list ul li a:hover { color: var(--gold); }

@media (max-width: 768px) {
  .toc-box { padding: 16px; margin-bottom: 24px; }
  #toc-list > li > a { font-size: 0.85rem; }
}

/* ─── SCROLL TO TOP BUTTON ──────────────────────── */
.scroll-top-btn {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  z-index: 9000;
  box-shadow: 0 4px 16px rgba(249,184,51,0.35);
}
.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(249,184,51,0.5);
}
@media (max-width: 768px) {
  .scroll-top-btn { bottom: 80px; right: 14px; width: 40px; height: 40px; }
}
