﻿/* =========================
   Superbet Analysis Page
   Distinctive visual style
   ========================= */

/* --- Color variables (extends main.css) --- */
.sb-page {
  --sb-navy:       #0A1E3E;
  --sb-navy-2:     #0F2A55;
  --sb-gold:       #D4A843;
  --sb-gold-light: #F5E9CC;
  --sb-amber:      #E8973A;
  --sb-teal:       #0D9488;
  --sb-teal-light: #CCFBF1;
  --sb-card-bg:    #FFFFFF;
  --sb-text:       #111827;
  --sb-muted:      #4B5563;
  --sb-border:     #E5E7EB;
  --sb-soft-bg:    #F7FAFC;
}

.sb-page {
  background: #fff;
  color: var(--sb-text);
  font-size: 16px;
  line-height: 1.66;
  overflow-x: hidden;
}

/* ---- Container ---- */
.sb-container {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Section Spacing ---- */
.sb-section {
  padding: 80px 0;
}
.sb-section--alt {
  background: linear-gradient(180deg, #F7FAFC 0%, #FFFFFF 100%);
}
.sb-section--dark {
  background: linear-gradient(135deg, var(--sb-navy) 0%, var(--sb-navy-2) 100%);
  color: #fff;
}
.sb-section--gold {
  background: linear-gradient(135deg, var(--sb-gold-light) 0%, #FFF8ED 100%);
}
.sb-section--teal {
  background: linear-gradient(135deg, var(--sb-teal-light) 0%, #E6FFFA 100%);
}
.sb-section--warm {
  background: linear-gradient(135deg, #FEF3C7 0%, #FFFBEB 100%);
}

/* ---- Typography ---- */
.sb-page h1,
.sb-page h2,
.sb-page h3,
.sb-page h4 {
  margin: 0;
  color: var(--sb-navy);
  letter-spacing: -0.01em;
}
.sb-page h1 {
  font-size: 56px;
  line-height: 1.06;
  font-weight: 800;
}
.sb-page h2 {
  font-size: 36px;
  line-height: 1.16;
  font-weight: 800;
}
.sb-page h3 {
  font-size: 22px;
  line-height: 1.28;
  font-weight: 700;
}
.sb-page h4 {
  font-size: 18px;
  line-height: 1.32;
  font-weight: 700;
}
.sb-page p {
  color: var(--sb-muted);
  margin: 0;
}
.sb-page a {
  color: var(--sb-teal);
  font-weight: 700;
  transition: color 160ms ease;
}
.sb-page a:hover {
  color: var(--sb-navy);
}

/* ---- Section Header ---- */
.sb-section-head {
  max-width: 800px;
  margin: 0 auto 44px;
  text-align: center;
}
.sb-section-head--left {
  margin-left: 0;
  text-align: left;
}
.sb-section-head p {
  margin-top: 14px;
  font-size: 18px;
  color: var(--sb-muted);
}
.sb-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  background: var(--sb-gold);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.sb-eyebrow--teal {
  background: var(--sb-teal);
}

/* =====================================
   HERO SECTION — bold dark split
   ===================================== */
.sb-hero {
  position: relative;
  background: linear-gradient(135deg, var(--sb-navy) 0%, #122D5A 50%, var(--sb-navy-2) 100%);
  color: #fff;
  overflow: hidden;
  padding: 100px 0 80px;
}
.sb-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,168,67,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.sb-hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.sb-hero__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  font-weight: 700;
}
.sb-hero__breadcrumb a {
  color: var(--sb-gold);
  font-weight: 600;
}
.sb-hero__breadcrumb a:hover {
  color: #fff;
}
.sb-hero h1 {
  color: #fff;
  font-size: 60px;
}
.sb-hero__intro {
  margin: 22px 0 16px;
  color: rgba(255,255,255,0.82) !important;
  font-size: 19px;
  line-height: 1.62;
}
.sb-hero__disclaimer {
  padding: 14px 18px;
  background: rgba(212,168,67,0.14);
  border-left: 4px solid var(--sb-gold);
  border-radius: 12px;
  color: var(--sb-gold-light) !important;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 24px;
}

/* --- Hero Summary Card --- */
.sb-hero-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 32px;
}
.sb-hero-card h2 {
  color: var(--sb-gold);
  font-size: 22px;
  margin-bottom: 20px;
}
.sb-hero-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}
.sb-hero-card__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sb-hero-card__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.sb-hero-card dt {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.sb-hero-card dd {
  margin: 0;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  text-align: right;
}
.sb-hero-card__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ---- Buttons ---- */
.sb-page .sb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  transition: all 180ms ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.sb-page .sb-btn--gold {
  background: var(--sb-gold);
  color: #fff;
}
.sb-page .sb-btn--gold:hover {
  background: #C49A3A;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,168,67,0.3);
}
.sb-page .sb-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.sb-page .sb-btn--ghost:hover {
  border-color: var(--sb-gold);
  color: var(--sb-gold);
  background: rgba(212,168,67,0.08);
}
.sb-page .sb-btn--teal {
  background: var(--sb-teal);
  color: #fff;
}
.sb-page .sb-btn--teal:hover {
  background: #0F766E;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,148,136,0.3);
}
.sb-page .sb-btn--outline {
  background: #fff;
  color: var(--sb-navy);
  border: 1px solid var(--sb-border);
}
.sb-page .sb-btn--outline:hover {
  border-color: var(--sb-teal);
  color: var(--sb-teal);
}

/* =====================================
   METHODOLOGY — criteria table
   ===================================== */
.sb-criteria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 10px;
}
.sb-criteria-card {
  background: #fff;
  border: 1px solid var(--sb-border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(15,23,42,0.04);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.sb-criteria-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15,23,42,0.08);
}
.sb-criteria-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--sb-gold-light);
  color: var(--sb-gold);
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 14px;
}
.sb-criteria-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.sb-criteria-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--sb-muted);
}

