/*
 * Jokery Casino - carnival-noir design system
 * Canonical design tokens live in this file.
 */

:root {
    --c-purple-950: #150820;
    --c-purple-900: #1c0b2a;
    --c-purple-800: #2a1240;
    --c-purple-700: #3a1650;
    --c-purple-600: #4b1f69;
    --c-purple-400: #8a5bb3;
    --c-green-950: #0b2318;
    --c-green-900: #0f2e20;
    --c-green-800: #164630;
    --c-green-700: #1f5a3c;
    --c-green-600: #1b6b3f;
    --c-green-500: #23804b;
    --c-neon: #5be38a;
    --c-gold-700: #7d5a1c;
    --c-gold-600: #a77b2c;
    --c-gold-500: #c9993f;
    --c-gold-400: #e2bb62;
    --c-gold-300: #f3d98f;
    --c-cream: #f3e6c8;
    --c-cream-light: #fbf3df;
    --c-tan: #d8bf8f;
    --c-brown: #3b2414;
    --c-brown-600: #5a3a22;
    --c-red-800: #5c1016;
    --c-red-700: #7a1418;
    --c-red-500: #c4161c;
    --c-navy: #22325e;
    --c-navy-900: #172243;
    --c-silver: #d6dbe6;
    --c-text: #f5effb;
    --c-text-muted: #ddd3ea;
    --c-ink: #24102f;
    --c-ink-soft: #4a3828;

    --font-display: 'Rubik', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-brand: 'Lobster', Georgia, 'Times New Roman', serif;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-pill: 999px;
    --container: 1180px;
    --gutter: clamp(16px, 4vw, 32px);
    --section-pad: clamp(56px, 7vw, 96px);
    --wave-h: clamp(56px, 9vw, 140px);

    --shadow-card: 0 12px 30px rgba(10, 3, 18, 0.45);
    --glow-gold: 0 0 0 2px rgba(243, 217, 143, 0.35), 0 0 26px rgba(226, 187, 98, 0.5);
    --header-bottom: 70px;

    --pattern-damask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='120'%20height='120'%20viewBox='0%200%20120%20120'%3E%3Cg%20fill='%23f3d98f'%20fill-opacity='.07'%3E%3Cpath%20d='M8%2046c2-13%209-21%2017-23-3%206-2%2012%202%2016%203-10%209-16%2018-17-4%206-4%2013%200%2018%204-6%2010-9%2017-8-6%203-8%208-7%2014z'/%3E%3Ccircle%20cx='25'%20cy='21'%20r='3'/%3E%3Ccircle%20cx='45'%20cy='20'%20r='3'/%3E%3Ccircle%20cx='62'%20cy='28'%20r='3'/%3E%3Cpath%20fill-rule='evenodd'%20d='M60%2086c7-7%2019-7%2025%200%207-7%2019-7%2025%201-2%2011-14%2014-25%209-11%205-23%202-25-10zm9%202a5%203%200%201%200%2010%200%205%203%200%201%200-10%200zm23%200a5%203%200%201%200%2010%200%205%203%200%201%200-10%200z'/%3E%3C/g%3E%3C/svg%3E");
    --pattern-grain: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='240'%20height='240'%3E%3Cfilter%20id='n'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='.85'%20numOctaves='3'%20stitchTiles='stitch'/%3E%3CfeColorMatrix%20values='0%200%200%200%20.35%200%200%200%200%20.22%200%200%200%200%20.1%200%200%200%20.55%200'/%3E%3C/filter%3E%3Crect%20width='100%25'%20height='100%25'%20filter='url(%2523n)'%20opacity='.3'/%3E%3C/svg%3E");
}

/* ============================================
   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;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--c-text);
    background: var(--c-purple-900);
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.18;
    margin: 0 0 0.5em;
    text-wrap: balance;
}

h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem); }

p { margin: 0 0 1em; }

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

a:hover { color: #fff3c9; }

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

[id] {
    scroll-margin-top: calc(var(--header-bottom) + 16px);
}

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

.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

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

.section__head {
    max-width: 780px;
    margin: 0 auto clamp(28px, 4vw, 44px);
    text-align: center;
}

.section__head p { color: inherit; }

.prose { max-width: 72ch; }
.prose--center { margin-inline: auto; }

.lead {
    font-size: clamp(1.08rem, 1rem + 0.35vw, 1.22rem);
}

.micro {
    font-size: 0.9rem;
    line-height: 1.45;
    margin: 0;
}

.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;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 200;
    background: var(--c-gold-300);
    color: var(--c-purple-900);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-weight: 700;
}

.skip-link:focus { top: 12px; }

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
}

/* ============================================
   BUTTONS & CHIPS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 22px;
    border: 2px solid transparent;
    border-radius: 10px;
    font: 600 1rem/1.2 var(--font-display);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn--primary {
    background: linear-gradient(180deg, #23804b 0%, #165f37 100%);
    border-color: var(--c-gold-400);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 4px 14px rgba(0, 0, 0, 0.35);
}

.btn--primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), var(--glow-gold);
}

.btn--ghost {
    background: rgba(28, 11, 42, 0.55);
    border-color: var(--c-gold-400);
    color: var(--c-gold-300);
}

.btn--ghost:hover {
    background: var(--c-purple-700);
    color: #fff3c9;
}

.btn--outline {
    background: transparent;
    border-color: var(--c-gold-400);
    color: var(--c-gold-300);
}

.btn--outline:hover {
    background: rgba(226, 187, 98, 0.16);
    color: #fff3c9;
}

.btn--sm {
    min-height: 44px;
    padding: 8px 18px;
    font-size: 0.95rem;
}

.btn--lg {
    min-height: 54px;
    padding: 12px 28px;
    font-size: 1.08rem;
}

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
}

.chip {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 6px 14px;
    border: 1.5px solid var(--c-gold-400);
    border-radius: var(--radius-pill);
    background: rgba(31, 90, 60, 0.75);
    color: var(--c-cream-light);
    font: 600 0.92rem/1.2 var(--font-display);
}

.chip--link {
    min-height: 44px;
    background: rgba(28, 11, 42, 0.6);
    color: var(--c-gold-300);
    text-decoration: none;
}

.chip--link:hover {
    background: var(--c-purple-600);
    color: #fff3c9;
}

.pill {
    display: inline-block;
    padding: 2px 12px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.9rem;
}

.pill--no { background: #f4d4d1; color: #7a1418; }
.pill--yes { background: #cfeedb; color: #0f4a2a; }

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--c-purple-800);
    border-bottom: 2px solid var(--c-gold-400);
    box-shadow: 0 6px 20px rgba(10, 3, 18, 0.45);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 66px;
}

.site-brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--c-gold-400);
    flex-shrink: 0;
}

.site-brand__mark {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transform: rotate(-14deg);
}

.site-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 0.9;
}

.site-brand__name {
    font-family: var(--font-brand);
    font-size: 1.85rem;
    color: var(--c-gold-400);
    text-shadow: 0 2px 0 var(--c-gold-700), 0 0 14px rgba(226, 187, 98, 0.35);
}

.site-brand__sub {
    font-family: var(--font-brand);
    font-size: 1.05rem;
    color: var(--c-gold-300);
    margin-left: 28px;
}

.site-brand:hover .site-brand__name { color: var(--c-gold-300); }

.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 2px solid var(--c-gold-400);
    border-radius: 10px;
    background: rgba(28, 11, 42, 0.6);
    color: var(--c-gold-300);
    cursor: pointer;
}

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

.menu-toggle.is-open .menu-toggle__bar:nth-child(1) { transform: translateY(7.5px) 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(-7.5px) rotate(-45deg); }

.site-nav {
    display: none;
    position: fixed;
    top: var(--header-bottom);
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    z-index: 99;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px var(--gutter) 32px;
    background: var(--c-purple-900);
    background-image: var(--pattern-damask);
    background-size: 120px 120px;
}

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

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 12px;
    border-bottom: 1px solid rgba(226, 187, 98, 0.28);
    color: var(--c-gold-300);
    font: 600 1.15rem/1.2 var(--font-display);
    text-decoration: none;
}

.site-nav__link:hover { color: #fff3c9; }

.site-nav__link[aria-current="page"] {
    color: #fff;
    background: rgba(75, 31, 105, 0.7);
    box-shadow: inset 4px 0 0 var(--c-neon);
}

.site-nav__actions {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.site-nav__actions .btn { width: 100%; }

@media (min-width: 1024px) {
    .menu-toggle { display: none; }

    .site-header__inner { min-height: 78px; }

    .site-brand__mark { width: 46px; height: 46px; }
    .site-brand__name { font-size: 2.15rem; }

    .site-nav,
    .site-nav.is-open {
        display: flex;
        align-items: center;
        flex: 1;
        position: static;
        padding: 0;
        overflow: visible;
        background: none;
    }

    .site-nav__list {
        display: flex;
        gap: 4px;
        margin: 0 auto;
    }

    .site-nav__link {
        min-height: 44px;
        padding: 0 12px;
        border-bottom: 0;
        border-radius: var(--radius-sm);
        font-size: 1.05rem;
    }

    .site-nav__link[aria-current="page"] {
        background: rgba(75, 31, 105, 0.85);
        box-shadow: inset 0 -3px 0 var(--c-neon);
    }

    .site-nav__actions {
        display: flex;
        gap: 12px;
        margin-top: 0;
    }

    .site-nav__actions .btn { width: auto; min-height: 46px; }
}

/* ============================================
   SURFACES
   ============================================ */

