/* New Zealand ranking — navy / silver fern / gold palette */

/* Lexend Deca, self-hosted (no Google Fonts request; GDPR-friendly).
   Variable font, weights 100–900, from @fontsource-variable/lexend-deca@5.2.8 (SIL OFL 1.1). */
@font-face {
  font-family: "Lexend Deca";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/lexend-deca-latin-ext-wght-normal.woff2") format("woff2-variations"),
       url("fonts/lexend-deca-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Lexend Deca";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/lexend-deca-latin-wght-normal.woff2") format("woff2-variations"),
       url("fonts/lexend-deca-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-lexend-deca: "Lexend Deca";
  --bg-deep: #040810;
  --bg-mid: #0b1a36;
  --bg-hot: #12305c;
  --panel: rgba(6, 12, 28, 0.72);
  --panel-border: rgba(180, 210, 255, 0.16);
  --gold: #f0c14b;
  --gold-soft: #ffe08a;
  --orange: #5ec8ff;
  --text: #f4f7ff;
  --muted: rgba(210, 222, 245, 0.78);
  --line: rgba(140, 180, 255, 0.14);
  --shadow: 0 22px 56px rgba(0, 0, 0, 0.42);
  --radius: 18px;
  --content: 1120px;
  --nz-navy: #012169;
  --nz-red: #c8102e;
  --nz-silver: #d7e3ff;
}

/* Market accents — same winter shell, country-specific chrome tones */
html[data-market="ca"],
.a-root[data-market="ca"] {
  --gold: #f4a7a7;
  --gold-soft: #ffd0d0;
  --orange: #ff6b6b;
  --bg-hot: #3a1520;
  --panel-border: rgba(213, 43, 30, 0.28);
  --nz-navy: #d52b1e;
  --nz-red: #d52b1e;
}

html[data-market="au"],
.a-root[data-market="au"] {
  --gold: #ffcd00;
  --gold-soft: #ffe66d;
  --orange: #00a86b;
  --bg-hot: #12305c;
  --panel-border: rgba(255, 205, 0, 0.28);
  --nz-navy: #012169;
  --nz-red: #e4002b;
}

* {
  box-sizing: border-box;
}

/* Full-page background (not a narrow centered strip) */
html[data-experience="winter"],
html[data-experience="winter"] body,
html:has(.a-root),
html:has(.a-root) body {
  margin: 0;
  min-height: 100%;
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-lexend-deca), "Lexend Deca", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.a-root {
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--text);
  font-family: var(--font-lexend-deca), "Lexend Deca", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.a-root a {
  color: inherit;
}

html:has(.a-root) {
  scroll-behavior: auto;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  overflow-x: clip;
}

.site-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 46% at 50% -8%, rgba(94, 200, 255, 0.18), transparent 56%),
    radial-gradient(circle at 12% 22%, rgba(255, 255, 255, 0.07), transparent 28%),
    radial-gradient(circle at 88% 28%, rgba(200, 16, 46, 0.18), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(0, 0, 0, 0.55), transparent 44%),
    linear-gradient(180deg, #040810 0%, #0b1a36 32%, #12305c 58%, #081428 84%, #040810 100%);
}

.site-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(180, 210, 255, 0.12) 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 60%, rgba(240, 193, 75, 0.1) 0 1px, transparent 1.5px);
  background-size: 120px 120px, 180px 180px;
}

.site-inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: 0 16px 32px;
}

/* ── Top bar: full viewport width ── */
.top-strip {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #0a3a8c 0%, #012169 55%, #001445 100%);
  border-bottom: 1px solid rgba(200, 220, 255, 0.28);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.top-strip::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    #012169 0 33%,
    #ffffff 33% 66%,
    #c8102e 66% 100%
  );
}

.top-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, var(--content));
  padding: 0 16px;
  flex-wrap: wrap;
}

.top-strip-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.top-strip-sep {
  opacity: 0.55;
  font-weight: 500;
}

.flag {
  width: 32px;
  height: 19px;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
  object-fit: cover;
  display: block;
}

.flag-nl {
  background: linear-gradient(
    to bottom,
    #ae1c28 0 33.33%,
    #ffffff 33.33% 66.66%,
    #21468b 66.66% 100%
  );
}

.flag-pl {
  background: linear-gradient(
    to bottom,
    #ffffff 0 50%,
    #dc143c 50% 100%
  );
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.flag-nz {
  width: 32px;
  height: 19px;
  padding: 0;
  min-width: 32px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.22);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  display: inline-block;
  flex-shrink: 0;
  background: #012169;
}

.flag-de {
  /* legacy unused — keep harmless */
  background: linear-gradient(
    to bottom,
    #000000 0 33.34%,
    #dd0000 33.34% 66.67%,
    #ffce00 66.67% 100%
  );
  border: 1px solid rgba(0, 0, 0, 0.22);
}

.flag-au {
  width: 32px;
  height: 19px;
  padding: 0;
  min-width: 32px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.22);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  display: inline-block;
  flex-shrink: 0;
  background: #012169;
}

.flag-ca {
  width: 32px;
  height: 19px;
  padding: 0;
  min-width: 32px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  display: inline-block;
  flex-shrink: 0;
  background: #fff;
}

