/* ==========================================================================
   zzcontadores.com - Online Casino Australia
   "Shiraz & Mint": Casino.org's layout personality (light ground, deep header,
   rounded cards, pill CTAs, trust-led toplist) on a fresh palette.
   Shape rule: cards 16px, controls and logo plates 12px, buttons and chips pill.
   Signature ornament: the Southern Cross (five sparkle stars) - hero, section
   titles, footer band.
   Width rule (R11): .container is the only width cap on the page.
   ========================================================================== */

:root {
  --brand: #5b1136;
  --brand-dark: #33081e;
  --brand-ink: #22051a;
  --brand-light: #8a2a57;
  --brand-tint: #f4e9ef;

  --accent: #0a7d67;
  --accent-hover: #086855;
  --accent-bright: #3fd9b8;
  --accent-soft: #e0f4ef;
  --accent-warm: #f2a31b;
  --on-accent: #ffffff;
  --link: #0a6b58;

  --bg: #f6f3f6;
  --bg-card: #fffeff;
  --bg-elevated: #fbf9fb;
  --bg-panel: #eee9ee;

  --text: #22141f;
  --text-muted: #5b4c58;
  --text-dim: #7d6c78;

  --border: #e1d9e0;
  --border-strong: #c9bcc7;
  --border-soft: #eee8ed;

  --plate: linear-gradient(160deg, #fffdf6, #f3ecdd);
  --plate-border: #e6dcc6;
  --star-empty: #d9cfd7;

  --wheel-1: #5b1136;
  --wheel-2: #8a2a57;
  --wheel-3: #c0668f;
  --wheel-4: #0a7d67;
  --wheel-5: #2fb89b;
  --wheel-6: #9adbcb;

  --r-card: 16px;
  --r-ctl: 12px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(51, 8, 30, .06), 0 2px 8px rgba(51, 8, 30, .05);
  --shadow-md: 0 2px 4px rgba(51, 8, 30, .06), 0 14px 34px -14px rgba(51, 8, 30, .22);
  --shadow-lg: 0 4px 10px rgba(51, 8, 30, .08), 0 30px 60px -24px rgba(51, 8, 30, .38);

  --font-display: 'Funnel Display', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Funnel Sans', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --container: 1200px;
  --header-h: 68px;

  /* the Southern Cross: four bright stars, one faint, joined by the two axes */
  --cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none'%3E%3Cpath d='M50 9 52 91M18 43 85 36' stroke='%233fd9b8' stroke-opacity='.35' stroke-width='.5' stroke-dasharray='1.5 2.5'/%3E%3Cg fill='%23fff'%3E%3Cpath d='M50 1Q50 9 58 9 50 9 50 17 50 9 42 9 50 9 50 1Z'/%3E%3Cpath d='M52 81Q52 91 62 91 52 91 52 101 52 91 42 91 52 91 52 81Z'/%3E%3Cpath d='M18 36Q18 43 25 43 18 43 18 50 18 43 11 43 18 43 18 36Z'/%3E%3Cpath d='M85 29Q85 36 92 36 85 36 85 43 85 36 78 36 85 36 85 29Z'/%3E%3C/g%3E%3Cpath d='M63 53Q63 57 67 57 63 57 63 61 63 57 59 57 63 57 63 53Z' fill='%233fd9b8'/%3E%3C/svg%3E");
  --sparkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0Q8 8 16 8 8 8 8 16 8 8 0 8 8 8 8 0Z' fill='%230a7d67'/%3E%3C/svg%3E");
  --sparkle-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0Q8 8 16 8 8 8 8 16 8 8 0 8 8 8 8 0Z' fill='%233fd9b8'/%3E%3C/svg%3E");
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5 6.6 11.5 12.5 5'/%3E%3C/svg%3E");
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand-tint: #2e1826;
    --accent-soft: #10302a;
    --link: #55e0c2;
    --bg: #160c14;
    --bg-card: #21131d;
    --bg-elevated: #291924;
    --bg-panel: #1b0f18;
    --text: #f4ebf1;
    --text-muted: #c2b0bd;
    --text-dim: #9a8794;
    --border: #3b2a36;
    --border-strong: #523d4c;
    --border-soft: #2d1f29;
    --star-empty: #4a3844;
    --wheel-1: #a23a6c;
    --wheel-2: #c96b97;
    --wheel-3: #e5a9c4;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow-md: 0 14px 34px -14px rgba(0, 0, 0, .6);
    --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, .75);
  }
}

