/* ============================================
   MOSTBET SITE — MAIN CSS
   Colors: #003265 (navy), #013B77 (dark-navy), #E8ECF1 (light-bg),
           #FFFFFF (white), #88C304 (green), #FA5D00 (orange), #4490DF (sky)
   ============================================ */

:root {
  --navy: #003265;
  --dark-navy: #013B77;
  --light-bg: #E8ECF1;
  --white: #FFFFFF;
  --green: #88C304;
  --orange: #FA5D00;
  --sky: #4490DF;
  --text: #1a2740;
  --text-muted: #6b7a8d;
  --border: #e2e8f0;
  --card-shadow: 0 4px 24px rgba(0,50,101,0.08);
  --transition: 0.22s ease;
  --radius: 12px;
  --radius-sm: 8px;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--light-bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange); }
h1,h2,h3,h4,h5 { line-height: 1.25; font-weight: 800; }
h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); color: var(--navy); }
h2 { font-size: clamp(1.35rem, 3vw, 2rem); color: var(--dark-navy); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); color: var(--navy); }
h4 { font-size: 1.05rem; color: var(--navy); }
p { margin-bottom: 1rem; }

/* ── CONTAINER ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}
.btn-register {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 14px rgba(250,93,0,0.35);
}
.btn-register:hover {
  background: #e84f00;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(250,93,0,0.45);
}
.btn-login {
  background: var(--sky);
  color: #fff;
  box-shadow: 0 4px 14px rgba(68,144,223,0.35);
}
.btn-login:hover {
  background: #2f7fce;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(68,144,223,0.45);
}
.btn-white {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(255,255,255,0.25);
}
.btn-white:hover { background: #f0f4ff; color: var(--navy); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); color: #fff; border-color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: 10px; }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark-navy);
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
}
.header-logo { flex-shrink: 0; }
.header-logo img { height: 36px; width: auto; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
  color: rgba(255,255,255,0.8);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--transition);
}
.main-nav a:hover, .main-nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.12);
}
.header-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ── BURGER ── */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── SPORTS BAR ── */
.sports-bar {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
}
.sports-bar-inner {
  display: flex;
  gap: 4px;
  padding: 8px 20px;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1200px;
  margin: 0 auto;
}
.sports-bar-inner::-webkit-scrollbar { display: none; }
.sport-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--transition);
  flex-shrink: 0;
}
.sport-pill:hover, .sport-pill.active {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.sport-pill img { width: 18px; height: 18px; object-fit: contain; }

/* ── LIVE BAR ── */
.live-bar {
  background: #0a1f3a;
  padding: 6px 0;
  overflow: hidden;
}
.live-bar-scroll {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: livescroll 40s linear infinite;
}
.live-match {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  white-space: nowrap;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f44;
  animation: pulse 1s infinite;
  flex-shrink: 0;
}
@keyframes livescroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ── HERO ── */
.hero {
  padding: 60px 0 50px;
  background: linear-gradient(135deg, var(--dark-navy) 0%, var(--navy) 60%, #042e60 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(250,93,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-sm { padding: 40px 0 36px; }
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-left { z-index: 1; }
.hero h1 { color: #fff; margin-bottom: 16px; }
.hero h1 span { color: var(--orange); }
.hero > .container > p,
.hero-left > p {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 24px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.hero-badge {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.15);
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-right { position: relative; }
.hero-img { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.hero-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.hero-promo-badge {
  position: absolute;
  bottom: -14px;
  right: 20px;
  background: var(--orange);
  color: #fff;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(250,93,0,0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── BONUS STRIP ── */
.bonus-strip {
  background: linear-gradient(90deg, #e84f00 0%, var(--orange) 50%, #ff7a33 100%);
  padding: 20px 0;
}
.bonus-strip-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.bonus-strip-text {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  flex: 1;
}
.promo-code-box {
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  padding: 8px 16px;
}
.promo-code-label { color: rgba(255,255,255,0.75); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; }
.promo-code-value {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: monospace;
}

/* ── STATS ── */
.stats-strip { background: var(--white); padding: 28px 0; border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat-item { text-align: center; }
.stat-num { font-size: 2rem; font-weight: 900; color: var(--navy); line-height: 1; }
.stat-label { color: var(--text-muted); font-size: 0.82rem; margin-top: 4px; }

/* ── SECTIONS ── */
.section { padding: 56px 0; }
.section-dark {
  background: linear-gradient(135deg, var(--dark-navy) 0%, var(--navy) 100%);
}
.section-heading {
  margin-bottom: 36px;
}
.section-heading.white h2, .section-heading.white p { color: #fff; }
.section-heading.white .section-tag { background: rgba(255,255,255,0.15); color: #fff; border-color: rgba(255,255,255,0.25); }
.section-tag {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(136,195,4,0.12);
  color: var(--green);
  border: 1px solid rgba(136,195,4,0.3);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── GRIDS ── */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }

/* ── CARDS ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,50,101,0.14); }
.card-dark { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); }
.card-dark:hover { background: rgba(255,255,255,0.1); }
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card-body { padding: 16px; }
.card-title { font-weight: 700; font-size: 1rem; color: #fff; margin-bottom: 8px; }
.card-text { font-size: 0.85rem; color: rgba(255,255,255,0.7); line-height: 1.5; }

/* ── BET CARDS ── */
.bet-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.bet-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,50,101,0.12); }
.bet-card-league {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-weight: 500;
}
.bet-card-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.team-name { font-weight: 700; font-size: 0.9rem; color: var(--navy); max-width: 90px; }
.bet-score { text-align: center; font-size: 1.4rem; font-weight: 900; color: var(--navy); }
.bet-time { text-align: center; font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }
.odds-row { display: flex; gap: 8px; }
.odd-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 4px;
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.odd-btn:hover { background: var(--green); border-color: var(--green); }
.odd-btn:hover .odd-label, .odd-btn:hover .odd-value { color: #fff; }
.odd-label { font-size: 0.7rem; color: var(--text-muted); }
.odd-value { font-size: 0.95rem; font-weight: 800; color: var(--navy); }
.badge-live {
  background: #ff4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  animation: pulse 1.4s infinite;
}

/* ── LAYOUT WITH SIDEBAR ── */
.layout-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px;
  align-items: start;
}
.article-body { min-width: 0; }
.article-body h2 {
  color: var(--dark-navy);
  margin: 32px 0 16px;
  padding-top: 8px;
}
.article-body h2:first-child { margin-top: 0; }
.article-body p { color: #374151; line-height: 1.8; }

/* ── SIDEBAR ── */
.sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
}
.sidebar-card h4 {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

/* ── HIGHLIGHT BOX ── */
.highlight-box {
  background: #fff8f0;
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 18px;
  margin: 24px 0;
}
.highlight-box p { margin: 0; color: #5a3500; font-size: 0.9rem; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); background: var(--white); }
.faq-question {
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition);
}
.faq-question::after { content: '+'; font-size: 1.2rem; color: var(--orange); font-weight: 300; flex-shrink: 0; }
.faq-item.open .faq-question::after { content: '−'; }
.faq-question:hover { background: var(--light-bg); }
.faq-answer {
  display: none;
  padding: 0 18px 16px;
  color: #4b5563;
  font-size: 0.88rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ── STEPS ── */
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  box-shadow: var(--card-shadow);
  border-top: 3px solid var(--orange);
  text-align: center;
  transition: transform var(--transition);
}
.step-card:hover { transform: translateY(-4px); }
.step-num {
  width: 44px;
  height: 44px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  margin: 0 auto 14px;
}
.step-card h4 { color: var(--navy); margin-bottom: 10px; }
.step-card p { color: var(--text-muted); font-size: 0.86rem; line-height: 1.6; margin: 0; }

/* ── FEATURES ── */
.feature-list { display: flex; flex-direction: column; gap: 20px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.feature-icon.orange { background: rgba(250,93,0,0.1); }
.feature-icon.blue { background: rgba(68,144,223,0.1); }
.feature-icon.green { background: rgba(136,195,4,0.1); }
.feature-icon.navy { background: rgba(1,59,119,0.1); }
.feature-text h4 { color: var(--navy); margin-bottom: 6px; font-size: 0.95rem; }
.feature-text p { color: var(--text-muted); font-size: 0.86rem; line-height: 1.6; margin: 0; }

/* ── FEATURE CARDS ── */
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition);
}
.feature-card:hover { transform: translateY(-4px); }
.feature-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

/* ── CTA BLOCK ── */
.cta-block {
  background: linear-gradient(135deg, var(--dark-navy) 0%, var(--navy) 60%, #0e4b8a 100%);
  border-radius: 20px;
  padding: 52px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(250,93,0,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-block h2 { color: #fff; font-size: 2rem; margin: 16px 0 12px; }
.cta-block p { color: rgba(255,255,255,0.78); font-size: 1rem; max-width: 600px; margin: 0 auto 32px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── COIN CARDS ── */
.coin-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition);
}
.coin-card:hover { transform: translateY(-4px); }
.coin-sym { font-size: 2rem; font-weight: 900; margin-bottom: 6px; }
.coin-name { font-weight: 700; font-size: 0.92rem; color: var(--navy); margin-bottom: 2px; }
.coin-code { font-size: 0.78rem; font-weight: 600; margin-bottom: 10px; }
.coin-meta { display: flex; flex-direction: column; gap: 3px; }
.coin-meta span { font-size: 0.74rem; color: var(--text-muted); }

/* ── MIRROR LINK BOX ── */
.mirror-link-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  padding: 14px 18px;
  backdrop-filter: blur(8px);
}
.mirror-badge {
  background: #00b050;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
.mirror-url {
  flex: 1;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  word-break: break-all;
}
.mirror-url:hover { color: var(--orange); }

/* ── BREADCRUMBS ── */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}
.breadcrumbs a { color: rgba(255,255,255,0.7); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span { color: rgba(255,255,255,0.5); }

/* ── PAYMENT ROW ── */
.payment-row { display: flex; gap: 8px; flex-wrap: wrap; }
.payment-icon {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* ── FOOTER ── */
.site-footer {
  background: linear-gradient(135deg, #010f22 0%, #001534 100%);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo { margin-bottom: 14px; }
.footer-about { color: rgba(255,255,255,0.5); font-size: 0.84rem; line-height: 1.7; }
.footer-title { color: rgba(255,255,255,0.35); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.84rem; transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.35);
  font-size: 0.78rem;
  gap: 16px;
  flex-wrap: wrap;
}
.age-badge {
  background: rgba(255,68,68,0.2);
  color: #ff8888;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.75rem;
  border: 1px solid rgba(255,68,68,0.3);
}
.footer-disclaimer {
  color: rgba(255,255,255,0.25);
  font-size: 0.72rem;
  line-height: 1.6;
  padding: 16px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ── MOBILE MENU ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 999;
  display: none;
  backdrop-filter: blur(4px);
}
.mobile-menu.open { display: block; }
.mobile-menu-header {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 64px;
  background: var(--dark-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-close {
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav {
  position: absolute;
  top: 64px;
  right: 0;
  width: 280px;
  bottom: 0;
  background: var(--dark-navy);
  padding: 20px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-nav a {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
}
.mobile-nav a:hover { color: #fff; }
.mobile-btns {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: var(--dark-navy);
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ── ANIMATE IN ── */
.animate-in {
  animation: fadeUp 0.45s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE BASE ── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .hero-content { grid-template-columns: 1fr; gap: 32px; }
  .hero-right { display: none; }
  .steps-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .main-nav, .header-actions { display: none; }
  .burger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================
   ADDITIONAL STYLES: Tables, TOC, Verified Block
   ============================================ */

/* Responsive comparison tables */
.comparison-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.comparison-table th { padding: 12px 14px; background: var(--navy); color: #fff; text-align: left; font-weight: 600; }
.comparison-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--text); }
.comparison-table tr:nth-child(even) td { background: #f8fafc; }
.comparison-table tr:hover td { background: #f0f9ff; }
.comparison-table .highlight-col { background: #f0f9ff !important; font-weight: 600; color: #0369a1; }
@media (max-width: 768px) {
  .comparison-table { font-size: 0.75rem; }
  .comparison-table th, .comparison-table td { padding: 7px 8px; }
}

/* Table of Contents */
.toc-box { background: #f8fafc; border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; margin-bottom: 28px; }
.toc-box ol { margin: 0; padding-left: 20px; display: grid; gap: 5px; font-size: 0.88rem; }
.toc-box ol li a { color: var(--sky); text-decoration: none; }
.toc-box ol li a:hover { text-decoration: underline; color: var(--navy); }
@media (max-width: 600px) {
  .toc-box ol { columns: 1 !important; }
}

/* Verified block */
.verified-block { background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 12px; padding: 16px 20px; margin-top: 28px; display: flex; gap: 16px; align-items: flex-start; }
.verified-block .verified-icon { font-size: 2rem; flex-shrink: 0; }
.verified-block .verified-title { font-weight: 700; color: #0369a1; margin-bottom: 4px; }
.verified-block .verified-meta { font-size: 0.84rem; color: #0c4a6e; line-height: 1.5; }

/* Article details/summary (FAQ accordion) */
details { border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px; transition: var(--transition); }
details[open] { background: #f8fafc; }
details summary { font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
details summary::-webkit-details-marker { display: none; }
details p { margin: 10px 0 0; color: #4a5568; font-size: 0.9rem; line-height: 1.65; }

/* Rating stars */
.rating-stars { color: #f6c90e; letter-spacing: 2px; }

/* Page review score badge */
.score-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; padding: 6px 16px; border-radius: 20px; font-weight: 700; }
.score-badge .score-num { font-size: 1.4rem; color: #f6c90e; }

/* ============================================
   READABILITY IMPROVEMENTS
   ============================================ */

/* Base font size bump for better readability */
html { font-size: 17px; }

/* Article body — improved readability */
.article-body {
  font-size: 1rem;
  line-height: 1.85;
  color: #1e2d3d;
}
.article-body p {
  color: #1e2d3d;
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
  max-width: 72ch;
}
.article-body h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  color: var(--dark-navy);
  margin: 2.4rem 0 1rem;
  padding-top: 0;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--border);
  line-height: 1.3;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--navy);
  margin: 1.8rem 0 0.75rem;
  line-height: 1.35;
}
.article-body h4 {
  font-size: 1rem;
  color: var(--navy);
  margin: 1.4rem 0 0.5rem;
  font-weight: 700;
}

/* Lists inside article */
.article-body ul,
.article-body ol {
  padding-left: 1.6rem;
  margin-bottom: 1.25rem;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li {
  color: #1e2d3d;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}
.article-body li::marker { color: var(--orange); }

/* Strong & emphasis */
.article-body strong { color: var(--dark-navy); font-weight: 700; }
.article-body em { color: #4b5563; }

/* Inline code */
.article-body code {
  background: #f0f4f8;
  color: #c0392b;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.88em;
  font-family: 'Courier New', monospace;
}

/* Lead paragraph (first para after H1) */
.article-body > p:first-of-type {
  font-size: 1.1rem;
  color: #2c3e50;
  line-height: 1.9;
}

/* Highlight box improved */
.highlight-box {
  font-size: 0.95rem;
  line-height: 1.75;
}
.highlight-box p { font-size: 0.95rem; line-height: 1.75; color: #5a3500; }

/* FAQ answer readability */
.faq-answer {
  font-size: 0.92rem;
  line-height: 1.8;
  color: #374151;
}

/* Table readability inside articles */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.article-body table th {
  padding: 11px 14px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  text-align: left;
  font-size: 0.88rem;
}
.article-body table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: #1e2d3d;
  vertical-align: middle;
}
.article-body table tr:nth-child(even) td { background: #f8fafc; }
.article-body table tr:hover td { background: #f0f6ff; }
@media (max-width: 768px) {
  .article-body table { font-size: 0.8rem; }
  .article-body table th,
  .article-body table td { padding: 8px 10px; }
}

/* TOC box improved */
.toc-box {
  background: #f0f6ff;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  padding: 22px 28px;
  margin-bottom: 32px;
}
.toc-box h3, .toc-box p.toc-title {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin-bottom: 12px;
}
.toc-box ol {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.92rem;
}
.toc-box ol li a {
  color: var(--sky);
  text-decoration: none;
  line-height: 1.5;
}
.toc-box ol li a:hover { text-decoration: underline; color: var(--navy); }

/* Verified block improved */
.verified-block {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #7dd3fc;
  border-radius: 14px;
  padding: 20px 24px;
  margin-top: 32px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.verified-block .verified-icon { font-size: 2.2rem; flex-shrink: 0; line-height: 1; }
.verified-block .verified-title { font-weight: 700; color: #0369a1; font-size: 1rem; margin-bottom: 6px; }
.verified-block .verified-meta { font-size: 0.88rem; color: #0c4a6e; line-height: 1.65; }

/* Sidebar card improved readability */
.sidebar-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.sidebar-card h4 {
  font-size: 1rem;
  color: var(--navy);
  font-weight: 700;
}

/* Comparison table improved */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  margin-bottom: 1.5rem;
}
.comparison-table th {
  padding: 13px 16px;
  background: var(--navy);
  color: #fff;
  text-align: left;
  font-weight: 700;
  font-size: 0.88rem;
}
.comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: #1e2d3d;
  font-size: 0.9rem;
  vertical-align: middle;
}
.comparison-table tr:nth-child(even) td { background: #f8fafc; }
.comparison-table tr:hover td { background: #f0f6ff; }
.comparison-table .highlight-col {
  background: #e0f2fe !important;
  font-weight: 700;
  color: #0369a1;
}

/* Section text — general body text legibility */
.section p,
.section li {
  font-size: 0.97rem;
  line-height: 1.8;
  color: #1e2d3d;
}

/* Step card readability */
.step-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.step-card h4 { font-size: 1rem; }

/* Feature text readability */
.feature-text p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Mobile readability */
@media (max-width: 768px) {
  html { font-size: 16px; }
  .article-body p { font-size: 0.97rem; line-height: 1.8; }
  .article-body h2 { font-size: 1.25rem; margin: 1.8rem 0 0.75rem; }
  .article-body h3 { font-size: 1.1rem; }
  .article-body > p:first-of-type { font-size: 1rem; }
  .toc-box { padding: 16px 18px; }
  .verified-block { padding: 16px 18px; gap: 12px; }
  .verified-block .verified-icon { font-size: 1.8rem; }
}
@media (max-width: 480px) {
  .article-body p { max-width: 100%; }
  .comparison-table { font-size: 0.78rem; }
  .comparison-table th,
  .comparison-table td { padding: 8px 10px; }
}

/* ── VERDICT BOX ── */
.verdict-box {
  background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
  border: 2px solid #4caf50;
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 32px;
}
.verdict-title {
  font-weight: 700;
  color: #1b5e20;
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.verdict-text {
  color: #2e7d32 !important;
  margin: 0 !important;
  line-height: 1.75 !important;
  font-size: 0.97rem !important;
}

/* ── TOC IMPROVED ── */
.toc-list { margin: 0; padding-left: 20px; list-style: decimal; }
.toc-list li { margin-bottom: 6px; font-size: 0.9rem; }
.toc-list li a { color: var(--sky); text-decoration: none; line-height: 1.5; transition: color var(--transition); }
.toc-list li a:hover { color: var(--navy); text-decoration: underline; }
.toc-cols { columns: 2; column-gap: 24px; }
@media (max-width: 600px) { .toc-cols { columns: 1; } }

/* ── BREADCRUMB (obzor page) ── */
.breadcrumb { background: #f8fafc; border-bottom: 1px solid var(--border); padding: 10px 0; }
.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
}
.breadcrumb-inner a { color: var(--sky); }
.breadcrumb-inner a:hover { color: var(--navy); }
.breadcrumb-inner .sep { color: var(--text-muted); }
.breadcrumb-inner .current { color: var(--text); font-weight: 500; }

/* ── RATING ITEM ── */
.rating-item {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
}
.rating-item-value {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.rating-item-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}
.rating-item-stars { font-size: 0.85rem; color: #f6c90e; margin-bottom: 4px; }

/* ── PROS/CONS ── */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
@media (max-width: 640px) { .pros-cons-grid { grid-template-columns: 1fr; } }
.pros-box { background: #f0fdf4; border: 1px solid #86efac; border-radius: 12px; padding: 20px; }
.cons-box { background: #fef2f2; border: 1px solid #fca5a5; border-radius: 12px; padding: 20px; }
.pros-box h4 { color: #15803d; font-size: 0.95rem; margin-bottom: 12px; }
.cons-box h4 { color: #b91c1c; font-size: 0.95rem; margin-bottom: 12px; }
.pros-box ul { list-style: none; padding: 0; }
.cons-box ul { list-style: none; padding: 0; }
.pros-box li { color: #166534; font-size: 0.9rem; line-height: 1.6; padding: 4px 0; padding-left: 20px; position: relative; }
.cons-box li { color: #991b1b; font-size: 0.9rem; line-height: 1.6; padding: 4px 0; padding-left: 20px; position: relative; }
.pros-box li::before { content: '✓'; position: absolute; left: 0; color: #16a34a; font-weight: 700; }
.cons-box li::before { content: '✗'; position: absolute; left: 0; color: #dc2626; font-weight: 700; }

/* ── INFO BOX (info callout) ── */
.info-box {
  background: #eff6ff;
  border-left: 4px solid var(--sky);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin: 20px 0;
}
.info-box p { margin: 0; color: #1e40af; font-size: 0.92rem; line-height: 1.7; }

/* ── WARNING BOX ── */
.warning-box {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin: 20px 0;
}
.warning-box p { margin: 0; color: #92400e; font-size: 0.92rem; line-height: 1.7; }

/* ============================================
   MOBILE-FIRST OVERHAUL
   ============================================ */

/* ── Глобальные touch-targets ── */
a, button, [role="button"] { -webkit-tap-highlight-color: rgba(0,0,0,0); }

/* ── HEADER (мобиль) ── */
@media (max-width: 768px) {
  .site-header { position: sticky; top: 0; z-index: 200; }
  .header-inner { height: 58px; padding: 0 4px; gap: 10px; }
  .header-logo img { height: 30px; }
  .burger {
    display: flex;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    flex-shrink: 0;
  }
  .burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.25s ease; }
  /* Бургер → крестик при открытом меню */
  .burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ── SPORTS BAR (мобиль) ── */
@media (max-width: 768px) {
  .sports-bar-inner { padding: 6px 12px; gap: 6px; }
  .sport-pill {
    padding: 8px 14px;
    font-size: 0.85rem;
    min-height: 36px;
    border-radius: 18px;
    background: rgba(255,255,255,0.08);
  }
  .sport-pill.active,
  .sport-pill:active { background: rgba(255,255,255,0.2); color: #fff; }
  .sport-pill img { width: 16px; height: 16px; }
}

/* ── LIVE BAR (мобиль) ── */
@media (max-width: 480px) {
  .live-bar { padding: 5px 0; }
  .live-match { font-size: 0.76rem; }
}

/* ── HERO (мобиль) ── */
@media (max-width: 768px) {
  .hero { padding: 36px 0 32px; }
  .hero-content { grid-template-columns: 1fr; gap: 0; }
  .hero-right { display: none; }
  .hero h1 { font-size: clamp(1.55rem, 5.5vw, 2rem); margin-bottom: 12px; }
  .hero > .container > p,
  .hero-left > p { font-size: 0.97rem; line-height: 1.65; margin-bottom: 20px; }
  .hero-badges { gap: 6px; margin-bottom: 22px; }
  .hero-badge { font-size: 0.78rem; padding: 5px 11px; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btns .btn { width: 100%; justify-content: center; font-size: 1rem; padding: 14px 20px; border-radius: 10px; }
}
@media (max-width: 480px) {
  .hero { padding: 28px 0 24px; }
  .hero h1 { font-size: 1.5rem; }
}

/* ── BONUS STRIP (мобиль) ── */
@media (max-width: 768px) {
  .bonus-strip { padding: 16px 0; }
  .bonus-strip-inner { flex-direction: column; align-items: stretch; gap: 12px; text-align: center; }
  .bonus-strip-text { font-size: 0.97rem; }
  .bonus-strip-inner .btn { width: 100%; padding: 13px; font-size: 1rem; }
  .promo-code-box { display: flex; justify-content: center; }
  .promo-code-value { font-size: 1.6rem; }
}

/* ── STATS (мобиль) ── */
@media (max-width: 768px) {
  .stats-strip { padding: 20px 0; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .stat-num { font-size: 1.75rem; }
  .stat-label { font-size: 0.78rem; }
}
@media (max-width: 380px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .stat-num { font-size: 1.5rem; }
}

/* ── SECTION HEADINGS (мобиль) ── */
@media (max-width: 768px) {
  .section { padding: 32px 0; }
  .section-heading { margin-bottom: 24px; }
  .section-heading h2 { font-size: clamp(1.2rem, 4.5vw, 1.6rem); }
  .section-heading p { font-size: 0.92rem; }
}

/* ── BET CARDS GRID (мобиль) ── */
@media (max-width: 900px) {
  .grid.grid-3 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .grid.grid-3 { grid-template-columns: 1fr; }
  .bet-card { padding: 16px; }
  .bet-score { font-size: 1.2rem; }
  .team-name { font-size: 0.88rem; max-width: 80px; }
  .odd-value { font-size: 0.9rem; }
  .odds-row { gap: 6px; }
  .odd-btn { padding: 10px 4px; }
}

/* ── LAYOUT WITH SIDEBAR (мобиль) ── */
@media (max-width: 1100px) {
  .layout-with-sidebar { grid-template-columns: 1fr; gap: 24px; }
  .sidebar { position: static; top: auto; }
}

/* ── ARTICLE BODY (мобиль) ── */
@media (max-width: 768px) {
  .article-body { font-size: 0.97rem; }
  .article-body p { font-size: 0.97rem; line-height: 1.75; max-width: 100%; }
  .article-body h2 { font-size: clamp(1.15rem, 4vw, 1.4rem); margin: 1.6rem 0 0.75rem; }
  .article-body h3 { font-size: 1.05rem; }
  .article-body > p:first-of-type { font-size: 1rem; }
  .article-body img { border-radius: 10px; margin: 12px 0 18px; }
}

/* ── ТАБЛИЦЫ: горизонтальный скролл на мобиле ── */
.table-scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.table-scroll-wrap .comparison-table,
.table-scroll-wrap .article-body table {
  box-shadow: none;
  border-radius: 0;
  margin-bottom: 0;
  min-width: 520px;
}
@media (max-width: 768px) {
  /* Автоматически оборачиваем таблицы скроллом через JS (см. app.js) */
  .article-body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    min-width: 400px;
  }
  .comparison-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    min-width: 480px;
  }
}

/* ── SIDEBAR CARDS (мобиль) ── */
@media (max-width: 1100px) {
  .sidebar { flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .sidebar-card { flex: 1 1 280px; min-width: 260px; }
}
@media (max-width: 600px) {
  .sidebar { flex-direction: column; }
  .sidebar-card { min-width: unset; width: 100%; }
}

/* ── CTA BLOCK (мобиль) ── */
@media (max-width: 768px) {
  .cta-block { padding: 36px 20px; border-radius: 14px; }
  .cta-block h2 { font-size: 1.4rem; margin: 12px 0 10px; }
  .cta-block p { font-size: 0.92rem; margin-bottom: 22px; }
  .cta-btns { flex-direction: column; gap: 10px; }
  .cta-btns .btn { width: 100%; }
}

/* ── FOOTER (мобиль) — аккордеон-секции ── */
@media (max-width: 768px) {
  .site-footer { padding: 36px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }

  /* Каждая колонка (кроме первой) — аккордеон */
  .footer-grid > div:not(:first-child) {
    border-top: 1px solid rgba(255,255,255,0.07);
  }
  .footer-section-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 14px 0;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
  }
  .footer-section-toggle::after {
    content: '+';
    font-size: 1.1rem;
    color: rgba(255,255,255,0.4);
    transition: transform 0.25s;
    font-weight: 300;
    line-height: 1;
  }
  .footer-section-toggle.open::after { transform: rotate(45deg); }
  .footer-links {
    display: none;
    padding-bottom: 16px;
    gap: 10px;
  }
  .footer-links.open { display: flex; }
  .footer-links a { font-size: 0.9rem; padding: 4px 0; color: rgba(255,255,255,0.65); }

  /* Первая колонка (лого + описание) — всегда открыта */
  .footer-grid > div:first-child { padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .footer-grid > div:first-child .footer-title { display: none; }

  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 0.75rem; }
  .footer-disclaimer { font-size: 0.7rem; }

  /* Платёжные иконки — перенос */
  .payment-row { gap: 6px; }
  .payment-icon { padding: 5px 10px; font-size: 0.75rem; }
}

/* ── MOBILE MENU — slide-in анимация ── */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
  display: block !important; /* всегда в DOM, управляем transform */
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--dark-navy);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.mobile-menu-header {
  position: static;
  width: 100%;
  height: 58px;
  background: #012a60;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  flex-shrink: 0;
}
.mobile-close {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 1rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.mobile-close:hover { background: rgba(255,255,255,0.2); }

/* Промокод внутри мобильного меню */
.mobile-promo-banner {
  background: linear-gradient(90deg, #e84f00, #fa5d00);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.mobile-promo-banner span { color: #fff; font-size: 0.82rem; }
.mobile-promo-banner strong { color: #fff; font-size: 1rem; letter-spacing: 0.08em; font-family: monospace; }

.mobile-nav {
  position: static;
  top: auto;
  right: auto;
  width: 100%;
  bottom: auto;
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
  background: var(--dark-navy);
}
.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.88);
  font-size: 0.97rem;
  font-weight: 500;
  min-height: 52px;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover,
.mobile-nav a:active { background: rgba(255,255,255,0.07); color: #fff; }
.mobile-nav a.active-link { color: var(--orange); background: rgba(250,93,0,0.07); }

.mobile-btns {
  position: static;
  width: 100%;
  padding: 16px 20px;
  background: #012a60;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}
.mobile-btns .btn { padding: 14px; font-size: 1rem; border-radius: 10px; }

/* Overlay backdrop */
.mobile-menu::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.28s;
  pointer-events: none;
}
.mobile-menu.open::before {
  opacity: 1;
  pointer-events: auto;
}

/* ── TOC (мобиль) ── */
@media (max-width: 600px) {
  .toc-box { padding: 16px; }
  .toc-cols { columns: 1; }
  .toc-list li { font-size: 0.88rem; }
}

/* ── STEPS GRID (мобиль) ── */
@media (max-width: 600px) {
  .steps-grid { grid-template-columns: 1fr; gap: 14px; }
  .step-card { padding: 20px 16px; }
}

/* ── FEATURE CARD GRID (мобиль) ── */
@media (max-width: 640px) {
  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }
}

/* ── BREADCRUMB (мобиль) ── */
@media (max-width: 480px) {
  .breadcrumb-inner { font-size: 0.78rem; gap: 5px; flex-wrap: wrap; }
  .breadcrumb { padding: 8px 0; }
}

/* ── HIGHLIGHTED BOX (мобиль) ── */
@media (max-width: 480px) {
  .highlight-box { padding: 14px 16px; }
  .mirror-link-box { flex-wrap: wrap; gap: 10px; }
}

/* ── SCROLL-TO-TOP кнопка ── */
#scrollTopBtn {
  position: fixed;
  bottom: 80px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  z-index: 150;
  transition: all var(--transition);
}
#scrollTopBtn.visible { display: flex; }
#scrollTopBtn:hover { background: var(--orange); transform: translateY(-2px); }

/* ── STICKY CTA BAR (только мобиль) ── */
.sticky-cta-bar {
  display: none;
}
@media (max-width: 768px) {
  .sticky-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 180;
    background: linear-gradient(135deg, var(--dark-navy), var(--navy));
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 10px 16px;
    gap: 10px;
    align-items: center;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
  }
  .sticky-cta-bar .btn { flex: 1; padding: 12px 8px; font-size: 0.88rem; border-radius: 8px; }
  .sticky-cta-promo { font-size: 0.72rem; color: rgba(255,255,255,0.6); text-align: center; white-space: nowrap; }
  /* Отступ снизу для контента, чтобы sticky bar не перекрывал */
  body { padding-bottom: 70px; }
}

/* ── КОМПЕНСАЦИЯ footer на мобиле ── */
@media (max-width: 768px) {
  .site-footer { padding-bottom: 10px; }
}



/* ============================================
   HERO REGISTRATION FIX + CONTRAST FIXES
   ============================================ */

/* ── HERO REGISTRATION ── */
.hero-reg {
  background: linear-gradient(135deg, #001530 0%, #013B77 60%, #0a3d8a 100%);
  padding: 60px 0 52px;
  position: relative;
  overflow: hidden;
}
.hero-reg-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  opacity: 0.12;
  z-index: 0;
}
.hero-reg-content {
  position: relative;
  z-index: 2;
}
.hero-reg-title {
  color: #ffffff !important;
  max-width: 720px;
  margin: 14px 0 18px;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.hero-reg-desc {
  color: rgba(255,255,255,0.88) !important;
  max-width: 580px;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 28px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.hero-reg-desc strong { color: #fff; }
.hero-reg-actions { display: flex; flex-direction: column; gap: 16px; }
.hero-reg-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-reg-meta span {
  color: rgba(255,255,255,0.72);
  font-size: 0.85rem;
}
.section-tag--light {
  background: rgba(255,255,255,0.15);
  color: #fff !important;
  border-color: rgba(255,255,255,0.3) !important;
}

/* ── МОБИЛЬНАЯ ВЕРСИЯ HERO REG ── */
@media (max-width: 768px) {
  .hero-reg { padding: 36px 0 32px; }
  .hero-reg-title { font-size: clamp(1.4rem, 5.5vw, 1.9rem); margin: 10px 0 14px; }
  .hero-reg-desc { font-size: 0.97rem; margin-bottom: 20px; }
  .hero-reg-actions .btn { width: 100%; }
  .hero-reg-meta { gap: 10px; }
  .hero-reg-meta span { font-size: 0.8rem; }
}

/* ── ИСПРАВЛЕНИЕ КОНТРАСТА — глобальное ──
   section-tag в тёмных секциях должен быть светлым */
.hero .section-tag,
.hero-dark .section-tag,
section[class*="section-dark"] .section-tag {
  background: rgba(255,255,255,0.15) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,0.25) !important;
}

/* ── BREADCRUMB на светлом фоне ── */
.breadcrumb { background: #f8fafc; border-bottom: 1px solid var(--border); }
.breadcrumb-inner { color: var(--text-muted); }
.breadcrumb-inner .current { color: var(--text); font-weight: 600; }
.breadcrumb-inner .sep { color: var(--border); }

/* ── ARTICLE IMAGES — защита от выхода за края ── */
.article-body img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin: 16px 0 24px;
  object-fit: cover;
}

/* ── ОПТИМИЗАЦИЯ ИЗОБРАЖЕНИЙ — aspect-ratio ── */
.article-body img[width][height] {
  aspect-ratio: attr(width) / attr(height);
}
.hero-img img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* ── HERO-DARK — цвет текста по умолчанию ── */
.hero-dark h1 {
  color: #ffffff;
}
.hero-dark p {
  color: rgba(255,255,255,0.82);
}
.hero-dark h2,
.hero-dark h3 {
  color: #ffffff;
}