/* =====================================
   QUICK NAV — tab-style cards
   ===================================== */
.sb-quick-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.sb-quick-nav__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--sb-border);
  border-radius: 18px;
  transition: all 200ms ease;
  text-decoration: none;
  color: inherit;
}
.sb-quick-nav__card:hover {
  transform: translateY(-4px);
  border-color: var(--sb-gold);
  box-shadow: 0 16px 36px rgba(212,168,67,0.12);
}
.sb-quick-nav__card--gold:hover {
  border-color: var(--sb-gold);
  box-shadow: 0 16px 36px rgba(212,168,67,0.12);
}
.sb-quick-nav__card--teal:hover {
  border-color: var(--sb-teal);
  box-shadow: 0 16px 36px rgba(13,148,136,0.12);
}
.sb-quick-nav__card--amber:hover {
  border-color: var(--sb-amber);
  box-shadow: 0 16px 36px rgba(232,151,58,0.12);
}
.sb-quick-nav__icon {
  font-size: 28px;
  margin-bottom: 14px;
  line-height: 1;
}
.sb-quick-nav__card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--sb-navy);
}
.sb-quick-nav__card p {
  font-size: 14px;
  color: var(--sb-muted);
  line-height: 1.55;
  margin: 0;
}
.sb-quick-nav__arrow {
  margin-top: auto;
  padding-top: 16px;
  color: var(--sb-teal);
  font-weight: 800;
  font-size: 14px;
}
.sb-quick-nav__arrow::after {
  content: ' →';
}

/* =====================================
   VERDICT BOX
   ===================================== */
.sb-verdict {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.sb-verdict__main {
  background: #fff;
  border: 1px solid var(--sb-border);
  border-radius: 20px;
  padding: 34px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.05);
}
.sb-verdict__main h3 {
  color: var(--sb-navy);
  margin-bottom: 14px;
}
.sb-verdict__main p + p {
  margin-top: 16px;
}
.sb-verdict__stamp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 18px;
  background: var(--sb-teal-light);
  border-radius: 999px;
  color: var(--sb-teal);
  font-weight: 800;
  font-size: 14px;
}
.sb-verdict__points {
  display: grid;
  gap: 12px;
}
.sb-verdict__point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--sb-border);
  border-radius: 14px;
}
.sb-verdict__point-icon {
  flex: 0 0 28px;
  font-size: 20px;
  margin-top: 2px;
}
.sb-verdict__point h4 {
  margin-bottom: 4px;
  font-size: 15px;
}
.sb-verdict__point p {
  font-size: 14px;
  line-height: 1.5;
}