.surface-purple {
    background-color: var(--c-purple-800);
    background-image: radial-gradient(ellipse at 50% 0%, #4b1f69 0%, #2a1240 55%, #1c0b2a 100%);
    color: var(--c-text);
}

.surface-purple h2,
.surface-purple h3 { color: var(--c-cream-light); }

.surface-felt {
    background-color: var(--c-green-800);
    background-image: var(--pattern-damask), radial-gradient(ellipse at 50% 30%, #1f5a3c 0%, #164630 62%, #0f3322 100%);
    background-size: 120px 120px, 100% 100%;
    color: var(--c-text);
}

.surface-felt h2 { color: var(--c-cream-light); }

.surface-parchment {
    background-color: #ecdcb6;
    background-image: var(--pattern-grain), radial-gradient(ellipse at 50% 40%, #f7ecd3 0%, #ecdab0 58%, #cdae78 100%);
    background-size: 240px 240px, 100% 100%;
    box-shadow: inset 0 0 90px rgba(90, 58, 34, 0.45);
    color: var(--c-brown);
}

.surface-parchment h2,
.surface-parchment h3 { color: var(--c-purple-800); }

.surface-parchment a:not([class]) { color: var(--c-purple-600); }
.surface-parchment a:not([class]):hover { color: var(--c-red-700); }

.surface-navy {
    background: var(--c-navy);
    border-top: 2px solid var(--c-gold-400);
    color: #fff;
}

.surface-stage {
    background: radial-gradient(ellipse at 50% 40%, #8e1c22 0%, #5c1016 60%, #3a0a0e 100%);
    color: #fff;
}

.surface-stage h2 { color: var(--c-cream-light); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6); }

/* Full-bleed painted environments */
.scene {
    position: relative;
    isolation: isolate;
}

.scene__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: var(--scene-pos-mobile, var(--scene-pos, center));
}

@media (min-width: 1024px) {
    .scene__bg { background-position: var(--scene-pos, center); }
}

/* Lists */
.dot-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2em;
}

.dot-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 0.6em;
}

.dot-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.55em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--c-brown-600);
    box-shadow: 0 0 0 2px rgba(201, 153, 63, 0.55);
}

.jester-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2em;
}

.jester-list li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 0.65em;
}

.jester-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.05em;
    width: 24px;
    height: 24px;
    background: url("./assets/1d83b8a55b91fad4d888abe1213f48a2.webp") center / contain no-repeat;
}

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

.hero {
    position: relative;
    z-index: 2;
    overflow-x: clip;
    overflow-y: visible;
    background: var(--c-purple-900);
    color: var(--c-text);
    padding-bottom: 76px;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: min(108vw, 640px);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: var(--hero-pos-mobile, 22% 30%);
    z-index: 0;
}

.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(28, 11, 42, 0) 52%, rgba(28, 11, 42, 0.7) 82%, var(--c-purple-900) 100%);
}

.hero__inner {
    position: relative;
    z-index: 1;
    padding-top: calc(min(108vw, 640px) - 40px);
}

.hero__frame,
.cta-band__frame {
    position: relative;
    background: rgba(58, 22, 80, 0.94);
    border: 2px solid var(--c-gold-400);
    border-radius: 16px;
    box-shadow:
        inset 0 0 0 5px rgba(58, 22, 80, 0.94),
        inset 0 0 0 7px var(--c-gold-600),
        inset 0 0 44px rgba(226, 187, 98, 0.16),
        0 0 70px rgba(124, 58, 180, 0.5),
        0 18px 40px rgba(10, 3, 18, 0.55);
}

.hero__frame {
    max-width: 640px;
    margin-inline: auto;
    padding: clamp(34px, 5vw, 48px) clamp(22px, 4vw, 40px) clamp(28px, 4vw, 38px);
}

.hero__title {
    color: var(--c-gold-300);
    text-shadow: 0 2px 0 rgba(28, 11, 42, 0.8);
}

.hero__intro {
    font-size: 1.08rem;
    color: var(--c-text);
    margin-bottom: 22px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin-bottom: 14px;
}

.hero__actions .btn { flex: 1 1 260px; }

.hero__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 600;
    text-decoration: underline;
}

.hero__micro { color: var(--c-text-muted); }

.frame-corner {
    position: absolute;
    width: 50px;
    height: 50px;
    background: url("./assets/1d83b8a55b91fad4d888abe1213f48a2.webp") center / contain no-repeat;
    filter: drop-shadow(0 3px 6px rgba(10, 3, 18, 0.6));
    pointer-events: none;
}

.frame-corner--tl { top: -20px; left: -14px; transform: rotate(-40deg); }
.frame-corner--tr { top: -20px; right: -14px; transform: rotate(40deg); }
.frame-corner--bl { bottom: -20px; left: -14px; transform: rotate(-140deg); }
.frame-corner--br { bottom: -20px; right: -14px; transform: rotate(140deg); }

.jester-row {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -30px;
    height: 62px;
    z-index: 3;
    pointer-events: none;
    background-image:
        url("./assets/1d83b8a55b91fad4d888abe1213f48a2.webp"),
        linear-gradient(90deg, var(--c-gold-700), var(--c-gold-300) 25%, var(--c-gold-500) 50%, var(--c-gold-300) 75%, var(--c-gold-700));
    background-repeat: repeat-x, no-repeat;
    background-size: 64px 54px, 100% 4px;
    background-position: 0 0, 0 44px;
}

@media (min-width: 768px) {
    .jester-row {
        height: 72px;
        bottom: -34px;
        background-size: 84px 70px, 100% 4px;
        background-position: 0 0, 0 52px;
    }

    .frame-corner { width: 64px; height: 64px; }
    .frame-corner--tl { top: -26px; left: -24px; }
    .frame-corner--tr { top: -26px; right: -24px; }
    .frame-corner--bl { bottom: -26px; left: -24px; }
    .frame-corner--br { bottom: -26px; right: -24px; }
}

@media (min-width: 1024px) {
    .hero {
        display: flex;
        align-items: center;
        min-height: clamp(580px, 46vw, 740px);
        padding: 80px 0 110px;
    }

    .hero__bg {
        inset: 0;
        height: auto;
        background-position: var(--hero-pos, 30% center);
    }

    .hero__bg::after {
        background: linear-gradient(90deg, rgba(28, 11, 42, 0) 40%, rgba(28, 11, 42, 0.35) 100%);
    }

    .hero__inner {
        display: grid;
        grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
        padding-top: 0;
    }

    .hero__frame {
        grid-column: 2;
        max-width: none;
        margin: 0;
    }
}

/* ============================================
   DECORATIVE DIVIDERS
   ============================================ */

.has-wave {
    padding-bottom: calc(var(--section-pad) + var(--wave-h));
}

.gold-wave {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: var(--wave-h);
    pointer-events: none;
    filter: drop-shadow(0 -4px 10px rgba(10, 3, 18, 0.35));
}

