/*
 * CSS STYLES - Jokery Casino
 * Canonical design tokens live in this file. Dark-only theme.
 */

:root {
    --c-bg: #1a0730;
    --c-bg-deep: #12041f;
    --c-aubergine: #220934;
    --c-panel: #3a1466;
    --c-panel-2: #2a0e4c;
    --c-panel-3: #3b1470;
    --c-gold: #f5c84a;
    --c-gold-light: #ffd96b;
    --c-gold-deep: #c98f1c;
    --c-green: #4be36a;
    --c-magenta: #e03cff;
    --c-cyan: #2ee6ff;
    --c-violet: #8c3dff;
    --c-cream: #f3e2bb;
    --c-ink: #2a0b3f;
    --c-ink-link: #5a1580;
    --c-text: #ffffff;
    --c-text-soft: #ece3f6;
    --c-text-muted: #d2c3e4;
    --c-red: #e8233a;
    --c-calm-border: #9c84c4;

    --f-body: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --f-display: "Rubik", "Arial Black", system-ui, sans-serif;
    --f-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

    --container: 1120px;
    --radius: 4px;
    --header-bottom: 64px;
    --space-section: clamp(3rem, 8vw, 5.5rem);
    --glitch-shadow: -3px 3px 0 rgba(46, 230, 255, 0.85);
}

/* ============================================
   OVERFLOW PREVENTION - Safety Net
   ============================================ */

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

img, video, iframe, embed, object, svg {
    max-width: 100%;
    height: auto;
}

[class*="grid"] > *,
[class*="flex"] > * {
    min-width: 0;
}

pre, code, .code-block, [class*="code"] {
    max-width: 100%;
    overflow-x: auto;
}

pre code,
.code-block code {
    display: block;
    min-width: 0;
}

.table-wrapper,
[class*="table-"] {
    max-width: 100%;
    overflow-x: auto;
}

p, li, td, th {
    overflow-wrap: break-word;
}

details {
    height: fit-content;
}

:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
  a:not([class]) {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

input, textarea, select {
    max-width: 100%;
}

section {
    overflow: clip;
}

/* ============================================
   BASE
   ============================================ */

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-bottom) + 1rem);
}

body {
    margin: 0;
    font-family: var(--f-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--c-text);
    background-color: var(--c-bg);
    background-image: url("./assets/6803e029c6e61513a076c31ffcf52537.webp");
    background-repeat: repeat-y;
    background-position: center top;
    background-size: 190% auto;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) {
    body {
        background-size: 100% auto;
    }
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--f-display);
    line-height: 1.12;
    margin: 0 0 0.6em;
    color: var(--c-text);
    overflow-wrap: break-word;
    hyphens: auto;
}

h1, h2 {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

h1 {
    font-size: clamp(2rem, 1.2rem + 4vw, 3.5rem);
}

h2 {
    font-size: clamp(1.625rem, 1.1rem + 2.4vw, 2.5rem);
}

h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

h4 {
    font-size: 1.0625rem;
    font-weight: 700;
}

p {
    margin: 0 0 1em;
}

a {
    color: var(--c-gold-light);
    text-underline-offset: 0.15em;
}

a:hover {
    color: #fff1b8;
}

:focus-visible {
    outline: 3px solid var(--c-cyan);
    outline-offset: 3px;
}

strong {
    font-weight: 700;
}

ul, ol {
    padding-left: 1.25rem;
}

.container {
    width: min(100% - 2.5rem, var(--container));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 200;
    padding: 0.75rem 1rem;
    background: var(--c-gold);
    color: var(--c-ink);
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus {
    top: 1rem;
}

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

.icon {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--c-aubergine);
    border-bottom: 1px solid #3d1660;
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--c-magenta) 20%, var(--c-violet) 50%, var(--c-cyan) 80%, transparent);
    pointer-events: none;
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 64px;
    padding-block: 0.5rem;
}

.site-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    margin-right: auto;
    line-height: 1;
    text-decoration: none;
}

.site-brand__name {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: 1.75rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--c-gold);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .site-brand__name {
        background: linear-gradient(180deg, #ffe58a 0%, #f5c84a 45%, #dd9f26 75%, #b9781a 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 1px #6b3d08;
    }
}

.site-brand__sub {
    margin-top: 0.15rem;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--c-gold);
    padding-left: 0.28em;
}

/* Mobile drawer (default) */
.site-nav {
    display: none;
    position: fixed;
    top: var(--header-bottom);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 99;
    flex-direction: column;
    gap: 1.75rem;
    padding: 1rem 1.25rem 2.5rem;
    background: var(--c-bg-deep);
    border-top: 2px solid var(--c-magenta);
    overflow-y: auto;
    overscroll-behavior: contain;
}

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

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.5rem 0.25rem;
    color: var(--c-text);
    font-weight: 700;
    font-size: 1.0625rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid #2f1150;
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
    color: var(--c-gold);
}

.site-nav__actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-inline: 18px;
}

.header-actions {
    display: none;
    align-items: center;
    gap: 1.5rem;
    padding-inline: 14px;
}

.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    padding: 0;
    background: transparent;
    border: 2px solid var(--c-gold);
    border-radius: var(--radius);
    color: var(--c-gold);
    cursor: pointer;
}

.menu-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open .menu-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle__bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open .menu-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 560px) {
    .site-header .header-actions {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .site-brand__name {
        font-size: 2.125rem;
    }

    .site-nav {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 0;
        padding: 0;
        background: none;
        border: 0;
        overflow: visible;
    }

    .site-nav__list {
        flex-direction: row;
        gap: 0.25rem;
    }

    .site-nav__link {
        min-height: 44px;
        padding: 0.5rem 0.75rem;
        border: 0;
        font-size: 0.9375rem;
    }

    .site-nav__link[aria-current="page"] {
        box-shadow: inset 0 -2px 0 var(--c-gold);
    }

    .site-nav .site-nav__actions {
        display: none;
    }

    .menu-toggle {
        display: none;
    }
}

/* ============================================
   GLITCH BUTTON
   ============================================ */

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(180deg, #ffd760 0%, #f5c84a 55%, #e7b33a 100%);
    color: var(--c-ink);
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 1.0625rem;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    border: 0;
    border-radius: 2px;
    cursor: pointer;
    box-shadow: -3px 0 0 var(--c-cyan), 3px 0 0 var(--c-magenta), 0 6px 18px rgba(0, 0, 0, 0.35);
    transition: box-shadow 0.2s ease;
}

.btn::before,
.btn::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 12px;
    height: 2px;
    background: var(--c-gold);
    pointer-events: none;
}