/* ---------- base ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1rem; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--link); text-underline-offset: .18em; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.5rem; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--bg-card); color: var(--text); padding: .6rem 1rem; border-radius: var(--r-ctl); }
.skip-link:focus { top: 1rem; }

.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- buttons -------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1; letter-spacing: -.005em;
  padding: .95rem 1.6rem; border-radius: var(--r-pill); border: 2px solid transparent;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn--accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 18px -10px rgba(10, 125, 103, .9); }
.btn--accent:hover { background: var(--accent-hover); box-shadow: 0 12px 24px -10px rgba(10, 125, 103, .95); }
.btn--ghost-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.btn--sm { padding: .68rem 1.15rem; font-size: .92rem; }
.btn--lg { padding: 1.1rem 1.9rem; font-size: 1.06rem; }
.btn--block { display: flex; width: 100%; }

.read-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .95rem; color: var(--link); text-decoration: none; }
.read-link::after { content: ''; width: .5em; height: .5em; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s var(--ease); }
.read-link:hover { text-decoration: underline; }
.read-link:hover::after { transform: translateX(3px) rotate(45deg); }

/* ---------- section scaffolding ------------------------------------------- */
.section { padding-block: 4.5rem; }
.section--tight { padding-block: 0 4.5rem; }
.section--band { background: var(--bg-panel); border-block: 1px solid var(--border); }
.section-title { font-size: clamp(1.6rem, 1.1rem + 1.9vw, 2.3rem); margin-bottom: 1.1rem; }
.section-lead { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 2rem; }
.kicker {
  display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.25rem;
  font-family: var(--font-display); font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-light);
}
.kicker::before { content: ''; width: .95rem; height: .95rem; background: var(--sparkle) center / contain no-repeat; }
@media (prefers-color-scheme: dark) { .kicker { color: #e5a9c4; } .kicker::before { background-image: var(--sparkle-light); } }

/* ---------- stars (CSS only) ----------------------------------------------- */
.stars { display: inline-flex; gap: .14em; font-size: 1.05rem; vertical-align: middle; }
.stars--lg { font-size: 1.35rem; }
.star {
  position: relative; display: inline-block; width: 1em; height: 1em; background: var(--star-empty);
  clip-path: polygon(50% 2%, 61.5% 36%, 98% 36%, 68.5% 57.5%, 79.5% 92%, 50% 71%, 20.5% 92%, 31.5% 57.5%, 2% 36%, 38.5% 36%);
}
.star--full { background: var(--accent-warm); }
.star--half::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 50%; overflow: hidden; background: var(--accent-warm); }
.score { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; margin-left: .5rem; }

/* ---------- logo plates (R6: cream plate, contained, never a circle) ------- */
.logo-plate {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  background: var(--plate); border: 1px solid var(--plate-border); border-radius: var(--r-ctl);
  width: 150px; height: 68px; padding: .5rem .7rem; overflow: hidden;
}
.logo-plate img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.logo-plate--xs { width: 64px; height: 36px; padding: .28rem .36rem; border-radius: 8px; }
.logo-plate--xs img { border-radius: 4px; }
.logo-plate--sm { width: 112px; height: 54px; }
.logo-plate--md { width: 176px; height: 84px; }
.logo-plate--lg { width: 100%; height: 104px; padding: .9rem 1.4rem; }
.logo-plate--text span { font-family: var(--font-display); font-weight: 800; color: #33081e; font-size: .95em; text-align: center; line-height: 1.1; }

/* ---------- header --------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--brand-dark); color: #fff; transition: box-shadow .3s var(--ease); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); transition: height .3s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(34, 5, 26, .7); }
.site-header.is-scrolled .site-header__inner { height: 56px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; flex: none; }
/* R6 exception: the mark is a circular crest on a white square, so it is clipped round everywhere */
.brand__crest { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: none; background: #fff; transition: width .3s var(--ease), height .3s var(--ease); }
.brand__crest img { width: 100%; height: 100%; object-fit: cover; }
.site-header.is-scrolled .brand__crest { width: 34px; height: 34px; }
.brand__word { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.brand__word em { font-style: normal; font-weight: 500; color: var(--accent-bright); }

.site-nav { position: relative; margin-left: auto; }
.site-nav__list { list-style: none; display: flex; align-items: center; gap: .15rem; }
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: .4rem; padding: .7rem .8rem; color: rgba(255, 255, 255, .86); text-decoration: none; font-weight: 500; font-size: .98rem; white-space: nowrap; border-radius: 8px; transition: color .2s var(--ease); }
.nav-item > a:hover, .nav-item > a.active { color: #fff; }
.nav-caret { width: .45em; height: .45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s var(--ease); }
.nav-indicator { position: absolute; left: 0; bottom: -.3rem; height: 3px; width: 0; border-radius: 3px; background: var(--accent-bright); opacity: 0; pointer-events: none; transition: transform .35s var(--ease), width .35s var(--ease), opacity .2s; }

.nav-submenu {
  position: absolute; top: calc(100% + .85rem); left: 50%; z-index: 110; width: 400px;
  display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; padding: .7rem;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav-submenu::before { content: ''; position: absolute; top: -7px; left: 50%; width: 12px; height: 12px; background: var(--bg-card); border-left: 1px solid var(--border); border-top: 1px solid var(--border); transform: translateX(-50%) rotate(45deg); }
.nav-submenu__item { display: flex; align-items: center; gap: .7rem; padding: .5rem .55rem; border-radius: 10px; text-decoration: none; color: var(--text); font-weight: 600; font-size: .96rem; transition: background-color .2s var(--ease); }
.nav-submenu__item:hover, .nav-submenu__item:focus-visible, .nav-submenu__item.active { background: var(--accent-soft); }

@media (min-width: 901px) {
  /* R13 - a transparent bridge fills the gap so :hover survives the trip to the panel */
  .nav-item--has-submenu::after { content: ''; position: absolute; top: 100%; left: -.75rem; right: -.75rem; height: 1.1rem; pointer-events: auto; }
  .nav-item--has-submenu:hover > .nav-submenu, .nav-item--has-submenu:focus-within > .nav-submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .nav-item--has-submenu:hover .nav-caret, .nav-item--has-submenu:focus-within .nav-caret { transform: translateY(1px) rotate(225deg); }
}

.site-header__cta { flex: none; }
.burger { display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--r-ctl); background: rgba(255, 255, 255, .1); cursor: pointer; position: relative; flex: none; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- homepage hero: bleed-right leaf bay --------------------------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--brand-dark); color: #fff; }
.hero__wash { position: absolute; inset: 0; z-index: -3; background-size: cover; background-position: center; opacity: .16; filter: blur(22px) saturate(1.2); transform: scale(1.15); }
.hero__bay { position: absolute; top: 0; right: 0; bottom: 3.25rem; width: 46%; z-index: -2; border-radius: 0 0 0 220px; overflow: hidden; box-shadow: -22px 22px 0 rgba(255, 255, 255, .05), -44px 44px 0 rgba(255, 255, 255, .03); }
.hero__bay img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 120% at 0% 0%, rgba(138, 42, 87, .55), transparent 55%), linear-gradient(90deg, var(--brand-dark) 0%, rgba(51, 8, 30, .9) 42%, rgba(51, 8, 30, .0) 62%); }
.hero__cross { position: absolute; left: 45.5%; top: .9rem; width: 104px; height: 104px; z-index: -1; background: var(--cross) center / contain no-repeat; opacity: .9; }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 2rem; align-items: end; padding-block: 5rem 7.25rem; min-height: 560px; }
.hero__title { font-size: clamp(2.3rem, 1.2rem + 3.9vw, 4rem); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; }
.title-pipe { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.title-sub { display: block; margin-top: .55em; font-size: .46em; font-weight: 500; letter-spacing: -.01em; line-height: 1.2; color: var(--accent-bright); }
.hero__lede { margin: 1.5rem 0 0; font-size: 1.2rem; line-height: 1.55; color: rgba(255, 255, 255, .86); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.leaderboard { justify-self: end; width: min(100%, 360px); margin-right: 1rem; background: var(--bg-card); color: var(--text); border-radius: var(--r-card); padding: 1.1rem 1.1rem 1rem; box-shadow: var(--shadow-lg); transform: rotate(-1.5deg); animation: board-in 1s var(--ease) .15s both; }
.leaderboard__title { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 .7rem; font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; }
.leaderboard__title span { font-family: var(--font-body); font-weight: 500; font-size: .82rem; color: var(--text-dim); }
.leaderboard__list { list-style: none; display: grid; gap: .4rem; }
.leaderboard__row { display: grid; grid-template-columns: 2rem auto 1fr auto; align-items: center; gap: .65rem; padding: .5rem .6rem; border-radius: var(--r-ctl); background: var(--bg-elevated); border: 1px solid var(--border-soft); text-decoration: none; color: var(--text); transition: border-color .2s var(--ease), transform .25s var(--ease); }
.leaderboard__row:hover { border-color: var(--accent); transform: translateX(3px); }
.leaderboard li:first-child .leaderboard__row { background: var(--accent-soft); border-color: transparent; }
.leaderboard__rank { font-family: var(--font-display); font-weight: 800; color: var(--brand-light); }
.leaderboard__name { font-weight: 700; }
.leaderboard__score { display: inline-flex; align-items: center; gap: .3rem; font-family: var(--font-display); font-weight: 800; }
.leaderboard__more { display: inline-block; margin-top: .8rem; font-size: .9rem; font-weight: 600; }
@keyframes board-in { from { opacity: 0; transform: translateY(26px) rotate(-4deg); } to { opacity: 1; transform: rotate(-1.5deg); } }
@media (prefers-color-scheme: dark) { .leaderboard__rank { color: #e5a9c4; } }

/* ---------- stat strip: normal flow, pulled up over the hero --------------- */
.stat-strip { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: -3.25rem 0 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-md); }
.stat { display: flex; flex-direction: column; gap: .35rem; padding: 1.35rem 1.5rem; }
.stat dd { order: -1; }
.stat + .stat { border-left: 1px solid var(--border-soft); }
.stat dt { color: var(--text-muted); font-size: .92rem; line-height: 1.35; }
.stat dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; line-height: 1; letter-spacing: -.03em; color: var(--brand); }
.stat dd small { font-size: .5em; font-weight: 600; color: var(--text-dim); letter-spacing: 0; }
@media (prefers-color-scheme: dark) { .stat dd { color: #e5a9c4; } }

/* ---------- top rated: podium + runners ----------------------------------- */
.top-rated { padding-top: 4rem; }
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: end; padding-top: 1.75rem; }
.podium-card { position: relative; display: flex; flex-direction: column; align-items: stretch; text-align: center; gap: .55rem; padding: 1.5rem 1.4rem 1.3rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .7s var(--ease); }
.podium-card:hover { box-shadow: var(--shadow-md); }
.podium-card--first { padding: 2.6rem 1.6rem 1.6rem; border: 2px solid var(--accent); box-shadow: var(--shadow-md); margin-bottom: 1.5rem; }
.podium-card__ribbon { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); background: var(--accent); color: var(--on-accent); font-family: var(--font-display); font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; padding: .5rem 1.1rem; border-radius: var(--r-pill); white-space: nowrap; box-shadow: 0 8px 16px -8px rgba(10, 125, 103, .9); }
.rank-badge { position: absolute; top: .9rem; left: .9rem; z-index: 1; min-width: 2.3rem; padding: .3rem .5rem; border-radius: var(--r-pill); background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .9rem; line-height: 1.2; }
.podium-card--first .rank-badge { top: 1.5rem; }
.podium-card__plate { display: block; text-decoration: none; }
.podium-card__name { font-size: 1.35rem; margin-top: .4rem; }
.podium-card__name a, .runner__name a { color: inherit; text-decoration: none; }
.podium-card__name a:hover, .runner__name a:hover { color: var(--link); }
.podium-card__score { display: flex; align-items: center; justify-content: center; }
.podium-card__bonus { margin: .5rem 0 0; font-family: var(--font-display); font-weight: 800; font-size: 1.28rem; line-height: 1.2; letter-spacing: -.02em; color: var(--brand); }
.podium-card--first .podium-card__bonus { font-size: 1.5rem; }
.podium-card__terms { margin: 0 0 .5rem; color: var(--text-muted); font-size: .93rem; line-height: 1.45; }
.podium-card__stats { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: .7rem 0 .4rem; }
.podium-card__stats div { background: var(--bg-elevated); border-radius: var(--r-ctl); padding: .6rem .5rem; }
.podium-card__stats dt { font-size: .78rem; color: var(--text-dim); line-height: 1.3; }
.podium-card__stats dd { margin: .1rem 0 0; font-weight: 700; font-size: .95rem; line-height: 1.3; }
.podium-card .read-link { align-self: center; }
@media (prefers-color-scheme: dark) { .podium-card__bonus { color: #f0c3d6; } }

.runners { list-style: none; display: grid; gap: .8rem; margin-top: 1.25rem; }
.runner { display: grid; grid-template-columns: 3rem 200px 1fr auto; align-items: center; gap: 1.25rem; padding: 1rem 1.4rem 1rem 1rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-sm); }
.runner__rank { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--brand-light); text-align: center; }
.runner__plate { display: block; }
.runner__plate .logo-plate { width: 100%; }
.runner__name { font-size: 1.2rem; display: inline; margin-right: .75rem; }
.runner__score { display: inline-flex; align-items: center; }
.runner__bonus { margin: .25rem 0 0; color: var(--text-muted); }
.runner__actions { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.rank-note { margin: 1.5rem 0 0; font-size: .88rem; color: var(--text-dim); }
@media (prefers-color-scheme: dark) { .runner__rank { color: #e5a9c4; } }

/* ---------- byline --------------------------------------------------------- */
.review-byline { display: flex; align-items: center; gap: .8rem; }
.review-byline__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid rgba(255, 255, 255, .7); }
.review-byline__name { margin: 0; font-weight: 700; line-height: 1.3; }
.review-byline__role { margin: 0; font-size: .9rem; line-height: 1.35; opacity: .8; }
.verified { display: inline-flex; align-items: center; gap: .3rem; margin-left: .35rem; padding: .16rem .55rem .16rem .3rem; border-radius: var(--r-pill); background: var(--accent); color: #fff; font-size: .74rem; font-weight: 700; vertical-align: middle; white-space: nowrap; }
.verified::before { content: ''; width: .9rem; height: .9rem; background: var(--tick) center / contain no-repeat; }
.review-byline--card .review-byline__avatar { width: 64px; height: 64px; border-color: var(--border); }
.review-byline--plain .review-byline__avatar { border-color: var(--border); }

/* ---------- home intro ----------------------------------------------------- */
.home-intro { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 3rem; align-items: start; }
.home-intro__body p:first-child { font-size: 1.22rem; line-height: 1.55; color: var(--text); font-weight: 500; }
.home-intro__body p { color: var(--text-muted); }
.home-intro__side { display: grid; gap: 1.1rem; padding: 1.4rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-sm); }
.home-intro__side .read-link { justify-self: center; }

/* ---------- bento (6-col) -------------------------------------------------- */
.home-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.bento-tile { position: relative; overflow: hidden; isolation: isolate; grid-column: span 2; padding: 1.6rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-sm); }
.bento-tile h3 { font-size: 1.22rem; margin-bottom: .6rem; }
.bento-tile p { color: var(--text-muted); font-size: 1rem; }
.bento-tile--feature { grid-column: span 3; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 420px; }
.bento-tile--wide, .bento-tile--narrow3 { grid-column: span 3; }
.bento-tile--narrow { grid-column: span 2; }
.bento-tile--full { grid-column: 1 / -1; }
.bento-tile::after { content: attr(data-mono); position: absolute; right: .9rem; top: .1rem; z-index: -1; font-family: var(--font-display); font-weight: 800; font-size: 5.5rem; line-height: 1; color: var(--brand); opacity: .06; }
.bento-tile--photo { border: 0; color: #fff; }
.bento-tile--photo .bento-tile__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bento-tile--photo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(34, 5, 26, .05) 20%, rgba(34, 5, 26, .93) 78%); }
.bento-tile--photo:hover .bento-tile__bg { transform: scale(1.05); }
.bento-tile--photo h3 { font-size: 1.6rem; }
.bento-tile--photo p { color: rgba(255, 255, 255, .88); }
.bento-tile--photo::after { content: none; }
.bento-tile--brand { background: var(--brand); border-color: transparent; color: #fff; }
.bento-tile--brand p { color: rgba(255, 255, 255, .86); }
.bento-tile--brand::after { color: #fff; opacity: .1; }
.bento-tile--soft { background: var(--accent-soft); border-color: transparent; }
.bento-tile--soft::after { color: var(--accent); opacity: .14; }

/* ---------- score wheel ---------------------------------------------------- */
.score-layout { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 4rem; align-items: center; }
.score-wheel { position: relative; aspect-ratio: 1; border-radius: 50%; background: var(--wheel); box-shadow: var(--shadow-md); }
.score-wheel__hub { position: absolute; inset: 21%; border-radius: 50%; background: var(--bg-card); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: inset 0 2px 10px rgba(51, 8, 30, .12); }
.score-wheel__hub strong { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 2rem + 4vw, 4.6rem); line-height: .95; letter-spacing: -.04em; color: var(--brand); }
.score-wheel__hub span { font-size: .92rem; color: var(--text-muted); }
@media (prefers-color-scheme: dark) { .score-wheel__hub strong { color: #f0c3d6; } }
.score-layout__body > p { color: var(--text-muted); }
.weight-list { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.25rem; margin: 1.5rem 0; }
.weight-list__head { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
.weight { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .7rem .9rem; background: var(--bg-card); border-radius: var(--r-ctl); border: 1px solid var(--border-soft); }
.weight__k { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; line-height: 1.3; }
.weight__k::before { content: ''; width: .85rem; height: .85rem; border-radius: 4px; background: var(--swatch); flex: none; }
.weight__v { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }

/* ---------- casino dossier (tabs) ------------------------------------------ */
.dossier__tabs { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding: .25rem .1rem 1rem; }
.dossier__tabs::-webkit-scrollbar { display: none; }
.dossier__tab { display: inline-flex; align-items: center; gap: .6rem; flex: none; padding: .45rem 1rem .45rem .45rem; border-radius: var(--r-pill); border: 1px solid var(--border); background: var(--bg-card); color: var(--text); font: inherit; font-weight: 700; cursor: pointer; transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
.dossier__tab .logo-plate { border-radius: var(--r-pill); width: 68px; }
.dossier__tab:hover { border-color: var(--border-strong); }
.dossier__tab[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.dossier:not(.is-ready) .dossier__tabs { display: none; }
.dossier__panel { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-sm); padding: 2rem; }
.dossier__panel + .dossier__panel { margin-top: 1.25rem; }
.dossier.is-ready .dossier__panel { margin-top: 0; }
.dossier.is-ready .dossier__panel[hidden] { display: none; }
.dossier.is-ready .dossier__panel:not([hidden]) { animation: panel-in .5s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.dossier__head { display: grid; grid-template-columns: auto 1fr auto; gap: 1.4rem; align-items: center; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border-soft); }
.dossier__title { font-size: clamp(1.4rem, 1rem + 1.4vw, 1.9rem); margin-bottom: .35rem; }
.dossier__score { display: flex; align-items: center; }
.dossier__actions { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.dossier__lead p { font-size: 1.12rem; color: var(--text-muted); }
.dossier__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2rem; margin-top: 1.5rem; align-items: start; }
.note-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; }
.note h3 { font-size: 1.08rem; margin-bottom: .5rem; padding-left: 1.5rem; position: relative; }
.note h3::before { content: ''; position: absolute; left: 0; top: .12em; width: 1rem; height: 1rem; background: var(--sparkle) center / contain no-repeat; }
@media (prefers-color-scheme: dark) { .note h3::before { background-image: var(--sparkle-light); } }
.note p { font-size: .98rem; color: var(--text-muted); margin-bottom: .7rem; }
.fact-sheet { background: var(--bg-elevated); border-radius: var(--r-card); padding: 1.1rem 1.25rem; display: grid; gap: .1rem; }
.fact-sheet__head { display: flex; justify-content: space-between; padding-bottom: .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
.fact { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); gap: .8rem; padding: .5rem 0; font-size: .95rem; line-height: 1.4; }
.fact:nth-child(even) { background: linear-gradient(90deg, transparent, var(--bg-panel) 12%, var(--bg-panel) 88%, transparent); margin-inline: -1.25rem; padding-inline: 1.25rem; }
.fact__k { color: var(--text-dim); }
.fact__v { font-weight: 600; }

/* ---------- offers (R3: five cards = 3 + 2) -------------------------------- */
.offer-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.offer-card { grid-column: span 2; display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; padding: 1.5rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-sm); }
.offer-card:nth-child(n+4) { grid-column: span 3; }
.offer-card__label { margin: .4rem 0 0; font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; line-height: 1.25; color: var(--brand); }
@media (prefers-color-scheme: dark) { .offer-card__label { color: #f0c3d6; } }
.offer-card__quote { margin: 0; color: var(--text-muted); flex: 1; }

/* ---------- split layout + check lists ------------------------------------ */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split-layout--reverse .split-layout__media { order: 2; }
.split-layout__media { margin: 0; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-md); }
.split-layout__media img { width: 100%; height: 100%; object-fit: cover; }
.split-layout__body > p { color: var(--text-muted); }

/* R10 - li stays display:block; the tick is an absolutely positioned ::before */
.feature-check-list { list-style: none; display: grid; gap: .7rem; margin: 1.25rem 0; padding: 1.25rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-card); }
.feature-check-list li { display: block; position: relative; padding-left: 2.3rem; }
.feature-check-list li::before { content: ''; position: absolute; left: 0; top: .15rem; width: 1.45rem; height: 1.45rem; border-radius: 50%; background: var(--accent) var(--tick) center / .95rem no-repeat; }
.feature-check-list li strong { display: block; font-family: var(--font-display); }
.feature-check-list li span { color: var(--text-muted); }
.feature-check-list--plain { padding: 0; background: none; border: 0; }
.feature-check-list--plain li { padding: 1rem 1.2rem 1rem 3.4rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-ctl); }
.feature-check-list--plain li::before { left: 1.1rem; top: 1.05rem; }
.feature-check-list--plain li strong { display: inline; }
.step-list { margin: 1rem 0 1rem 1.4rem; display: grid; gap: .6rem; }

.image-divider { margin: 0; aspect-ratio: 21 / 9; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-md); }
.image-divider img { width: 100%; height: 100%; object-fit: cover; }
.page-inner .image-divider { margin-bottom: 3.5rem; }

/* ---------- security card: four L corners + a diagonal sweep --------------- */
.security-card { position: relative; isolation: isolate; overflow: hidden; background: var(--brand-dark); color: #fff; border-radius: var(--r-card); padding: 3.25rem; }
.security-card__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .2; }
.security-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 40%, rgba(63, 217, 184, .14) 50%, transparent 60%); transform: translateX(-70%); transition: transform 1.1s var(--ease); }
.security-card:hover::before { transform: translateX(70%); }
.security-card__corner { position: absolute; width: 30px; height: 30px; border: 0 solid var(--accent-bright); transition: width .45s var(--ease), height .45s var(--ease); pointer-events: none; }
.security-card__corner--tl { top: 1.1rem; left: 1.1rem; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 8px; }
.security-card__corner--tr { top: 1.1rem; right: 1.1rem; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 8px; }
.security-card__corner--bl { bottom: 1.1rem; left: 1.1rem; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 8px; }
.security-card__corner--br { bottom: 1.1rem; right: 1.1rem; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 8px; }
.security-card:hover .security-card__corner { width: 64px; height: 64px; }
.security-card .section-lead { color: rgba(255, 255, 255, .82); margin-bottom: 1.75rem; }
.security-card__cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.security-cell { padding: 1.2rem 1.3rem; border-radius: var(--r-ctl); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.security-cell h3 { font-size: 1.08rem; margin-bottom: .35rem; color: var(--accent-bright); }
.security-cell p { color: rgba(255, 255, 255, .86); font-size: .98rem; }
.security-card__foot { margin: 1.75rem 0 0; color: rgba(255, 255, 255, .82); }

/* ---------- support card + ledger ----------------------------------------- */
.support-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem; padding: 2.5rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-sm); }
.ledger { display: grid; gap: .5rem; }
.ledger__row { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 1.25rem; align-items: baseline; padding: .9rem 1.1rem; background: var(--bg-elevated); border-radius: var(--r-ctl); }
.ledger__row h3 { font-size: 1.02rem; }
.ledger__body { margin: 0; color: var(--text-muted); font-size: .98rem; }

/* ---------- guide rows ----------------------------------------------------- */
.guide-list { display: grid; gap: .8rem; }
.guide-row { display: grid; grid-template-columns: 168px 1fr auto; gap: 1.5rem; align-items: center; padding: .8rem 1.5rem .8rem .8rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-card); text-decoration: none; color: var(--text); transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .35s var(--ease), opacity .7s var(--ease); }
.guide-row:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.guide-row__thumb { width: 168px; height: 96px; object-fit: cover; border-radius: var(--r-ctl); }
.guide-row__body { display: grid; gap: .25rem; }
.guide-row__title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.25; }
.guide-row__lede { color: var(--text-muted); font-size: .96rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.guide-row__go { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--accent-soft); position: relative; flex: none; transition: background-color .25s var(--ease); }
.guide-row__go::after { content: ''; position: absolute; left: 50%; top: 50%; width: .55rem; height: .55rem; border-right: 2px solid var(--link); border-top: 2px solid var(--link); transform: translate(-70%, -50%) rotate(45deg); }
.guide-row:hover .guide-row__go { background: var(--accent); }
.guide-row:hover .guide-row__go::after { border-color: #fff; }

/* ---------- closing -------------------------------------------------------- */
.closing { padding: 3rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-sm); }
.closing > p { color: var(--text-muted); font-size: 1.08rem; }
.closing__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border-soft); }

