:root {
  --paper: #f3efe6;
  --paper-2: #fffdf8;
  --ink: #18222d;
  --muted: #5b6570;
  --line: #d8d0c3;
  --teal: #0d5c5c;
  --teal-2: #147a7a;
  --terra: #a85a36;
  --shadow: 0 18px 40px rgba(24, 34, 45, 0.08);
  --radius: 18px;
  --wrap: 1120px;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.02rem;
}

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

a {
  color: var(--teal);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--terra);
}

h1,
h2,
h3,
.logo-name {
  font-family: var(--serif);
  letter-spacing: -0.02em;
  line-height: 1.18;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  margin: 0 0 0.7rem;
}

h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  margin: 0 0 0.8rem;
}

h3 {
  font-size: 1.22rem;
  margin: 0 0 0.45rem;
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: -40px;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.8rem;
  z-index: 80;
}

.skip:focus {
  top: 0.6rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(243, 239, 230, 0.86);
  border-bottom: 1px solid transparent;
}

.notice-18 {
  background: #1a2229;
  color: #f6f1e7;
  border-bottom: 3px solid #ef4135;
}

.notice-18-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.2rem;
  flex-wrap: wrap;
  padding: 0.7rem 0;
}

.notice-18 p {
  margin: 0;
  color: #f6f1e7;
  font-size: 0.92rem;
  max-width: 46rem;
}

.notice-18 strong {
  display: inline-block;
  background: #ef4135;
  color: #fff;
  border-radius: 6px;
  padding: 0.08rem 0.42rem;
  margin-right: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.notice-18-actions {
  display: flex;
  gap: 0.5rem;
  flex: none;
}

.notice-18 .btn {
  padding: 0.48rem 0.95rem;
}

.notice-18 .btn-ghost {
  color: #f6f1e7;
  border-color: rgba(246, 241, 231, 0.35);
}

.notice-18 .btn-ghost:hover {
  color: #fff;
  border-color: #fff;
}

html.age-ok .notice-18,
.notice-18[hidden] {
  display: none;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.logo svg {
  width: 40px;
  height: 40px;
  flex: none;
}

.logo-name {
  font-size: 1.18rem;
  font-weight: 700;
}

.logo-tag {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper-2);
  border-radius: 12px;
  width: 46px;
  height: 42px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.site-nav {
  display: flex;
  gap: 0.15rem 1.15rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--teal);
  color: var(--teal);
}

.hero {
  padding: 2.4rem 0 1.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.8rem;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 3px;
  background: linear-gradient(90deg, #0055a4, #fff 50%, #ef4135);
}

.hero p.lead {
  font-size: 1.12rem;
  max-width: 38rem;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: #dfe7e4;
}

.badge-18 {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.actions .aff-note {
  flex: 1 0 100%;
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.82rem 1.25rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: inherit;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
}

.btn-primary:hover {
  background: var(--teal-2);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  color: var(--teal);
  border-color: var(--teal);
}

.btn-wide {
  width: 100%;
}

.section {
  padding: 3rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.4rem;
}

.section-head p {
  max-width: 36rem;
  margin: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #e7ece9;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: min(100%, 200px);
  height: 36px;
  object-fit: contain;
  object-position: left center;
}

h3:has(.brand-logo) {
  margin: 0 0 0.25rem;
}

.brand-logo-betclic {
  height: 34px;
  border-radius: 6px;
}

.card-body {
  padding: 1.15rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: start;
}

.meta {
  font-size: 0.82rem;
  color: var(--muted);
}

.stars {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--terra);
  font-weight: 800;
}

.pays {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.chip {
  background: #efe8db;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.card .actions {
  margin-top: auto;
  padding-top: 0.4rem;
}

.why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.why-item {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem;
}

.why-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 0.7rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-2);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  text-align: left;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}

th {
  background: #ebe4d6;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

tbody tr {
  cursor: pointer;
}

tbody tr:hover,
tbody tr.is-active {
  background: #f7f1e6;
}

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

.faq-item {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  padding: 1rem 1.15rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq-q::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--teal);
  line-height: 1;
}

.faq-item.is-open .faq-q::after {
  content: "–";
}

.faq-a {
  padding: 0 1.15rem 1rem;
}

.faq-a p:last-child {
  margin-bottom: 0;
}

.regs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.7rem;
}

