@import url("https://fonts.googleapis.com/css2?family=Commissioner:wght@400;500;600;700;800;900&family=Russo+One&display=swap");

:root {
  --bg: #eaf1e8;
  --surface: #ffffff;
  --surface-soft: #f3f7f4;
  --surface-warm: #fff7e8;
  --navy: #0c1f2e;
  --navy-2: #17364a;
  --blue: #276ef1;
  --blue-dark: #164fb5;
  --cyan: #dff7fb;
  --green: #15966f;
  --green-dark: #0b654f;
  --amber: #f4bd48;
  --danger: #d94332;
  --text: #172331;
  --muted: #667485;
  --border: rgba(12, 31, 46, 0.13);
  --shadow: 0 18px 50px rgba(12, 31, 46, 0.1);
  --shadow-strong: 0 28px 80px rgba(12, 31, 46, 0.16);
  --radius: 14px;
  --container: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #eaf1e8 0%, #f8faf7 46%, #e7f2ee 100%);
  font-family: "Commissioner", Arial, sans-serif;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--blue-dark);
  text-decoration: none;
  transition: color 0.22s ease, background 0.22s ease, opacity 0.22s ease;
}

a:hover,
a:focus-visible {
  color: var(--blue);
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--green);
  color: #ffffff;
}

:focus-visible {
  outline: 3px solid rgba(39, 110, 241, 0.24);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  z-index: 1000;
  transform: translateY(-150%);
  background: var(--navy);
  color: #ffffff;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius);
  font-weight: 800;
}

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

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(100% - 2rem, 820px);
}

.section {
  padding: 4.75rem 0;
  scroll-margin-top: 96px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy);
  font-family: "Russo One", "Commissioner", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0;
}

.brand:hover,
.brand:focus-visible {
  color: var(--navy);
  text-decoration: none;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
}

.site-nav a {
  color: var(--navy);
  font-weight: 800;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--green-dark);
  background: rgba(21, 150, 111, 0.12);
  text-decoration: none;
}

.header-contact {
  display: grid;
  gap: 0.1rem;
  justify-items: end;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.header-contact a {
  color: var(--navy);
  font-weight: 900;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 50%;
  place-items: center;
  padding: 0.65rem;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.menu-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(21, 150, 111, 0.35);
}

.menu-toggle_bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  margin: 3px 0;
  border-radius: 999px;
}

.hero {
  min-height: 610px;
  display: grid;
  align-items: center;
  color: #ffffff;
  background:
    linear-gradient(105deg, rgba(12, 31, 46, 0.96), rgba(11, 101, 79, 0.84)),
    url("../img/hero-pattern.svg") center / cover;
}

.hero-grid,
.split-grid,
.content-grid,
.contact-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
}

.hero h1,
.page-hero h1,
.section-heading h2,
.split-grid h2,
.prose h2,
.contact-card h2,
.age-gate_box h2,
.player-check_content h2 {
  font-family: "Russo One", "Commissioner", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: inherit;
  font-size: 4.4rem;
  line-height: 1.02;
}

.hero-text {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
  margin: 1.35rem 0 0;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.responsible-panel .eyebrow,
.player-check .eyebrow {
  color: var(--amber);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

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

.btn-primary {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(21, 150, 111, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--green-dark);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: var(--navy);
  border-color: rgba(255, 255, 255, 0.62);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--cyan);
  color: var(--navy);
}

.btn-card {
  width: 100%;
  color: var(--navy);
  background: var(--surface-warm);
  border-color: rgba(244, 189, 72, 0.44);
}

.btn-card:hover,
.btn-card:focus-visible {
  background: #ffe9b6;
  color: var(--navy);
}

.hero-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: calc(var(--radius) + 8px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(10px);
}

.hero-stat {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
}

.hero-stat span {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 900;
}

.hero-stat p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.warning-strip {
  padding: 1rem 0;
  color: #3e2a00;
  background: linear-gradient(90deg, #fff4d8, #ffe5a3);
  border-block: 1px solid #f0d28a;
  font-weight: 800;
}

.section-heading {
  width: min(100%, 760px);
  margin-bottom: 2rem;
}

.section-heading h2,
.split-grid h2,
.prose h2,
.contact-card h2 {
  margin: 0 0 0.85rem;
  color: var(--navy);
  font-size: 2.4rem;
  line-height: 1.15;
}

.section-heading p,
.split-grid > div > p {
  color: var(--muted);
}

.cards,
.ranking-grid,
.step-grid {
  display: grid;
  gap: 1rem;
}

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

.bookmaker-card,
.step-card,
.side-note,
.contact-form,
.contact-card,
.faq-item,
.criteria-list article {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.bookmaker-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.25rem;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.bookmaker-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--amber), var(--blue));
}