.btn::before {
    right: 100%;
    margin-right: 4px;
    transform: translateY(-4px);
    box-shadow: -2px 6px 0 var(--c-cyan);
}

.btn::after {
    left: 100%;
    margin-left: 4px;
    transform: translateY(3px);
    box-shadow: 2px -6px 0 var(--c-magenta);
}

.btn:hover,
.btn:focus-visible {
    color: var(--c-ink);
    box-shadow: -5px 0 0 var(--c-cyan), 5px 0 0 var(--c-magenta), 0 8px 22px rgba(0, 0, 0, 0.45);
    animation: btn-jitter 0.32s steps(2, end) 1;
}

.btn--sm {
    min-height: 44px;
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.btn--sm::before,
.btn--sm::after {
    width: 8px;
}

@keyframes btn-jitter {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-2px, 1px); }
    50% { transform: translate(2px, -1px); }
    75% { transform: translate(-1px, -1px); }
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 44px;
    color: var(--c-gold-light);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

/* ============================================
   HERO
   ============================================ */

.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(26rem, 70vh, 40rem);
    padding-block: clamp(2.5rem, 7vw, 5rem) clamp(4rem, 10vw, 7rem);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-size: cover;
    background-position: 66% center;
    background-repeat: no-repeat;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 100%);
}

.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(18, 4, 31, 0.5) 0%, rgba(18, 4, 31, 0.62) 55%, rgba(18, 4, 31, 0.8) 100%),
        radial-gradient(ellipse 80% 70% at 30% 50%, rgba(18, 4, 31, 0.6), transparent 80%);
}

.hero--plain {
    background: radial-gradient(circle at 50% 22%, rgba(75, 227, 106, 0.32), rgba(140, 61, 255, 0.22) 30%, transparent 62%);
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
    width: min(100% - 2.5rem, var(--container));
}

.hero__copy {
    max-width: 40rem;
}

.hero__title {
    margin-bottom: 0.45em;
    text-shadow: -2px 0 rgba(46, 230, 255, 0.65), 2px 0 rgba(224, 60, 255, 0.65), 0 3px 16px rgba(0, 0, 0, 0.6);
}

.hero__intro {
    font-size: 1.125rem;
    color: var(--c-text-soft);
    max-width: 38rem;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    align-items: center;
    margin-top: 1.5rem;
}

.hero__note {
    margin-top: 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--c-text-muted);
}

.hero--mascot .hero__mascot {
    order: -1;
    justify-self: center;
    width: min(68vw, 300px);
}

.hero__mascot img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55));
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    margin: 0 0 1rem;
    padding: 0;
    font-size: 0.875rem;
    color: var(--c-text-muted);
}

.breadcrumbs li + li::before {
    content: "/";
    margin-right: 0.5rem;
    color: var(--c-magenta);
}

.breadcrumbs a {
    color: var(--c-text-soft);
    text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
    color: var(--c-gold);
    font-weight: 500;
}

@media (min-width: 768px) {
    .hero__bg {
        background-position: center center;
    }

    .hero__bg::after {
        background:
            radial-gradient(ellipse 55% 75% at 22% 50%, rgba(18, 4, 31, 0.85), rgba(18, 4, 31, 0.45) 55%, transparent 82%),
            linear-gradient(180deg, rgba(18, 4, 31, 0.25), rgba(18, 4, 31, 0.15) 60%, rgba(18, 4, 31, 0.6));
    }

    .hero--plain {
        background: radial-gradient(circle at 74% 52%, rgba(75, 227, 106, 0.32), rgba(140, 61, 255, 0.22) 28%, transparent 58%);
    }

    .hero--mascot .hero__inner {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    }

    .hero--mascot .hero__mascot {
        order: 0;
        width: 100%;
        max-width: 500px;
        align-self: end;
    }
}

/* ============================================
   SECTIONS & LAYOUT HELPERS
   ============================================ */

.section {
    position: relative;
    padding-block: var(--space-section);
}

.section--tight {
    padding-block: clamp(2rem, 5vw, 3.5rem);
}

.section-title {
    text-shadow: -1px 0 rgba(46, 230, 255, 0.55), 1px 0 rgba(224, 60, 255, 0.55);
}

.text-center {
    text-align: center;
}

.section-lead {
    max-width: 62ch;
    font-size: 1.0625rem;
    color: var(--c-text-soft);
}

.text-center .section-lead {
    margin-inline: auto;
}

.prose {
    max-width: 68ch;
    color: var(--c-text-soft);
}

.prose h3 {
    color: var(--c-text);
    margin-top: 1.5em;
}

.prose li {
    margin-bottom: 0.4em;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}

.card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0.875rem;
}

.stat-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}

.scroll-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(72%, 1fr);
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.5rem 0.25rem 1rem;
    scrollbar-color: var(--c-magenta) transparent;
}

.scroll-row > * {
    scroll-snap-align: start;
}

.actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    align-items: center;
    margin-top: 1.75rem;
}

.text-center .actions-row {
    justify-content: center;
}

@media (min-width: 600px) {
    .stat-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .split {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 3rem;
    }

    .card-grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .game-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

/* Darker full-width band with edge scanlines (live casino etc.) */
.scan-band {
    position: relative;
    isolation: isolate;
    background: #120420;
}

.scan-band::before,
.scan-band::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 12%;
    z-index: -1;
    pointer-events: none;
    background: repeating-linear-gradient(180deg,
        rgba(75, 227, 106, 0.45) 0 2px, transparent 2px 9px,
        rgba(46, 230, 255, 0.4) 9px 10px, transparent 10px 17px,
        rgba(160, 60, 255, 0.5) 17px 20px, transparent 20px 31px,
        rgba(46, 230, 255, 0.25) 31px 33px, transparent 33px 46px);
}

