/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand palette */
  --brand-50:  #f0f7ff;
  --brand-100: #dbeeff;
  --brand-200: #b0d9fe;
  --brand-400: #4da6f5;
  --brand-500: #1d87e8;
  --brand-600: #1266c9;
  --brand-700: #0e4fa0;
  --brand-800: #0a3675;
  --brand-900: #061e45;

  /* Navy */
  --navy:      #0d2544;
  --navy-soft: #162f55;

  /* Accent / Gold */
  --gold-400:  #f5c842;
  --gold-500:  #e8a812;
  --gold-100:  #fff8de;

  /* Success */
  --green-500: #0e9170;
  --green-50:  #e4f9f4;

  /* Danger */
  --red-500:   #c53030;
  --red-50:    #fff0f0;

  /* Neutrals */
  --surface:        #ffffff;
  --surface-soft:   #f5f8fc;
  --surface-accent: #eef5ff;
  --border:         #e0e8f5;
  --border-strong:  #c8d6ea;
  --text:           #1a2534;
  --text-muted:     #000000;
  --text-subtle:    #8795a8;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(13, 37, 68, 0.08);
  --shadow-md:  0 6px 24px rgba(13, 37, 68, 0.10);
  --shadow-lg:  0 16px 48px rgba(13, 37, 68, 0.12);
  --shadow-xl:  0 24px 64px rgba(13, 37, 68, 0.16);

  /* Radius */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-2xl: 32px;

  /* Spacing */
  --container: 1200px;
  --section-gap: 5rem;

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur:  0.22s;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: linear-gradient(135deg, #7d29b6 0%, #7d29b6 50%, #7d29b6 100%);
  color: var(--text);
  font-family: Inter, "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.age-locked {
  overflow: hidden;
}

img, video {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--brand-600);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

a:hover,
a:focus-visible {
  color: var(--brand-800);
  text-decoration: underline;
}

button, input, textarea, select {
  font: inherit;
}

[hidden] { display: none !important; }

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  z-index: 9999;
  transform: translateY(-150%);
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--r-md);
  font-weight: 700;
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus { transform: translateY(0); }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(100% - 2.5rem, 840px);
  margin-inline: auto;
}

.section {
  padding: var(--section-gap) 0;
  scroll-margin-top: 100px;
}

.section-muted {
  background: var(--surface-soft);
}

.section-dark {
  background: var(--navy);
  color: #fff;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--navy);
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  transition: opacity var(--dur) var(--ease);
}

.brand:hover,
.brand:focus-visible {
  text-decoration: none;
  opacity: 0.82;
}

.brand img,
.brand svg {
  width: 38px;
  height: 38px;
}

/* Nav */
.site-nav {
  display: flex;
  justify-content: center;
  gap: 0.2rem;
  list-style: none;
  padding: 0;
}

.site-nav a {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.55rem 0.9rem;
  border-radius: var(--r-md);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  background: var(--surface-accent);
  color: var(--brand-700);
  text-decoration: none;
}

/* Header contact */
.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.header-contact address { font-style: normal; }

.header-contact a {
  font-weight: 800;
  color: var(--navy);
  font-size: 1rem;
}

/* Hamburger */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  gap: 5px;
  transition: border-color var(--dur) var(--ease);
}

.menu-toggle:hover { border-color: var(--border-strong); }

.menu-toggle_bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  padding: 5rem 0;
  background: linear-gradient(135deg, #7d29b6 0%, #7d29b6 50%, #7d29b6 100%);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 50%, rgba(30, 120, 220, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(245, 200, 66, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero > .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: 3rem;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0;
}

.hero-text {
  margin-top: 1.2rem;
  color: rgba(255,255,255,0.8);
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 600px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 0.9rem;
}

.hero .eyebrow,
.responsible-panel .eyebrow {
  color: var(--gold-400);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border: 1.5px solid transparent;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              transform 0.12s var(--ease), box-shadow var(--dur) var(--ease),
              color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn:focus-visible {
  outline: 3px solid var(--brand-400);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--brand-500);
  color: #fff;
  border-color: var(--brand-600);
  box-shadow: 0 4px 14px rgba(29, 135, 232, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--brand-600);
  box-shadow: 0 6px 20px rgba(29, 135, 232, 0.45);
}

.btn-secondary {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
}

/* On light bg */
.btn-outline {
  background: transparent;
  color: var(--brand-700);
  border-color: var(--brand-300, var(--border-strong));
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--surface-accent);
}