/* ---------- footer --------------------------------------------------------- */
.site-footer { background: var(--brand-ink); color: rgba(255, 255, 255, .8); margin-top: 2rem; }
.star-band { height: 44px; background-color: var(--brand-dark); background-image: var(--sparkle-light), radial-gradient(circle, rgba(255, 255, 255, .5) 1.2px, transparent 1.6px), radial-gradient(circle, rgba(255, 255, 255, .28) 1px, transparent 1.4px); background-size: 14px 14px, 96px 44px, 96px 44px; background-position: 0 center, 34px 9px, 70px 30px; background-repeat: repeat-x; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.35fr; gap: 2.25rem; padding-block: 3.5rem 2.5rem; }
.footer-pedestal p { margin: 1.1rem 0 1.25rem; font-size: .97rem; }
.footer-col__title, .vip-tile__title { margin: 0 0 .9rem; font-family: var(--font-display); font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-bright); }
.footer-col ul { list-style: none; display: grid; gap: .55rem; }
.footer-col a { color: rgba(255, 255, 255, .82); text-decoration: none; font-size: .97rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.vip-tile { padding: 1.3rem; border-radius: var(--r-card); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); display: grid; gap: .7rem; align-content: start; }
.vip-tile__title { margin: 0; }
.vip-tile__plate .logo-plate { width: 100%; height: 64px; }
.vip-tile__bonus { margin: 0; color: #fff; font-family: var(--font-display); font-weight: 700; line-height: 1.3; }
.accreditations { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; padding-block: 1.5rem; border-block: 1px solid rgba(255, 255, 255, .12); }
.badges, .footer-logos { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem .45rem .5rem; border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, .22); font-size: .86rem; font-weight: 600; color: #fff; }
.badge::before { content: ''; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--accent) var(--tick) center / .75rem no-repeat; }
.badge--age { padding-left: .9rem; border-color: var(--accent-warm); color: var(--accent-warm); font-weight: 800; }
.badge--age::before { content: none; }
.footer-disclaimer { margin: 1.75rem 0 0; font-size: .88rem; color: rgba(255, 255, 255, .64); }
.footer-copy { margin: .9rem 0 0; padding-bottom: 2.25rem; font-size: .88rem; color: rgba(255, 255, 255, .64); text-align: center; }
.footer-copy a { color: rgba(255, 255, 255, .85); }

