/* =============================================================
   Theme 2 — BetScore: Editorial Sportsbook
   Loaded after style.css. Scoped via body.theme2 to avoid leaking.
   ============================================================= */

/* ---------- Typography ---------- */
body.theme2 {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-feature-settings: 'ss01', 'ss02';
  letter-spacing: 0;
}

body.theme2 h1,
body.theme2 h2,
body.theme2 h3,
body.theme2 .hero h1,
body.theme2 .site-logo__main,
body.theme2 .site-logo__alt {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body.theme2 h1 { font-size: clamp(2.6rem, 5.2vw, 4.5rem); line-height: 0.95; }
body.theme2 h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.05; }
body.theme2 h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.15; }

body.theme2 h4,
body.theme2 h5,
body.theme2 .footer-links__title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

body.theme2 .stat__value,
body.theme2 .jackpot-amount,
body.theme2 .winner-amount,
body.theme2 .bonus-card__value {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ---------- Single-language: hide switcher ---------- */
body.single-lang .lang-selector,
body.single-lang .mobile-lang { display: none !important; }

/* ---------- Topbar (utility strip above header) ---------- */
body.theme2 .topbar {
  background: #0a1530;
  color: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255, 208, 0, 0.25);
}
body.theme2 .topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
  gap: 16px;
}
body.theme2 .topbar__left,
body.theme2 .topbar__right {
  display: flex;
  align-items: center;
  gap: 14px;
}
body.theme2 .topbar__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
body.theme2 .topbar__pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffd000;
}
body.theme2 .topbar__pill .dot--green {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}
body.theme2 .topbar__divider {
  color: rgba(255, 255, 255, 0.3);
}
body.theme2 .topbar__meta {
  color: rgba(255, 255, 255, 0.78);
}
body.theme2 .topbar__login {
  color: #ffd000;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: border-color 0.2s ease;
}
body.theme2 .topbar__login:hover { border-bottom-color: #ffd000; }

@media (max-width: 768px) {
  body.theme2 .topbar__meta,
  body.theme2 .topbar__divider { display: none; }
  body.theme2 .topbar { font-size: 0.72rem; }
}

/* ---------- Main header (sticky, white with hairline) ---------- */
body.theme2 .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #e6ebf3;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  padding: 14px 0;
}
body.theme2 .site-header--scrolled {
  box-shadow: 0 2px 14px rgba(10, 21, 48, 0.08);
  border-bottom-color: transparent;
}
body.theme2 .site-header .container {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Logo: BET (navy block) + SCORE (yellow underline) */
body.theme2 .site-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  text-decoration: none;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  line-height: 1;
}
body.theme2 .site-logo__main {
  color: #0a1530;
  font-weight: 400;
}
body.theme2 .site-logo__alt {
  color: #0a1530;
  position: relative;
  padding: 0 2px;
}
body.theme2 .site-logo__alt::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 4px;
  background: #ffd000;
}

body.theme2 .nav-main--desktop {
  display: flex;
  gap: 28px;
  margin: 0 auto;
}
body.theme2 .nav-main--desktop a {
  color: #0a1530;
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color 0.15s ease;
}
body.theme2 .nav-main--desktop a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: #ffd000;
  transition: right 0.25s ease;
}
body.theme2 .nav-main--desktop a:hover::after,
body.theme2 .nav-main--desktop a.active::after { right: 0; }
body.theme2 .nav-main--desktop a.active { color: #0a1530; }

body.theme2 .nav-actions { display: flex; align-items: center; gap: 12px; }

/* CTA button (yellow with sharp corners) */
body.theme2 .btn--cta {
  background: #ffd000;
  color: #0a1530;
  border: 2px solid #0a1530;
  border-radius: 4px;
  padding: 11px 22px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.15s ease;
  box-shadow: 4px 4px 0 0 #0a1530;
  display: inline-block;
  cursor: pointer;
}
body.theme2 .btn--cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 0 #0a1530;
  background: #ffe14a;
}
body.theme2 .btn--cta:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 0 #0a1530;
}
body.theme2 .btn--lg {
  padding: 14px 30px;
  font-size: 0.95rem;
}
body.theme2 .btn--outline {
  background: transparent;
  color: #0a1530;
  border: 1.5px solid #0a1530;
  border-radius: 4px;
  padding: 10px 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.15s ease;
}
body.theme2 .btn--outline:hover {
  background: #0a1530;
  color: #ffffff;
}

/* Hide old primary buttons styling — promote .btn--cta */
body.theme2 .btn--primary {
  background: #ffd000;
  color: #0a1530;
  border: 2px solid #0a1530;
  border-radius: 4px;
  box-shadow: 4px 4px 0 0 #0a1530;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
body.theme2 .btn--primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 0 #0a1530;
}