.scan-band::before {
    left: 0;
    -webkit-mask-image: linear-gradient(to right, #000, transparent);
    mask-image: linear-gradient(to right, #000, transparent);
}

.scan-band::after {
    right: 0;
    -webkit-mask-image: linear-gradient(to left, #000, transparent);
    mask-image: linear-gradient(to left, #000, transparent);
}

/* Glitch-data texture band (key facts, help strips) */
.data-band {
    position: relative;
    isolation: isolate;
    background: #10031c;
    padding-block: clamp(2rem, 5vw, 3rem);
}

.data-band::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        repeating-linear-gradient(180deg, transparent 0 7px, rgba(75, 227, 106, 0.22) 7px 9px, transparent 9px 15px, rgba(46, 230, 255, 0.18) 15px 16px, transparent 16px 24px),
        repeating-linear-gradient(90deg, rgba(75, 227, 106, 0.16) 0 18px, transparent 18px 26px, rgba(46, 230, 255, 0.13) 26px 31px, transparent 31px 60px, rgba(140, 61, 255, 0.2) 60px 84px, transparent 84px 97px);
    -webkit-mask-image: linear-gradient(90deg, #000 0, rgba(0, 0, 0, 0.55) 16%, rgba(0, 0, 0, 0.1) 36%, rgba(0, 0, 0, 0.1) 64%, rgba(0, 0, 0, 0.55) 84%, #000 100%);
    mask-image: linear-gradient(90deg, #000 0, rgba(0, 0, 0, 0.55) 16%, rgba(0, 0, 0, 0.1) 36%, rgba(0, 0, 0, 0.1) 64%, rgba(0, 0, 0, 0.55) 84%, #000 100%);
}

/* ============================================
   GLITCH CARD
   ============================================ */

.glitch-card {
    position: relative;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: linear-gradient(160deg, #41176f, #33115c);
    border: 2px solid var(--c-magenta);
    box-shadow: var(--glitch-shadow);
    color: var(--c-text);
    text-decoration: none;
}

.glitch-card__icon {
    flex: none;
    width: 48px;
    height: 48px;
    color: var(--c-gold);
}

.glitch-card__icon .icon {
    width: 100%;
    height: 100%;
}

.glitch-card__body {
    flex: 1 1 auto;
    min-width: 0;
}

.glitch-card__title {
    margin: 0 0 0.35rem;
    font-size: 1.125rem;
    text-transform: none;
}

.glitch-card__text {
    margin: 0;
    color: var(--c-text-soft);
}

.glitch-card__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 0.25rem;
    color: var(--c-gold-light);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.glitch-card__arrow {
    flex: none;
    align-self: center;
    width: 28px;
    height: 28px;
    color: var(--c-gold);
    transition: transform 0.2s ease;
}

.glitch-card__arrow .icon {
    width: 100%;
    height: 100%;
}

.glitch-card--link {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.glitch-card--link:hover,
.glitch-card--link:focus-visible {
    color: var(--c-text);
    transform: translate(2px, -3px);
    border-color: var(--c-cyan);
    box-shadow: -5px 5px 0 var(--c-magenta);
}

.glitch-card--link:hover .glitch-card__arrow {
    transform: translateX(4px);
}

.glitch-card--stack {
    flex-direction: column;
}

/* ============================================
   GAME CARD / FRAMED MEDIA
   ============================================ */

.game-card,
.frame {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    background: var(--c-panel-2);
    border: 1px solid var(--c-magenta);
    color: var(--c-text);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.frame {
    border-width: 2px;
}

.game-card::after,
.frame::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border: 2px solid var(--c-cyan);
    transform: translate(3px, 3px);
    pointer-events: none;
}

.game-card__media {
    display: block;
    overflow: hidden;
    background: #240a40;
}

.game-card__media img,
.frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card__label {
    display: block;
    padding: 0.55rem 0.75rem;
    background: var(--c-panel-3);
    border-top: 1px solid var(--c-magenta);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
}

.game-card__caption {
    display: block;
    padding: 0.75rem;
    font-size: 0.9375rem;
    color: var(--c-text-soft);
    background: var(--c-panel-2);
}

a.game-card:hover,
a.game-card:focus-visible {
    color: var(--c-text);
    transform: translateY(-4px);
}

a.game-card:hover::after,
a.game-card:focus-visible::after {
    animation: chroma-jitter 0.36s steps(3, end) 1;
}

@keyframes chroma-jitter {
    0% { transform: translate(3px, 3px); }
    33% { transform: translate(-3px, 2px); border-color: var(--c-magenta); }
    66% { transform: translate(4px, -2px); }
    100% { transform: translate(3px, 3px); }
}

/* ============================================
   TICKET SURFACE
   ============================================ */

.ticket {
    position: relative;
    filter: drop-shadow(-3px 0 0 var(--c-cyan)) drop-shadow(3px 0 0 var(--c-magenta)) drop-shadow(0 12px 22px rgba(0, 0, 0, 0.45));
}

.ticket__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    clip-path: polygon(
        10px 0, calc(100% - 10px) 0,
        calc(100% - 4px) 6%, 100% 10%, calc(100% - 8px) 15%, calc(100% - 2px) 22%, calc(100% - 9px) 28%, 100% 35%, calc(100% - 5px) 42%, calc(100% - 10px) 48%, 100% 55%, calc(100% - 6px) 62%, calc(100% - 1px) 69%, calc(100% - 9px) 75%, 100% 82%, calc(100% - 4px) 89%, calc(100% - 8px) 95%, calc(100% - 10px) 100%,
        10px 100%,
        6px 95%, 0 89%, 8px 82%, 2px 75%, 9px 68%, 0 61%, 5px 54%, 10px 48%, 0 41%, 6px 34%, 1px 27%, 9px 21%, 0 14%, 4px 8%
    );
}

.ticket__stub {
    position: relative;
    padding: clamp(2rem, 5vw, 2.75rem) clamp(1.75rem, 5vw, 3rem);
}

.ticket__stub--cream {
    color: var(--c-ink);
    background: radial-gradient(ellipse at 30% 20%, #f8ead0 0%, #ecd6a6 65%, #dcbd83 100%);
}

.ticket__stub--cream::after {
    content: "";
    position: absolute;
    inset: clamp(12px, 2.5vw, 24px);
    border: 2px dashed var(--c-magenta);
    border-radius: 6px;
    pointer-events: none;
}

.ticket__stub--cream :is(h2, h3, h4) {
    color: var(--c-ink);
    text-shadow: none;
}

.ticket__stub--cream a:not([class]) {
    color: var(--c-ink-link);
}

.ticket__stub--cream li::marker {
    color: #a0189f;
}

.ticket__stub--purple {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    text-align: center;
    color: var(--c-text);
    background: radial-gradient(circle at 50% 30%, #4d1b86 0%, #2c0c52 100%);
}

.ticket__stub--purple::after {
    content: "";
    position: absolute;
    inset: 12px;
    border: 2px solid var(--c-magenta);
    border-radius: 6px;
    pointer-events: none;
}

.ticket__stub--purple > * {
    position: relative;
    z-index: 1;
}

/* Perforation between stubs */
.ticket__stub--purple::before {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    top: 0;
    border-top: 3px dashed var(--c-cream);
    pointer-events: none;
}

.ticket__body > .ticket__stub--cream:not(:only-child) {
    -webkit-mask:
        radial-gradient(circle at 0 100%, #0000 14px, #000 15px) left / 51% 100% no-repeat,
        radial-gradient(circle at 100% 100%, #0000 14px, #000 15px) right / 51% 100% no-repeat;
    mask:
        radial-gradient(circle at 0 100%, #0000 14px, #000 15px) left / 51% 100% no-repeat,
        radial-gradient(circle at 100% 100%, #0000 14px, #000 15px) right / 51% 100% no-repeat;
}

.ticket__body > .ticket__stub--purple:not(:only-child) {
    -webkit-mask:
        radial-gradient(circle at 0 0, #0000 14px, #000 15px) left / 51% 100% no-repeat,
        radial-gradient(circle at 100% 0, #0000 14px, #000 15px) right / 51% 100% no-repeat;
    mask:
        radial-gradient(circle at 0 0, #0000 14px, #000 15px) left / 51% 100% no-repeat,
        radial-gradient(circle at 100% 0, #0000 14px, #000 15px) right / 51% 100% no-repeat;
}

.ticket__figure {
    margin: 0;
    font-family: var(--f-display);
    font-weight: 900;
    font-size: clamp(1.75rem, 1.2rem + 2.6vw, 2.5rem);
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: -2px 0 rgba(46, 230, 255, 0.6), 2px 0 rgba(224, 60, 255, 0.6);
}

@media (min-width: 768px) {
    .ticket__body {
        grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    }

    .ticket__stub--purple::before {
        left: 0;
        right: auto;
        top: 16px;
        bottom: 16px;
        border-top: 0;
        border-left: 3px dashed var(--c-cream);
    }

    .ticket__body > .ticket__stub--cream:not(:only-child) {
        -webkit-mask:
            radial-gradient(circle at 100% 0, #0000 14px, #000 15px) top / 100% 51% no-repeat,
            radial-gradient(circle at 100% 100%, #0000 14px, #000 15px) bottom / 100% 51% no-repeat;
        mask:
            radial-gradient(circle at 100% 0, #0000 14px, #000 15px) top / 100% 51% no-repeat,
            radial-gradient(circle at 100% 100%, #0000 14px, #000 15px) bottom / 100% 51% no-repeat;
    }

    .ticket__body > .ticket__stub--purple:not(:only-child) {
        -webkit-mask:
            radial-gradient(circle at 0 0, #0000 14px, #000 15px) top / 100% 51% no-repeat,
            radial-gradient(circle at 0 100%, #0000 14px, #000 15px) bottom / 100% 51% no-repeat;
        mask:
            radial-gradient(circle at 0 0, #0000 14px, #000 15px) top / 100% 51% no-repeat,
            radial-gradient(circle at 0 100%, #0000 14px, #000 15px) bottom / 100% 51% no-repeat;
    }
}

/* ============================================
   TABLES
   ============================================ */

.table-wrap {
    max-width: 100%;
    overflow-x: auto;
    background: var(--c-panel-2);
    border: 2px solid var(--c-magenta);
    box-shadow: var(--glitch-shadow);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.data-table caption {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 700;
    color: var(--c-text-soft);
}

.data-table th,
.data-table td {
    padding: 0.8rem 1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #4a1d7d;
}

.data-table thead th {
    background: var(--c-aubergine);
    color: var(--c-gold);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.data-table tbody tr:nth-child(odd) {
    background: #381364;
}

.data-table tbody tr:nth-child(even) {
    background: #2d0f54;
}

.data-table tbody th {
    font-weight: 700;
    color: var(--c-text);
}

.data-table td {
    color: var(--c-text-soft);
}

.data-table .is-yes {
    color: var(--c-green);
}

.data-table .is-no {
    color: #b9a6d1;
}

.data-table--cream thead th {
    background: var(--c-ink);
}

.data-table--cream tbody tr:nth-child(odd) {
    background: rgba(255, 250, 235, 0.55);
}

.data-table--cream tbody tr:nth-child(even) {
    background: rgba(214, 180, 120, 0.3);
}

.data-table--cream th,
.data-table--cream td,
.data-table--cream tbody th {
    color: var(--c-ink);
    border-bottom-color: rgba(42, 11, 63, 0.18);
}

@media (max-width: 767px) {
    .data-table--stack thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .data-table--stack,
    .data-table--stack tbody,
    .data-table--stack tr,
    .data-table--stack th,
    .data-table--stack td {
        display: block;
        width: 100%;
    }

    .data-table--stack tr {
        padding: 0.5rem 0;
        border-bottom: 2px solid var(--c-magenta);
    }

    .data-table--stack th,
    .data-table--stack td {
        border: 0;
        padding: 0.35rem 1rem;
    }

    .data-table--stack td[data-label] {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        text-align: right;
    }

    .data-table--stack td[data-label]::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--c-gold);
        text-align: left;
    }

    .data-table--cream.data-table--stack td[data-label]::before {
        color: var(--c-ink-link);
    }
}

/* ============================================
   CALLOUT / CALC / LISTS / STATS
   ============================================ */

.callout {
    position: relative;
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
    padding: 1.1rem 1.25rem 1.1rem 1.75rem;
    background: var(--c-panel);
    border: 1px solid #6a2fa8;
    color: var(--c-text);
}

.callout::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 10px;
    bottom: 10px;
    border-left: 3px dashed var(--c-cream);
}

.callout--warn {
    padding-left: 1.25rem;
    border: 0;
    border-left: 5px solid var(--c-green);
    background: #24093f;
}

.callout--warn::before {
    display: none;
}

.callout__icon {
    flex: none;
    width: 28px;
    height: 28px;
    color: var(--c-gold);
}

.callout__icon .icon {
    width: 100%;
    height: 100%;
}

.callout__title {
    margin: 0 0 0.25rem;
    font-weight: 700;
}

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

.calc-panel {
    padding: 1rem 1.25rem;
    font-family: var(--f-mono);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--c-text);
    background: #1c0838;
    border-left: 4px solid var(--c-cyan);
}

.calc-panel strong {
    color: var(--c-gold);
}

.suit-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}

.suit-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.65rem;
}

.suit-list li::before {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.15rem;
    line-height: 1.5;
    font-variant-emoji: text;
}

.suit-list li:nth-child(4n+1)::before { content: "\2660\FE0E"; color: var(--c-gold); }
.suit-list li:nth-child(4n+2)::before { content: "\2665\FE0E"; color: var(--c-green); }
.suit-list li:nth-child(4n+3)::before { content: "\2666\FE0E"; color: var(--c-gold); }
.suit-list li:nth-child(4n+4)::before { content: "\2663\FE0E"; color: var(--c-green); }

.stat-tile {
    padding: 1.4rem 1rem;
    text-align: center;
    background: var(--c-panel);
    border: 2px solid var(--c-magenta);
    box-shadow: var(--glitch-shadow);
}

.stat-tile__value {
    display: inline-block;
    margin: 0 0 0.6rem;
    padding-bottom: 0.35rem;
    font-family: var(--f-display);
    font-weight: 900;
    font-size: clamp(2rem, 1.5rem + 2.4vw, 2.75rem);
    line-height: 1;
    color: var(--c-gold);
    border-bottom: 3px solid var(--c-cyan);
    box-shadow: 0 3px 0 var(--c-magenta);
}

.stat-tile__label {
    margin: 0;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.stat-tile__note {
    margin: 0.4rem 0 0;
    font-size: 0.875rem;
    color: var(--c-text-muted);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.875rem;
    align-items: start;
    max-width: 52rem;
}

.faq-item {
    background: var(--c-panel-2);
    border: 2px solid var(--c-magenta);
    box-shadow: 3px 3px 0 rgba(46, 230, 255, 0.45);
    transition: box-shadow 0.2s ease;
}

.faq-item[open] {
    box-shadow: inset 4px 0 0 var(--c-green), -3px 0 18px rgba(75, 227, 106, 0.35), 3px 3px 0 rgba(46, 230, 255, 0.45);
}

.faq-item__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 56px;
    padding: 1rem 1.25rem;
    cursor: pointer;
    list-style: none;
}

.faq-item__summary::-webkit-details-marker {
    display: none;
}

.faq-item__summary:focus-visible {
    outline: 3px solid var(--c-cyan);
    outline-offset: -3px;
}

.faq-item__q {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
    text-transform: none;
    color: var(--c-text);
}

.faq-item__icon {
    flex: none;
    width: 28px;
    height: 28px;
    color: var(--c-gold);
    transition: transform 0.25s ease;
}

.faq-item__icon .icon {
    width: 100%;
    height: 100%;
}

.faq-item[open] .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__a {
    padding: 0 1.25rem 1.2rem;
    color: var(--c-text-soft);
}

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

.faq-list--calm .faq-item {
    background: #1e0936;
    border: 1px solid var(--c-calm-border);
    box-shadow: none;
}

.faq-list--calm .faq-item[open] {
    box-shadow: none;
}

/* ============================================
   CALM PANEL (responsible gambling)
   ============================================ */

.calm-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
    padding: clamp(1.25rem, 4vw, 2.25rem);
    background: #170629;
    border: 1px solid var(--c-calm-border);
    color: var(--c-text-soft);
}

.calm-panel h2,
.calm-panel h3 {
    text-shadow: none;
}

.badge-18 {
    display: block;
    flex: none;
    width: 64px;
    height: 64px;
}

@media (min-width: 600px) {
    .calm-panel {
        grid-template-columns: auto minmax(0, 1fr);
    }
}

/* ============================================
   CTA BAND
   ============================================ */

.cta-band {
    position: relative;
    padding-block: var(--space-section);
    text-align: center;
}

.cta-band__inner {
    max-width: 46rem;
    margin-inline: auto;
    padding: clamp(1.75rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2.75rem);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(75, 227, 106, 0.18), transparent 60%),
        #220a3d;
    border: 2px solid var(--c-magenta);
    box-shadow: -4px 4px 0 rgba(46, 230, 255, 0.8);
}

.cta-band__title {
    text-shadow: -1px 0 rgba(46, 230, 255, 0.55), 1px 0 rgba(224, 60, 255, 0.55);
}

.cta-band__text {
    color: var(--c-text-soft);
    font-size: 1.0625rem;
    margin-bottom: 1.5rem;
}

.cta-band__note {
    margin: 1.25rem 0 0;
    font-size: 0.875rem;
    color: var(--c-text-muted);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    position: relative;
    padding: 2.5rem 0 1.75rem;
    background: var(--c-bg-deep);
    border-top: 2px solid var(--c-magenta);
    box-shadow: 0 -6px 24px rgba(224, 60, 255, 0.22);
    color: var(--c-text-muted);
    font-size: 0.9375rem;
}

.site-footer__inner {
    max-width: 52rem;
}

.footer-nav {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 1.5rem;
    margin: 0;
    padding: 0 0 1.25rem;
    border-bottom: 1px solid #35145a;
}

.footer-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--c-text);
    font-weight: 700;
    font-size: 1.0625rem;
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--c-gold);
    text-decoration: underline;
}

.footer-rg {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    max-width: 40rem;
    margin: 1.75rem auto;
}

.footer-rg__title {
    margin: 0 0 0.25rem;
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--c-text);
}

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

.footer-licence {
    padding-block: 1.25rem;
    border-top: 1px solid #35145a;
    border-bottom: 1px solid #35145a;
    text-align: center;
    font-size: 0.875rem;
}

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

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

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1.5rem;
    padding-top: 1.25rem;
    font-size: 0.875rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--c-gold-light);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

/* ============================================
   HOMEPAGE
   ============================================ */

.hero__eyebrow {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--c-gold);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

@media (min-width: 1024px) {
    .hero--home {
        min-height: clamp(34rem, 80vh, 44rem);
    }

    .hero--home .hero__mascot {
        max-width: 520px;
    }
}

/* Welcome ticket */
.welcome-ticket {
    max-width: 60rem;
    margin: 2.25rem auto 0;
}

.ticket__stub--cream > * {
    position: relative;
    z-index: 1;
}

.ticket-steps {
    list-style: none;
    display: grid;
    gap: 0.4rem;
    margin: 0 0 1rem;
    padding: 0;
    font-weight: 500;
}

.ticket-steps li {
    display: flex;
    gap: 0.6rem;
}

.ticket-steps strong {
    flex: none;
    color: #8a1490;
}

.ticket-terms {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}

.ticket-terms li {
    margin-bottom: 0.35rem;
}

.ticket-caveat {
    margin: 0;
    font-size: 0.875rem;
    font-style: italic;
}

.ticket__sub {
    margin: 0;
    font-weight: 500;
    color: var(--c-text-soft);
}

.welcome-links {
    margin-top: 1.75rem;
}

.welcome-links__note {
    max-width: 52ch;
    margin: 0.5rem auto 0;
    color: var(--c-text-soft);
}

/* Slots */
.slots-grid {
    margin-top: 2rem;
}

.slots-note {
    margin: 1.25rem 0 0;
    font-size: 0.875rem;
    color: var(--c-text-muted);
}

.slots-actions {
    justify-content: center;
}

/* Live casino */
.live-copy p {
    color: var(--c-text-soft);
}

.live-media {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.875rem;
}

.live-thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.live-thumbs .game-card__label {
    padding: 0.4rem 0.25rem;
    font-size: 0.6875rem;
    letter-spacing: 0.03em;
}

@media (min-width: 768px) {
    .live-thumbs .game-card__label {
        font-size: 0.8125rem;
    }
}

/* Sportsbook panels */
.sport-copy p {
    color: var(--c-text-soft);
}

.sport-panels {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(58%, 1fr);
    gap: 0.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.5rem 0 1rem;
    scrollbar-color: var(--c-magenta) transparent;
}

.sport-panel {
    position: relative;
    margin: 0;
    padding: 3px;
    scroll-snap-align: start;
    background: linear-gradient(90deg, var(--c-cyan) 0 50%, var(--c-magenta) 50% 100%);
    clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%);
}

.sport-panel img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%);
}

@media (min-width: 768px) {
    .sport-panels {
        display: flex;
        overflow: visible;
        padding: 2.25rem 0 0.5rem;
    }

    .sport-panel {
        flex: 1 1 0;
        z-index: 1;
    }

    .sport-panel + .sport-panel {
        margin-left: -9%;
    }

    .sport-panel:nth-child(2) {
        z-index: 2;
        transform: translateY(-1.75rem);
    }
}

/* Key facts */
.facts-grid {
    margin-top: 2rem;
}

/* Responsible gambling */
.rg-band {
    background: var(--c-bg-deep);
}

.rg-band .calm-panel h2 {
    font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.75rem);
}

.rg-band .calm-panel p:last-child {
    margin-bottom: 0;
}

/* ============================================
   BONUSSER */

.ticket--single .ticket__body {
    grid-template-columns: minmax(0, 1fr);
}

.data-table--cream caption {
    color: var(--c-ink);
}

.bonus-note {
    max-width: 60rem;
    margin: 2rem auto 0;
}

.bonus-review {
    max-width: 62ch;
    margin: 1.5rem auto 0;
    color: var(--c-text-soft);
}

.section-actions {
    justify-content: center;
}

.calc-panel {
    margin-bottom: 1rem;
}

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

.calc-note {
    color: var(--c-text-soft);
}

/* Weekly offer tickets */
.offer-grid {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    margin-top: 2.25rem;
}

.offer-grid::before {
    content: "";
    position: absolute;
    left: 4%;
    right: 4%;
    bottom: -1.75rem;
    height: 4.5rem;
    z-index: -1;
    background: radial-gradient(ellipse at 50% 0, rgba(75, 227, 106, 0.35), rgba(140, 61, 255, 0.28) 50%, transparent 72%);
    filter: blur(10px);
    pointer-events: none;
}

.offer-ticket {
    padding: 1.75rem 1.5rem 1.5rem;
    color: var(--c-text);
    background: linear-gradient(160deg, #4a1a80, #2d0f54);
    border: 2px solid var(--c-magenta);
    -webkit-mask:
        radial-gradient(circle at 0 50%, #0000 11px, #000 12px) left / 51% 100% no-repeat,
        radial-gradient(circle at 100% 50%, #0000 11px, #000 12px) right / 51% 100% no-repeat;
    mask:
        radial-gradient(circle at 0 50%, #0000 11px, #000 12px) left / 51% 100% no-repeat,
        radial-gradient(circle at 100% 50%, #0000 11px, #000 12px) right / 51% 100% no-repeat;
}

.offer-ticket h3 {
    margin-bottom: 0.5rem;
    color: var(--c-gold);
}

.offer-ticket__figure {
    margin: 0 0 1rem;
    padding-bottom: 0.9rem;
    font-family: var(--f-display);
    font-weight: 900;
    font-size: 1.5rem;
    line-height: 1.15;
    text-transform: uppercase;
    border-bottom: 2px dashed var(--c-cream);
}

.offer-ticket p {
    color: var(--c-text-soft);
}

.offer-ticket .offer-ticket__catch {
    margin-bottom: 0;
    color: var(--c-text);
}

@media (min-width: 768px) {
    .offer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Coins shop image */
.bonus-figure {
    margin: 0;
    align-self: center;
}

.bonus-figure img {
    height: auto;
}

.stat-row--single {
    grid-template-columns: minmax(0, 24rem);
}

.faq-more {
    margin-top: 1.5rem;
}

/* ============================================
   SPIL */

/* Lobby cards: swipe row on mobile, 5 columns on desktop */
.lobby-row {
    list-style: none;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(72%, 1fr);
    gap: 1rem;
    margin: 2rem 0 0;
    padding: 0.5rem 0.5rem 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--c-magenta) transparent;
}

.lobby-card {
    scroll-snap-align: start;
    padding: 1.25rem 1.1rem 1.4rem;
    background: linear-gradient(160deg, #3a1466, #2a0e4c);
    border: 2px solid var(--c-magenta);
    box-shadow: var(--glitch-shadow);
}

.lobby-card__icon {
    display: block;
    width: 56px;
    height: 56px;
    margin-bottom: 0.9rem;
    color: var(--c-gold);
    filter: drop-shadow(2px 0 0 var(--c-green));
}

.lobby-card__icon .icon {
    width: 100%;
    height: 100%;
}

.lobby-card h3 {
    margin-bottom: 0.4rem;
    font-size: 1.125rem;
    color: var(--c-gold);
}

.lobby-card p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--c-text-soft);
}

.lobby-note {
    max-width: 62ch;
    margin: 1.25rem auto 0;
    color: var(--c-text-soft);
}

@media (min-width: 640px) {
    .lobby-row {
        grid-auto-columns: minmax(40%, 1fr);
    }
}

@media (min-width: 1024px) {
    .lobby-row {
        grid-auto-flow: row;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        grid-auto-columns: auto;
        overflow: visible;
        padding: 0.5rem 0 1rem;
    }
}

/* Jackpots */
.jackpot-copy {
    max-width: 52rem;
}

.jackpot-copy p {
    color: var(--c-text-soft);
}

.jackpot-banner {
    margin: 2rem 0 0;
}

.jackpot-banner img {
    height: auto;
    aspect-ratio: 8 / 3;
}

/* Show / crash cards */
.show-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.show-grid .game-card__label {
    font-size: 1rem;
}

.show-grid .game-card__caption {
    flex: 1 1 auto;
}

@media (min-width: 768px) {
    .show-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.75rem;
    }
}

/* 0% note: ticket stub with perforated left edge */
.stub-note {
    position: relative;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    max-width: 52rem;
    margin: 2.25rem auto 0;
    padding: 1.25rem 1.25rem 1.25rem 2rem;
    background: #24093f;
    border: 1px solid #6a2fa8;
    border-left: 0;
    color: var(--c-text-soft);
}

.stub-note::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    border-left: 4px dashed var(--c-gold);
}

.stub-note__icon {
    flex: none;
    width: 36px;
    height: 36px;
    color: var(--c-gold);
}

.stub-note__icon .icon {
    width: 100%;
    height: 100%;
}

.stub-note__title {
    margin: 0 0 0.25rem;
    font-family: var(--f-display);
    font-weight: 900;
    font-size: 1.25rem;
    text-transform: uppercase;
    color: var(--c-gold);
}

.stub-note p:last-child {
    margin-bottom: 0;
}

/* Sportsbook tools */
.tool-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1.25rem 0 0;
    padding: 0;
}

.tool-chip {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 56px;
    padding: 0.6rem 0.75rem;
    font-weight: 700;
    font-size: 0.9375rem;
    background: linear-gradient(160deg, #3a1466, #2a0e4c);
    border: 2px solid var(--c-magenta);
    box-shadow: -3px 3px 0 rgba(46, 230, 255, 0.7);
}

.tool-chip__icon {
    flex: none;
    width: 28px;
    height: 28px;
    color: var(--c-gold);
}

.tool-chip__icon .icon {
    width: 100%;
    height: 100%;
}

.sport-figure {
    margin: 0;
}

.sport-figure img {
    height: auto;
    aspect-ratio: 12 / 7;
}

/* Providers */
.providers-stats {
    margin-top: 2rem;
}

.provider-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin: 2rem 0 0;
    padding: 0;
}

.provider-list li {
    padding: 0.45rem 1rem;
    font-weight: 700;
    font-size: 0.9375rem;
    background: var(--c-panel-2);
    border: 1px solid var(--c-magenta);
}

/* Mobile */
.mobile-art {
    display: flex;
    justify-content: center;
}

.mobile-art svg {
    width: 120px;
    height: auto;
    filter: drop-shadow(-3px 0 0 var(--c-cyan)) drop-shadow(3px 0 0 var(--c-magenta));
}

.mobile-copy p {
    color: var(--c-text-soft);
}

/* ============================================
   OM OS */

.story-copy p,
.support-copy p {
    color: var(--c-text-soft);
}

.story-side {
    padding: 1.5rem 1.25rem 0.5rem;
    background: linear-gradient(160deg, #3a1466, #2a0e4c);
    border: 2px solid var(--c-magenta);
    box-shadow: var(--glitch-shadow);
}

.fact-ticket {
    max-width: 44rem;
    margin: 2rem auto 0;
}

.fact-scroll {
    max-width: 100%;
    overflow-x: auto;
}

.fact-ticket .data-table {
    background: transparent;
}

.fact-ticket .data-table th,
.fact-ticket .data-table td {
    white-space: normal;
}

.fact-note {
    max-width: 44rem;
    margin: 1.75rem auto 0;
    color: var(--c-text-soft);
}

.security-chips {
    margin-bottom: 1.25rem;
}

.security-note {
    max-width: 62ch;
    color: var(--c-text-soft);
}

@media (min-width: 600px) {
    .security-chips {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Complaint steps with suit-node connector */
.complaint-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: step;
}

.complaint-steps li {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-height: 6rem;
    padding: 0 0 1.75rem 3.25rem;
    color: var(--c-text-soft);
}

.complaint-steps li:last-child {
    min-height: 0;
    padding-bottom: 0;
}

.complaint-steps li strong {
    color: var(--c-text);
    font-size: 1.0625rem;
    padding-top: 0.15rem;
}

.complaint-steps .step-node {
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 100%;
    overflow: visible;
}

/* Strengths and limits */
.pc-grid {
    margin-top: 2rem;
}

.pc-panel {
    padding: 1.5rem 1.25rem 0.75rem;
    background: linear-gradient(160deg, #3a1466, #2a0e4c);
    border: 2px solid var(--c-magenta);
    box-shadow: var(--glitch-shadow);
}

.pc-panel--limit {
    border-color: var(--c-calm-border);
    box-shadow: none;
    background: #1e0936;
}

.pc-panel h3 {
    color: var(--c-gold);
}

.pc-panel .suit-list li {
    color: var(--c-text-soft);
}

/* ============================================
   VIP
   ============================================ */

/* Tier table with marquee-bulb connector */
.tier-ticket {
    position: relative;
    margin-top: 2rem;
    padding-left: 2.25rem;
}

.tier-line {
    position: absolute;
    left: 0.6rem;
    top: 0;
    width: 16px;
    height: 100%;
    pointer-events: none;
}

.tier-name {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.tier-badge {
    flex: none;
    width: 32px;
    height: 32px;
    filter: drop-shadow(1px 0 0 var(--c-green));
}

.data-table--stack .tier-name {
    padding-block: 0.15rem;
}

/* Cashback example */
.cashback-example .calc-panel {
    margin-bottom: 1rem;
}

.cashback-copy p {
    color: var(--c-text-soft);
}

/* Ticket chips */
.reward-chips {
    list-style: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin: 2rem 0;
    padding: 0;
}

.reward-chip {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-height: 72px;
    padding: 0.9rem 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.9375rem;
    color: var(--c-text);
    background: linear-gradient(160deg, #3a1466, #2a0e4c);
    border: 2px dashed var(--c-gold);
    box-shadow: -3px 3px 0 rgba(46, 230, 255, 0.7);
}

.reward-chip svg {
    flex: none;
    width: 40px;
    height: 40px;
    color: var(--c-gold);
}

.rewards-split p {
    color: var(--c-text-soft);
}

@media (min-width: 600px) {
    .reward-chips {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Limits */
.limits-row {
    margin-top: 2rem;
}

.limits-note {
    margin: 1.25rem 0 0;
    color: var(--c-text-soft);
}

/* High roller */
.roller-copy p {
    color: var(--c-text-soft);
}

.roller-ticket {
    max-width: 28rem;
    width: 100%;
    margin-inline: auto;
}

/* ============================================
   BETALINGER
   ============================================ */

/* Hero: fade into base colour + RGB glitch slices on lower edge */
body[data-page="betalinger"] .hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4rem;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent 0 6%, #e03cff 6% 19%, transparent 19% 33%, #2ee6ff 33% 41%, transparent 41% 58%, #e03cff 58% 72%, transparent 72% 80%, #2ee6ff 80% 93%, transparent 93%) 0 calc(100% - 2px) / 100% 3px no-repeat,
        linear-gradient(90deg, transparent 0 14%, #2ee6ff 14% 27%, transparent 27% 46%, #e03cff 46% 55%, transparent 55% 66%, #2ee6ff 66% 77%, transparent 77% 90%, #e03cff 90% 98%, transparent 98%) 0 calc(100% - 8px) / 100% 3px no-repeat,
        linear-gradient(90deg, transparent 0 22%, #4be36a 22% 30%, transparent 30% 62%, #4be36a 62% 70%, transparent 70%) 0 calc(100% - 14px) / 100% 2px no-repeat,
        linear-gradient(to top, #1a0730 0%, rgba(26, 7, 48, 0) 100%);
}

.pay-table {
    margin-top: 1.75rem;
}

.pay-table--narrow {
    max-width: 36rem;
    margin-inline: auto;
}

.bonus-cell {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.bonus-cell .icon {
    width: 1.25rem;
    height: 1.25rem;
}

.pay-after {
    max-width: 62ch;
    margin: 1.5rem 0 0;
    color: var(--c-text-soft);
}

.pay-table--narrow + .pay-after {
    margin-inline: auto;
}

/* Withdrawal timeline */
.timeline-wrap {
    position: relative;
    max-width: 52rem;
    margin: 2rem auto;
}

.timeline {
    list-style: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.timeline__step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-height: 2.5rem;
    padding-left: 3.5rem;
    color: var(--c-text-soft);
}

.timeline__step strong {
    color: var(--c-text);
    font-size: 1.0625rem;
    padding-top: 0.15rem;
}

.timeline__node {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffd760, #e7b33a);
    color: var(--c-ink);
    font-family: var(--f-display);
    font-weight: 900;
    font-size: 1.125rem;
    box-shadow: -2px 0 0 var(--c-cyan), 2px 0 0 var(--c-magenta);
}

.timeline__line {
    position: absolute;
    pointer-events: none;
}

.timeline__line--h {
    display: none;
}

.timeline__line--v {
    display: block;
    left: 16px;
    top: 20px;
    bottom: 20px;
    width: 8px;
    height: calc(100% - 40px);
}

@media (min-width: 768px) {
    .timeline {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }

    .timeline__step {
        align-items: center;
        padding-left: 0.5rem;
        padding-top: 3.5rem;
        text-align: center;
    }

    .timeline__node {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline__line--v {
        display: none;
    }

    .timeline__line--h {
        display: block;
        left: 16.66%;
        right: 16.66%;
        top: 16px;
        width: 66.66%;
        height: 10px;
    }
}

/* Limits */
.limit-tiles {
    margin-top: 2rem;
}

.limit-bullets {
    max-width: 44rem;
    margin: 2rem auto 0;
    color: var(--c-text-soft);
}

/* KYC + turnover */
.kyc-copy p,
.turnover-copy p {
    color: var(--c-text-soft);
}

.turnover-title {
    font-size: clamp(1.375rem, 1.1rem + 1.4vw, 2rem);
}

/* Currency */
.currency-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    align-items: center;
}

.currency-grid p {
    color: var(--c-text-soft);
}

@media (min-width: 1024px) {
    .currency-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        gap: 3rem;
    }
}

/* Excluded methods */
.excluded-panel__icon {
    display: block;
    width: 56px;
    height: 56px;
    color: var(--c-gold);
}

.excluded-panel__icon .icon {
    width: 100%;
    height: 100%;
}

.excluded-panel h2 {
    font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.75rem);
}

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

/* Security watermark */
.security-section {
    position: relative;
}

.security-watermark {
    position: absolute;
    right: -2rem;
    top: 50%;
    width: min(70vw, 24rem);
    height: auto;
    transform: translateY(-50%);
    pointer-events: none;
}

.security-body {
    position: relative;
    z-index: 1;
}

.security-body p {
    color: var(--c-text-soft);
}

.security-body .suit-list {
    max-width: 52rem;
    color: var(--c-text-soft);
}

/* Related links */
.related-grid {
    margin-top: 1.5rem;
}

.related-grid .glitch-card--link {
    align-items: center;
}

/* ============================================
   FAQ PAGE
   ============================================ */

/* Hero: mascot with drifting question marks */
.faq-hero .hero__mascot {
    position: relative;
}

.faq-hero .hero__mascot img {
    position: relative;
    z-index: 1;
}

.faq-qmarks {
    position: absolute;
    inset: -4% -12%;
    width: 124%;
    max-width: none;
    height: 108%;
    z-index: 0;
    overflow: visible;
    pointer-events: none;
    animation: qmark-drift 9s ease-in-out infinite alternate;
}

@keyframes qmark-drift {
    from { transform: translate(0, 0) rotate(-2deg); }
    to { transform: translate(8px, -14px) rotate(2deg); }
}

/* Topic jump chips */
.topic-chips {
    margin-top: 1.5rem;
}

.topic-chips__list {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    margin: 0;
    padding: 0.25rem 0.25rem 0.75rem;
    overflow-x: auto;
    scrollbar-color: var(--c-magenta) transparent;
}

.topic-chip {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.4rem 1rem;
    white-space: nowrap;
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--c-text);
    text-decoration: none;
    background: var(--c-panel-2);
    border: 2px solid var(--c-gold);
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.topic-chip:hover,
.topic-chip:active,
.topic-chip:focus-visible {
    background: var(--c-gold);
    color: var(--c-ink);
}

@media (min-width: 768px) {
    .topic-chips__list {
        flex-wrap: wrap;
        overflow: visible;
    }
}

/* FAQ groups */
.faq-section--alt {
    background: #120420;
}

.faq-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.faq-group__icon {
    display: block;
    width: 48px;
    height: 48px;
    margin-bottom: 0.75rem;
    color: var(--c-gold);
    filter: drop-shadow(2px 0 0 var(--c-green));
}

.faq-group__icon .icon {
    width: 100%;
    height: 100%;
}

.faq-group__head h2 {
    margin-bottom: 0.5rem;
    font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.125rem);
}

.faq-group__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.faq-group .faq-list {
    max-width: none;
}

.faq-section--calm .faq-group__head h2 {
    text-shadow: none;
}

.faq-calm {
    margin-bottom: 1rem;
    align-items: center;
}

.faq-calm p {
    margin: 0;
}

@media (min-width: 1024px) {
    .faq-group {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
        gap: 3rem;
    }
}

/* Worked example inside an answer */
.faq-calc {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background: #1c0838;
    border: 1px solid #6a2fa8;
    font-family: var(--f-mono);
    font-size: 0.9375rem;
    color: var(--c-text-soft);
}

.faq-calc__row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.25rem 0;
}

.faq-calc__row strong {
    color: var(--c-gold);
    white-space: nowrap;
}

.faq-calc__total {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 2px dashed var(--c-magenta);
}

.faq-calc__total strong {
    font-size: 1.125rem;
}

/* Help band */
.faq-help {
    padding-block: clamp(2.5rem, 6vw, 4rem);
}

.faq-help__grid {
    margin-top: 2rem;
}

.faq-help__actions {
    justify-content: center;
}

.faq-help .glitch-card--link {
    align-items: center;
}

@media (min-width: 1024px) {
    .card-grid--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}