/* Home. The hero bento and the featured grid are carried over from the approved mockup
 * (a-daub-board); the other sections are built in its language with the same tokens:
 * surfaces 1–3, radius 16/26, hairline borders, photo bands with a navy scrim. */


/* ── hero bento ───────────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: 1.35fr 1fr .9fr; grid-template-rows: auto auto; gap: 16px; }
.tile--hero {
  grid-row: span 2; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 44px);
  background:
    radial-gradient(120% 80% at 0% 0%, color-mix(in oklab, var(--color-brand) 22%, transparent), transparent 60%),
    radial-gradient(70% 60% at 100% 100%, color-mix(in oklab, var(--color-gold) 12%, transparent), transparent 70%),
    var(--surface-1);
}
[data-glow]::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(260px circle at var(--mx, -400px) var(--my, -400px), rgb(255 255 255 / .06), transparent 70%); transition: opacity var(--dur-slow) var(--ease); }
.hero__title { margin: 22px 0 16px; }
.hero__title em { position: relative; font-style: normal; color: var(--color-brand); white-space: nowrap; }
.hero__title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .12em; border-radius: 4px; background: var(--color-gold); transform: scaleX(0); transform-origin: left; animation: underline 1s .5s var(--ease) forwards; }
.hero__lead { max-width: 44ch; font-size: var(--fs-lead); color: var(--color-muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__chips { margin-top: auto; padding-top: 34px; }

.tile--card { grid-row: span 2; display: flex; flex-direction: column; gap: 14px; }
.caller { display: flex; align-items: center; gap: 12px; }
.caller__side { min-width: 0; }
.caller__txt { font-size: .82rem; line-height: 1.35; color: var(--color-muted); min-height: 2.7em; }
.caller__txt strong { color: var(--color-gold); }
.caller__hist { display: flex; gap: 6px; margin-top: 6px; min-height: 36px; }
.card__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .78rem; color: var(--color-muted); }
.card__btns { display: flex; gap: 14px; }
.card__btns .btn-link { font-size: .82rem; }

.tile--stats { display: flex; flex-direction: column; gap: 14px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stats a { display: block; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); text-decoration: none; transition: border-color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease); }
.stats a:hover { border-color: var(--color-brand); transform: translateY(-2px); }
.stats strong { display: block; font: 800 1.5rem/1 var(--font-display); color: var(--color-text); }
.stats span { font-size: .76rem; color: var(--color-muted); }
.planner { display: grid; gap: 8px; padding-top: 4px; border-top: 1px solid var(--line); }
.planner__label { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; font-size: .88rem; }
.planner__label output { font: 800 1.05rem var(--font-display); color: var(--color-gold); }
.planner input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: var(--radius-pill); background: linear-gradient(90deg, var(--color-brand) 0 var(--fill, 8%), var(--surface-3) var(--fill, 8%)); cursor: pointer; }
.planner input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--color-brand); box-shadow: var(--shadow-1); }
.planner input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--color-brand); }
.planner__hint { font-size: .8rem; color: var(--color-muted); }

/* ── providers marquee ────────────────────────────────────────────────── */
.providers { margin-top: 28px; padding: 18px 0; border-block: 1px solid var(--line); }