/* ---------- Hero (centered editorial, tight) ---------- */
body.theme2 .hero {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
  border-bottom: 1px solid #e6ebf3;
  padding: 36px 0 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
body.theme2 .hero .container { display: flex; flex-direction: column; align-items: center; }
body.theme2 .hero::before {
  content: '';
  position: absolute;
  top: 40px;
  right: -120px;
  width: 540px;
  height: 540px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 208, 0, 0.18) 0%, transparent 55%);
  pointer-events: none;
}
body.theme2 .hero .container { position: relative; z-index: 2; }
body.theme2 .hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid #d8dfeb;
  border-left: 4px solid #ffd000;
  color: #0a1530;
  padding: 7px 14px;
  border-radius: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
body.theme2 .hero h1 {
  color: #0a1530;
  margin: 0 0 12px;
  text-align: center;
}
/* Hide redundant brand-name kicker (and its trailing <br>) above hero h1 */
body.theme2 .hero h1 .brand-name,
body.theme2 .hero h1 .brand-name + br {
  display: none;
}
body.theme2 .hero h1 .brand-type {
  display: inline-block;
  border-bottom: 4px solid #ffd000;
  padding-bottom: 6px;
}
body.theme2 .hero__subtitle {
  color: #5a6781;
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 640px;
  margin: 16px auto 22px;
  text-align: center;
}

body.theme2 .hero__bonus-card {
  background: #ffffff;
  border: 2px solid #0a1530;
  border-radius: 4px;
  padding: 20px 28px;
  margin: 14px auto 0;
  position: relative;
  box-shadow: 6px 6px 0 0 rgba(255, 208, 0, 0.9);
  max-width: 720px;
  text-align: center;
}
body.theme2 .hero__bonus-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 5px;
  background: #ffd000;
}
body.theme2 .hero__bonus-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5a6781;
  margin-bottom: 8px;
}
body.theme2 .hero__bonus-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.02em;
  color: #0a1530;
  line-height: 1.15;
  margin-bottom: 6px;
}
body.theme2 .hero__bonus-extra {
  font-size: 0.85rem;
  color: #5a6781;
  line-height: 1.5;
}

body.theme2 .hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
  justify-content: center;
}

/* ---------- Stats bar ---------- */
body.theme2 .stats-bar {
  background: #0a1530;
  color: #ffffff;
  border-top: 4px solid #ffd000;
  border-bottom: 1px solid #16244a;
  padding: 28px 0;
}
body.theme2 .stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
body.theme2 .stat {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 12px;
}
body.theme2 .stat:last-child { border-right: none; }
body.theme2 .stat__value {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: #ffd000;
  margin-bottom: 4px;
  font-weight: 700;
}
body.theme2 .stat__label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 600px) {
  body.theme2 .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  body.theme2 .stat { border-right: 1px solid rgba(255, 255, 255, 0.12); padding: 14px 8px; }
  body.theme2 .stat:nth-child(2n) { border-right: none; }
}

/* ---------- Section headers (yellow editorial divider) ---------- */
body.theme2 .content-section h2 {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 22px;
  color: #0a1530;
}
body.theme2 .content-section h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background: #ffd000;
}
body.theme2 .content-section h2.text-center::after {
  left: 50%;
  transform: translateX(-30px);
}

/* ---------- Cards / boxes (sharp corners) ---------- */
body.theme2 .card,
body.theme2 .game-tile,
body.theme2 .winner-card,
body.theme2 .bonus-card,
body.theme2 .faq-item,
body.theme2 .provider-tile {
  border-radius: 4px !important;
  border: 1px solid #d8dfeb;
  background: #ffffff;
  box-shadow: none;
}
body.theme2 .game-tile:hover,
body.theme2 .bonus-card:hover {
  border-color: #0a1530;
  transform: translateY(-2px);
}