.gold-wave__fill { fill: var(--c-purple-800); }
.gold-wave--to-purple .gold-wave__fill { fill: #2f1446; }
.gold-wave--to-parchment .gold-wave__fill { fill: #ecdab0; }
.gold-wave--to-navy .gold-wave__fill { fill: var(--c-navy); }
.gold-wave--to-stage .gold-wave__fill { fill: var(--c-red-800); }

.marquee {
    position: relative;
    z-index: 2;
    height: 28px;
    background: linear-gradient(180deg, #f3d98f 0%, #b8862e 45%, #7a5518 100%);
    border-block: 1px solid #4a3110;
    box-shadow: 0 0 18px rgba(255, 190, 80, 0.35);
}

.marquee::before,
.marquee::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at center, #fffbe6 0 3px, #ffd36b 4px 5.5px, rgba(255, 196, 80, 0.55) 7px, rgba(255, 190, 70, 0) 11px);
    background-size: 36px 28px;
    background-repeat: repeat-x;
    animation: twinkle 2.6s ease-in-out infinite alternate;
}

.marquee::after {
    background-position: 18px 0;
    animation-delay: -1.3s;
}

.marquee--red {
    height: 34px;
    background: linear-gradient(180deg, #8e1c22, #5c1016);
    border-block: 3px solid var(--c-gold-400);
}

.marquee--red::before,
.marquee--red::after { background-size: 36px 28px; background-position-y: 0; }

@keyframes twinkle {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

.suits {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    display: none;
}

.suits__side {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 11%;
    height: 100%;
    filter: blur(1.2px);
    opacity: 0.55;
}

.suits__side--left { left: 0; }
.suits__side--right { right: 0; }

.suit {
    animation: drift 9s ease-in-out infinite alternate;
}

.suit--b { animation-duration: 11s; animation-delay: -3s; }
.suit--c { animation-duration: 13s; animation-delay: -6s; }

@keyframes drift {
    0% { transform: translateY(0); }
    100% { transform: translateY(14px); }
}

.has-suits > .container {
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .suits { display: block; }
}

.is-paused,
.is-paused::before,
.is-paused::after,
.is-paused .suit,
.doc-hidden [data-loop],
.doc-hidden [data-loop]::before,
.doc-hidden [data-loop]::after,
.doc-hidden [data-loop] .suit {
    animation-play-state: paused;
}

/* ============================================
   CARDS
   ============================================ */

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

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

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

/* Crest cards (dark green, emblem crown) */
.crest-grid {
    display: grid;
    gap: 72px 24px;
    padding-top: 52px;
    grid-template-columns: minmax(0, 1fr);
    max-width: 1000px;
    margin-inline: auto;
}

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

.crest-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 70px 22px 26px;
    text-align: center;
    background: linear-gradient(180deg, #19493a 0%, #11352a 45%, #0f2e20 100%);
    border: 2px solid var(--c-gold-400);
    border-radius: 26px 26px 26px 26px / 34px 34px 34px 34px;
    box-shadow:
        inset 0 0 0 4px rgba(15, 46, 32, 0.95),
        inset 0 0 0 5px rgba(226, 187, 98, 0.35),
        var(--shadow-card);
    color: var(--c-text);
}

.crest-card__emblem {
    position: absolute;
    top: -56px;
    left: 50%;
    width: 124px;
    height: 108px;
    transform: translateX(-50%);
    background: url("./assets/c8055d61e2dbf5aff1a2a16838807c1e.webp") center / contain no-repeat;
    filter: drop-shadow(0 6px 10px rgba(5, 20, 12, 0.6));
}

.crest-card__title {
    margin: 0;
    color: var(--c-cream-light);
    font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem);
}

.crest-card__rule {
    display: block;
    width: 70%;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(155, 140, 110, 0.4), #9b8c6e, rgba(155, 140, 110, 0.4));
    margin-bottom: 6px;
}

.crest-card__kicker {
    margin: 0;
    font: 700 clamp(1.6rem, 1.3rem + 1vw, 2.1rem)/1.1 var(--font-display);
    color: var(--c-gold-300);
    font-variant-numeric: tabular-nums;
}

.crest-card__text {
    margin: 0 0 10px;
    color: var(--c-text-muted);
}

.crest-card .btn { margin-top: auto; }

.crest-card__gems {
    display: inline-flex;
    gap: 5px;
}

.gem {
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
    background: linear-gradient(135deg, #fff2c2, var(--c-gold-400) 50%, var(--c-gold-700));
    box-shadow: 0 0 6px rgba(243, 217, 143, 0.7);
}

/* Game tiles (cream, gold border, pinned hat) */
.game-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--c-cream);
    border: 2px solid var(--c-gold-500);
    border-radius: var(--radius);
    box-shadow: 0 0 0 1px rgba(125, 90, 28, 0.6), var(--shadow-card);
    color: var(--c-ink);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.game-tile::before {
    content: "";
    position: absolute;
    top: -22px;
    left: -16px;
    z-index: 2;
    width: 50px;
    height: 50px;
    background: url("./assets/1d83b8a55b91fad4d888abe1213f48a2.webp") center / contain no-repeat;
    transform: rotate(-22deg);
    filter: drop-shadow(0 3px 5px rgba(10, 3, 18, 0.55));
}

.game-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 0 1px rgba(125, 90, 28, 0.6), var(--glow-gold), var(--shadow-card);
}

.game-tile__media {
    margin: 6px 6px 0;
    border-radius: 10px 10px 4px 4px;
    overflow: hidden;
    background: var(--c-purple-700);
}

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

.game-tile__body {
    padding: 12px 14px 16px;
}

.game-tile__title {
    margin: 0 0 4px;
    font-size: 1.05rem;
    color: var(--c-purple-800);
}

.game-tile__caption {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--c-ink-soft);
}

/* Live cards */
.live-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
    background: var(--c-cream);
    border: 2px solid var(--c-gold-500);
    border-radius: var(--radius);
    box-shadow: 0 0 0 1px rgba(125, 90, 28, 0.6), var(--shadow-card);
    color: var(--c-ink);
}

@media (min-width: 520px) {
    .live-card {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        align-items: center;
        gap: 16px;
    }
}

.live-card__media {
    position: relative;
    aspect-ratio: 640 / 420;
    border-radius: 10px;
    overflow: hidden;
    background: var(--c-red-800);
}

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

.live-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 12px 3px 10px;
    border-radius: var(--radius-pill);
    background: var(--c-red-500);
    border: 1px solid #ffd2d2;
    color: #fff;
    font: 700 0.875rem/1.2 var(--font-display);
}

.live-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    animation: pulse-dot 1.6s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8); }
    50% { box-shadow: 0 0 0 5px rgba(255, 255, 255, 0); }
}

.live-card__body { padding: 4px 6px 6px; }

.live-card__title {
    margin: 0 0 8px;
    color: var(--c-purple-800);
    font-size: 1.25rem;
}

.live-card__lines {
    margin: 0;
    padding-left: 1.1em;
    color: var(--c-ink-soft);
    font-size: 0.98rem;
}

.live-card__lines li { margin-bottom: 4px; }

/* Info cards (dark purple, gold line icon) */
.info-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 26px 22px;
    background: linear-gradient(180deg, var(--c-purple-700) 0%, var(--c-purple-800) 100%);
    border: 1.5px solid var(--c-gold-500);
    border-radius: var(--radius);
    box-shadow: inset 0 0 0 4px rgba(42, 18, 64, 0.9), inset 0 0 0 5px rgba(226, 187, 98, 0.25), var(--shadow-card);
    color: var(--c-text);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-card:hover { transform: translateY(-3px); }

.info-card__icon {
    width: 48px;
    height: 48px;
    color: var(--c-gold-400);
}

.info-card__icon .icon { width: 48px; height: 48px; }

.info-card__title {
    margin: 0;
    color: var(--c-cream-light);
    font-size: 1.25rem;
}

.info-card__text {
    margin: 0;
    color: var(--c-text-muted);
}

.info-card__link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 600;
    text-decoration: underline;
}

/* Link tiles */
.link-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 100%;
    padding: 26px 22px 22px 26px;
    background: linear-gradient(180deg, var(--c-purple-700), var(--c-purple-800));
    border: 1.5px solid var(--c-gold-500);
    border-radius: var(--radius);
    color: var(--c-text);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.link-tile::before {
    content: "";
    position: absolute;
    top: -16px;
    left: -12px;
    width: 40px;
    height: 40px;
    background: url("./assets/1d83b8a55b91fad4d888abe1213f48a2.webp") center / contain no-repeat;
    transform: rotate(-20deg);
    transition: transform 0.25s ease;
}

