:root {
  --green-dark: #0c0a14;
  --green-mid: #ff5c8a;
  --green-light: #ffc4d6;
  --purple: #7c6cf0;
  --purple-light: #b8a9ff;
  --accent: #ff5c8a;
  --accent-2: #5eead4;
  --cream: #12101a;
  --cream-dot: #221e30;
  --text: #faf7f2;
  --text-muted: #a8a3b8;
  --card-border: #3d3654;
  --white: #ffffff;
  --gold: #ffc857;
  --copper: #ff8f6b;
  --shadow: 0 16px 44px rgba(8, 6, 18, 0.5);
  --radius: 14px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --surface: #1c1828;
  --surface-2: #262238;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background-color: var(--cream);
  background-image:
    linear-gradient(180deg, rgba(18, 16, 26, 0.92) 0%, rgba(18, 16, 26, 0.88) 100%),
    url("/assets/images/main-bg-casino-subtle.jpg");
  background-size: cover, cover;
  background-position: center, center;
  background-attachment: fixed, fixed;
  line-height: 1.55;
}

main {
  position: relative;
  z-index: 0;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: var(--green-light);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 10, 18, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 92, 138, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.site-header.site-header--oak {
  background: linear-gradient(
    180deg,
    rgba(26, 22, 38, 0.98) 0%,
    rgba(12, 10, 20, 0.97) 100%
  );
  border-bottom: none;
  isolation: isolate;
}

.site-header.site-header--oak::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 92, 138, 0.07) 0%,
    transparent 38%,
    transparent 62%,
    rgba(124, 108, 240, 0.09) 100%
  );
}

.site-header.site-header--oak::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 92, 138, 0.2),
    rgba(255, 92, 138, 0.55) 48%,
    rgba(124, 108, 240, 0.5)
  );
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  opacity: 0.95;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
  object-fit: contain;
  box-shadow: 0 0 0 2px rgba(240, 168, 58, 0.4);
}

.logo-text {
  color: #f4f0ff;
  -webkit-text-fill-color: currentColor;
}

.help-strip img[alt*='18'],
.footer-18 img,
img.badge-18 {
  border-radius: 50%;
  object-fit: cover;
}

.trust-icon-svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: var(--green-mid);
}

.nav-desktop {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition:
    border-color 0.2s,
    color 0.2s;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--green-mid);
  border-bottom-color: var(--green-mid);
  text-decoration: none;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0 0 1rem;
  gap: 0.5rem;
}

.nav-mobile[hidden] {
  display: none !important;
}

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

.site-header--oak .header-inner {
  position: relative;
  z-index: 1;
  background: none;
  border-bottom: none;
}

.nav-mobile a {
  color: var(--white);
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
}

/* Hero — compact first screen */
.hero {
  position: relative;
  padding: 1rem 0 0.85rem;
  color: var(--white);
  overflow: hidden;
  min-height: 128px;
  max-height: 172px;
}

.hero--banner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(148px, 24vw, 220px);
  max-height: none;
  padding: 1.15rem 0 1rem;
}

.hero--banner .hero-inner:not(.hero-inner--bottom) {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero--banner .hero-lead {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.55rem;
  max-width: 58ch;
}

.hero--banner .trust-row {
  justify-content: center;
}

.hero-overlay--banner {
  background: linear-gradient(
    105deg,
    rgba(18, 16, 26, 0.88) 0%,
    rgba(18, 16, 26, 0.55) 45%,
    rgba(18, 16, 26, 0.35) 100%
  );
}

.hero--banner h1 {
  text-transform: none;
  font-size: clamp(1.25rem, 3.2vw, 1.95rem);
  letter-spacing: 0.01em;
  max-width: 22ch;
  margin-bottom: 0.35rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(5, 8, 14, 0.96) 0%,
    rgba(5, 8, 14, 0.88) 42%,
    rgba(5, 8, 14, 0.45) 72%,
    rgba(5, 8, 14, 0.25) 100%
  );
}

.hero h1,
.hero-lead,
.trust-row {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85);
}

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

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hero-lead {
  margin: 0 0 0.85rem;
  max-width: 52ch;
  font-size: clamp(0.85rem, 2vw, 0.98rem);
  opacity: 0.95;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-icon {
  color: var(--green-mid);
  font-style: normal;
}

/* Advantages */
.advantages {
  padding: 0.65rem 0 0.5rem;
}

.advantages h2 {
  text-align: center;
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--text);
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  max-width: 640px;
  margin-inline: auto;
}