/* ==========================================================================
   INNER PAGES
   ========================================================================== */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--brand-dark); color: #fff; }
.page-hero__art { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; z-index: -2; }
.page-hero__art img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__scrim { position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 120% at 0% 0%, rgba(138, 42, 87, .5), transparent 55%), linear-gradient(90deg, var(--brand-dark) 0%, var(--brand-dark) 42%, rgba(51, 8, 30, .72) 64%, rgba(51, 8, 30, .35) 100%); }
.page-hero__inner { padding-block: 2.25rem 3.5rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .9rem; color: rgba(255, 255, 255, .7); margin-bottom: 1.75rem; }
.breadcrumb a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero__title { font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; }
.page-hero__title .title-sub { font-size: .5em; }
.rating-badge { display: inline-flex; align-items: baseline; gap: .1em; margin-left: .35em; padding: .22em .55em; border-radius: var(--r-pill); background: var(--accent-warm); color: #2a1a02; font-size: .5em; font-weight: 800; letter-spacing: 0; vertical-align: middle; white-space: nowrap; }
.rating-badge small { font-size: .7em; font-weight: 600; }
.page-hero .review-byline { margin-top: 1.5rem; }
.page-hero__lede { margin: 1.5rem 0 0; font-size: 1.15rem; line-height: 1.6; color: rgba(255, 255, 255, .88); }
.page-hero--guide .page-hero__inner { padding-bottom: 4rem; }

/* cream CTA strip */
.cta-strip { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; padding: 1.1rem 1.4rem 0 1.1rem; background: var(--plate); color: #2a1320; border-radius: var(--r-card); box-shadow: var(--shadow-lg); overflow: hidden; }
.cta-strip__plate .logo-plate { background: #fff; }
.cta-strip__label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7a5d3a; }
.cta-strip__bonus strong { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.15rem, .9rem + 1vw, 1.55rem); line-height: 1.2; letter-spacing: -.02em; }
.cta-strip__visitors { grid-column: 1 / -1; display: flex; align-items: center; gap: .6rem; margin: 0 -1.4rem 0 -1.1rem; padding: .6rem 1.4rem; background: rgba(51, 8, 30, .07); font-size: .9rem; color: #4d3540; }
.pulse { width: .6rem; height: .6rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(10, 125, 103, .6); animation: pulse 1.8s ease-out infinite; flex: none; }
@keyframes pulse { to { box-shadow: 0 0 0 .7rem rgba(10, 125, 103, 0); } }

.page-hero--404 .page-hero__inner { padding-block: 5rem; }
.lost-links { list-style: none; display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2.5rem; }
.lost-links a { display: inline-flex; align-items: center; gap: .6rem; padding: .4rem 1rem .4rem .4rem; border-radius: var(--r-pill); background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; font-weight: 600; }
.lost-links a:hover { background: rgba(255, 255, 255, .18); }

/* Editor's Verdict */
.section--verdict { padding-block: 3rem 0; }
.verdict-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2.5rem; padding: 2.25rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-md); }
.verdict-card__title { font-size: 1.6rem; margin-bottom: 1.1rem; }
.rating-row { display: grid; grid-template-columns: 1fr auto 2.6rem; align-items: center; gap: 1rem; padding: .5rem 0; }
.rating-row__label { color: var(--text-muted); }
.rating-row__score { font-family: var(--font-display); font-weight: 800; text-align: right; }
.rating-row--overall { margin-bottom: .6rem; padding: .9rem 1.1rem; border-radius: var(--r-ctl); background: var(--accent-soft); grid-template-columns: 1fr auto 3rem; }
.rating-row--overall .rating-row__label { color: var(--text); font-weight: 700; font-size: 1.1rem; }
.rating-row--overall .rating-row__score { font-size: 1.5rem; }
.verdict-note { margin: 0; padding: 2rem; border-radius: var(--r-card); background: var(--brand); color: #fff; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.verdict-note::before { content: ''; position: absolute; right: -14px; top: -10px; width: 130px; height: 130px; background: var(--cross) center / contain no-repeat; opacity: .5; }
.verdict-note blockquote { margin: 0; }
.verdict-note blockquote p { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; font-weight: 600; line-height: 1.35; letter-spacing: -.015em; }
.verdict-note figcaption { margin-top: 1.1rem; font-weight: 600; color: var(--accent-bright); }
.verdict-note__fine { margin: 1rem 0 0; font-size: .84rem; color: rgba(255, 255, 255, .72); }
.verdict-note__fine a { color: #fff; }

/* "On this page" rail */
.toc { position: sticky; top: 56px; z-index: 60; background: var(--bg); border-block: 1px solid var(--border); margin-top: 3rem; }
.toc__inner { display: flex; align-items: center; gap: 1.25rem; }
.toc__label { flex: none; font-family: var(--font-display); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.toc__list { list-style: none; display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; padding: .55rem 2.5rem .55rem 0; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 3rem), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 3rem), transparent); }
.toc__list::-webkit-scrollbar { display: none; }
.toc__list a { display: block; white-space: nowrap; text-decoration: none; font-size: .9rem; font-weight: 500; padding: .4rem .85rem; border-radius: var(--r-pill); color: var(--text-muted); transition: background-color .25s var(--ease), color .25s var(--ease); }
.toc__list a:hover { color: var(--text); background: var(--bg-panel); }
.toc__list a.active { background: var(--brand); color: #fff; font-weight: 600; }
html:has(.page-inner) { scroll-padding-top: 7.5rem; }

/* builder output */
.page-inner .section { padding-block: 3.5rem; }
.page-inner .section--band { background: var(--bg-panel); }
.section--intro { padding-block: 3rem 0 !important; }
.intro-block { padding: 2rem 2.25rem; background: var(--bg-card); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--r-card); }
.intro-block p { color: var(--text-muted); font-size: 1.1rem; }
.page-inner .section-title { padding-left: 1.9rem; position: relative; }
.page-inner .section-title::before { content: ''; position: absolute; left: 0; top: .2em; width: 1.2rem; height: 1.2rem; background: var(--sparkle) center / contain no-repeat; }
@media (prefers-color-scheme: dark) { .page-inner .section-title::before { background-image: var(--sparkle-light); } }