/* ---------- Tables ---------- */
body.theme2 table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.9rem;
}
body.theme2 table th {
  background: #0a1530;
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  padding: 12px 14px;
  text-align: left;
  border: none;
}
body.theme2 table td {
  border-bottom: 1px solid #e6ebf3;
  padding: 12px 14px;
  color: #0a1530;
}
body.theme2 table tbody tr:hover { background: #fffbe6; }

/* ---------- FAQ ---------- */
body.theme2 .faq-item {
  margin-bottom: 10px;
  padding: 0;
}
body.theme2 .faq-item summary,
body.theme2 .faq-item .faq-question {
  padding: 16px 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #0a1530;
  border-left: 3px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
body.theme2 .faq-item[open] summary,
body.theme2 .faq-item summary:hover {
  border-left-color: #ffd000;
  background: #fffbe6;
}
body.theme2 .faq-item .faq-answer,
body.theme2 .faq-item summary + * {
  padding: 0 18px 16px;
  color: #5a6781;
  line-height: 1.7;
}

/* ---------- Sticky CTA ---------- */
body.theme2 .sticky-cta {
  background: #0a1530;
  border-top: 3px solid #ffd000;
  border-radius: 0;
}
body.theme2 .sticky-cta__text { color: #ffffff; }
body.theme2 .sticky-cta__bonus {
  color: #ffd000;
  font-weight: 700;
}

/* ---------- CTA banner ---------- */
body.theme2 .cta-banner {
  background: #0a1530;
  color: #ffffff;
  text-align: center;
  padding: 60px 0;
  position: relative;
  border-top: 4px solid #ffd000;
}
body.theme2 .cta-banner h2 { color: #ffffff; }
body.theme2 .cta-banner h2::after { background: #ffd000; left: 50%; transform: translateX(-30px); }
body.theme2 .cta-banner p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 600px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
}

/* ---------- Footer (2-col magazine) ---------- */
body.theme2 .site-footer {
  background: #0a1530;
  color: rgba(255, 255, 255, 0.78);
  padding: 60px 0 0;
  border-top: 1px solid #16244a;
}
body.theme2 .site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
body.theme2 .footer-brand { max-width: 600px; }
body.theme2 .footer-brand .site-logo {
  margin-bottom: 18px;
  font-size: 1.8rem;
}
body.theme2 .footer-brand .site-logo__main { color: #ffffff; }
body.theme2 .footer-brand .site-logo__alt { color: #ffffff; }
body.theme2 .footer-brand .site-logo__alt::after { background: #ffd000; }

body.theme2 .footer-brand__desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
body.theme2 .footer-disclaimer {
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  border-left: 3px solid rgba(255, 208, 0, 0.4);
  padding-left: 14px;
  margin: 18px 0;
}
body.theme2 .footer-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}
body.theme2 .footer-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid rgba(255, 208, 0, 0.4);
  color: #ffd000;
  border-radius: 0;
}

body.theme2 .footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
body.theme2 .footer-links__title {
  color: #ffd000;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
body.theme2 .footer-links ul { list-style: none; padding: 0; margin: 0; }
body.theme2 .footer-links li { margin-bottom: 9px; }
body.theme2 .footer-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s ease;
  display: inline-block;
  position: relative;
}
body.theme2 .footer-links a::before {
  content: '/ ';
  color: #ffd000;
  opacity: 0;
  margin-right: 4px;
  transition: opacity 0.15s ease;
}
body.theme2 .footer-links a:hover {
  color: #ffd000;
}
body.theme2 .footer-links a:hover::before { opacity: 1; }

/* Full-width legal bar */
body.theme2 .footer-legal-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  flex-wrap: wrap;
  gap: 12px;
}
body.theme2 .footer-legal-bar__copy { margin: 0; }
body.theme2 .footer-legal-bar__links {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
body.theme2 .footer-legal-bar__links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.15s ease;
}
body.theme2 .footer-legal-bar__links a:hover { color: #ffd000; }
body.theme2 .footer-legal-bar__links span { color: rgba(255, 255, 255, 0.3); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  body.theme2 .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Mobile CTA (hidden on desktop, shown on mobile next to logo) */
body.theme2 .btn--mobile-cta { display: none; }

@media (max-width: 768px) {
  body.theme2 .nav-main--desktop,
  body.theme2 .nav-actions { display: none; }
  body.theme2 .nav-toggle { display: inline-flex; }
  body.theme2 .site-header { padding: 10px 0; }
  body.theme2 .site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  body.theme2 .site-logo { font-size: 1.4rem; flex: 0 1 auto; }
  body.theme2 .btn--mobile-cta {
    display: inline-block;
    margin-left: auto;
    padding: 8px 14px;
    font-size: 0.78rem;
    box-shadow: 3px 3px 0 0 #0a1530;
    flex: 0 0 auto;
  }
  body.theme2 .nav-toggle { flex: 0 0 auto; }

  body.theme2 .hero { padding: 28px 0 30px; }
  body.theme2 .hero h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  body.theme2 .hero__subtitle { font-size: 0.95rem; margin: 12px auto 18px; }
  body.theme2 .hero__bonus-card { padding: 16px 18px; box-shadow: 4px 4px 0 0 rgba(255, 208, 0, 0.9); }
  body.theme2 .hero__bonus-value { font-size: 1.15rem; }

  body.theme2 .footer-links { grid-template-columns: 1fr; gap: 28px; }
  body.theme2 .footer-legal-bar {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- Hide language switcher in header for single-lang ---------- */
body.theme2.single-lang .nav-actions .lang-selector,
body.theme2.single-lang .topbar .lang-selector { display: none !important; }