.adv-card {
  background: linear-gradient(155deg, #1a3d32, var(--purple));
  color: var(--white);
  text-align: center;
  padding: 0.55rem 0.35rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  box-shadow: var(--shadow);
}

.adv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.35);
}

/* Rankings */
.rankings {
  padding: 0.5rem 0 2rem;
}

.updated-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.updated-label strong {
  color: var(--green-light);
}

.offer-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    transform 0.25s;
  position: relative;
  overflow: hidden;
}

.offer-card--featured {
  border-color: rgba(255, 200, 87, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 200, 87, 0.25),
    0 12px 40px rgba(0, 0, 0, 0.45);
}

.offer-card:hover {
  border-color: var(--green-mid);
  transform: translateY(-2px);
}

.offer-card__brand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.1rem 0.85rem;
  background: linear-gradient(180deg, #1c2538 0%, #141b2b 100%);
  border-right: 1px solid var(--card-border);
  min-height: 148px;
}

.offer-ribbon {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  max-width: calc(100% - 3rem);
  line-height: 1.2;
}

.offer-ribbon--pink {
  background: linear-gradient(135deg, #db2777, #be185d);
}

.offer-ribbon--violet {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
}

.offer-ribbon--teal {
  background: linear-gradient(135deg, #0d9488, #0f766e);
}

.offer-rank {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #1a1020;
  background: linear-gradient(135deg, var(--green-mid), var(--purple-light));
  box-shadow: 0 4px 12px rgba(240, 168, 58, 0.35);
}

.offer-logo-box {
  width: 100%;
  max-width: 220px;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.offer-logo-box img {
  width: 100%;
  max-height: 72px;
  min-height: 40px;
  object-fit: contain;
  object-position: center;
}

.offer-logo-unibet {
  max-height: 70px;
  width: 100%;
}

.offer-meta-mobile {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
}

.offer-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 1.15rem;
  border-right: 1px solid var(--card-border);
}

.offer-welcome {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.offer-name {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: #e0f2fe;
  background: rgba(37, 99, 235, 0.35);
  border-radius: 6px;
  width: fit-content;
}

.offer-bonus {
  margin: 0 0 0.5rem;
  font-weight: 800;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  line-height: 1.35;
  color: var(--text);
}

.stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
}

.stars--desktop {
  display: inline-block;
}

.offer-card__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.85rem;
  text-align: center;
  background: linear-gradient(180deg, #121a2a 0%, #0e1420 100%);
}

.score {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.score--mobile {
  display: none;
  font-size: 1.65rem;
}

.score-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0.35rem;
}

.score-method {
  margin: 0 0 0.65rem;
  font-size: 0.68rem;
}

.score-method a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.ranking-editorial-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  line-height: 1.45;
}

.ranking-editorial-note a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.btn-cta--block {
  width: 100%;
  max-width: 160px;
  text-align: center;
}

/* legacy aliases */
.offer-logo,
.offer-body,
.offer-side {
  display: contents;
}

.offer-body h3 {
  margin: 0;
}

.btn-cta {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border: none;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  cursor: pointer;
  text-decoration: none;
  background: linear-gradient(120deg, #f0a83a, #e85d4c, var(--purple), #f0a83a);
  background-size: 300% 100%;
  animation: shimmer 5s ease infinite;
  box-shadow: 0 4px 20px rgba(240, 168, 58, 0.35);
  color: #1a1020;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.btn-cta:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 28px rgba(240, 168, 58, 0.45);
  text-decoration: none;
  color: #041016;
}

.btn-cta--purple {
  background: linear-gradient(
    120deg,
    #5b21b6,
    var(--purple),
    #9333ea,
    var(--purple-light)
  );
  background-size: 300% 100%;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
}

@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.offer-disclaimer {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin: -0.25rem 0 0.65rem 0.25rem;
  padding-left: 1rem;
  border-left: 2px solid var(--cream-dot);
}

/* Help centers block */
.help-centers {
  padding: 2rem 0;
}

.help-centers h2 {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text);
  margin: 0 0 1rem;
}

.help-strip {
  list-style: none;
  margin: 0;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2rem;
  box-shadow: var(--shadow);
}

.help-strip > li {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.help-strip a {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.95;
  transition:
    opacity 0.2s,
    transform 0.2s;
}

.help-strip a:hover {
  opacity: 1;
  transform: scale(1.03);
  text-decoration: none;
}

.help-strip img {
  width: auto;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.help-strip .badge-18 {
  width: 52px;
  height: 52px;
}

.help-strip .help-logo--anj {
  max-height: 52px;
  max-width: 120px;
}

.help-strip .help-logo--jis {
  max-height: 48px;
  max-width: 220px;
}

.help-strip .help-logo--gambleaware {
  max-height: 56px;
  max-width: min(340px, 52vw);
  background: #fff;
  padding: 10px;
  box-sizing: content-box;
}

.help-strip .help-logo--gamcare {
  max-height: 48px;
  max-width: 160px;
}

.help-strip .help-logo--republique {
  max-height: 56px;
  max-width: min(200px, 42vw);
}

.help-strip .help-logo--mdjs {
  max-height: 48px;
  max-width: 120px;
}

.help-strip .help-logo--adictel {
  max-height: 44px;
  max-width: 140px;
}

.help-strip .help-logo--gt {
  max-height: 40px;
  max-width: 64px;
}

/* Reviews */
.reviews {
  padding: 2rem 0;
}

.reviews h2,
.content-block h2 {
  font-size: 1.35rem;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.section-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

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

.review-card {
  background: linear-gradient(165deg, #1e4a3d, #2a5c4e);
  color: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.review-card cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  opacity: 0.85;
  font-style: normal;
}

/* Editorial content */
.content-block {
  padding: 2rem 0;
}

.editorial {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow);
}

.editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(300px, 34%);
  gap: 1.5rem;
  align-items: start;
}

.feature-visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
}

.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
}

.editorial h3 {
  color: var(--green-light);
  margin: 1.25rem 0 0.5rem;
  font-size: 1.05rem;
}

.editorial h3:first-child {
  margin-top: 0;
}

.editorial ul {
  padding-left: 1.25rem;
}

.affiliate-notice {
  background: rgba(255, 200, 87, 0.12);
  border: 1px solid rgba(255, 200, 87, 0.35);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  color: #fde68a;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  background: #05070c;
  color: rgba(255, 255, 255, 0.92);
  border-top: 1px solid var(--card-border);
}

.footer-badges {
  background: #0c1018;
  padding: 1.5rem 0;
}

.footer-badges .help-strip {
  background: #0f0d18;
  border-color: #e2e8f0;
}

.footer-badges .help-strip img {
  filter: none;
}

.footer-links-bar {
  background: linear-gradient(90deg, #0f766e, var(--green-mid), var(--purple));
  padding: 0.85rem 0;
  text-align: center;
}

.footer-links-bar a {
  color: var(--white);
  font-weight: 600;
  margin: 0 1rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 2px;
}

.footer-links-bar a:hover {
  text-decoration-thickness: 3px;
}

.footer-legal {
  padding: 1.5rem 0;
}

.footer-legal-grid {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.footer-18 img {
  width: 64px;
  border-radius: 8px;
}

.footer-disclaimer {
  font-size: 0.8rem;
  line-height: 1.6;
  opacity: 0.92;
}

.site-footer .footer-disclaimer a,
.site-footer .footer-company a {
  color: #9efce8;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 2px;
}

.site-footer .footer-disclaimer a:hover,
.site-footer .footer-company a:hover {
  color: #d4fff5;
}

.footer-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.footer-info-box {
  background: linear-gradient(145deg, var(--surface-2), #1e1b4b);
  padding: 1rem;
  border-radius: var(--radius);
  font-size: 0.82rem;
}

.footer-info-box strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.footer-company {
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}

.footer-company p {
  margin: 0 0 0.5rem;
}

.footer-company p:last-child {
  margin-bottom: 0;
}

.contact-page {
  padding-bottom: 3rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.5rem 2rem;
  align-items: start;
}

.contact-panel {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-panel-title {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: var(--green-light);
}

.contact-panel-lead {
  margin: -0.35rem 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.contact-panel p {
  margin: 0 0 0.65rem;
  line-height: 1.5;
}

.contact-panel p:last-child {
  margin-bottom: 0;
}

.contact-link-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.contact-link-list a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--card-border);
  font-size: 0.88rem;
  line-height: 1.35;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.contact-link-list a:hover {
  border-color: var(--green-mid);
  background: rgba(0, 229, 195, 0.06);
  text-decoration: none;
}

.contact-details {
  margin-bottom: 1.5rem;
}

.contact-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.contact-popup[hidden] {
  display: none;
}

.contact-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 14, 0.72);
}

.contact-popup__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  background: var(--surface-2, #121a2a);
  border: 1px solid var(--card-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.contact-popup__panel h2 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
}

.contact-popup__panel p {
  margin: 0 0 1.15rem;
  color: var(--text-muted);
}

.contact-popup__close {
  min-width: 140px;
}

body.contact-popup-open {
  overflow: hidden;
}

.footer-copy {
  text-align: center;
  padding: 1rem 0 1.5rem;
  font-size: 0.8rem;
  opacity: 0.75;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 1rem;
}

/* Inner pages */
.page-hero {
  background: linear-gradient(135deg, #0f172a, #134e4a);
  color: var(--white);
  padding: 2rem 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 229, 195, 0.2);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

.page-hero--sub {
  text-align: center;
  padding: 2.35rem 0 2.1rem;
  background: linear-gradient(160deg, #0c1222 0%, #1a2744 48%, #0f3d38 100%);
  color: var(--white);
}

.page-hero--sub .container {
  max-width: 42rem;
}

.page-hero-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-light);
  opacity: 0.95;
}

.page-hero-lead {
  margin: 0.85rem 0 0;
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.page-hero--banner {
  position: relative;
  padding: 2.5rem 0 2.25rem;
  margin-bottom: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(240, 168, 58, 0.25);
  color: var(--white);
  background: #0f0d18;
}

.page-hero--banner .container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 40rem;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 10, 18, 0.78),
    rgba(8, 10, 18, 0.9)
  );
}

.page-hero--banner h1 {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.75);
}

.page-hero--banner .page-hero-lead {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.65);
}