.link-tile:hover {
    color: var(--c-text);
    transform: translateY(-3px);
    box-shadow: var(--glow-gold);
}

.link-tile:hover::before { transform: rotate(-4deg); }

.link-tile__title {
    font: 600 1.2rem/1.2 var(--font-display);
    color: var(--c-gold-300);
}

.link-tile__text { color: var(--c-text-muted); }

.link-tile__arrow {
    margin-top: auto;
    color: var(--c-gold-400);
    font-size: 1.3rem;
}

/* Stat chips */
.stat-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.stat-chip {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    min-width: 170px;
    padding: 14px 26px;
    background: linear-gradient(180deg, var(--c-purple-600), var(--c-purple-800));
    border: 2px solid var(--c-gold-400);
    border-radius: var(--radius-pill);
    box-shadow: 0 14px 28px -10px rgba(91, 227, 138, 0.55);
    text-align: center;
}

.stat-chip__value {
    font: 700 clamp(1.6rem, 1.3rem + 1vw, 2.1rem)/1.1 var(--font-display);
    color: var(--c-gold-300);
    font-variant-numeric: tabular-nums;
}

.stat-chip__label {
    font-size: 0.95rem;
    color: var(--c-text);
}

/* Callouts */
.callout {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 24px 0;
    padding: 18px 20px;
    border-left: 5px solid var(--c-gold-400);
    border-radius: 4px var(--radius) var(--radius) 4px;
}

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

.callout__icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    color: var(--c-gold-300);
}

.callout__icon .icon { width: 40px; height: 40px; }

.callout__title {
    margin: 0 0 4px;
    font: 600 1.08rem/1.3 var(--font-display);
}

.callout--warn {
    background: linear-gradient(180deg, #6e141a, var(--c-red-800));
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.45);
    color: #fff;
}

.callout--warn a { color: var(--c-gold-300); }
.callout--warn .callout__title { color: var(--c-gold-300); }

.callout--info {
    background: var(--c-purple-700);
    color: var(--c-text);
}

.callout--info .callout__title { color: var(--c-gold-300); }

.callout--note {
    background: var(--c-cream-light);
    border-left-color: var(--c-purple-600);
    color: var(--c-ink);
}

.callout--note .callout__icon { color: var(--c-purple-600); }
.callout--note .callout__title { color: var(--c-purple-800); }
.callout--note a { color: var(--c-purple-600); }

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

.table-wrap {
    overflow-x: auto;
    margin: 24px 0;
    border: 2px solid var(--c-gold-500);
    border-radius: 12px;
    box-shadow: var(--shadow-card);
}

.ledger {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}

.ledger caption {
    padding: 12px 16px;
    text-align: left;
    font: 600 1rem var(--font-display);
}

.ledger th,
.ledger td {
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(226, 187, 98, 0.35);
}

.ledger thead th {
    background: linear-gradient(180deg, var(--c-gold-300), var(--c-gold-400));
    color: var(--c-purple-900);
    font: 600 1rem/1.3 var(--font-display);
}

.ledger tbody tr { background: #123b29; color: #fff; }
.ledger tbody tr:nth-child(even) { background: #174a33; }
.ledger tbody tr:last-child td,
.ledger tbody tr:last-child th { border-bottom: 0; }
.ledger tbody th { font-weight: 600; }

.ledger--purple tbody tr { background: var(--c-purple-800); }
.ledger--purple tbody tr:nth-child(even) { background: var(--c-purple-700); }

.surface-parchment .table-wrap,
.ledger-wrap--parchment {
    background: rgba(251, 243, 223, 0.6);
    border-color: var(--c-gold-600);
}

.surface-parchment .ledger thead th {
    background: var(--c-purple-800);
    color: var(--c-gold-300);
}

.surface-parchment .ledger tbody tr,
.surface-parchment .ledger tbody tr:nth-child(even) {
    background: transparent;
    color: var(--c-brown);
}

.surface-parchment .ledger tbody tr:nth-child(even) { background: rgba(216, 191, 143, 0.35); }

.surface-parchment .ledger th,
.surface-parchment .ledger td { border-bottom-color: rgba(122, 85, 24, 0.45); }

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

.faq-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    max-width: 880px;
    margin-inline: auto;
}

.faq-item {
    position: relative;
    background: var(--c-cream);
    border: 2px solid var(--c-gold-500);
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    color: var(--c-ink);
}

.faq-item::before {
    content: "";
    position: absolute;
    top: -14px;
    left: -10px;
    width: 34px;
    height: 34px;
    background: url("./assets/1d83b8a55b91fad4d888abe1213f48a2.webp") center / contain no-repeat;
    transform: rotate(-22deg);
    pointer-events: none;
}

.faq-item__q {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 16px 58px 16px 28px;
    list-style: none;
    cursor: pointer;
    font: 600 1.08rem/1.35 var(--font-display);
    color: var(--c-purple-800);
}

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

.faq-item__q::after {
    content: "";
    position: absolute;
    right: 24px;
    top: 50%;
    width: 11px;
    height: 11px;
    border-right: 3px solid var(--c-purple-600);
    border-bottom: 3px solid var(--c-purple-600);
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-item__q::after {
    transform: translateY(-25%) rotate(-135deg);
    border-color: var(--c-green-600);
}

.faq-item__q:focus-visible {
    outline: 3px solid var(--c-purple-600);
    outline-offset: -3px;
    border-radius: 10px;
}

.faq-item__a {
    padding: 16px 28px 20px;
    background: var(--c-cream-light);
    border-top: 1px solid var(--c-gold-500);
    border-radius: 0 0 10px 10px;
    color: var(--c-ink);
}

.faq-item__a p:last-child { margin-bottom: 0; }
.faq-item__a a { color: var(--c-purple-600); }
.faq-item__a a:hover { color: var(--c-red-700); }

/* ============================================
   TRUST STRIP
   ============================================ */

.trust-strip {
    background: var(--c-navy);
    border-top: 2px solid var(--c-gold-400);
    color: #fff;
    padding: clamp(36px, 5vw, 52px) 0;
}

.trust-strip__title {
    text-align: center;
    color: #fff;
    font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
    margin-bottom: 24px;
}

.trust-strip__items {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 1000px;
}

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.trust-item__icon {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    color: var(--c-silver);
}

.trust-item__text {
    display: flex;
    flex-direction: column;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #e7ebf4;
}

.trust-item__text strong {
    font-family: var(--font-display);
    font-size: 1.02rem;
    color: #fff;
}

.trust-item__text a {
    color: #fff;
    text-decoration: underline;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
}

.badge-18 {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--c-red-500);
    color: #111;
    font: 700 1.08rem/1 var(--font-display);
}

.badge-18--sm {
    width: 34px;
    height: 34px;
    border-width: 3px;
    font-size: 0.78rem;
}

.rg-icon {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #fff;
    color: var(--c-navy);
}

.rg-icon .icon { width: 38px; height: 38px; }

.trust-strip__note {
    max-width: 760px;
    margin: 24px auto 0;
    text-align: center;
    color: #e7ebf4;
}

.trust-strip__note a { color: #fff; }

.pay-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pay-chips--center {
    justify-content: center;
    margin-top: 22px;
}

.pay-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 4px 14px;
    border-radius: 8px;
    background: #fff;
    color: #1d1d2b;
    font: 600 0.9rem/1.2 var(--font-display);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

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

.cta-band {
    padding-block: clamp(64px, 8vw, 104px);
    text-align: center;
}

.cta-band__frame {
    max-width: 780px;
    margin-inline: auto;
    padding: clamp(36px, 5vw, 52px) clamp(22px, 4vw, 48px);
}

.cta-band__title {
    color: var(--c-gold-300);
}

.cta-band__text {
    max-width: 60ch;
    margin: 0 auto 22px;
}

.cta-band .btn { margin-bottom: 14px; }
.cta-band .micro { color: var(--c-text-muted); }

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

.site-footer {
    background-color: var(--c-purple-800);
    background-image: var(--pattern-damask), linear-gradient(180deg, #2f1446 0%, #23103a 100%);
    background-size: 120px 120px, 100% 100%;
    border-top: 3px solid var(--c-gold-500);
    color: var(--c-text-muted);
    padding-top: clamp(44px, 6vw, 64px);
    font-size: 0.98rem;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
}

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

@media (min-width: 1024px) {
    .site-footer__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.7fr) minmax(0, 0.8fr) minmax(0, 1.6fr); }
}

.footer-brand { margin-bottom: 14px; }
.footer-brand .site-brand__mark { width: 48px; height: 48px; }
.footer-brand .site-brand__name { font-size: 2.3rem; }
.footer-brand .site-brand__sub { font-size: 1.25rem; }

.site-footer__title {
    margin: 0 0 8px;
    font: 600 1.12rem/1.3 var(--font-display);
    color: var(--c-gold-300);
}

.site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--c-gold-400);
    font: 500 1.02rem/1.2 var(--font-display);
    text-decoration: none;
}