.bookmaker-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(21, 150, 111, 0.28);
}

.rank-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 34px;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  color: #ffffff;
  background: var(--green);
  font-weight: 900;
}

.bookmaker-logo {
  width: 176px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.bookmaker-card h3,
.step-card h3,
.criteria-list h3 {
  margin: 0 0 0.6rem;
  color: var(--navy);
  font-size: 1.18rem;
  font-weight: 900;
}

.bonus {
  color: var(--muted);
  margin: 0 0 1rem;
}

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

.benefit-list {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
}

.benefit-list li,
.check-list li {
  position: relative;
  padding-left: 1.6rem;
}

.benefit-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(21, 150, 111, 0.12);
}

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

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

.step-card {
  padding: 1.2rem;
}

.step-card span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--blue-dark);
  font-size: 0.86rem;
  font-weight: 900;
}

.step-card p,
.criteria-list p,
.prose p,
.contact-card p,
.side-note p {
  color: var(--muted);
}

.split-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
}

.criteria-list {
  display: grid;
  gap: 1rem;
}

.criteria-list article {
  padding: 1.2rem;
}

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

.prose h2 {
  margin-top: 2rem;
  font-size: 1.55rem;
}

.prose a {
  font-weight: 900;
}

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

.faq-wrap {
  width: min(100% - 2rem, 900px);
}

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

.faq-item {
  overflow: hidden;
}

.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.15rem;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  border-radius: 50%;
  background: rgba(21, 150, 111, 0.12);
  color: var(--green-dark);
  font-size: 1.2rem;
  line-height: 1;
}

.faq-question[aria-expanded="true"]::after {
  content: "-";
}

.faq-answer {
  display: none;
  padding: 0 1.15rem 1.15rem;
}

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

.faq-answer p {
  margin: 0;
  color: var(--muted);
}

.responsible-panel {
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), var(--green-dark));
}

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

.responsible-panel a {
  color: #dff7fb;
  font-weight: 900;
}