/* ── bingo ────────────────────────────────────────────────────────────── */
.bingo__band { display: grid; grid-template-columns: 1fr 1.1fr; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-1); border: 1px solid var(--line); margin-bottom: 28px; }
.bingo__pic { position: relative; min-height: 420px; }
.bingo__pic picture, .bingo__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bingo__body { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 4vw, 52px); }
.bingo__body > p { color: var(--color-muted); }
.bingo__body .btn { align-self: flex-start; }
.steps { display: grid; gap: 10px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 12px 14px; border-radius: var(--radius-md); background: var(--surface-2); border: 1px solid var(--line); transition: transform var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease); }
.steps li:hover { transform: translateX(4px); border-color: var(--color-brand); }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--color-gold); color: var(--color-gold); font: 700 .9rem var(--font-display); }
.steps b { font-weight: 600; }
.steps span { font-size: .86rem; color: var(--color-muted); }
.formats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.formats div { padding: 12px 14px; border-radius: 12px; background: var(--brand-tint); }
.formats strong { display: block; font-family: var(--font-display); }
.formats span { font-size: .8rem; color: #CDEFF5; }

.accent { font-style: normal; color: var(--color-brand); }
.accent--gold { color: var(--color-gold); }
.shelf + .shelf, .photo-band + .shelf, .cats + .shelf { margin-top: 32px; }

/* ── photo band (live) ────────────────────────────────────────────────── */
.photo-band { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: 380px; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.photo-band .photo-band__bg { position: absolute; inset: 0; z-index: -2; }
.photo-band__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.photo-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(16 27 43 / .95) 0%, rgb(16 27 43 / .75) 45%, rgb(16 27 43 / .15) 100%); }
.photo-band__body { display: grid; gap: 14px; max-width: 560px; padding: clamp(24px, 4vw, 48px); }
.photo-band__body p { color: #D7E1EC; }
.photo-band .chip { color: #fff; background: rgb(255 255 255 / .06); cursor: default; }

/* ── table categories ─────────────────────────────────────────────────── */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 240px; padding: 18px; border-radius: var(--radius-md); border: 1px solid var(--line); text-decoration: none; transition: transform var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease); }
.cat .cat__bg { position: absolute; inset: 0; z-index: -2; }
.cat__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(12 21 34 / .15), rgb(12 21 34 / .92) 75%); }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.cat:hover .cat__bg img { transform: scale(1.06); }
.cat__n { position: absolute; top: 14px; left: 14px; padding: 4px 10px; border-radius: var(--radius-pill); background: rgb(12 21 34 / .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: .74rem; font-weight: 600; }
.cat__body strong { display: block; font: 800 1.3rem var(--font-display); letter-spacing: -.02em; }
.cat__body span { font-size: .85rem; color: #D7E1EC; }

/* ── jackpots band ────────────────────────────────────────────────────── */
.jackpots__band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); border: 1px solid color-mix(in oklab, var(--color-gold) 30%, transparent); }
.jackpots__band .jackpots__bg { position: absolute; inset: 0; z-index: -2; }
.jackpots__bg img { width: 100%; height: 100%; object-fit: cover; }
.jackpots__band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgb(16 27 43 / .9), rgb(16 27 43 / .82) 50%, rgb(43 26 0 / .75)); }

/* ── promotions ───────────────────────────────────────────────────────── */
.promo { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 22px 26px; border-radius: var(--radius-lg); background: var(--surface-1); border: 1px dashed var(--line-2); }
.promo__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--gold-tint); color: var(--color-gold); }
.promo__icon .icon { width: 24px; height: 24px; }
.promo p { margin-top: 4px; font-size: var(--fs-small); color: var(--color-muted); }

/* ── payments ─────────────────────────────────────────────────────────── */
.payments__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; }
.pay-name { display: inline-flex; align-items: center; gap: 10px; color: var(--color-text); font-weight: 600; }
.pay-table .pay-chip { width: 64px; height: 32px; flex: none; }
.payments__pic { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 3.4; }
.payments__pic picture, .payments__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.payments__badge { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--radius-pill); background: rgb(12 21 34 / .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .85rem; font-weight: 600; }
.payments__badge .icon { width: 16px; height: 16px; color: var(--color-brand); }

/* ── about band ───────────────────────────────────────────────────────── */
.about__band { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.about__band .about__bg { position: absolute; inset: 0; z-index: -2; }
.about__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.about__band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(16 27 43 / .94) 0%, rgb(16 27 43 / .78) 50%, rgb(16 27 43 / .55) 100%); }
.about__inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 56px); }
.about__intro { display: grid; gap: 14px; justify-items: start; }
.about__intro p { color: #D7E1EC; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pillars li { display: grid; grid-template-columns: 24px 1fr; column-gap: 12px; padding: 14px; border-radius: var(--radius-md); background: rgb(12 21 34 / .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line-2); }
.pillars li:last-child { grid-column: 1 / -1; }
.pillars .icon { grid-row: span 2; width: 22px; height: 22px; color: var(--color-gold); }
.pillars span { font-size: .84rem; color: var(--color-muted); }

/* ── responsible gambling ─────────────────────────────────────────────── */
.rg__card { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.rg__card .rg__bg { position: absolute; inset: 0; z-index: -2; }
.rg__bg img { width: 100%; height: 100%; object-fit: cover; }
.rg__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgb(16 27 43 / .95), rgb(16 27 43 / .7)); }
.rg__body { display: grid; gap: 16px; justify-items: start; }
.rg__body p { color: #D7E1EC; font-size: var(--fs-lead); max-width: 48ch; }
.age-badge--lg { width: 56px; height: 56px; font-size: 1rem; }
.rg__tools { display: grid; gap: 8px; }
.rg__tools li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--radius-md); background: rgb(12 21 34 / .55); border: 1px solid var(--line-2); }
.rg__tools .icon { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--brand-tint); color: var(--color-brand); }
.rg__tools strong { display: block; font-size: .95rem; }
.rg__tools span { font-size: .84rem; color: var(--color-muted); }
.rg__tools a { color: var(--color-brand); }