.reg {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 0.85rem 0.75rem;
  border-radius: 14px;
  text-decoration: none;
  background: #141b22;
  border: 1px solid #2a333c;
}

.reg:hover {
  border-color: var(--teal);
}

.reg img {
  width: auto;
  max-width: 100%;
  height: 44px;
  object-fit: contain;
}

.play-safe {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
  align-items: center;
  background: #1a2a2a;
  color: #f6f1e7;
  border-radius: 24px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.play-safe h2,
.play-safe p {
  color: #f6f1e7;
}

.play-safe p {
  opacity: 0.88;
}

.play-safe img {
  width: 100%;
  border-radius: 16px;
}

.play-safe .btn-ghost {
  color: #f6f1e7;
  border-color: rgba(246, 241, 231, 0.4);
}

.site-footer {
  margin-top: 2rem;
  background: #141b22;
  color: #e8e2d6;
  padding: 2.4rem 0 1.4rem;
}

.site-footer h3,
.site-footer p,
.site-footer a {
  color: #e8e2d6;
}

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

.warn {
  background: #2a2018;
  border-left: 4px solid #ef4135;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.warn p {
  color: #f3efe6;
  margin: 0;
  font-weight: 600;
}

.legal-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin: 1.4rem 0;
}

.legal-block article {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}

.legal-block p {
  color: #cfc8bb;
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 1.2rem 0;
}

.foot-nav a {
  font-size: 0.9rem;
}

.copy {
  font-size: 0.82rem;
  color: #9aa3ab;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

.breadcrumb {
  width: min(calc(100% - 2rem), var(--wrap));
  margin: 0.85rem auto 0;
  font-size: 0.88rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin: 0 0.45rem;
  color: var(--line);
}

.breadcrumb a {
  color: var(--teal);
  text-decoration: none;
}

.breadcrumb [aria-current="page"] {
  color: var(--ink);
}

.updated {
  margin: 0 0 0.2rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.cadre-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.cadre-item {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
}

.cadre-item p:last-child {
  margin: 0;
}

.legal-list {
  margin: 0 0 1.2rem;
  padding-left: 1.15rem;
  color: var(--muted);
}

.legal-list li {
  margin: 0.35rem 0;
}

.page-hero {
  padding: 2rem 0 0.4rem;
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  margin-top: 1.8rem;
}

.disclaimer {
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: #efe8db;
}

.disclaimer p {
  margin: 0;
  font-size: 0.92rem;
}

.review-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 1.3rem;
  align-items: start;
}

.side {
  position: sticky;
  top: 92px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.side img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 0.8rem;
}

.score {
  font-size: 2.2rem;
  font-family: var(--serif);
  font-weight: 700;
}

#cookie-bar {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 70;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  max-width: 820px;
  margin-inline: auto;
}

#cookie-bar[hidden] {
  display: none;
}

#cookie-bar p {
  margin: 0;
  font-size: 0.9rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: center;
}

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.role {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.role strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .review-layout,
  .play-safe,
  .split {
    grid-template-columns: 1fr;
  }

  .why,
  .regs,
  .cadre-grid,
  .legal-block {
    grid-template-columns: repeat(2, 1fr);
  }

  .side {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 74px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.6rem;
    flex-direction: column;
    box-shadow: var(--shadow);
  }

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

  .cards,
  .team,
  .why,
  .regs,
  .cadre-grid,
  .legal-block {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }

  #cookie-bar {
    flex-direction: column;
  }

  .notice-18-actions {
    width: 100%;
  }

  .notice-18-actions .btn {
    flex: 1;
  }

  .header-inner {
    position: relative;
  }
}

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