.legal-content {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  border: 1px solid var(--card-border);
  margin-bottom: 3rem;
  box-shadow: var(--shadow);
}

.legal-content h2 {
  font-size: 1.15rem;
  color: var(--green-light);
  margin: 1.5rem 0 0.5rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 520px;
}

.contact-form--page {
  max-width: none;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}

.contact-form--page .btn-cta {
  justify-self: start;
  margin-top: 0.25rem;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  font: inherit;
  background: var(--surface-2);
  color: var(--text);
}

.form-success {
  display: none;
  padding: 1rem;
  background: rgba(0, 229, 195, 0.12);
  border: 1px solid var(--green-mid);
  border-radius: 10px;
  color: var(--green-light);
  font-weight: 600;
}

.form-success.is-visible {
  display: block;
}

/* Responsive */
@media (max-width: 900px) {
  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .editorial-layout {
    grid-template-columns: 1fr;
  }
}

.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--surface-2);
  border-top: 1px solid var(--card-border);
  color: var(--white);
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
}

.cookie-bar__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.cookie-bar p {
  margin: 0;
  font-size: 0.88rem;
  max-width: 60ch;
}

.cookie-bar a {
  color: #ffe08a;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 2px;
}

.cookie-bar-actions {
  display: flex;
  gap: 0.5rem;
}