.site-footer__link:hover {
    color: #fff3c9;
    text-decoration: underline;
}

.site-footer__about a { color: var(--c-gold-300); }

.site-footer__payments {
    margin-top: 28px;
    padding-block: 22px;
    border-top: 1px solid rgba(226, 187, 98, 0.3);
}

.site-footer__bottom {
    background: var(--c-navy-900);
    border-top: 2px solid var(--c-gold-500);
    padding-block: 14px;
    font-size: 0.9rem;
    color: #e7ebf4;
}

.site-footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 18px;
    text-align: center;
}

.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: #fff; }

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

.home-welcome {
    padding-top: calc(var(--section-pad) + 28px);
}

.home-welcome .section__head { margin-bottom: 8px; }

.welcome-note {
    max-width: 760px;
    margin: 44px auto 0;
    text-align: center;
    color: var(--c-text-muted);
}

.welcome-note p { margin-bottom: 0.6em; }

.welcome-note__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 600;
    text-decoration: underline;
}

.welcome-note .micro { color: var(--c-text); }

/* Popular games */
.home-games {
    background-color: #2f1446;
    color: var(--c-text);
}

.home-games h2 { color: var(--c-cream-light); }
.home-games .section__head p { color: var(--c-text-muted); }

.home-games .scene__bg {
    inset: -8px;
    animation: props-float 7s ease-in-out infinite alternate;
}

.home-games::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 160px;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg, #2f1446 0%, rgba(47, 20, 70, 0) 100%);
}

@keyframes props-float {
    0% { transform: translateY(-3px); }
    100% { transform: translateY(4px); }
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 16px;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 14px;
}

.games-stack {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 16px;
}

.games-grid__wide {
    grid-column: 1 / -1;
    display: flex;
}

.games-grid__wide > .game-tile { flex: 1; }

.games-grid .game-tile__body { padding: 10px 12px 14px; }

@media (max-width: 1023px) {
    .games-grid__wide .game-tile__media { aspect-ratio: 16 / 9 !important; }
    .games-grid__wide .game-tile__media img { object-position: center 35%; }
}

@media (min-width: 768px) {
    .games-grid,
    .games-stack { gap: 36px 22px; }
}

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

    .games-stack,
    .games-grid__wide { grid-column: auto; }

    .games-stack {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .games-stack > .game-tile { flex: 1; }
}

/* Live stage */
.home-live {
    background: linear-gradient(180deg, #5c1016 0%, #3a0a0e 100%);
    padding-top: calc(min(76vw, 560px) - 30px);
}

.home-live .scene__bg {
    inset: 0 0 auto 0;
    height: min(76vw, 560px);
}

.home-live .scene__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(92, 16, 22, 0) 55%, rgba(92, 16, 22, 0.75) 85%, #5c1016 100%);
}

.home-live__content p {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.live-stack {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.home-live .btn-row { justify-content: flex-start; }

@media (min-width: 1024px) {
    .home-live {
        display: flex;
        align-items: center;
        min-height: 660px;
        padding-block: var(--section-pad);
        background: #5c1016;
    }

    .home-live .scene__bg {
        inset: 0;
        height: auto;
    }

    .home-live .scene__bg::after {
        background: linear-gradient(90deg, rgba(58, 10, 14, 0) 42%, rgba(58, 10, 14, 0.55) 72%, rgba(58, 10, 14, 0.4) 100%);
    }

    .home-live__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .home-live__content { grid-column: 2; }
}

/* Perks, rules, FAQ */
.home-perks { border-top: 3px solid var(--c-gold-400); }

.rules-block {
    max-width: 860px;
    margin-inline: auto;
}

.rules-block h2 { text-align: center; }

.rules-divider {
    display: block;
    width: min(320px, 70%);
    height: 3px;
    margin: clamp(36px, 5vw, 52px) auto;
    background: linear-gradient(90deg, rgba(167, 123, 44, 0), var(--c-gold-600), rgba(167, 123, 44, 0));
}

.home-faq { border-bottom: 2px solid rgba(226, 187, 98, 0.35); }

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

.bonus-welcome .table-wrap { max-width: 900px; margin-inline: auto; }

.bonus-welcome .callout,
.bonus-welcome__note {
    max-width: 900px;
    margin-inline: auto;
}

.bonus-welcome__note { margin-top: 20px; color: var(--c-text-muted); }

.bonus-terms .callout { margin-top: 28px; }

.terms-example {
    padding: 16px 20px;
    margin-bottom: 1.4em;
    background: rgba(251, 243, 223, 0.65);
    border: 1.5px solid var(--c-gold-600);
    border-radius: var(--radius);
}

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

.cashback-band { border-block: 3px solid var(--c-gold-400); }

.cashback-band__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.cashback-band__coin {
    display: grid;
    place-items: center;
    width: min(240px, 60vw);
    aspect-ratio: 1;
    margin-inline: auto;
    color: var(--c-gold-400);
    background: radial-gradient(circle, rgba(91, 227, 138, 0.35) 0%, rgba(35, 128, 75, 0.18) 45%, rgba(35, 128, 75, 0) 70%);
}

.cashback-band__icon {
    width: 72%;
    height: 72%;
    filter: drop-shadow(0 0 14px rgba(226, 187, 98, 0.55));
}

@media (min-width: 1024px) {
    .cashback-band__inner { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 56px; }
    .cashback-band__coin { width: min(340px, 100%); }
}

.bonus-extras {
    background-color: #2f1446;
    color: var(--c-text);
}

.bonus-extras h2 { color: var(--c-cream-light); }
.bonus-extras .section__head p { color: var(--c-text-muted); }

.extras-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 36px 22px;
    padding-top: 14px;
}

.extra-card {
    position: relative;
    flex: 1 1 100%;
    padding: 26px 22px 22px;
    background: var(--c-cream);
    border: 2px solid var(--c-gold-500);
    border-radius: var(--radius);
    box-shadow: 0 0 0 1px rgba(125, 90, 28, 0.6), var(--shadow-card);
    color: var(--c-ink);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.extra-card::before {
    content: "";
    position: absolute;
    top: -22px;
    left: -16px;
    width: 50px;
    height: 50px;
    background: url("./assets/1d83b8a55b91fad4d888abe1213f48a2.webp") center / contain no-repeat;
    transform: rotate(-22deg);
    filter: drop-shadow(0 3px 5px rgba(10, 3, 18, 0.55));
}

.extra-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 0 1px rgba(125, 90, 28, 0.6), var(--glow-gold), var(--shadow-card);
}

.extra-card__title {
    margin: 0 0 8px;
    color: var(--c-purple-800);
    font-size: 1.2rem;
}

.extra-card p { margin: 0; color: var(--c-ink-soft); font-size: 0.98rem; }
.extra-card a { color: var(--c-purple-600); }
.extra-card a:hover { color: var(--c-red-700); }

@media (min-width: 768px) {
    .extra-card { flex: 0 1 calc((100% - 22px) / 2); }
}

@media (min-width: 1024px) {
    .extra-card { flex: 0 1 calc((100% - 44px) / 3); }
}

.bonus-roller .home-live__content p { color: #fff; }
.bonus-roller .home-live__content a { color: var(--c-gold-300); }

@media (min-width: 1024px) {
    .bonus-roller { min-height: 520px; }
}

.bonus-faq { border-bottom: 2px solid rgba(226, 187, 98, 0.35); }

@media (prefers-reduced-motion: reduce) {
    .extra-card:hover { transform: none; }
}

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

.spil-scope .stat-row { margin-top: 8px; }

.spil-scope__text {
    max-width: 760px;
    margin: 36px auto 0;
    text-align: center;
    color: var(--c-text-muted);
}

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

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

.spil-split__copy .lead { color: var(--c-cream-light); }

.spil-split__tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 14px;
    padding-top: 16px;
    align-items: start;
}

.spil-split__tiles .game-tile__body { padding: 10px 12px 14px; }

@media (min-width: 1024px) {
    .spil-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
    .spil-split__tiles { gap: 34px 22px; }
}

/* Jackpot panel */
.jackpot-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    max-width: 900px;
    margin-inline: auto;
    padding: clamp(24px, 4vw, 40px);
    overflow: hidden;
    background-color: #f7ecd3;
    background-image: var(--pattern-grain), radial-gradient(ellipse at 50% 40%, #fbf3df 0%, #f0dfb8 100%);
    background-size: 240px 240px, 100% 100%;
    border: 3px solid var(--c-gold-600);
    border-radius: var(--radius);
    box-shadow: inset 0 0 0 4px #f7ecd3, inset 0 0 0 6px var(--c-gold-500), inset 0 0 50px rgba(122, 85, 24, 0.35), var(--shadow-card);
}

.jackpot-panel::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -40%;
    width: 30%;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 246, 214, 0.55), rgba(255, 255, 255, 0));
    transform: skewX(-18deg);
    animation: shimmer-sweep 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer-sweep {
    0%, 55% { left: -40%; }
    100% { left: 130%; }
}