.page-hero {
  color: #ffffff;
  background:
    linear-gradient(105deg, rgba(12, 31, 46, 0.96), rgba(23, 54, 74, 0.9)),
    url("../img/hero-pattern.svg") center / cover;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.content-grid {
  grid-template-columns: minmax(230px, 0.36fr) minmax(0, 0.64fr);
  align-items: start;
}

.side-note,
.contact-card,
.contact-form {
  padding: 1.35rem;
}

.side-note {
  position: sticky;
  top: 104px;
}

.side-note strong {
  display: block;
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.side-note-strong {
  border-color: rgba(244, 189, 72, 0.6);
  background: var(--surface-warm);
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

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

.form-field label {
  color: var(--navy);
  font-weight: 900;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text);
  padding: 0.82rem 0.95rem;
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

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

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(21, 150, 111, 0.14);
}

.form-success {
  margin: 0;
  padding: 0.8rem;
  border-radius: var(--radius);
  color: #0d513f;
  background: #e0f6ef;
  border: 1px solid #b9e8dc;
  font-weight: 800;
}

.small-note {
  font-size: 0.94rem;
}

.legal-content {
  width: min(100% - 2rem, 860px);
}

.site-footer {
  color: rgba(255, 255, 255, 0.84);
  background: #081722;
  padding: 3.5rem 0 1.5rem;
}

.site-footer a {
  color: #dff7fb;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

.footer-brand {
  color: #ffffff;
}

.site-footer h2 {
  margin: 0 0 0.9rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
}

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

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

.regulatory-logos {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
}

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

.footer-bottom {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 90;
  width: min(calc(100% - 2rem), 980px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background: #ffffff;
  box-shadow: var(--shadow-strong);
}

.cookie-banner p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(5, 15, 27, 0.84);
  backdrop-filter: blur(10px);
}

.age-gate_box {
  width: min(100%, 520px);
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: 2rem;
  border-radius: calc(var(--radius) + 8px);
  background: #ffffff;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.age-gate_box h2 {
  margin: 0;
  color: var(--navy);
  font-size: 2rem;
}

.age-gate_box p {
  margin: 0;
  color: var(--muted);
}

.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.85rem;
  border-radius: var(--radius);
  background: #fff4d8;
  border: 1px solid #f0d28a;
  color: #3e2a00;
}

.footer-regulation {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.footer-regulation h3 {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
}

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

.footer-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  transition: transform 0.22s ease, opacity 0.22s ease, background 0.22s ease;
  width: 150px;
  height: 60px;
}

.footer-logos a:hover {
  transform: translateY(-2px);
  opacity: 0.92;
  background: rgba(255, 255, 255, 0.2);
}

.footer-logos img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.footer-disclaimer {
  margin-top: 28px;
  padding-top: 24px;
  max-width: 1180px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.65;
}

.footer-disclaimer p {
  margin: 0 0 14px;
}

.footer-disclaimer p:last-child {
  margin-bottom: 0;
  font-weight: 800;
  color: #ffffff;
}

.player-check {
  background: #081722;
}

.player-check_inner {
  display: grid;
  grid-template-columns: 220px 1fr 300px;
  gap: 32px;
  align-items: center;
  padding: 44px;
  border-radius: 30px;
  background: linear-gradient(135deg, #102334 0%, #153f37 100%);
  color: #ffffff;
  box-shadow: var(--shadow-strong);
}

.player-check_badge {
  padding: 28px 20px;
  border-radius: 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.player-check_badge span {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: var(--amber);
}

.player-check_badge p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.player-check_content h2 {
  margin: 10px 0 16px;
  color: #ffffff;
}

.player-check_content p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.player-check_list {
  padding: 24px;
  border-radius: 22px;
  background: #ffffff;
  color: #182635;
}

.player-check_list p {
  margin-bottom: 12px;
  font-weight: 900;
}

.player-check_list ul {
  margin: 0;
  padding-left: 20px;
}

.player-check_list li {
  margin-bottom: 8px;
  color: #4f5b6b;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 1rem;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
  }

  .header-contact {
    grid-column: 1 / -1;
    justify-items: start;
    padding-bottom: 0.8rem;
  }

  .hero-grid,
  .split-grid,
  .content-grid,
  .contact-grid,
  .player-check_inner {
    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));
  }

  .player-check_inner {
    padding: 28px;
  }

  .player-check_badge {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .container,
  .narrow,
  .legal-content,
  .faq-wrap {
    width: min(100% - 1rem, var(--container));
  }

  .section {
    padding: 3.25rem 0;
  }

  .header-inner {
    gap: 0.8rem;
  }

  .header-contact {
    font-size: 0.82rem;
  }

  .hero {
    min-height: auto;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

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

  .section-heading h2,
  .split-grid h2,
  .contact-card h2 {
    font-size: 1.85rem;
  }

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

  .hero-actions .btn,
  .age-gate_actions .btn {
    width: 100%;
  }

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

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

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .player-check_inner {
    padding: 22px;
    border-radius: 22px;
  }

  .player-check_list {
    padding: 18px;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}