.cookie-btn {
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(
    120deg,
    var(--purple),
    #9333ea,
    var(--purple-light)
  );
  background-size: 200% 100%;
  animation: shimmer 4s ease infinite;
  color: var(--white);
}

.cookie-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  animation: none;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .nav-desktop {
    display: none;
  }

  .burger {
    display: flex;
  }

  .advantages {
    display: none;
  }

  .hero:not(.hero--banner) .hero-bg img {
    display: none;
  }

  .hero--banner:not(:has(.hero-inner--bottom)) {
    min-height: 0;
    padding: 0.55rem 0 0.45rem;
    background: #0f0d18;
  }

  .hero--banner:not(:has(.hero-inner--bottom)) .hero-lead {
    display: none;
  }

  .hero--banner:not(:has(.hero-inner--bottom)) h1 {
    font-size: 1rem;
    max-width: none;
    margin-bottom: 0.3rem;
    line-height: 1.2;
  }

  .rankings-head {
    padding: 0.4rem 0.55rem;
    margin-bottom: 0.4rem;
  }

  .rankings-head .updated-label {
    margin-bottom: 0;
    font-size: 0.75rem;
  }

  .rankings-head .ranking-editorial-note {
    display: none;
  }

  .page-hero--banner {
    padding: 0.85rem 0 0.75rem;
  }

  .page-hero--banner .page-hero-kicker {
    margin-bottom: 0.25rem;
    font-size: 0.62rem;
  }

  .page-hero--banner h1 {
    font-size: 1.05rem;
  }

  .page-hero--banner .page-hero-lead {
    display: none;
  }

  .hero-kicker {
    display: none;
  }

  .rankings-head {
    display: block;
  }

  .editorial-layout--aside {
    display: block;
  }

  .affiliate-notice--side {
    margin-bottom: 1rem;
  }

  .hero:not(.hero--banner) {
    padding: 0.75rem 0 0.55rem;
    min-height: 108px;
    max-height: 148px;
    background: linear-gradient(135deg, #1a1028 0%, #2a1f42 50%, #1a1028 100%);
  }

  .hero:not(.hero--banner) h1 {
    font-size: 1.05rem;
  }

  .hero:not(.hero--banner) .hero-lead {
    display: none;
  }

  .trust-row {
    gap: 0.35rem;
  }

  .trust-item {
    font-size: 0.62rem;
    padding: 0.2rem 0.45rem;
  }

  .rankings {
    padding-top: 0.15rem;
  }

  .rankings .offer-disclaimer {
    margin: -0.05rem 0 0.3rem 0.2rem;
    font-size: 0.58rem;
    line-height: 1.25;
  }

  .help-strip {
    gap: 1rem 1.25rem;
    padding: 1rem 0.75rem;
  }

  .help-strip .help-logo--gambleaware {
    max-height: 50px;
    max-width: 58vw;
    padding: 10px;
    background: #fff;
  }

  .help-strip .help-logo--jis {
    max-width: 44vw;
  }

  .help-strip .help-logo--mdjs {
    max-height: 44px;
    max-width: 100px;
  }

  .help-strip .help-logo--adictel {
    max-height: 40px;
    max-width: 120px;
  }
}