.plain-card, .subcard { padding: 2rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-sm); }
.plain-card p, .subcard > p, .dossier-lead p, .stack > p { color: var(--text-muted); }
.dossier-lead { margin-bottom: 1.5rem; }
.dossier-lead:last-child { margin-bottom: 0; }
.dossier-lead > p { font-size: 1.08rem; }
.subcard { position: relative; overflow: hidden; margin-bottom: 1.25rem; }
.subcard:last-child { margin-bottom: 0; }
.subcard > h3 { font-size: 1.3rem; margin-bottom: .8rem; }
.subcard::after, .floor-tile::after { content: attr(data-mono); position: absolute; right: 1rem; top: .2rem; font-family: var(--font-display); font-weight: 800; font-size: 4.8rem; line-height: 1; color: var(--brand); opacity: .055; pointer-events: none; }
@media (prefers-color-scheme: dark) { .subcard::after, .floor-tile::after, .bento-tile::after { color: #fff; opacity: .06; } }

.floor-grid { display: grid; gap: 1rem; margin-block: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.floor-grid:last-child { margin-bottom: 0; }
.floor-grid[data-cols="1"] { grid-template-columns: minmax(0, 1fr); }
.floor-grid[data-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.floor-grid[data-cols="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* R3 - five tiles read 3 + 2 */
.floor-grid[data-cols="3"]:has(> :nth-child(5):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.floor-grid[data-cols="3"]:has(> :nth-child(5):last-child) > * { grid-column: span 2; }
.floor-grid[data-cols="3"]:has(> :nth-child(5):last-child) > :nth-child(n+4) { grid-column: span 3; }
.floor-tile { position: relative; overflow: hidden; padding: 1.6rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-sm); }
.floor-tile::before { content: ''; position: absolute; left: 1.6rem; right: 1.6rem; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--accent), var(--accent-bright)); }
.floor-tile h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.floor-tile p { color: var(--text-muted); }
.floor-tile--mini { padding: 1.1rem 1.2rem; background: var(--bg-elevated); box-shadow: none; }
.floor-tile--mini::before { left: 1.2rem; right: auto; width: 2rem; }
.floor-tile--mini::after { font-size: 3rem; }
.floor-tile--mini h4 { font-size: 1.02rem; margin-bottom: .3rem; }
.floor-tile--mini p { font-size: .96rem; margin: 0; }
.grid-caption { margin: 1.25rem 0 0; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
.grid-caption + .floor-grid { margin-top: .6rem; }

.spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin-block: 1.25rem; }
.spec-grid[data-cols="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.spec-grid[data-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.spec-grid__head { grid-column: 1 / -1; display: flex; gap: .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
.spec-grid__head span + span::before { content: '/ '; }
.spec { display: flex; flex-direction: column; gap: .2rem; padding: 1rem 1.1rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-ctl); }
.spec__k { font-size: .84rem; color: var(--text-dim); line-height: 1.3; }
.spec__v { font-weight: 600; line-height: 1.4; }

.data-table { margin-block: 1.25rem; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-ctl); background: var(--bg-card); }
.data-table:last-child { margin-bottom: 0; }
.data-table table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.data-table th, .data-table td { text-align: left; padding: .8rem 1.1rem; vertical-align: top; line-height: 1.45; }
.data-table thead th { background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .9rem; white-space: nowrap; }
.data-table tbody tr:nth-child(even) { background: var(--bg-elevated); }
.data-table tbody th { font-weight: 700; }
.data-table td { color: var(--text-muted); }
.subcard .data-table, .subcard .spec-grid .spec, .subcard .floor-tile--mini { background: var(--bg-elevated); }
.stack { display: grid; gap: 1rem; }

.faq-list { display: grid; gap: .7rem; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-ctl); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; cursor: pointer; list-style: none; }
.faq-item summary h3 { font-size: 1.08rem; }
.faq-item__body { padding: 0 1.3rem 1.2rem; color: var(--text-muted); }

/* ==========================================================================
   RESPONSIVE - 1100 / 900 / 700 / 560 / 480
   ========================================================================== */
@media (max-width: 1100px) {
  .site-header__inner { gap: 1rem; }
  .nav-item > a { padding-inline: .6rem; font-size: .94rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .vip-tile { grid-column: 1 / -1; grid-template-columns: auto 180px 1fr auto; align-items: center; }
  .runner { grid-template-columns: 2.5rem 170px 1fr auto; }
  .score-layout { gap: 2.5rem; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
  .hero__bay { width: 44%; border-radius: 0 0 0 160px; }
}

@media (max-width: 900px) {
  .site-header__cta { margin-left: auto; }
  .burger { display: block; }
  .nav-indicator { display: none; }
  .site-nav { position: fixed; inset: var(--header-h) 0 0 0; margin: 0; background: var(--brand-dark); padding: 1.25rem 1.5rem 3rem; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
  .site-header.is-scrolled .site-nav { top: 56px; }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item > a { justify-content: space-between; padding: 1rem .25rem; font-size: 1.2rem; font-family: var(--font-display); font-weight: 700; border-bottom: 1px solid rgba(255, 255, 255, .12); border-radius: 0; }
  .nav-submenu { position: static; width: auto; transform: none; opacity: 1; visibility: visible; display: none; margin: .75rem 0; box-shadow: none; }
  .nav-submenu::before { content: none; }
  .nav-item--has-submenu.is-open > .nav-submenu { display: grid; }
  .nav-item--has-submenu.is-open .nav-caret { transform: translateY(1px) rotate(225deg); }

  .hero__inner { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block: 3.5rem 6.5rem; }
  .hero__bay { width: 100%; bottom: 0; border-radius: 0; box-shadow: none; opacity: .5; }
  .hero__scrim { background: linear-gradient(180deg, rgba(51, 8, 30, .82), rgba(51, 8, 30, .93)); }
  .hero__cross { left: auto; right: 1rem; top: .6rem; width: 84px; height: 84px; opacity: .45; }
  .leaderboard { justify-self: start; margin: 1rem 0 0; transform: none; animation-name: board-in-flat; }
  @keyframes board-in-flat { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

  .podium { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .podium-card--first { grid-column: 1 / -1; order: -1; margin-bottom: 0; }
  .home-intro { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .home-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-tile, .bento-tile--wide, .bento-tile--narrow, .bento-tile--narrow3 { grid-column: span 1; }
  .bento-tile--feature { grid-column: 1 / -1; grid-row: auto; min-height: 320px; }
  .score-layout { grid-template-columns: minmax(0, 1fr); }
  .score-wheel { width: min(100%, 300px); margin-inline: auto; }
  .dossier__grid { grid-template-columns: minmax(0, 1fr); }
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-card, .offer-card:nth-child(n+4) { grid-column: span 1; }
  .offer-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .split-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .split-layout__media { aspect-ratio: 16 / 10; }
  .split-layout--reverse .split-layout__media { order: 0; }
  .security-card { padding: 2.5rem 2rem; }
  .security-card__cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .support-card { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .verdict-card { grid-template-columns: minmax(0, 1fr); }
  .floor-grid, .floor-grid[data-cols="4"], .floor-grid[data-cols="3"]:has(> :nth-child(5):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .floor-grid[data-cols="3"]:has(> :nth-child(5):last-child) > *, .floor-grid[data-cols="3"]:has(> :nth-child(5):last-child) > :nth-child(n+4) { grid-column: auto; }
  .spec-grid, .spec-grid[data-cols="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-pedestal { grid-column: 1 / -1; }
  .page-hero__art { width: 100%; opacity: .35; }
  .page-hero__scrim { background: linear-gradient(180deg, rgba(51, 8, 30, .8), rgba(51, 8, 30, .94)); }
}

@media (max-width: 700px) {
  .section { padding-block: 3.25rem; }
  .section--tight { padding-block: 0 3.25rem; }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border-soft); }
  /* runners collapse to two rows: rank + plate + actions, then the copy */
  .runner { grid-template-columns: 2rem minmax(0, 150px) 1fr; padding: 1rem; gap: .9rem; }
  .runner__body { grid-column: 1 / -1; grid-row: 2; }
  .runner__actions { justify-self: end; }
  .dossier__panel { padding: 1.4rem; }
  .dossier__head { grid-template-columns: auto 1fr; }
  .dossier__actions { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; gap: 1.25rem; }
  .guide-row { grid-template-columns: 110px 1fr; padding-right: 1rem; }
  .guide-row__thumb { width: 110px; height: 78px; }
  .guide-row__go { display: none; }
  .closing { padding: 2rem 1.5rem; }
  .cta-strip { grid-template-columns: auto 1fr; }
  .cta-strip .btn { grid-column: 1 / -1; }
  .ledger__row { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .vip-tile { grid-template-columns: minmax(0, 1fr); }
  .toc__label { display: none; }
}

@media (max-width: 560px) {
  .container { padding-inline: 1.1rem; }
  body { font-size: 1rem; }
  .brand__word { font-size: 1rem; }
  .site-header__cta { display: none; }
  .burger { margin-left: auto; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__cross { display: none; }
  .podium { grid-template-columns: minmax(0, 1fr); }
  .home-bento, .offer-grid, .security-card__cells, .note-grid, .weight-list,
  .floor-grid, .floor-grid[data-cols="2"], .floor-grid[data-cols="4"], .floor-grid[data-cols="3"]:has(> :nth-child(5):last-child),
  .spec-grid, .spec-grid[data-cols="2"], .spec-grid[data-cols="4"] { grid-template-columns: minmax(0, 1fr); }
  .bento-tile--feature, .offer-card:last-child:nth-child(odd) { grid-column: auto; }
  .plain-card, .subcard, .intro-block, .verdict-card, .support-card { padding: 1.4rem; }
  .security-card { padding: 2.25rem 1.4rem; }
  .verdict-note { padding: 1.5rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; }
  .accreditations { justify-content: flex-start; }
  .nav-submenu { grid-template-columns: 1fr; }
  .fact { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
}

@media (max-width: 480px) {
  .stat { padding: 1.1rem 1rem; }
  .stat dd { font-size: 1.75rem; }
  .brand__crest { width: 34px; height: 34px; }
  .cta-strip { grid-template-columns: minmax(0, 1fr); }
  .runner { grid-template-columns: 2rem minmax(0, 1fr); }
  .runner__actions { grid-column: 1 / -1; grid-row: 3; justify-self: stretch; flex-direction: row; justify-content: space-between; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .rating-row { grid-template-columns: 1fr auto 2.2rem; gap: .6rem; }
  .rating-row .stars { font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .leaderboard { animation: none; }
}

.page-404 .site-footer { margin-top: 0; }