.jackpot-panel__crown {
    width: min(160px, 40vw);
    height: auto;
    margin-inline: auto;
    filter: drop-shadow(0 6px 8px rgba(58, 36, 20, 0.4));
}

.jackpot-panel__body h2 { color: var(--c-purple-800); }
.jackpot-panel__body p:last-child { margin-bottom: 0; }

@media (min-width: 768px) {
    .jackpot-panel { grid-template-columns: 180px minmax(0, 1fr); gap: 36px; }
    .jackpot-panel__crown { width: 100%; }
}

/* Live (reuses home-live) */
.spil-live .home-live__content p { color: #fff; }

/* RNG tiles */
.spil-rng .section__head p { color: var(--c-text-muted); }

.rng-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 900px;
}

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

.rng-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 22px 12px;
    background: linear-gradient(180deg, var(--c-purple-700), var(--c-purple-900));
    border: 1.5px solid var(--c-gold-500);
    border-radius: var(--radius);
    box-shadow: inset 0 0 0 4px rgba(42, 18, 64, 0.9), inset 0 0 0 5px rgba(226, 187, 98, 0.25), var(--shadow-card);
    color: var(--c-gold-400);
    text-align: center;
}

.rng-tile .icon { width: 52px; height: 52px; }

.rng-tile__title {
    margin: 0;
    font-size: 1.1rem;
    color: var(--c-cream-light);
}

/* Crash */
.crash-panel {
    padding: 18px 18px 20px;
    background: linear-gradient(180deg, var(--c-purple-900), #12061c);
    border: 2px solid var(--c-gold-500);
    border-radius: var(--radius);
    box-shadow: inset 0 -40px 60px -30px rgba(91, 227, 138, 0.28), var(--shadow-card);
}

.crash-panel__chart { display: block; width: 100%; height: auto; }

.crash-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
}

.crash-pill {
    padding: 6px 18px;
    border: 2px solid var(--c-gold-400);
    border-radius: var(--radius-pill);
    background: rgba(28, 11, 42, 0.8);
    color: var(--c-gold-300);
    font: 600 1rem/1.2 var(--font-display);
}

/* Sportsbook */
.sport-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    align-items: stretch;
}

.sport-split__media {
    position: relative;
    min-height: 240px;
    overflow: hidden;
    border: 3px solid var(--c-gold-500);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.sport-split__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
}

.sport-split__copy .lead { color: var(--c-cream-light); }
.sport-split__copy h2 { color: var(--c-cream-light); }

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

/* Providers */
.provider-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.provider-pill {
    padding: 8px 20px;
    background: var(--c-cream);
    border: 1.5px solid var(--c-gold-500);
    border-radius: var(--radius-pill);
    color: var(--c-purple-800);
    font: 600 1rem/1.2 var(--font-display);
}

.spil-providers__note {
    margin-top: 20px;
    text-align: center;
    color: var(--c-text-muted);
}

/* Weighting */
.weight-panel {
    max-width: 860px;
    margin-inline: auto;
}

.weight-panel h2 { text-align: center; }
.weight-panel .lead { text-align: center; }

/* Phone */
.phone-wrap {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 340px;
}

.phone {
    width: 170px;
    aspect-ratio: 9 / 18;
    padding: 9px;
    border-radius: 28px;
    background: linear-gradient(145deg, var(--c-gold-300), var(--c-gold-600) 55%, var(--c-gold-700));
    box-shadow: 0 18px 40px rgba(10, 3, 18, 0.55), 0 0 40px rgba(91, 227, 138, 0.2);
}

.phone__screen {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(180deg, var(--c-purple-600), var(--c-purple-900));
}

.phone-wrap__hat {
    position: absolute;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(10, 3, 18, 0.55));
    animation: drift 8s ease-in-out infinite alternate;
}

.phone-wrap__hat--a { top: 10%; left: calc(50% - 150px); transform: rotate(-20deg); }
.phone-wrap__hat--b { top: 22%; right: calc(50% - 150px); width: 44px; height: 44px; animation-delay: -3s; }
.phone-wrap__hat--c { bottom: 8%; left: calc(50% - 120px); width: 50px; height: 50px; animation-delay: -5s; }

@media (max-width: 400px) {
    .phone-wrap__hat--a { left: 4%; }
    .phone-wrap__hat--b { right: 4%; }
    .phone-wrap__hat--c { left: 8%; }
}

.spil-mobile .spil-split__copy .lead { color: var(--c-cream-light); }

.spil-faq { border-bottom: 2px solid rgba(226, 187, 98, 0.35); }

@media (prefers-reduced-motion: reduce) {
    .jackpot-panel::after { display: none; }
}

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

.about-narrow {
    max-width: 820px;
    margin-inline: auto;
}

.about-story .chip-list { margin: 22px 0 0; }

/* Joker portrait */
.about-joker {
    position: relative;
    z-index: 2;
    overflow: visible;
}

.about-joker__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.about-joker__figure {
    position: relative;
    width: min(300px, 78%);
    margin: -110px auto 0;
}

.about-joker__figure::before {
    content: "";
    position: absolute;
    inset: 22% -20% 0;
    background: radial-gradient(ellipse at 50% 38%, rgba(91, 227, 138, 0.38) 0%, rgba(226, 187, 98, 0.2) 42%, rgba(226, 187, 98, 0) 70%);
    pointer-events: none;
}

.about-joker__figure img {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
}

.about-joker__copy .lead { color: var(--c-cream-light); }

@media (min-width: 1024px) {
    .about-joker__inner {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        gap: 48px;
    }

    .about-joker__figure {
        width: 100%;
        max-width: 440px;
        margin: -150px 0 -30px -24px;
    }
}

/* Licence + transparency */
.about-licence { border-top: 3px solid var(--c-gold-500); }

.about-licence .lead { color: var(--c-ink); }

.about-seal-wrap {
    position: relative;
    padding-top: 40px;
}

.about-seal {
    position: absolute;
    top: 0;
    right: 4px;
    z-index: 2;
    width: 76px;
    height: 76px;
    filter: drop-shadow(0 4px 6px rgba(58, 36, 20, 0.45));
}

.about-facts { margin-top: 0; }

.about-facts .ledger { min-width: 460px; }

.about-facts .ledger caption { color: var(--c-purple-800); }

.about-facts .ledger th,
.about-facts .ledger td { border-bottom-color: var(--c-brown-600); }

.honest-panel {
    position: relative;
    padding: clamp(24px, 4vw, 38px) clamp(20px, 4vw, 38px);
    background: linear-gradient(180deg, var(--c-navy) 0%, var(--c-navy-900) 100%);
    border-left: 6px solid var(--c-gold-400);
    border-radius: 6px var(--radius) var(--radius) 6px;
    box-shadow: var(--shadow-card);
    color: #fff;
}