/* ── regulatory ───────────────────────────────────────────────────────── */
.reg__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.reg__card { display: grid; align-content: start; gap: 10px; padding: 20px; border-radius: var(--radius-md); background: var(--surface-1); border: 1px solid var(--line); transition: border-color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease); }
.reg__card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.reg__card > .icon { width: 26px; height: 26px; color: var(--color-brand); }
.reg__card p { font-size: .86rem; color: var(--color-muted); }

/* ── responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1280px) { .reg__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1200px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--hero { grid-column: span 2; grid-row: auto; }
  .tile--card { grid-row: span 2; }
  .cats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .bingo__band, .payments__grid, .about__inner, .rg__card { grid-template-columns: 1fr; }
  .bingo__pic { min-height: 260px; }
  .promo { grid-template-columns: auto 1fr; }
  .promo .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .tile--hero, .tile--card { grid-column: auto; grid-row: auto; }
  .tile--photo { min-height: 200px; }
  .reg__grid, .pillars { grid-template-columns: 1fr; }
  .cats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat { min-height: 190px; padding: 14px; }
  .cat__body span { display: none; }
  .formats { grid-template-columns: 1fr 1fr; }
  .photo-band { min-height: 440px; }
  .photo-band::after { background: linear-gradient(180deg, rgb(16 27 43 / .2) 0%, rgb(16 27 43 / .95) 55%); }
  .payments__pic { aspect-ratio: 16 / 10; }
  .sec__head .sec__tools { width: 100%; justify-content: space-between; }
  .pay-table .pay-chip { display: none; }
}
@media (max-width: 389px) {
  .stats strong { font-size: 1.25rem; }
  .cats { grid-template-columns: 1fr; }
}

/* grid children must be allowed to shrink below their content (the payments table scrolls inside its wrap) */
.payments__grid > *, .bingo__band > *, .about__inner > *, .rg__card > * { min-width: 0; }
@media (max-width: 480px) {
  .pay-table th, .pay-table td { padding: 10px; }
  .pay-table thead th:nth-child(2), .pay-table td:nth-child(2) { display: none; }
}
.reg__card > .age-badge { justify-self: start; }
/* chip groups in even grids, so no chip is left alone on its row */
.hero__chips { display: grid; grid-template-columns: repeat(3, max-content); }
.photo-band .chips { display: grid; grid-template-columns: repeat(2, max-content); }
@media (max-width: 389px) { .hero__chips { grid-template-columns: repeat(2, max-content); } }

/* ── final pass fixes ─────────────────────────────────────────────────── */
/* payments table and about pillars need the full width below 1200 (rail + two columns is too narrow) */
@media (max-width: 1200px) {
  .payments__grid, .about__inner { grid-template-columns: 1fr; }
  .payments__pic { aspect-ratio: 16 / 7; }
}
/* live band chips: one column on the narrowest phones so the band body stays on screen */
.photo-band__body { min-width: 0; }
@media (max-width: 389px) { .photo-band .chips { grid-template-columns: 1fr; } }
.providers { position: relative; display: flex; align-items: center; gap: 12px; }
.providers .marquee { flex: 1; min-width: 0; }
.providers__pause { flex: none; width: 36px; height: 36px; }
.providers.is-paused .marquee__row, .providers:focus-within .marquee__row { animation-play-state: paused; }