/* ——— Crown layout (desktop) ——— */
@media (min-width: 769px) {
  .hero--banner {
    padding: 1.35rem 0 1.2rem;
  }

  .hero-kicker {
    display: block;
    margin: 0 0 0.35rem;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--green-light);
    font-weight: 700;
  }

  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .adv-card {
    clip-path: none;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #1a332c, var(--purple));
    text-align: left;
    padding-left: 1rem;
  }

  .adv-card:nth-child(even) {
    transform: translateY(0);
    background: linear-gradient(135deg, #2a2218, #6b4423);
  }

  .adv-card:nth-child(odd) {
    transform: translateX(4px);
  }

  .rankings-head {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.85rem 1.1rem;
    background: linear-gradient(135deg, var(--surface), var(--surface-2));
    border: 1px solid var(--card-border);
    border-left: 4px solid var(--green-mid);
    border-radius: var(--radius);
  }

  .rankings-head .updated-label {
    margin: 0;
    padding-right: 0;
    border-right: none;
  }

  .rankings-head .ranking-editorial-note {
    margin: 0;
  }

  .offer-disclaimer {
    margin-left: 0;
    padding-left: 1rem;
    border-left: 3px solid var(--purple);
  }

  .help-logo--mdjs {
    max-height: 44px;
    max-width: 110px;
  }

  .help-logo--adictel {
    max-height: 40px;
    max-width: 120px;
  }

  .help-strip--wide {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.25rem;
    padding: 1.35rem 1.25rem;
  }

  .help-logo--mdjs {
    max-height: 48px;
    max-width: 110px;
    object-fit: contain;
  }

  .help-logo--adictel {
    max-height: 42px;
    max-width: 130px;
    object-fit: contain;
  }

  .reviews .review-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
    margin-inline: 0;
    gap: 1rem;
  }

  .review-card:nth-child(odd) {
    margin-right: 0;
    border-top-left-radius: 4px;
  }

  .review-card:nth-child(even) {
    margin-left: 0;
    background: linear-gradient(160deg, #3d2a1a, #5c4030);
  }

  .editorial-layout--aside {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(200px, 260px);
    gap: 1.25rem;
    align-items: start;
  }

  .editorial-layout--aside .editorial {
    order: 1;
  }

  .editorial-layout--aside .affiliate-notice--side {
    order: 2;
  }

  .affiliate-notice--side {
    margin: 0;
    position: sticky;
    top: 5.5rem;
    background: linear-gradient(
      160deg,
      rgba(45, 212, 168, 0.12),
      rgba(200, 121, 65, 0.1)
    );
    border-right: 4px solid var(--copper);
    border-left: none;
  }

  .affiliate-notice--side p {
    margin: 0.5rem 0 0;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .site-footer--oak,
  .site-footer {
    border-top: 3px solid var(--copper);
  }

  .footer-top-bar {
    background: linear-gradient(90deg, #1a1028, #2a1f42);
    padding: 0.45rem 0;
    font-size: 0.78rem;
    text-align: center;
    border-bottom: 1px solid var(--card-border);
  }

  .footer-top-bar a {
    color: var(--green-light);
    font-weight: 700;
  }

  .footer-top-pill {
    display: inline-block;
    background: var(--gold);
    color: #1a1020;
    font-weight: 800;
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    margin-right: 0.35rem;
  }

  .footer-shell {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 2rem;
    padding: 1.75rem 0 0.5rem;
  }

  .footer-shell__title {
    margin: 0 0 0.65rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--green-light);
  }

  .footer-link-columns {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
  }

  .footer-link-columns a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.86rem;
    text-decoration: none;
    padding: 0.25rem 0;
    border-bottom: 1px solid transparent;
  }

  .footer-link-columns a:hover {
    color: var(--green-light);
    border-bottom-color: var(--green-mid);
  }

  .footer-links-bar {
    display: none;
  }

  .footer-company--inline p {
    margin: 1rem 0;
    font-size: 0.84rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.12);
  }

  .footer-info-grid--cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
  }

  .footer-info-grid--cards .footer-info-box {
    border-top: 3px solid var(--purple);
    border-radius: 0 0 var(--radius) var(--radius);
  }
}