.btn-card {
  width: 100%;
  background: var(--brand-500);
  color: #fff;
  border-color: var(--brand-600);
  box-shadow: 0 4px 14px rgba(29, 135, 232, 0.3);
}

.btn-card:hover,
.btn-card:focus-visible {
  background: var(--brand-600);
}

/* ============================================================
   HERO STATS PANEL
   ============================================================ */
.hero-panel {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-xl);
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
}

.hero-stat {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.1);
  transition: background var(--dur) var(--ease);
}

.hero-stat:hover { background: rgba(255,255,255,0.13); }

.hero-stat span {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--gold-400);
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-stat p {
  margin: 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
}

/* ============================================================
   WARNING STRIP
   ============================================================ */
.warning-strip {
  padding: 0.9rem 0;
  background: #fff8e1;
  border-top: 2px solid #f5c842;
  border-bottom: 1px solid #ead89a;
  color: #5a3e00;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-heading {
  max-width: 700px;
  margin-bottom: 2.5rem;
}

.section-heading h2,
.split-grid h2,
.prose h2,
.contact-card h2 {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 0.85rem;
}

.section-heading p,
.split-grid > div > p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ============================================================
   BOOKMAKER CARDS
   ============================================================ */
.cards {
  display: grid;
  gap: 1.25rem;
}

.ranking-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.bookmaker-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
  overflow: hidden;
}

.bookmaker-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-400));
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.bookmaker-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--brand-200, #b0d9fe);
  transform: translateY(-3px);
}

.bookmaker-card:hover::before { opacity: 1; }

/* Featured card */
.bookmaker-card.is-featured {
  border-color: var(--brand-400);
  box-shadow: var(--shadow-lg), 0 0 0 3px rgba(77, 166, 245, 0.15);
}

.bookmaker-card.is-featured::before { opacity: 1; }

.rank-badge {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 32px;
  padding: 0.25rem 0.6rem;
  border-radius: var(--r-sm);
  background: var(--green-500);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.bookmaker-logo {
  width: 160px;
  height: 68px;
  object-fit: contain;
  margin-bottom: 1.1rem;
  border-radius: var(--r-sm);
}

.bookmaker-card h3,
.step-card h3,
.criteria-list h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.bonus {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gold-100);
  color: #6b4000;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-sm);
  border: 1px solid #f0d07a;
  margin-bottom: 1.1rem;
}

.benefit-list,
.check-list,
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-list {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.benefit-list li,
.check-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.benefit-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green-500);
}

.bookmaker-card .btn {
  margin-top: auto;
}

/* ============================================================
   STEP GRID
   ============================================================ */
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.step-card {
  padding: 1.5rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.step-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--surface-accent);
  border: 1.5px solid var(--brand-200, #b0d9fe);
  border-radius: 50%;
  color: var(--brand-700);
  font-size: 0.8rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.step-card h3 {
  margin-bottom: 0.5rem;
}

.step-card p,
.criteria-list p,
.prose p,
.contact-card p,
.side-note p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   SPLIT GRID
   ============================================================ */
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 3rem;
  align-items: start;
}

/* ============================================================
   CRITERIA LIST
   ============================================================ */
.criteria-list {
  display: grid;
  gap: 1rem;
}

.criteria-list article {
  padding: 1.25rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.criteria-list article:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

/* ============================================================
   PROSE / CONTENT
   ============================================================ */
.prose {
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--text);
}

.prose > *:first-child { margin-top: 0; }

.prose h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.8rem;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.prose a {
  font-weight: 700;
  border-bottom: 1.5px solid currentColor;
}

.prose a:hover { opacity: 0.75; }

.check-list {
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap {
  width: min(100% - 2.5rem, 880px);
  margin-inline: auto;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease);
}

.faq-item:hover { box-shadow: var(--shadow-md); }

.faq-item h3 { margin: 0; }

.faq-question {
  width: 100%;
  min-height: 62px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border: 0;
  background: transparent;
  color: var(--navy);
  padding: 1rem 1.25rem;
  font-size: 0.97rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}

.faq-question:hover { background: var(--surface-soft); }

.faq-question::after {
  content: "+";
  flex: 0 0 30px;
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface-accent);
  color: var(--brand-700);
  font-size: 1.2rem;
  font-weight: 700;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.faq-question[aria-expanded="true"]::after {
  content: "−";
  background: var(--brand-500);
  color: #fff;
  transform: scale(1.05);
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid var(--border);
}

.faq-item.is-open .faq-answer { display: block; }

.faq-answer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
  padding-top: 0.9rem;
  line-height: 1.75;
}

/* ============================================================
   RESPONSIBLE GAMBLING PANEL
   ============================================================ */