/* =====================================
   TABLE — modern clean
   ===================================== */
.sb-table-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.05);
}
.sb-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--sb-border);
}
.sb-table th,
.sb-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--sb-border);
  color: var(--sb-text);
  font-size: 15px;
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
}
.sb-table thead th {
  background: var(--sb-navy);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sb-table tbody tr:last-child td {
  border-bottom: 0;
}

/* =====================================
   CHECKLIST — with custom markers
   ===================================== */
.sb-checklist {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}
.sb-checklist li {
  position: relative;
  padding-left: 32px;
  color: var(--sb-text);
  font-weight: 600;
  line-height: 1.58;
}
.sb-checklist li + li {
  margin-top: 10px;
}
.sb-checklist li::before {
  position: absolute;
  left: 0;
  font-weight: 900;
}
.sb-checklist--check li::before {
  content: '✓';
  color: var(--sb-teal);
  font-size: 18px;
}
.sb-checklist--bullet li::before {
  content: '•';
  color: var(--sb-gold);
  font-size: 22px;
}
.sb-checklist--warn li::before {
  content: '!';
  color: var(--sb-amber);
  font-size: 18px;
  font-weight: 900;
}

/* =====================================
   CARD DECKS
   ===================================== */
.sb-card-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.sb-card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.sb-card {
  background: #fff;
  border: 1px solid var(--sb-border);
  border-radius: 18px;
  padding: 28px;
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 4px 12px rgba(15,23,42,0.03);
}
.sb-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(15,23,42,0.07);
}
.sb-card__accent {
  width: 40px;
  height: 4px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.sb-card__accent--gold { background: var(--sb-gold); }
.sb-card__accent--teal { background: var(--sb-teal); }
.sb-card__accent--amber { background: var(--sb-amber); }
.sb-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.sb-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--sb-muted);
}

/* =====================================
   PRO / CON SPLIT
   ===================================== */
.sb-procon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.sb-procon__box {
  border-radius: 18px;
  padding: 30px;
}
.sb-procon__box--pro {
  background: linear-gradient(135deg, var(--sb-teal-light) 0%, #E6FFFA 100%);
  border: 1px solid #A7F3D0;
}
.sb-procon__box--con {
  background: linear-gradient(135deg, #FEF3C7 0%, #FFFBEB 100%);
  border: 1px solid #FDE68A;
}
.sb-procon__box h3 {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sb-procon__box--pro h3 { color: var(--sb-teal); }
.sb-procon__box--con h3 { color: var(--sb-amber); }
.sb-procon__list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.sb-procon__list li {
  position: relative;
  padding-left: 24px;
  color: var(--sb-text);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.55;
}
.sb-procon__list--pro li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--sb-teal);
  font-weight: 900;
}
.sb-procon__list--con li::before {
  content: '−';
  position: absolute;
  left: 0;
  color: var(--sb-amber);
  font-weight: 900;
}

/* =====================================
   FAQ — accordion
   ===================================== */
.sb-faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}
.sb-faq-item {
  background: #fff;
  border: 1px solid var(--sb-border);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 180ms ease;
}
.sb-faq-item:hover {
  box-shadow: 0 8px 20px rgba(15,23,42,0.05);
}
.sb-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  color: var(--sb-navy);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  gap: 12px;
}
.sb-faq-item summary::-webkit-details-marker {
  display: none;
}
.sb-faq-item summary::after {
  content: '+';
  flex: 0 0 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sb-gold-light);
  border-radius: 999px;
  font-size: 18px;
  font-weight: 900;
  color: var(--sb-gold);
  transition: transform 180ms ease;
}
.sb-faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}
.sb-faq-item p {
  padding: 0 22px 20px;
  margin: 0;
  font-size: 15px;
  line-height: 1.62;
}