.flag-pl {
  width: 32px;
  height: 19px;
  padding: 0;
  min-width: 32px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  display: inline-block;
  flex-shrink: 0;
  background: linear-gradient(to bottom, #ffffff 0 50%, #dc143c 50% 100%);
}

/* ── Hero ── */
.hero-eyebrow {
  margin: 0;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pl-hero {
  position: relative;
  width: 100%;
  margin: 0 0 16px;
  padding: 24px max(16px, calc((100% - var(--content)) / 2 + 16px)) 16px;
  overflow: visible;
  text-align: left;
}

.pl-hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  align-items: center;
  gap: 20px 32px;
}

.pl-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.pl-hero-art-col,
.hero-art-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  width: 100%;
}

.hero-art {
  width: 100%;
  max-width: 380px;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

.pl-hero h1 {
  margin: 0 0 6px;
  max-width: none;
  color: #ffffff;
  font-family: inherit;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.hero-updated {
  margin: 0 0 10px;
  color: #ffffff;
  font-family: inherit;
  font-size: clamp(16px, 1.8vw, 24px);
  font-weight: 400;
  line-height: 1.25;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-points {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #ffffff;
  font-size: 14.5px;
  line-height: 1.35;
  font-weight: 400;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.hero-points li::before {
  content: "★";
  flex: 0 0 auto;
  margin-top: 1px;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.2;
}

/* ── Trust Bar at the bottom of hero ── */
.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.hero-trust-lead {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.15;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.hero-trust-pill .flag {
  width: 22px;
  height: 14px;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-trust-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.hero-disclosure {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 4;
}

.hero-disclosure-trigger {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: #dcae40;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 150ms ease;
  user-select: none;
}

.hero-disclosure-trigger:hover,
.hero-disclosure-trigger:focus-visible,
.hero-disclosure.is-open .hero-disclosure-trigger {
  color: #ffffff;
  outline: none;
}

.hero-disclosure-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
}

.hero-disclosure-popup {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  width: min(88vw, 420px);
  padding: 14px 40px 14px 14px;
  background: rgba(12, 20, 38, 0.98);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  line-height: 1.45;
  z-index: 50;
}

.hero-disclosure-popup p {
  margin: 0;
}

.hero-disclosure-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.hero-disclosure-close:hover,
.hero-disclosure-close:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

/* ── Mobile Hero Banner Card (<= 680px) ── */
.pl-hero-mobile {
  display: none;
  position: relative;
  margin: 10px 12px 8px;
  border-radius: 14px;
  overflow: hidden;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

.hero-mob-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 14, 26, 0.97) 0%,
    rgba(8, 14, 26, 0.88) 45%,
    rgba(8, 14, 26, 0.35) 75%,
    rgba(8, 14, 26, 0.08) 100%
  );
  pointer-events: none;
}

.hero-mob-content {
  position: relative;
  z-index: 2;
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 0;
}

.hero-mob-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 7px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 14px;
}

.hero-mob-check {
  width: 15px;
  height: 15px;
  color: #ffffff;
  flex-shrink: 0;
}

.hero-mob-pill strong {
  color: #ffffff;
  font-weight: 700;
}

.hero-mob-title {
  margin: 0 0 8px;
  width: 100%;
  color: #ffffff;
  font-size: clamp(18px, 5.15vw, 23px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-shadow: #000 1px 0 10px;
}

.hero-mob-points {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
  width: 100%;
  min-width: 0;
}

.hero-mob-points li {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(9px, 2.45vw, 11px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.hero-mob-trust {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px 10px;
  width: 100%;
  margin-top: 8px;
}

.hero-mob-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #ffffff;
  font-size: clamp(10px, 2.8vw, 13px);
  font-weight: 600;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
}

.hero-mob-trust-item .flag {
  width: 22px;
  height: 14px;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-mob-trust-item .hero-trust-icon {
  width: 18px;
  height: 18px;
}

.hero-mob-disclosure-wrap {
  display: none;
  width: 100%;
  margin-top: 8px;
  padding: 0;
  justify-content: flex-end;
}

/* ── Ranking cards ── */
.ranking {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 960px;
  margin: 2px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: visible;
}

.casino-row {
  position: relative;
  /* Vertical scroll and pinch stay with the browser. The manipulation keyword
     is the same gesture set, but iOS Safari does not emit pointercancel for it,
     so a scroll can still look like a click. pan-y pinch-zoom does emit it. */
  touch-action: pan-y pinch-zoom;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  display: grid;
  grid-template-columns: minmax(170px, 230px) minmax(0, 1fr) minmax(175px, 215px);
  align-items: stretch;
  gap: 10px 14px;
  padding: 8px 14px 10px;
  border-radius: var(--radius);
  border: 1px solid var(--panel-border);
  overflow: visible;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 40%),
    rgba(6, 14, 32, 0.5);
  box-shadow: var(--shadow);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

/* Invisible full-card hit target — rank / score / gaps open the partner offer. */
.casino-row-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  text-indent: -9999px;
  overflow: hidden;
  color: transparent;
  cursor: pointer;
}

.casino-row .score,
.casino-row .row-badge {
  pointer-events: none;
  position: relative;
  z-index: 2;
}

.casino-row .brand-wrap,
.casino-row .brand-card,
.casino-row .bonus-block,
.casino-row .visit-button {
  position: relative;
  z-index: 2;
}

.casino-row .bonus-block {
  pointer-events: none;
}

.casino-row .bonus-block a,
.casino-row .payments a,
.casino-row .payments button {
  pointer-events: auto;
}

.casino-row:first-child {
  border-color: rgba(255, 206, 0, 0.36);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(255, 206, 0, 0.12);
}

@media (hover: hover) and (pointer: fine) {
  .casino-row:hover {
    border-color: rgba(255, 196, 96, 0.32);
    transform: translateY(-1px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  }
}

.row-badge {
  grid-column: 1 / -1;
  justify-self: start;
  margin: 0 0 2px;
  padding: 4px 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f0c14b, #e0a020);
  color: #1a1200;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Logo tile wrapper — crown lives here so brand-card overflow does not clip it. */
.brand-wrap {
  position: relative;
  align-self: stretch;
  width: 100%;
  height: 100%;
  overflow: visible;
  isolation: isolate;
}

.brand-card {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: linear-gradient(145deg, #16100e 0%, #0c0808 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 20px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease;
  overflow: hidden;
  --logo-fit: contain;
  --logo-fit-tablet: contain;
  --logo-fit-mobile: contain;
}

.brand-card .brand-logo-img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: var(--logo-fit, contain);
  object-position: center;
  display: block;
  border-radius: 8px;
}

/* Top-3 ribbon on the top-left edge of the logo, same cut as the reference list. */
.place-ribbon {
  position: absolute;
  top: -8px;
  left: 0;
  z-index: 6;
  height: 20px;
  display: flex;
  align-items: center;
  padding: 0 8px 0 6px;
  background: linear-gradient(90deg, #f0c14b, #e0a020);
  color: #1a1200;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  pointer-events: none;
}

.place-ribbon::after {
  content: "";
  position: absolute;
  top: 0;
  right: -9px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 9px;
  border-color: transparent transparent transparent #e0a020;
}

.place-1 .place-ribbon {
  background: linear-gradient(90deg, #fff4b8, #f0c14b);
  color: #1a1200;
}

.place-1 .place-ribbon::after {
  border-color: transparent transparent transparent #f0c14b;
}

.place-2 .place-ribbon {
  background: linear-gradient(90deg, #f5f7fa, #9aa8b8);
  color: #1a2430;
}

.place-2 .place-ribbon::after {
  border-color: transparent transparent transparent #9aa8b8;
}

.place-3 .place-ribbon {
  background: linear-gradient(90deg, #f0c090, #cd7f32);
  color: #1a1200;
}

.place-3 .place-ribbon::after {
  border-color: transparent transparent transparent #cd7f32;
}

/* Top-3 crown — perched on the top-right corner of the logo tile (outside overflow:hidden). */
.place-crown {
  position: absolute;
  top: -16px;
  right: -10px;
  z-index: 5;
  width: 42px;
  height: 42px;
  object-fit: contain;
  pointer-events: none;
  transform: rotate(28deg);
  transform-origin: center center;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.55));
}

@media (max-width: 680px) {
  .place-ribbon {
    top: -6px;
    height: 18px;
    font-size: 11px;
  }

  .place-ribbon::after {
    right: -8px;
    border-width: 9px 0 9px 8px;
  }

  .place-crown {
    width: 36px;
    height: 36px;
    top: -14px;
    right: -8px;
    transform: rotate(26deg);
  }
}

.brand-card span {
  display: block;
  max-width: 100%;
  color: var(--gold-soft);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

.brand-card:hover,
.brand-card:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.08);
  outline: none;
}

.brand-cyan span {
  color: #6ee7ff;
}
.brand-violet span {
  color: #e9ddff;
  text-transform: none;
}
.brand-green span {
  color: #b6ff6a;
}
.brand-amber span,
.brand-orange span {
  color: #ffd060;
}
.brand-white span {
  color: #fff;
}
.brand-pink span {
  color: #ff9ad0;
  text-transform: none;
}
.brand-rose span {
  color: #ff9a90;
}

.bonus-block {
  min-width: 0;
  color: inherit;
  text-align: center;
  padding: 0 6px;
}

.bonus-block-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: opacity 160ms ease;
}

.bonus-block-link:hover,
.bonus-block-link:focus-visible {
  opacity: 0.92;
  outline: none;
}

.eyebrow {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 210, 180, 0.75);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bonus-block h2 {
  margin: 0 0 2px;
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-transform: none;
}

.bonus-block p {
  margin: 1px 0;
  font-size: 12px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.bonus-hook,
.bonus-figure {
  color: inherit;
  font-weight: 800;
  font-size: 1.22em;
  line-height: 1.15;
  white-space: nowrap;
}

.payments {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
  justify-content: center;
  align-items: center;
}

/* Desktop keeps five icons and a +N button. The rest stay in the DOM so mobile can show them. */
.payments.payments-collapsed > a:nth-child(n + 6) {
  display: none;
}

.payments-more-btn {
  flex: 0 0 auto;
  min-width: 36px;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 7px;
  border: 1px solid rgba(255, 205, 85, 0.65);
  background: rgba(255, 205, 85, 0.14);
  color: #ffe08a;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

/* Plain text pill (button or anchor) */
button.payment-pill,
a.payment-pill {
  font: inherit;
  color: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  text-decoration: none;
}

.payment-pill {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Legacy: plain <span> inside .payments (backward-compatible) */
.payments > span:not(.payment-pill) {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Icon pill */
.payment-pill-icon {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 3px 6px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.payment-pill-icon img {
  width: 32px;
  height: 18px;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: brightness(1.1);
}

.payment-pill-icon span {
  display: none;
}

.score {
  justify-self: center;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff4c8;
  background: radial-gradient(circle at 35% 28%, #e06010, #7a1000 72%);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 2px rgba(255, 200, 80, 0.25), 0 8px 18px rgba(0, 0, 0, 0.3);
}

.a-root a.visit-button {
  position: relative;
  align-self: center;
  justify-self: stretch;
  width: 100%;
  height: 48px;
  min-height: 48px;
  min-width: 0;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(180deg, #ff231b 0%, #db0600 100%);
  box-shadow: 0 8px 22px rgba(225, 6, 0, 0.42);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.a-root a.visit-button:focus-visible {
  background: linear-gradient(180deg, #ff3830 0%, #ea0800 100%);
  box-shadow: 0 10px 26px rgba(225, 6, 0, 0.58);
  color: #ffffff;
  outline: none;
}

@media (hover: hover) and (pointer: fine) {
  .a-root a.visit-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #ff3830 0%, #ea0800 100%);
    box-shadow: 0 10px 26px rgba(225, 6, 0, 0.58);
    color: #ffffff;
    outline: none;
  }
}

/* ── Responsible + footer ── */
.responsible-block {
  width: 100%;
  max-width: 960px;
  margin: 28px auto 0;
  padding: 24px 20px 20px;
  text-align: center;
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(60, 100, 180, 0.28), transparent 55%),
    rgba(8, 12, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.responsible-block h2 {
  margin: 0 0 12px;
  color: #ff8a2a;
  font-size: clamp(15px, 2vw, 18px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
}

.responsible-block p {
  margin: 0 auto 10px;
  max-width: 780px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.55;
}

.responsible-block a {
  color: #9ecbff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.responsible-block a:hover {
  color: #d0e6ff;
}

.responsible-block .responsible-cta {
  margin-top: 14px;
  margin-bottom: 0;
  color: #ff8a2a;
  font-weight: 700;
  font-size: 13px;
}

.know-note {
  width: 100%;
  max-width: 960px;
  margin: 18px auto 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #7a7a7a;
  color: #eeeeee;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.know-note strong {
  font-weight: 700;
}

.market-guide {
  width: 100%;
  max-width: 960px;
  margin: 14px auto 0;
  padding: 16px 16px 8px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.55;
  text-align: left;
}

.market-guide h2,
.market-guide h3 {
  margin: 18px 0 8px;
  color: #ffcd55;
  font-weight: 700;
  line-height: 1.3;
}

.market-guide h2 {
  font-size: 18px;
}

.market-guide h2:first-child {
  margin-top: 0;
}

.market-guide a {
  color: #ffe08a;
  font-weight: 700;
}

.market-guide h3 {
  font-size: 16px;
}

.market-guide p {
  margin: 0 0 10px;
}

.market-guide ul {
  margin: 0 0 12px;
  padding-left: 18px;
}

.market-guide li {
  margin: 4px 0;
}

.footer {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 28px auto 0;
  padding: 24px 12px 0;
  text-align: center;
}

.footer h2 {
  margin: 0 0 16px;
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
}

.responsible-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.responsible-logos span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.responsible-logos span:first-child {
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  font-size: 12px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-bottom: 16px;
  font-size: 13px;
}

.footer nav a {
  color: rgba(255, 230, 200, 0.9);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 140ms ease, border-color 140ms ease;
}

.footer nav a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

.winter-site-footer {
  max-width: 960px;
  margin: 28px auto 0;
  padding: 0 16px 28px;
  text-align: left;
}

.winter-site-footer .footer-copy {
  margin: 14px 0 0;
  border-radius: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 14px;
}

.winter-site-footer .footer-links a {
  color: #ffcd55;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 0;
}

.winter-site-footer .footer-links a:hover {
  color: #ffe7a3;
  text-decoration: underline;
}

.footer-panel {
  display: grid;
  gap: 20px;
  padding: 22px 22px 16px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(10, 28, 62, 0.94), rgba(4, 12, 28, 0.96));
  border: 1px solid rgba(255, 205, 85, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 36px;
  height: 22px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.01em;
}

.footer-brand span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.footer-age {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid #ffcd55;
  color: #ffcd55;
  background: rgba(255, 205, 85, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 24px;
  align-items: start;
}

.winter-site-footer .footer-cols nav,
.winter-site-footer .footer-safe {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0;
  margin: 0;
  text-align: left;
}

.winter-site-footer .footer-cols h2 {
  margin: 0 0 10px;
  color: #ffcd55;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.winter-site-footer .footer-cols nav a,
.footer-safe p {
  display: block;
  margin: 0 0 7px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
}

.winter-site-footer .footer-cols nav a:hover {
  color: #ffe7a3;
}

.winter-site-footer .footer-safe a {
  display: inline;
  color: #ffcd55;
  font-weight: 750;
}

.winter-site-footer .footer-panel .footer-disclosure {
  margin: 0;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

@media (max-width: 720px) {
  .footer-cols { grid-template-columns: 1fr; }
  .footer-panel { padding: 16px; }
}

.footer-blurb,
.footer-responsible,
.footer-disclosure {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.55;
}

.footer-responsible a,
.footer-disclosure a {
  color: #ffcd55;
}

.winter-page-title {
  margin: 8px 0 10px;
  color: #ffcd55;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.2;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-list a {
  color: inherit;
  text-decoration: none;
}

.legal-page .article-list h2 {
  margin: 0 0 4px;
  color: #8b1028;
  font-size: 18px;
}

.legal-page .article-list p {
  margin: 0;
  color: #243044;
  font-size: 14px;
  line-height: 1.45;
}

/* Full viewport yellow footer bar */
.footer-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  padding: 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(180deg, #0a3a8c, #012169);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-copy::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    #012169 0 33%,
    #ffffff 33% 66%,
    #c8102e 66% 100%
  );
}

/* Legal pages for ranking experience */
.legal-page {
  min-height: auto;
  padding: 32px 16px 24px;
  color: #0b1630;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 22, 48, 0.08);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(11, 22, 48, 0.08);
  font-family: var(--font-lexend-deca), "Lexend Deca", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.legal-page h1,
.legal-page h2,
.legal-page p,
.legal-page ul {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

.legal-page h1 {
  margin-top: 0;
  color: #8b1028;
}

.legal-page h2 {
  margin: 22px auto 8px;
  color: #0b1630;
  font-size: 18px;
}

.legal-page ul {
  padding-left: 1.2em;
}

.legal-page li {
  margin: 0 0 6px;
  line-height: 1.5;
}

.legal-page a {
  color: #8b1028;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .pl-hero-main {
    grid-template-columns: minmax(0, 1.45fr) minmax(150px, 220px);
    gap: 12px 20px;
  }

  .hero-art {
    max-width: 220px;
  }

  .casino-row {
    grid-template-columns: minmax(180px, 230px) minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
  }

  .brand-wrap {
    align-self: center;
    height: auto;
  }

  .brand-card {
    height: 120px;
    min-height: 120px;
    width: 100%;
    max-width: none;
    padding: 14px 16px;
    border-radius: 12px;
  }

  .brand-card .brand-logo-img {
    width: auto;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .bonus-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .payments {
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
  }

  .payments.payments-collapsed {
    flex-wrap: nowrap;
  }

  .payments.payments-collapsed > a {
    flex: 1 1 0;
    max-width: 64px;
    min-width: 0;
  }

  .payments > a.payment-pill-icon {
    min-height: 26px;
    padding: 1px 2px;
  }

  .payments > a.payment-pill-icon img {
    width: 100%;
    height: 24px;
  }

  .a-root a.visit-button {
    grid-column: 1 / -1;
    align-self: stretch;
    justify-self: stretch;
    width: 100%;
    height: auto;
    min-width: 0;
    max-width: none;
    min-height: 52px;
    font-size: 16px;
  }
}

@media (max-width: 680px) {
  .pl-hero-desktop {
    display: none !important;
  }

  .pl-hero-mobile {
    display: block;
  }

  .hero-mob-disclosure-wrap {
    display: flex;
  }

  .site-inner {
    margin-top: 0;
    padding: 0 12px 20px;
  }

  .top-strip {
    height: 40px;
    font-size: 12px;
  }

  .top-strip-inner {
    gap: 8px;
    padding: 0 12px;
  }

  .flag {
    width: 22px;
    height: 14px;
  }

  .pl-hero {
    margin: 8px 0 12px;
    padding: 16px 12px 12px;
  }

  .pl-hero-main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .pl-hero-copy {
    padding-right: 0;
  }

  .pl-hero-art-col {
    display: flex;
    justify-content: center;
    order: -1;
    margin: 0 auto 4px;
    width: 100%;
    max-width: 260px;
  }

  .hero-art {
    position: static;
    width: 100%;
    max-width: 260px;
    max-height: 180px;
  }

  .pl-hero h1 {
    max-width: none;
    font-size: clamp(22px, 6vw, 28px);
    line-height: 1.15;
    margin-bottom: 4px;
  }

  .hero-updated {
    font-size: clamp(14px, 4vw, 17px);
    margin-bottom: 8px;
  }

  .hero-points {
    gap: 5px;
  }

  .hero-points li {
    font-size: 13px;
    line-height: 1.35;
  }

  .hero-trust-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
    padding-top: 10px;
  }

  .hero-trust-badges {
    gap: 8px 14px;
  }

  .hero-trust-lead {
    font-size: 13px;
  }

  .hero-trust-pill {
    font-size: 12px;
    gap: 6px;
  }

  .hero-trust-pill .flag {
    width: 20px;
    height: 13px;
  }

  .hero-trust-icon {
    width: 17px;
    height: 17px;
  }

  .hero-disclosure {
    width: 100%;
    justify-content: flex-end;
  }

  .hero-disclosure-trigger {
    font-size: 12px;
    font-weight: 900;
    color: #dcae40;
  }

  .hero-disclosure-popup {
    position: fixed;
    left: 16px;
    right: 16px;
    top: calc(40px + 12px + env(safe-area-inset-top, 0px));
    bottom: auto;
    z-index: 60;
    width: auto;
    max-height: min(70vh, 360px);
    overflow: auto;
    padding: 16px 44px 16px 16px;
    font-size: 13px;
    line-height: 1.5;
    border-radius: 12px;
  }

  .hero-disclosure-close {
    width: 32px;
    height: 32px;
    top: 8px;
    right: 8px;
    font-size: 22px;
  }

  .hero-mob-pill {
    font-size: 13px;
  }

  .hero-mob-title {
    font-size: clamp(18px, 5.45vw, 22px);
  }

  .ranking {
    gap: 0;
    margin-top: 0;
  }

  .casino-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 0 0 12px;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1.5px solid rgba(186, 206, 232, 0.46);
    /* Solid panel — skip expensive backdrop-filter on mobile GPUs. */
    backdrop-filter: none;
    background: linear-gradient(135deg, #ffffff0f, #0000 40%), #081024eb;
  }

  .casino-row:first-child {
    border: 1.5px solid #e8c15a;
    box-shadow: 0 0 0 1px rgba(232, 193, 90, 0.4), 0 12px 28px rgba(0, 0, 0, 0.32);
  }

  .row-badge {
    grid-column: 1 / -1;
    grid-row: 1;
    padding: 2px 7px;
    font-size: 8px;
    margin: 0;
  }

  .brand-wrap {
    grid-column: 1 / -1;
    grid-row: auto;
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

  .brand-card {
    height: auto;
    min-height: 0;
    width: 100%;
    max-width: none;
    padding: 4px 8px;
    border-radius: 12px;
  }

  .brand-card span {
    font-size: 14px;
  }

  .brand-card .brand-logo-img {
    width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: var(--logo-fit-mobile, var(--logo-fit, contain));
  }

  .score {
    grid-column: 3;
    grid-row: 2;
    width: 38px;
    height: 38px;
    font-size: 13px;
  }

  .bonus-block {
    grid-column: 1 / -1;
    grid-row: auto;
    text-align: center;
  }

  .eyebrow {
    margin-bottom: 2px;
    font-size: 9px;
  }

  .bonus-block h2 {
    font-size: 17px;
    margin-bottom: 4px;
  }

  .bonus-block p {
    font-size: 15px;
    line-height: 1.3;
  }

  .payments {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin-top: 6px;
    overflow: visible;
  }

  .payments,
  .payments.payments-collapsed {
    flex-wrap: wrap;
    gap: 3px;
  }

  .payments.payments-collapsed > a:nth-child(n + 6) {
    display: inline-flex;
  }

  .payments-more-btn {
    display: none;
  }

  .payments.payments-collapsed > a {
    flex: 0 0 auto;
    max-width: none;
    min-width: 0;
  }

  .payments > a.payment-pill-icon {
    min-height: 22px;
    padding: 2px 3px;
  }

  .payments > a.payment-pill-icon img {
    width: 28px;
    height: 16px;
  }

  .payments span {
    min-height: 18px;
    padding: 1px 6px;
    font-size: 9px;
  }

  .a-root a.visit-button {
    grid-column: 1 / -1;
    grid-row: auto;
    align-self: stretch;
    max-width: none;
    min-width: 0;
    width: 90%;
    height: auto;
    margin-inline: auto;
    justify-self: center;
    min-height: 52px;
    padding: 14px 20px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.05em;
    border-radius: 12px;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(225, 6, 0, 0.45);
  }

  .responsible-block {
    margin-top: 16px;
    padding: 16px 12px 14px;
  }

  .responsible-block p {
    font-size: 12px;
  }

  .footer {
    margin-top: 16px;
    padding-top: 16px;
  }

  .footer-copy {
    padding: 12px;
    font-size: 11px;
  }
}

/* Very small phones: even tighter above-the-fold */
@media (max-width: 400px) {
  .hero-mob-content {
    padding: 12px 10px 0 10px;
  }

  .hero-mob-title {
    font-size: clamp(17px, 5.2vw, 20px);
  }

  .hero-mob-points li {
    font-size: 9px;
  }

  .hero-mob-trust {
    gap: 4px 6px;
  }

  .hero-mob-trust-item {
    font-size: 10px;
    gap: 3px;
  }

  .hero-mob-pill {
    font-size: 12px;
    padding: 4px 10px 4px 6px;
  }

  .a-root a.visit-button {
    min-height: 50px;
    font-size: 18px;
  }

  .pl-hero h1 {
    font-size: 21px;
  }

  .hero-updated {
    font-size: 14px;
  }

  .hero-points li {
    font-size: 12.5px;
  }

  .hero-trust-pill {
    font-size: 11.5px;
  }

  .hero-art {
    max-width: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .casino-row,
  .brand-card,
  .a-root a.visit-button {
    transition: none;
  }

  .casino-row:hover,
  .brand-card:hover,
  .a-root a.visit-button:hover {
    transform: none;
  }
}

/* ── Mobile hero: larger and centred ── */
@media (max-width: 680px) {
  .hero-mob-overlay {
    background: linear-gradient(180deg, rgba(8, 14, 26, 0.78) 0%, rgba(8, 14, 26, 0.88) 100%);
  }
  .hero-mob-content {
    align-items: center;
    text-align: center;
    padding: 8px 16px 16px;
  }
  .hero-mob-pill { font-size: 14px; margin-bottom: 8px; }
  .hero-mob-title {
    font-size: clamp(24px, 7vw, 30px);
    margin-bottom: 12px;
    white-space: normal;
  }
  .hero-mob-trust {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .hero-mob-trust-item { font-size: clamp(11px, 3.1vw, 14px); gap: 3px; }
  .hero-mob-trust-item .hero-trust-icon { width: 15px; height: 15px; }
  .hero-mob-trust-item .flag { width: 18px; height: 12px; }
  .hero-mob-disclosure-wrap { display: none !important; }
  .hero-mob-disclosure-wrap .hero-disclosure { justify-content: center; }
}

@media (max-width: 400px) {
  .hero-mob-content { padding: 8px 12px 14px; }
  .hero-mob-pill { font-size: 13px; }
  .hero-mob-title { font-size: clamp(22px, 6.8vw, 26px); }
  /* Lexend Deca runs wider than the system fallback: a touch smaller, and
     wrap onto a second centred line rather than clip at the edge. */
  .hero-mob-trust { gap: 4px 6px; flex-wrap: wrap; }
  .hero-mob-trust-item { font-size: clamp(10px, 2.85vw, 13px); }
}

/* Menu in the top strip: Store, Games */
.top-strip-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
}

.top-strip-nav a {
  padding: 4px 12px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(200, 220, 255, 0.28);
  transition: background 140ms ease;
}

.top-strip-nav a:hover,
.top-strip-nav a:focus-visible,
.top-strip-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}

@media (max-width: 680px) {
  .top-strip { height: auto; min-height: 40px; padding: 4px 0; }
  .top-strip-nav { margin-left: 0; gap: 4px; }
  .top-strip-nav a { padding: 2px 9px; }
}

/* DACH: no blue/white/red flag stripe above the top strip */
html[data-market="de"] .top-strip::before,
html[data-market="at"] .top-strip::before,
html[data-market="ch"] .top-strip::before {
  display: none;
}

/* Mobile cards: no "Welcome bonus" eyebrow above the offer */
@media (max-width: 680px) {
  .bonus-block .eyebrow { display: none; }
}

/* Mobile: colours for the update pill and offers; cards stand out from the page */
@media (max-width: 680px) {
  .hero-mob-pill { color: rgba(255, 255, 255, 0.75); }
  .hero-mob-pill strong { color: #ffd36a; }
  .hero-mob-check { color: #12b76a; }

  .a-root .bonus-block h2 { color: #ffffff; }
  .a-root .bonus-block .bonus-figure,
  .a-root .bonus-block .bonus-hook { color: #ffffff; }
  .a-root .bonus-block p { color: rgba(255, 255, 255, 0.72); font-size: 14px; }
  .a-root .bonus-block p .bonus-figure,
  .a-root .bonus-block p .bonus-hook { color: #ffffff; }

  .casino-row {
    background: #14203a;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
    margin-bottom: 18px;
  }
  .casino-row:first-child {
    border: 1.5px solid #e8c15a;
    box-shadow: 0 0 0 1px rgba(232, 193, 90, 0.4), 0 10px 26px rgba(0, 0, 0, 0.55);
  }
  .brand-wrap { padding: 8px 8px 0; }
  .brand-card { border-radius: 10px; }
}

/* No gold/silver crown icons on the ranking cards */
.place-crown { display: none !important; }

/* DACH: fresh, trustworthy green CTA instead of red */
html[data-market="de"] .a-root a.visit-button,
html[data-market="at"] .a-root a.visit-button,
html[data-market="ch"] .a-root a.visit-button {
  background: linear-gradient(180deg, #2ec866 0%, #17a34a 100%);
  box-shadow: 0 8px 22px rgba(23, 163, 74, 0.38);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
}

html[data-market="de"] .a-root a.visit-button:focus-visible,
html[data-market="at"] .a-root a.visit-button:focus-visible,
html[data-market="ch"] .a-root a.visit-button:focus-visible {
  background: linear-gradient(180deg, #38d673 0%, #1bb553 100%);
  box-shadow: 0 10px 26px rgba(23, 163, 74, 0.55);
}

@media (hover: hover) and (pointer: fine) {
  html[data-market="de"] .a-root a.visit-button:hover,
  html[data-market="at"] .a-root a.visit-button:hover,
  html[data-market="ch"] .a-root a.visit-button:hover {
    background: linear-gradient(180deg, #38d673 0%, #1bb553 100%);
    box-shadow: 0 10px 26px rgba(23, 163, 74, 0.55);
  }
}

/* First card: softer champagne gold with a warm glow instead of the hard yellow double edge */
.casino-row:first-child {
  border: 1.5px solid #d9b866;
  box-shadow:
    0 0 0 1px rgba(217, 184, 102, 0.14),
    0 0 24px rgba(217, 184, 102, 0.16),
    0 10px 26px rgba(0, 0, 0, 0.5);
}

/* Page background: calm dark navy instead of the near-black / red-tinted mix */
:root {
  --bg-deep: #060f25;
}

.site-bg {
  background:
    radial-gradient(ellipse 90% 40% at 50% -6%, rgba(70, 130, 230, 0.16), transparent 60%),
    linear-gradient(180deg, #0b1a40 0%, #091636 28%, #08132e 60%, #060f25 100%);
}

/* Payment icons: larger and easier to recognise */
@media (min-width: 901px) {
  .payment-pill-icon { min-height: 30px; padding: 3px 7px; }
  .payment-pill-icon img { width: 40px; height: 22px; }
}

@media (max-width: 680px) {
  .payments > a.payment-pill-icon { min-height: 28px; padding: 3px 5px; }
  .payments > a.payment-pill-icon img { width: 36px; height: 20px; }
}

/* Top-3 ribbons: green flag tabs (same green as the BONUS SICHERN button) (Am beliebtesten / Spieler-Favorit / Stark im Trend),
   the first one a little larger */
.brand-wrap .place-ribbon,
.place-1 .place-ribbon,
.place-2 .place-ribbon,
.place-3 .place-ribbon {
  top: -10px;
  height: 22px;
  padding: 0 8px 0 9px;
  background: linear-gradient(180deg, #2ec866 0%, #17a34a 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}

.brand-wrap .place-ribbon::after,
.place-1 .place-ribbon::after,
.place-2 .place-ribbon::after,
.place-3 .place-ribbon::after {
  right: -10px;
  border-width: 11px 0 11px 10px;
  border-color: transparent transparent transparent #22b658;
}

.place-1 .place-ribbon {
  top: -13px;
  height: 27px;
  padding: 0 10px 0 11px;
  font-size: 15px;
  font-weight: 600;
}

.place-1 .place-ribbon::after {
  right: -12px;
  border-width: 13.5px 0 13.5px 12px;
}

@media (max-width: 680px) {
  .brand-wrap .place-ribbon,
  .place-2 .place-ribbon,
  .place-3 .place-ribbon {
    top: -8px;
    height: 21px;
    font-size: 12.5px;
  }
  .brand-wrap .place-ribbon::after,
  .place-2 .place-ribbon::after,
  .place-3 .place-ribbon::after {
    right: -9px;
    border-width: 10.5px 0 10.5px 9px;
  }
  .place-1 .place-ribbon {
    top: -11px;
    height: 25px;
    font-size: 14px;
  }
  .place-1 .place-ribbon::after {
    right: -11px;
    border-width: 12.5px 0 12.5px 11px;
  }
}

/* Mobile hero: full-width band with the market flag behind the text, no box */
@media (max-width: 680px) {
  .pl-hero-mobile {
    margin: 0 0 12px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background-size: cover;
    background-position: center;
  }
  .hero-mob-overlay {
    background: linear-gradient(180deg, rgba(8, 14, 26, 0.55) 0%, rgba(8, 14, 26, 0.62) 60%, rgba(8, 14, 26, 0.9) 100%);
  }
  .hero-mob-title { text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6); }
}

/* Mobile hero: left-aligned text; the shade fades out to the right so the flag shows */
@media (max-width: 680px) {
  .pl-hero-mobile { background-position: right center; }
  .hero-mob-overlay {
    background: linear-gradient(90deg, rgba(8, 14, 26, 0.82) 0%, rgba(8, 14, 26, 0.55) 55%, rgba(8, 14, 26, 0.15) 100%),
                linear-gradient(180deg, rgba(8, 14, 26, 0) 70%, rgba(8, 14, 26, 0.6) 100%);
  }
  .hero-mob-content {
    align-items: flex-start;
    text-align: left;
    padding: 16px 16px 18px;
  }
  .hero-mob-title { text-align: left; }
  .hero-mob-trust { justify-content: flex-start; }
}

/* Mobile top strip: only flag + brand, no "Die besten Angebote in …" line */
@media (max-width: 680px) {
  .top-strip-sep,
  .top-strip-offers {
    display: none;
  }
}

/* Mobile: no top strip at all; multilingual markets (CH) keep just the language switcher */
@media (max-width: 680px) {
  .top-strip-home {
    display: none;
  }
  .top-strip:not(:has(.lang-switch)) {
    display: none;
  }
}

@media (max-width: 680px) {
  /* Without the strip the hero's top margin would collapse through the shell and leave a dark band */
  .site-shell {
    display: flow-root;
  }
}

@media (max-width: 680px) {
  /* Trust line (licence, secure, payouts) on one line: text shrinks with the screen instead of wrapping */
  .hero-mob-trust { flex-wrap: nowrap; gap: 0 clamp(5px, 2vw, 10px); max-width: 100%; }
  .hero-mob-trust-item { font-size: clamp(9px, 2.75vw, 13px); white-space: nowrap; gap: 3px; }
  .hero-mob-trust-item .hero-trust-icon { width: 13px; height: 13px; flex: none; }
  .hero-mob-trust-item .flag { width: 16px; height: 11px; flex: none; }
}

/* Top-3 tags as part of the card: flush in the card's top-left corner, rounded with
   the card, no arrow tail. The brand wrap stops being the containing block so the tag
   anchors to the card itself. */
.casino-row .brand-wrap:has(.place-ribbon) { position: static; }
.casino-row:has(.place-ribbon) { padding-top: 34px; }
.casino-row .brand-wrap .place-ribbon,
.casino-row .place-1 .place-ribbon,
.casino-row .place-2 .place-ribbon,
.casino-row .place-3 .place-ribbon {
  top: 0;
  left: 0;
  height: 26px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  border-radius: calc(var(--radius) - 1px) 0 10px 0;
  box-shadow: none;
}
.casino-row .brand-wrap .place-ribbon::after,
.casino-row .place-1 .place-ribbon::after,
.casino-row .place-2 .place-ribbon::after,
.casino-row .place-3 .place-ribbon::after { display: none; }

@media (max-width: 680px) {
  .casino-row:has(.place-ribbon) { padding-top: 0; }
  .casino-row .brand-wrap:has(.place-ribbon) { padding-top: 34px; }
  .casino-row .brand-wrap .place-ribbon,
  .casino-row .place-1 .place-ribbon,
  .casino-row .place-2 .place-ribbon,
  .casino-row .place-3 .place-ribbon {
    height: 26px;
    font-size: 14px;
    border-radius: 11px 0 10px 0;
  }
}

/* Ranking cards: a visible light border on every card; the first keeps its gold one */
.casino-row:not(:first-child) {
  border-color: rgba(255, 255, 255, 0.34);
}
@media (max-width: 680px) {
  .casino-row:not(:first-child) {
    border: 1.5px solid rgba(214, 224, 240, 0.42);
  }
}