.responsible-panel {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, #0d3068 100%);
  color: #fff;
  overflow: hidden;
}

.responsible-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 90% 50%, rgba(30,110,220,0.2) 0%, transparent 65%);
  pointer-events: none;
}

.responsible-panel > .container { position: relative; z-index: 1; }

.responsible-panel h2,
.responsible-panel p,
.responsible-panel li { color: #fff; }

.responsible-panel p { color: rgba(255,255,255,0.82); }

.responsible-panel a { color: #90cbff; }

.responsible-panel .check-list li { color: rgba(255,255,255,0.82); }

.responsible-panel .check-list li::before { background: var(--gold-400); }

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
  position: relative;
  padding: 4.5rem 0;
  background: linear-gradient(135deg, #081a35 0%, #0d3068 60%, #0f4a8a 100%);
  color: #fff;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 40%, rgba(30,120,220,0.2) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero > .container { position: relative; z-index: 1; }

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255,255,255,0.8);
  font-size: 1.06rem;
  line-height: 1.75;
  margin-top: 0.9rem;
}

/* ============================================================
   CONTENT GRID (sidebar layout)
   ============================================================ */
.content-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 0.65fr);
  gap: 2rem;
  align-items: start;
}

.side-note {
  padding: 1.35rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 104px;
}

.side-note strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 0.65rem;
}

.side-note-strong {
  border-color: #f0d07a;
  background: #fffbf0;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 2rem;
  align-items: start;
}

.contact-card {
  padding: 1.5rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: grid;
  gap: 1.1rem;
  padding: 1.5rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field label {
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--text);
  font-size: 0.94rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.form-field textarea {
  resize: vertical;
  min-height: 160px;
}

.form-field input:hover,
.form-field textarea:hover,
.form-field select:hover {
  border-color: var(--border-strong);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(29, 135, 232, 0.12);
}

.form-success {
  padding: 0.9rem 1rem;
  border-radius: var(--r-md);
  background: var(--green-50);
  border: 1.5px solid #9fe1cb;
  color: #054030;
  font-weight: 700;
  font-size: 0.93rem;
}

.small-note {
  font-size: 0.88rem;
  color: var(--text-subtle);
}

/* ============================================================
   LEGAL
   ============================================================ */
.legal-content {
  width: min(100% - 2.5rem, 860px);
  margin-inline: auto;
}

/* ============================================================
   PLAYER CHECK SECTION
   ============================================================ */
.player-check {
  background: #0b1520;
}

.player-check_inner {
  display: grid;
  grid-template-columns: 210px 1fr 290px;
  gap: 2.5rem;
  align-items: center;
  padding: 3rem;
  border-radius: var(--r-2xl);
  background: linear-gradient(135deg, #13263d 0%, #1a3654 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-xl);
}

.player-check_badge {
  padding: 2rem 1.5rem;
  border-radius: var(--r-xl);
  text-align: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}

.player-check_badge span {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: var(--gold-400);
  letter-spacing: -0.04em;
}

.player-check_badge p {
  margin-top: 0.75rem;
  color: rgba(255,255,255,0.72);
  font-size: 0.88rem;
  line-height: 1.5;
}

.player-check_content h2 {
  margin: 0.5rem 0 1rem;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.player-check_content p:not(.eyebrow) {
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  font-size: 0.93rem;
}

.player-check_list {
  padding: 1.5rem;
  border-radius: var(--r-xl);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-md);
}

.player-check_list p {
  margin-bottom: 0.75rem;
  font-weight: 800;
  color: var(--navy);
  font-size: 0.9rem;
}

.player-check_list ul {
  margin: 0;
  padding-left: 1.25rem;
}

.player-check_list li {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #070e1a;
  color: rgba(255,255,255,0.78);
  padding: 4rem 0 2rem;
}

.site-footer a {
  color: rgba(255,255,255,0.78);
  transition: color var(--dur) var(--ease);
}

.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.footer-brand {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.site-footer h2 {
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
}

.site-footer address { font-style: normal; }

.footer-links {
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.68);
}

.footer-links a:hover {
  color: #fff;
  text-decoration: none;
}

/* Footer regulation */
.footer-regulation {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.footer-regulation h3 {
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 56px;
  padding: 0.5rem;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}

.footer-logos a:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
  text-decoration: none;
}

.footer-logos img {
  max-width: 100%;
  max-height: 36px;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.75);
  transition: opacity var(--dur) var(--ease);
}

.footer-logos a:hover img { opacity: 1; }

/* Footer bottom */
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

.footer-disclaimer {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 1100px;
}

.footer-disclaimer p { margin-bottom: 0.85rem; }

.footer-disclaimer p:last-child {
  margin-bottom: 0;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
}

/* Regulatory logos (old footer block) */
.regulatory-logos {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.regulatory-logos img { border-radius: var(--r-sm); }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  z-index: 200;
  width: min(calc(100% - 2.5rem), 980px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.25rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-xl);
}

.cookie-banner strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.cookie-banner p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ============================================================
   AGE GATE
   ============================================================ */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(5, 14, 26, 0.88);
  backdrop-filter: blur(14px);
}