.honest-panel__tag {
    display: inline-block;
    margin-bottom: 14px;
    padding: 3px 14px;
    border: 1.5px solid var(--c-gold-400);
    border-radius: var(--radius-pill);
    color: var(--c-gold-300);
    font: 600 0.9rem/1.3 var(--font-display);
}

.honest-panel__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.honest-panel__icon {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    color: var(--c-gold-400);
}

.honest-panel h2 { color: #fff; }

.honest-panel .lead { color: #fff; }

.honest-panel .dot-list li::before {
    background: var(--c-gold-400);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.honest-panel .micro { color: #e7ebf4; }

.surface-parchment .honest-panel a:not([class]) { color: var(--c-gold-300); }
.surface-parchment .honest-panel a:not([class]):hover { color: #fff; }

/* Security tiles */
.about-tiles {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}

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

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

.about-tile {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 24px 20px;
    background: linear-gradient(180deg, var(--c-purple-700), var(--c-purple-900));
    border: 1.5px solid var(--c-gold-500);
    border-radius: var(--radius);
    box-shadow: inset 0 0 0 4px rgba(42, 18, 64, 0.9), inset 0 0 0 5px rgba(226, 187, 98, 0.25), var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-tile:hover {
    transform: translateY(-4px);
    box-shadow: inset 0 0 0 4px rgba(42, 18, 64, 0.9), inset 0 0 0 5px rgba(226, 187, 98, 0.25), var(--glow-gold);
}

.about-tile__icon {
    width: 48px;
    height: 48px;
    color: var(--c-gold-400);
}

.about-tile__icon .icon { width: 48px; height: 48px; }

.about-tile__title {
    margin: 4px 0 0;
    color: var(--c-cream-light);
    font-size: 1.2rem;
}

.about-tile p {
    margin: 0;
    color: var(--c-text-muted);
    font-size: 0.98rem;
}

.about-security__note { margin-top: 36px; }
.about-security__note p:last-child { margin-bottom: 0; }

/* Responsible gambling band */
.about-rg { padding-block: clamp(44px, 6vw, 72px); }

.about-rg__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    max-width: 960px;
}

.about-rg__badges {
    display: flex;
    gap: 14px;
}

.about-rg h2 {
    color: #fff;
    font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
}

.about-rg a { color: #fff; }

.about-rg__licence {
    margin: 0;
    padding-top: 14px;
    border-top: 1px solid rgba(226, 187, 98, 0.45);
    font: 600 0.98rem/1.4 var(--font-display);
    color: var(--c-gold-300);
}

@media (min-width: 768px) {
    .about-rg__inner { grid-template-columns: auto minmax(0, 1fr); gap: 36px; }
    .about-rg__badges { flex-direction: column; }
}

/* Complaint steps */
.steps {
    position: relative;
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
}

.steps__line {
    position: absolute;
    left: 20px;
    top: 24px;
    width: 4px;
    height: calc(100% - 48px);
}

.steps li {
    position: relative;
    min-height: 44px;
    padding: 0 0 30px 66px;
}

.steps li:last-of-type { padding-bottom: 0; }

.step__node {
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fffbe6 0%, #ffd36b 45%, #b8862e 100%);
    border: 2px solid var(--c-gold-700);
    box-shadow: 0 0 14px rgba(255, 190, 80, 0.55);
    color: var(--c-purple-900);
    font: 700 1.15rem/1 var(--font-display);
}

.step__title {
    margin: 0 0 4px;
    padding-top: 8px;
    color: var(--c-purple-800);
    font-size: 1.2rem;
}

.steps li p { margin: 0; }

.about-complaints .lead { color: var(--c-ink); }

.about-faq { border-bottom: 2px solid rgba(226, 187, 98, 0.35); }

@media (prefers-reduced-motion: reduce) {
    .about-tile:hover { transform: none; }
}

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

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

.pay-deposit .section__head p { color: var(--c-text-muted); }

.pay-deposit .callout { max-width: 900px; margin-inline: auto; }

.pay-table-card {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 14px;
    background: var(--c-cream);
    border: 2px solid var(--c-gold-500);
    border-radius: var(--radius);
    box-shadow: 0 0 0 1px rgba(125, 90, 28, 0.6), var(--shadow-card);
}

.pay-table-card::before {
    content: "";
    position: absolute;
    top: -22px;
    left: -16px;
    z-index: 2;
    width: 50px;
    height: 50px;
    background: url("./assets/1d83b8a55b91fad4d888abe1213f48a2.webp") center / contain no-repeat;
    transform: rotate(-22deg);
    filter: drop-shadow(0 3px 5px rgba(10, 3, 18, 0.55));
}

.pay-table-card .table-wrap {
    margin: 0;
    border-color: var(--c-gold-600);
    box-shadow: none;
}

.pay-table-card .ledger caption { color: var(--c-purple-800); }

.pay-table-card .ledger thead th {
    background: var(--c-purple-800);
    color: var(--c-gold-300);
}

.pay-table-card .ledger tbody tr,
.pay-table-card .ledger tbody tr:nth-child(even) {
    background: transparent;
    color: var(--c-brown);
}

.pay-table-card .ledger tbody tr:nth-child(even) { background: rgba(216, 191, 143, 0.35); }

.pay-table-card .ledger th,
.pay-table-card .ledger td { border-bottom-color: rgba(122, 85, 24, 0.45); }

/* DKK band */
.pay-dkk {
    padding-block: clamp(36px, 5vw, 64px);
    background-color: #2f1446;
    color: var(--c-text);
}

.dkk-band {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 960px;
    margin-inline: auto;
    padding: clamp(22px, 4vw, 36px);
    background: var(--c-purple-700);
    border-left: 4px solid var(--c-gold-400);
    border-radius: 4px var(--radius) var(--radius) 4px;
    box-shadow: var(--shadow-card);
}

.dkk-band__icon {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    color: var(--c-gold-400);
}

.dkk-band__icon .icon { width: 56px; height: 56px; }

.dkk-band h2 { color: var(--c-cream-light); }
.dkk-band .chip-list { margin: 18px 0 0; }

@media (min-width: 768px) {
    .dkk-band { flex-direction: row; align-items: flex-start; gap: 24px; }
}

/* Withdrawals stage */
.pay-withdraw .home-live__content p { color: #fff; }
.pay-withdraw .home-live__content a { color: var(--c-gold-300); }
.pay-withdraw .btn-row { justify-content: center; }
.pay-withdraw .dot-list li::before {
    background: var(--c-gold-300);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.pay-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: var(--c-cream);
    border: 2px solid var(--c-gold-500);
    border-radius: var(--radius);
    box-shadow: 0 0 0 1px rgba(125, 90, 28, 0.6), var(--shadow-card);
    color: var(--c-ink);
}

.pay-card__icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    color: var(--c-purple-600);
}

.pay-card__icon .icon { width: 44px; height: 44px; }

.pay-card h3 {
    margin: 0 0 4px;
    color: var(--c-purple-800);
    font-size: 1.15rem;
}

.pay-withdraw .home-live__content .pay-card p {
    margin: 0;
    color: var(--c-ink-soft);
    text-shadow: none;
}

.pay-bullets { margin-top: 22px; }

/* Parchment blocks */
.pay-parchment .lead { color: var(--c-ink); }

.pay-parchment .ledger { min-width: 360px; }
.pay-parchment .ledger caption { color: var(--c-purple-800); }

.pay-parchment .terms-example { border-color: var(--c-purple-600); border-width: 2px; }

.calc-line {
    font: 700 1.02rem/1.5 var(--font-display);
    font-variant-numeric: tabular-nums;
    color: var(--c-gold-700);
}

.pay-faq { border-bottom: 2px solid rgba(226, 187, 98, 0.35); }

.pay-related .card-grid { padding-top: 10px; }

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

.vip-steps {
    position: relative;
    max-width: 1100px;
    margin-inline: auto;
    padding-top: 56px;
}

.vip-steps__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 76px;
    padding-left: 38px;
}

.vip-step { display: flex; }
.vip-step > .crest-card { flex: 1; }

.vip-steps__conduit {
    position: absolute;
    z-index: 0;
    overflow: visible;
}

.vip-steps__conduit--wide { display: none; }

.vip-steps__conduit--narrow {
    display: block;
    left: 4px;
    top: 0;
    width: 14px;
    height: 100%;
}

.vip-steps__rail { stroke: var(--c-gold-500); }

.vip-steps__bulbs {
    stroke: #fff0bf;
    filter: drop-shadow(0 0 5px rgba(255, 200, 90, 0.95));
}

.vip-steps .crest-card { padding: 70px 18px 24px; }
.vip-steps .crest-card__text { line-height: 1.5; }

@media (min-width: 1024px) {
    .vip-steps__grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 20px 14px;
        padding-left: 0;
        align-items: start;
    }

    .vip-step { margin-top: calc(var(--i, 0) * 16px); }

    .vip-steps__conduit--narrow { display: none; }

    .vip-steps__conduit--wide {
        display: block;
        left: 0;
        right: 0;
        top: 56px;
        width: 100%;
        height: calc(100% - 56px);
    }
}

.vip-levels .callout { max-width: 900px; margin: 56px auto 0; }

/* Points vs coins */
.vip-points__answer { text-align: center; }
.vip-points__answer h3 { color: var(--c-gold-300); }

.vip-compare {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
    max-width: 900px;
    margin: 32px auto 0;
}

.vip-compare__card {
    padding: 24px 22px 14px;
    background: var(--c-cream);
    border: 2px solid var(--c-gold-500);
    border-radius: var(--radius);
    box-shadow: 0 0 0 1px rgba(125, 90, 28, 0.6), var(--shadow-card);
    color: var(--c-ink);
}

.vip-compare__card h3 { color: var(--c-purple-800); margin-top: 6px; }

.vip-compare__icon {
    display: inline-block;
    width: 52px;
    height: 52px;
    color: var(--c-gold-700);
}

.vip-compare__icon .icon { width: 52px; height: 52px; }

.vip-compare__arrow {
    justify-self: center;
    width: 48px;
    height: 24px;
    color: var(--c-gold-400);
    transform: rotate(90deg);
}

.vip-points__link {
    max-width: 900px;
    margin: 28px auto 0;
    text-align: center;
}

@media (min-width: 768px) {
    .vip-compare {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 18px;
        align-items: stretch;
    }

    .vip-compare__arrow { align-self: center; transform: none; }
}

/* Notes under tables */
.vip-note {
    max-width: 900px;
    margin: 20px auto 0;
}

.vip-cashback .table-wrap,
.vip-rewards .table-wrap,
.vip-limits .table-wrap {
    max-width: 900px;
    margin-inline: auto;
}

.vip-cashback .vip-note { color: var(--c-text-muted); }
.vip-limits .vip-note { color: var(--c-text-muted); }
.vip-limits .section__head p,
.vip-cashback .section__head p { color: var(--c-text-muted); }

.vip-cashback .ledger td.vip-hl {
    background: #1f5a3c;
    color: #fff;
    font-weight: 700;
}

.vip-rewards .section__head p { color: var(--c-ink); }

.vip-rewards .ledger tbody th {
    position: relative;
    padding-left: 46px;
}

.vip-rewards .ledger tbody th::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 10px;
    width: 24px;
    height: 24px;
    background: url("./assets/1d83b8a55b91fad4d888abe1213f48a2.webp") center / contain no-repeat;
}

.vip-rewards .ledger caption { color: var(--c-purple-800); }

.vip-rewards .vip-note { color: var(--c-brown); }

/* Limits table */
.ledger--limits { min-width: 640px; }

.ledger--limits thead th { text-align: center; }

.ledger--limits thead th[scope="row"],
.ledger--limits thead th:first-child { text-align: left; }

.ledger--limits thead th.is-non-h {
    background: #4d4262;
    color: #fff;
}

.ledger--limits thead th.is-vip-h {
    display: table-cell;
    background: linear-gradient(180deg, var(--c-gold-300), var(--c-gold-400));
}

.vip-crown {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    margin-right: 6px;
}

.ledger--limits tbody td.is-non {
    background: #4d4262;
    color: #f1ecf7;
}

.ledger--limits tbody td.is-vip {
    background: #174a33;
    color: #fff;
    font-weight: 600;
    border-left: 1px solid var(--c-gold-500);
}

/* Roller + caveats + RG + FAQ */
.vip-roller .home-live__content p { color: #fff; }
.vip-roller .home-live__content a { color: var(--c-gold-300); }
.vip-roller .btn { color: #fff; }

.vip-caveats .rules-block h2 { text-align: left; }

.vip-faq { border-bottom: 2px solid rgba(226, 187, 98, 0.35); }

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

.faq-section + .faq-section { border-top: 2px solid rgba(226, 187, 98, 0.35); }

.faq-section .section__head p { color: var(--c-text-muted); }

.faq-quick .section__head p { color: var(--c-text-muted); }

.faq-section .faq-list { position: relative; z-index: 1; }

.faq-item__a .table-wrap {
    margin: 16px 0 12px;
    background: #fff;
    border-color: var(--c-gold-600);
    box-shadow: none;
}

.ledger--faq { min-width: 340px; }
.ledger--faq caption { color: var(--c-purple-800); }

.ledger--faq thead th {
    background: var(--c-purple-800);
    color: var(--c-gold-300);
}

.ledger--faq tbody tr,
.ledger--faq tbody tr:nth-child(even) {
    background: transparent;
    color: var(--c-ink);
}

.ledger--faq tbody tr:nth-child(even) { background: rgba(216, 191, 143, 0.3); }

.ledger--faq th,
.ledger--faq td { border-bottom-color: rgba(122, 85, 24, 0.4); }

.stat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 14px 0 4px;
    padding: 0;
}

.stat-pill {
    padding: 6px 16px;
    border: 2px solid var(--c-gold-400);
    border-radius: var(--radius-pill);
    background: var(--c-purple-800);
    color: var(--c-gold-300);
    font: 600 0.98rem/1.2 var(--font-display);
    font-variant-numeric: tabular-nums;
}

/* Support stage */
.faq-support .home-live__content p { color: #fff; }

.faq-support .home-live__content .pay-card p {
    margin: 0;
    color: var(--c-ink-soft);
    text-shadow: none;
}

.faq-support .btn-row { justify-content: center; }

/* Parchment: responsible gambling, security, complaints */
.faq-parchment .rules-block .lead { color: var(--c-ink); }

.faq-parchment .faq-list { margin-top: 24px; }

.faq-parchment .callout { margin-top: 8px; }

.qa-stack {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.qa-block {
    padding: 20px 22px;
    background: linear-gradient(180deg, var(--c-purple-700), var(--c-purple-800));
    border: 3px solid var(--c-purple-600);
    border-radius: var(--radius);
    box-shadow: inset 0 0 0 2px rgba(226, 187, 98, 0.4), var(--shadow-card);
    color: var(--c-text);
}

.qa-block h3 {
    color: var(--c-gold-300);
    font-size: 1.2rem;
}

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

.surface-parchment .qa-block a:not([class]) { color: var(--c-gold-300); }
.surface-parchment .qa-block a:not([class]):hover { color: #fff; }

/* Related tiles */
.faq-related-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 78%);
    gap: 22px;
    margin: 0;
    padding: 26px 16px 16px;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.faq-related-row > li {
    display: flex;
    scroll-snap-align: start;
}

.faq-related-row > li > .link-tile { flex: 1; }

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

/* Stacked table on small screens */
@media (max-width: 767px) {
    .ledger--stack { min-width: 0; }

    .ledger--stack thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .ledger--stack tbody tr { display: block; padding: 6px 0; }

    .ledger--stack tbody th {
        display: block;
        padding: 10px 16px 4px;
        border-bottom: 0;
        font-size: 1.05rem;
    }

    .ledger--stack tbody td {
        display: flex;
        justify-content: space-between;
        gap: 14px;
        padding: 6px 16px;
        border-bottom: 0;
        text-align: right;
    }

    .ledger--stack tbody td::before {
        content: attr(data-label);
        flex: 0 0 auto;
        text-align: left;
        font-weight: 600;
        color: var(--c-gold-300);
    }

    .vip-rewards .ledger--stack tbody td::before { color: var(--c-purple-800); }

    .vip-rewards .ledger tbody th::before { top: 10px; }
}

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

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

    .btn--primary:hover,
    .game-tile:hover,
    .info-card:hover,
    .link-tile:hover {
        transform: none;
    }
}