@media (max-width: 768px) {
  .footer-top-bar,
  .footer-shell {
    display: block;
  }

  .footer-shell__links {
    margin-bottom: 1.25rem;
  }

  .footer-link-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 0.75rem;
  }
}

/* Header centré + footer v2 */
.header-inner--center {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.header-inner--center .logo {
  justify-self: start;
}

.header-inner--center .nav-center {
  justify-self: center;
}

.header-inner--center .burger {
  justify-self: end;
}

@media (max-width: 768px) {
  .header-inner--center {
    grid-template-columns: 1fr auto;
  }

  .header-inner--center .nav-center {
    display: none;
  }
}

.footer-layout-v2 {
  padding: 1.5rem 0 0.5rem;
}

.footer-layout-v2__top {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
}

.footer-18--solo img {
  width: 64px;
  border-radius: 8px;
}

.footer-nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  justify-content: center;
  padding: 0.75rem 0;
  margin-bottom: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-nav-row a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.84rem;
  text-decoration: none;
  padding: 0.25rem 0.15rem;
}

.footer-nav-row a:hover {
  color: var(--green-light);
  text-decoration: underline;
}

.footer-badges--inset {
  padding: 1rem 0;
  margin: 0.5rem 0 1rem;
}

.footer-badges--inset .container {
  padding: 0;
}

.help-strip--reordered {
  gap: 1rem 1.35rem;
}

.footer-layout-v2__bottom {
  text-align: center;
  padding-bottom: 1rem;
}

.footer-company-line {
  margin: 0 0 0.5rem;
  font-size: 0.84rem;
  opacity: 0.9;
}

.footer-layout-v2 .footer-copy {
  margin: 0;
  border-top: none;
  padding-top: 0;
}

@media (max-width: 768px) {
  .footer-layout-v2__top {
    grid-template-columns: 56px 1fr;
  }

  .footer-nav-row {
    gap: 0.3rem 0.55rem;
  }
}