.age-gate_box {
  width: min(100%, 500px);
  display: grid;
  justify-items: center;
  gap: 1.1rem;
  padding: 2.5rem 2rem;
  border-radius: var(--r-2xl);
  background: var(--surface);
  text-align: center;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

.age-gate_box h2 {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin: 0;
}

.age-gate_box p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
  max-width: 360px;
}

.age-gate_actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.age-gate.is-denied .age-gate_actions { display: none; }

.age-denied {
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-md);
  background: #fff8e1;
  border: 1.5px solid #f0d07a;
  color: #5a3e00;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 980px)
   ============================================================ */
@media (max-width: 980px) {
  :root { --section-gap: 4rem; }

  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    display: none;
    padding: 1rem;
    background: rgba(255,255,255,0.98);
    border-bottom: 1.5px solid var(--border);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
    gap: 0.2rem;
  }

  .site-nav.is-open { display: flex; }

  .site-nav a { padding: 0.8rem 1rem; }

  .header-contact {
    grid-column: 1 / -1;
    align-items: flex-start;
    padding-bottom: 0.75rem;
    display: none;
  }

  .hero-grid,
  .split-grid,
  .content-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .ranking-grid {
    grid-template-columns: 1fr;
  }

  .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-note {
    position: static;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }

  .player-check_inner {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 1.5rem;
  }

  .player-check_badge { text-align: left; display: flex; gap: 1.25rem; align-items: center; }
  .player-check_badge span { font-size: 2.4rem; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {
  :root { --section-gap: 3rem; }

  .container,
  .narrow,
  .legal-content,
  .faq-wrap {
    width: min(100% - 1.5rem, var(--container));
  }

  .header-inner { gap: 0.75rem; }

  .hero {
    min-height: auto;
    padding: 3.5rem 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2rem;
  }

  .hero-actions,
  .age-gate_actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .age-gate_actions .btn {
    width: 100%;
    min-height: 52px;
  }

  .hero-stat {
    grid-template-columns: 72px 1fr;
  }

  .step-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    border-radius: var(--r-lg);
  }

  .ranking-grid {
    grid-template-columns: 1fr;
  }

  .bookmaker-card { padding: 1.25rem; }

  .age-gate_box { padding: 2rem 1.25rem; }

  .player-check_badge { flex-direction: column; text-align: center; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section-heading h2,
  .split-grid h2 {
    font-size: 1.6rem;
  }

  .contact-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header,
  .site-footer,
  .cookie-banner,
  .age-gate,
  .warning-strip { display: none; }

  body { font-size: 12pt; }

  a::after { content: " (" attr(href) ")"; }
}

.clarity-hub {
  background: linear-gradient(180deg, #ffffff 0%, #eef4f1 100%);
}

.clarity-hub_inner {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 32px;
  align-items: center;
}

.clarity-hub_card {
  padding: 34px;
  border-radius: 30px;
  background: #13251f;
  color: #fff;
  box-shadow: 0 24px 55px rgba(19, 37, 31, 0.16);
}

.clarity-hub_card h2 {
  color: #fff;
  margin-bottom: 16px;
}

.clarity-hub_card p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.clarity-hub_metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.clarity-hub_metrics article {
  min-height: 220px;
  padding: 26px 22px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(19, 37, 31, 0.08);
  box-shadow: 0 18px 42px rgba(19, 37, 31, 0.08);
}

.clarity-hub_metrics strong {
  display: block;
  margin-bottom: 34px;
  color: #f5c451;
  font-size: 2rem;
  line-height: 1;
}

.clarity-hub_metrics span {
  display: block;
  margin-bottom: 10px;
  color: #13251f;
  font-weight: 800;
  font-size: 1.05rem;
}

.clarity-hub_metrics p {
  color: #5f6f68;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .clarity-hub_inner,
  .clarity-hub_metrics {
    grid-template-columns: 1fr;
  }

  .clarity-hub_metrics article {
    min-height: auto;
  }
}