/* =====================================
   RESPONSIBLE GAMBLING
   ===================================== */
.sb-responsible {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
}
.sb-age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--sb-gold);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  flex: 0 0 64px;
}
.sb-responsible h2 {
  font-size: 30px;
}
.sb-responsible p {
  margin-top: 10px;
  font-size: 16px;
}

/* =====================================
   FINAL CTA — dark
   ===================================== */
.sb-final-cta {
  padding-top: 28px;
}
.sb-final-cta__box {
  padding: 52px;
  background: linear-gradient(135deg, var(--sb-navy) 0%, var(--sb-navy-2) 100%);
  border-radius: 24px;
  color: #fff;
  text-align: center;
}
.sb-final-cta__box h2 {
  color: var(--sb-gold);
  font-size: 40px;
}
.sb-final-cta__box p {
  max-width: 700px;
  margin: 14px auto 24px;
  color: rgba(255,255,255,0.8);
  font-size: 17px;
}
.sb-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.sb-final-cta__disclosure {
  margin: 22px auto 0 !important;
  color: rgba(255,255,255,0.45) !important;
  font-size: 13px !important;
}

/* =====================================
   PROGRESS / STEPPER
   ===================================== */
.sb-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.sb-step {
  text-align: center;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--sb-border);
  border-radius: 16px;
  transition: transform 180ms ease;
}
.sb-step:hover {
  transform: translateY(-3px);
}
.sb-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  background: var(--sb-navy);
  color: #fff;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 900;
}
.sb-step h4 {
  margin-bottom: 6px;
  font-size: 16px;
}
.sb-step p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* =====================================
   STATUS PILLS
   ===================================== */
.sb-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sb-pill--info {
  background: var(--sb-teal-light);
  color: var(--sb-teal);
}
.sb-pill--warn {
  background: #FEF3C7;
  color: var(--sb-amber);
}

/* =====================================
   RESPONSIVE
   ===================================== */
@media (max-width: 1023px) {
  .sb-section { padding: 56px 0; }
  .sb-hero { padding: 60px 0 56px; }
  .sb-hero h1, .sb-page h1 { font-size: 42px; }
  .sb-page h2 { font-size: 30px; }
  .sb-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .sb-criteria-grid { grid-template-columns: repeat(2, 1fr); }
  .sb-quick-nav { grid-template-columns: repeat(2, 1fr); }
  .sb-card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .sb-verdict { grid-template-columns: 1fr; }
  .sb-procon { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .sb-section { padding: 44px 0; }
  .sb-hero { padding: 44px 0 40px; }
  .sb-hero h1, .sb-page h1 { font-size: 32px; }
  .sb-page h2 { font-size: 26px; }
  .sb-container { padding: 0 16px; }
  .sb-criteria-grid { grid-template-columns: 1fr 1fr; }
  .sb-quick-nav { grid-template-columns: 1fr; }
  .sb-card-grid-2,
  .sb-card-grid-3 { grid-template-columns: 1fr; }
  .sb-hero-card { padding: 24px; }
  .sb-final-cta__box { padding: 32px 24px; }
  .sb-final-cta__box h2 { font-size: 28px; }
  .sb-table-wrap { box-shadow: none; }
  .sb-table, .sb-table thead, .sb-table tbody, .sb-table tr, .sb-table th, .sb-table td {
    display: block; width: 100%;
  }
  .sb-table thead { display: none; }
  .sb-table { border: 0; background: transparent; }
  .sb-table tr {
    margin-bottom: 14px;
    background: #fff;
    border: 1px solid var(--sb-border);
    border-radius: 14px;
    overflow: hidden;
  }
  .sb-table th, .sb-table td {
    border-bottom: 1px solid var(--sb-border);
  }
  .sb-table th::before, .sb-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    font-size: 12px;
    font-weight: 800;
    color: var(--sb-muted);
    text-transform: uppercase;
  }
  .sb-table tr > *:last-child { border-bottom: 0; }
  .sb-responsible { grid-template-columns: 1fr; text-align: center; }
  .sb-age-badge { margin: 0 auto; }
}

