/*
 * Jokery Casino - shared design system
 * Dark cinematic violet, acid-green accents, torn parchment, glitch.
 */

:root {
    --bg: #12081d;
    --bg-2: #1a0c2a;
    --header-bg: #1d0e31;
    --violet-900: #170a26;
    --violet-800: #22113a;
    --violet-700: #2e1650;
    --violet-600: #3d1f68;
    --lilac: #b79be6;
    --green: #3bff8c;
    --green-600: #22c96a;
    --green-deep: #1d5a3c;
    --green-deep-2: #154a31;
    --magenta: #ff2fd3;
    --gold: #ffd23f;
    --amber: #ffab1f;
    --cream: #f4e3b9;
    --bone: #f2e8d2;
    --paper: #ecdcb6;
    --ink: #2a1142;
    --ink-soft: #3b2140;
    --text: #ede4f7;
    --muted: #c4b5da;

    --font-display: "Oswald", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
    --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

    --container: 1160px;
    --radius: 6px;
    --header-h: 64px;
    --section-pad: clamp(56px, 8vw, 104px);
    --glow-green: 0 0 18px rgba(59, 255, 140, 0.45);
    --paper-texture: url("./assets/386333a9f5215cb4b950cc1dab02587d.webp");
}

/* ============================================
   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-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    margin: 0;
    min-width: 320px;
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Page shell: circuit traces on both gutters + glitch light streaks */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(70% 0.5% at 0% 22%, rgba(52, 214, 196, 0.22), transparent 70%),
        radial-gradient(55% 0.4% at 100% 31%, rgba(255, 171, 31, 0.18), transparent 70%),
        radial-gradient(60% 0.6% at 0% 58%, rgba(255, 171, 31, 0.16), transparent 70%),
        radial-gradient(65% 0.5% at 100% 66%, rgba(52, 214, 196, 0.2), transparent 70%),
        radial-gradient(50% 0.4% at 0% 84%, rgba(59, 255, 140, 0.14), transparent 70%),
        radial-gradient(80% 45% at 50% 0%, rgba(61, 31, 104, 0.45), transparent 70%),
        radial-gradient(70% 50% at 50% 100%, rgba(46, 22, 80, 0.4), transparent 70%);
}

@media (min-width: 768px) {
    body::before {
        background:

            radial-gradient(70% 0.5% at 0% 22%, rgba(52, 214, 196, 0.22), transparent 70%),
            radial-gradient(55% 0.4% at 100% 31%, rgba(255, 171, 31, 0.18), transparent 70%),
            radial-gradient(60% 0.6% at 0% 58%, rgba(255, 171, 31, 0.16), transparent 70%),
            radial-gradient(65% 0.5% at 100% 66%, rgba(52, 214, 196, 0.2), transparent 70%),
            radial-gradient(50% 0.4% at 0% 84%, rgba(59, 255, 140, 0.14), transparent 70%),
            radial-gradient(80% 45% at 50% 0%, rgba(61, 31, 104, 0.45), transparent 70%),
            radial-gradient(70% 50% at 50% 100%, rgba(46, 22, 80, 0.4), transparent 70%);
    }
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.12;
    color: var(--cream);
    margin: 0 0 0.6em;
    letter-spacing: 0.005em;
}

h1 { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); font-weight: 600; }

p { margin: 0 0 1em; }

a { color: var(--green); }
a:hover { color: #7dffb3; }

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

strong { font-weight: 700; }

.svg-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 200;
    padding: 0.75rem 1.1rem;
    background: var(--green);
    color: #0e0618;
    font-weight: 700;
    text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

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

/* ============================================
   LAYOUT HELPERS
   ============================================ */
.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

@media (min-width: 768px) {
    .container { width: min(100% - 3rem, var(--container)); }
}

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

.section--tight {
    padding-block: clamp(40px, 6vw, 72px);
}

.section-head {
    text-align: center;
    max-width: 46rem;
    margin: 0 auto clamp(28px, 4vw, 44px);
}

.section-title {
    color: var(--cream);
}

.section-sub {
    color: var(--muted);
    font-size: 1.05rem;
}

.prose {
    max-width: 70ch;
}

.prose p, .prose li { color: var(--text); }

.actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
    margin-top: 1.4rem;
}

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

.text-link {
    color: var(--green);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}
.text-link:hover { text-shadow: var(--glow-green); }

.card-grid {
    display: grid;
    gap: clamp(16px, 2.4vw, 26px);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.glitch {
    text-shadow: -2px 0 rgba(255, 47, 211, 0.6), 2px 0 rgba(59, 255, 140, 0.5);
}

.glitch--animate {
    animation: glitch-shift 7s steps(1) infinite;
}

@keyframes glitch-shift {
    0%, 90%, 100% { transform: none; text-shadow: -2px 0 rgba(255, 47, 211, 0.6), 2px 0 rgba(59, 255, 140, 0.5); }
    91% { transform: translateX(2px); text-shadow: -4px 0 rgba(255, 47, 211, 0.75), 3px 0 rgba(59, 255, 140, 0.65); clip-path: inset(0 0 40% 0); }
    93% { transform: translateX(-2px); clip-path: inset(45% 0 0 0); }
    95% { transform: translateX(1px); clip-path: none; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.7rem 1.4rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn--primary {
    background: var(--green);
    border-color: var(--green);
    color: #0e0618;
    box-shadow: 4px 4px 0 var(--magenta), -3px -3px 0 rgba(59, 255, 140, 0.35), 0 0 22px rgba(59, 255, 140, 0.35);
}
.btn--primary:hover {
    background: #6dffa8;
    color: #0e0618;
    animation: btn-jitter 0.3s steps(2) 2;
    box-shadow: -4px 3px 0 var(--magenta), 4px -3px 0 rgba(59, 255, 140, 0.45), 0 0 30px rgba(59, 255, 140, 0.55);
}

.btn--outline {
    background: rgba(18, 8, 29, 0.55);
    border-color: var(--green);
    color: var(--green);
    box-shadow: inset 0 0 0 1px rgba(59, 255, 140, 0.25), 0 0 12px rgba(59, 255, 140, 0.2);
}
.btn--outline:hover {
    background: rgba(59, 255, 140, 0.12);
    color: #8dffc0;
    box-shadow: inset 0 0 0 1px rgba(59, 255, 140, 0.45), 0 0 20px rgba(59, 255, 140, 0.4);
}

.btn--ink {
    background: var(--ink);
    border-color: var(--green);
    color: var(--cream);
    box-shadow: 0 0 0 1px var(--ink), 0 0 10px rgba(59, 255, 140, 0.35);
}
.btn--ink:hover {
    background: #3a1a5c;
    color: #fff6dc;
}

.btn--sm { min-height: 44px; padding: 0.5rem 1.05rem; font-size: 0.98rem; }
.btn--lg { min-height: 56px; padding: 0.85rem 1.8rem; font-size: 1.18rem; }

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

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--header-bg);
    border-bottom: 1px solid rgba(183, 155, 230, 0.14);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: var(--header-h);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
    flex: none;
}

.site-brand__text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1;
}
.site-brand__a { color: var(--cream); }
.site-brand__b { color: var(--green); text-shadow: 0 0 12px rgba(59, 255, 140, 0.35); }

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

.site-nav__link {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--cream);
    text-decoration: none;
    letter-spacing: 0.02em;
}
.site-nav__link:hover { color: var(--green); }
.site-nav__link[aria-current="page"] {
    color: var(--green);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.35em;
}

.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 0;
    background: transparent;
    border: 2px solid rgba(59, 255, 140, 0.6);
    border-radius: 3px;
    cursor: pointer;
    flex: none;
}

.menu-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--green);
    transition: transform 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { transform: scaleX(0); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1023.98px) {
    .header-actions { display: none; }

    .site-nav {
        position: fixed;
        top: var(--header-bottom, var(--header-h));
        left: 0;
        right: 0;
        bottom: 0;
        height: auto;
        z-index: 90;
        background: var(--bg-2);
        border-top: 1px solid rgba(59, 255, 140, 0.3);
        padding: 18px 1rem 40px;
        overflow-y: auto;
        overscroll-behavior: contain;
        visibility: hidden;
        transform: translateY(-10px);
        transition: transform 0.22s ease, visibility 0.22s;
    }

    .site-nav.is-open {
        visibility: visible;
        transform: none;
    }

    .site-nav__list {
        display: flex;
        flex-direction: column;
    }

    .site-nav__link {
        display: flex;
        align-items: center;
        min-height: 48px;
        font-size: 1.35rem;
        border-bottom: 1px solid rgba(183, 155, 230, 0.16);
    }

    .site-nav__actions {
        display: grid;
        gap: 14px;
        margin-top: 26px;
    }

    .no-js .site-nav {
        position: static;
        visibility: visible;
        transform: none;
        width: 100%;
        padding: 0 0 16px;
        border: 0;
    }
    .no-js .site-header__inner { flex-wrap: wrap; }
    .no-js .menu-toggle { display: none; }
}

@media (min-width: 1024px) {
    :root { --header-h: 76px; }

    .menu-toggle,
    .site-nav__actions { display: none; }

    .site-nav { margin-left: auto; }

    .site-nav__list {
        display: flex;
        align-items: center;
        gap: clamp(16px, 2.2vw, 34px);
    }

    .site-nav__link {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        font-size: 1.08rem;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-left: clamp(16px, 2.4vw, 40px);
    }
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs { padding-top: 18px; }

.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
    color: var(--muted);
}

.breadcrumbs__item + .breadcrumbs__item::before {
    content: "›";
    margin-right: 10px;
    color: var(--green);
}

.breadcrumbs a { color: var(--muted); text-decoration: underline; text-underline-offset: 0.2em; }
.breadcrumbs a:hover { color: var(--green); }

/* ============================================
   TORN PAPER EDGES
   ============================================ */
.torn-edge {
    position: absolute;
    left: 0;
    width: 100%;
    max-width: none;
    height: clamp(16px, 2.6vw, 36px);
    z-index: 2;
    pointer-events: none;
    display: block;
}

.torn-edge--top { top: 0; color: var(--header-bg); }
.torn-edge--bottom { bottom: 0; color: var(--bg); transform: scaleY(-1); }

.torn-edge__fill { fill: currentColor; }
.torn-edge__fiber { fill: none; stroke: #efe3cb; stroke-width: 3; stroke-linejoin: round; }
.torn-edge__fiber--thin { stroke: rgba(239, 227, 203, 0.55); stroke-width: 1.2; }

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    isolation: isolate;
    overflow: clip;
    background-color: var(--bg);
    color: var(--bone);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: var(--hero-pos-m, var(--hero-pos, 70% center));
}

.hero__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(18, 8, 29, 0.1) 0%, rgba(18, 8, 29, 0.25) 32%, rgba(18, 8, 29, 0.9) 58%, var(--bg) 100%);
}

.hero__inner {
    position: relative;
    z-index: 3;
    padding-top: clamp(220px, 60vw, 380px);
    padding-bottom: 70px;
}

.hero__content { max-width: 36rem; }

.hero__eyebrow {
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--green);
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
}

.hero__title { color: var(--cream); margin-bottom: 0.45em; }

.hero__lead {
    font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
    color: var(--bone);
    max-width: 34rem;
}

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

.hero__secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    color: var(--cream);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--green);
    text-underline-offset: 0.25em;
}
.hero__secondary:hover { color: var(--green); }

@media (min-width: 768px) {
    .hero {
        min-height: clamp(480px, 44vw, 640px);
        display: flex;
        align-items: center;
    }

    .hero__bg { background-position: var(--hero-pos, 70% center); }

    .hero__shade {
        background:
            linear-gradient(90deg, rgba(18, 8, 29, 0.93) 0%, rgba(18, 8, 29, 0.8) 32%, rgba(18, 8, 29, 0.3) 52%, rgba(18, 8, 29, 0) 70%),
            linear-gradient(0deg, rgba(18, 8, 29, 0.45), rgba(18, 8, 29, 0) 30%);
    }

    .hero__inner { padding-block: clamp(96px, 10vw, 140px); }
}

/* ============================================
   PARCHMENT SURFACES
   ============================================ */
.paper,
.site-footer__panel,
.bonus-card__paper,
.licence-box,
.table-wrap,
.stat-chip,
.link-card,
.feature-card--paper,
.faq-item__q {
    background-color: var(--paper);
    background-image:
        radial-gradient(ellipse at 50% 45%, rgba(246, 232, 198, 0.35) 0%, rgba(246, 232, 198, 0) 60%, rgba(110, 64, 26, 0.22) 100%),
        var(--paper-texture);
    background-size: cover;
    background-position: center;
    color: var(--ink);
}

/* ============================================
   BONUS CARDS
   ============================================ */
.bonus-cards {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    max-width: 980px;
    margin-inline: auto;
}

.bonus-card {
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.55));
    transform: rotate(-1.5deg);
}
.bonus-card:nth-child(2) { transform: rotate(1.2deg); }
.bonus-card:nth-child(3) { transform: rotate(-1deg); }

.bonus-card--featured {
    filter: drop-shadow(0 0 16px rgba(59, 255, 140, 0.45)) drop-shadow(0 12px 18px rgba(0, 0, 0, 0.5));
}

.bonus-card__paper {
    clip-path: url(#torn-card);
    -webkit-clip-path: url(#torn-card);
    padding: 36px 24px 34px;
    text-align: center;
}

.bonus-card--featured .bonus-card__paper {
    background-image:
        linear-gradient(rgba(25, 86, 56, 0.93), rgba(19, 68, 44, 0.95)),
        var(--paper-texture);
    color: var(--cream);
}

.bonus-card__step {
    font-size: 1.45rem;
    color: var(--ink);
    margin-bottom: 0.25em;
}

.bonus-card__value {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.6rem, 2rem + 2vw, 3.3rem);
    line-height: 1;
    margin: 0 0 0.35em;
    color: var(--ink);
}

.bonus-card__terms,
.bonus-card__min {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.08rem;
    margin: 0 0 0.3em;
}

.bonus-card__note {
    font-size: 0.95rem;
    margin: 0.4em 0 0;
}

.bonus-card .btn { margin-top: 1rem; }

.bonus-card--featured .bonus-card__step,
.bonus-card--featured .bonus-card__value { color: var(--cream); }

.bonus-card--featured .btn--ink {
    background: var(--cream);
    color: var(--ink);
}

@media (min-width: 768px) {
    .bonus-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
        align-items: center;
    }
    .bonus-card:nth-child(2) { transform: translateY(-8px) rotate(1.2deg); }
}

/* ============================================
   VINE FRAME PANEL + POLAROIDS
   ============================================ */
.vine-panel {
    position: relative;
    isolation: isolate;
    padding: clamp(34px, 6vw, 84px) clamp(12px, 4.5vw, 70px);
}

.vine-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: var(--frame-art, none) center / 100% 100% no-repeat;
}

.vine-panel__inner {
    position: relative;
    z-index: 0;
    background: linear-gradient(180deg, #2a1546 0%, #1f0f35 100%);
    border-radius: 26px;
    padding: clamp(28px, 4vw, 48px) clamp(14px, 3vw, 40px);
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(59, 255, 140, 0.18);
}

.polaroid-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
}

.polaroid {
    transform: rotate(-1.6deg);
    transition: transform 0.2s ease;
}
.polaroid:nth-child(2n) { transform: rotate(1.4deg); }
.polaroid:nth-child(3n) { transform: rotate(-0.8deg); }
.polaroid:nth-child(5n) { transform: rotate(2deg); }
.polaroid:hover,
.polaroid:focus-within { transform: translateY(-4px) rotate(0deg); }

.polaroid__link {
    display: block;
    height: 100%;
    background: #efe2c3;
    padding: 10px 10px 14px;
    color: var(--ink);
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.polaroid__img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: #3b5a4c;
}

.polaroid__title {
    font-size: 1.08rem;
    color: var(--ink);
    margin: 0.7rem 0 0.15rem;
}

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

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

/* ============================================
   GLITCH FRAME + SMOKE SLAB
   ============================================ */
.glitch-frame {
    position: relative;
    margin: 0;
}

.glitch-frame__media {
    position: relative;
    border: 2px solid var(--green);
    box-shadow: 0 0 0 1px rgba(59, 255, 140, 0.3), 0 0 26px rgba(59, 255, 140, 0.4), inset 0 0 18px rgba(59, 255, 140, 0.25);
}

.glitch-frame__media img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.glitch-frame__slice {
    position: absolute;
    width: 14px;
    pointer-events: none;
}

.glitch-frame__slice--l {
    left: -14px;
    top: 12%;
    height: 62%;
    background: repeating-linear-gradient(180deg, var(--magenta) 0 14px, transparent 14px 26px, var(--green) 26px 34px, transparent 34px 52px);
}

.glitch-frame__slice--r {
    right: -14px;
    top: 28%;
    height: 56%;
    background: repeating-linear-gradient(180deg, var(--green) 0 10px, transparent 10px 22px, var(--magenta) 22px 34px, transparent 34px 50px);
}

.glitch-frame__label {
    position: absolute;
    left: 14px;
    bottom: -18px;
    display: flex;
    flex-direction: column;
    padding: 0.55rem 1rem;
    background: #160a24;
    border: 1px solid rgba(59, 255, 140, 0.6);
    font-family: var(--font-display);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}
.glitch-frame__label strong { color: var(--cream); font-size: 1.15rem; font-weight: 600; }
.glitch-frame__label span { color: var(--green); font-size: 0.95rem; }

.smoke-slab {
    position: relative;
    clip-path: url(#torn-slab);
    -webkit-clip-path: url(#torn-slab);
    background:
        linear-gradient(90deg, rgba(23, 10, 38, 0.82) 0%, rgba(23, 10, 38, 0.6) 60%, rgba(23, 10, 38, 0.25) 100%),
        radial-gradient(60% 80% at 80% 20%, rgba(122, 75, 191, 0.35), transparent 70%),
        radial-gradient(50% 70% at 20% 90%, rgba(59, 255, 140, 0.1), transparent 70%),
        #2a1446;
    padding: clamp(32px, 4.5vw, 56px) clamp(26px, 4.5vw, 60px);
    color: var(--text);
}

/* ============================================
   SPLIT PANELS + LIGHTNING
   ============================================ */
.split {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    max-width: 980px;
    margin-inline: auto;
}

.split__panel {
    position: relative;
    padding: clamp(28px, 4vw, 44px) clamp(22px, 3.5vw, 40px);
    color: var(--text);
}

.split__panel--purple {
    background: linear-gradient(160deg, #3a1d63 0%, #26113f 100%);
    border: 1px solid rgba(183, 155, 230, 0.25);
}

.split__panel--green {
    background: linear-gradient(160deg, #1f6a45 0%, #154a31 100%);
    border: 1px solid rgba(59, 255, 140, 0.3);
    color: #f1f7ee;
}

.split__panel--green a:not(.btn) { color: #ffffff; }

.split__seam {
    position: relative;
    height: 64px;
    pointer-events: none;
    z-index: 2;
}

.split__seam .lightning {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 52px;
    height: min(86vw, 520px);
    max-width: none;
    transform: translate(-50%, -50%) rotate(90deg);
}

.lightning {
    overflow: visible;
    filter: drop-shadow(0 0 6px rgba(255, 210, 63, 0.9)) drop-shadow(0 0 18px rgba(255, 159, 26, 0.65));
}
.lightning__glow { fill: none; stroke: var(--amber); stroke-width: 5; stroke-linejoin: round; }
.lightning__body { fill: var(--gold); }
.lightning__core { fill: none; stroke: #fffbe6; stroke-width: 1.6; stroke-linejoin: round; }
.lightning__spark { fill: none; stroke: #ffe066; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }

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

    .split__panel--purple {
        clip-path: polygon(0 0, 100% 0, calc(100% - 56px) 100%, 0 100%);
        padding-right: 80px;
        margin-right: -28px;
    }

    .split__panel--green {
        clip-path: polygon(56px 0, 100% 0, 100% 100%, 0 100%);
        padding-left: 80px;
        margin-left: -28px;
    }

    .split__seam {
        position: absolute;
        top: -12%;
        bottom: -12%;
        left: 50%;
        width: 110px;
        height: auto;
        transform: translateX(-50%);
    }

    .split__seam .lightning {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        transform: none;
    }
}

/* ============================================
   STAT CHIPS
   ============================================ */
.stat-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.stat-chip {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-height: 88px;
    padding: 14px 14px 14px 28px;
    clip-path: polygon(16px 0, 100% 0, 100% 100%, 16px 100%, 0 50%);
    filter: none;
}

.stat-chip__value {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem);
    line-height: 1;
    color: var(--ink);
}

.stat-chip__label {
    font-variant: small-caps;
    font-size: 0.98rem;
    letter-spacing: 0.02em;
    line-height: 1.3;
    color: var(--ink-soft);
}

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

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

/* ============================================
   CALLOUT
   ============================================ */
.callout {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: #1d0f30;
    border: 1px solid rgba(183, 155, 230, 0.22);
    border-left: 6px solid var(--green);
    border-radius: 4px;
    margin-block: 1.4rem;
}

.callout__icon {
    flex: none;
    color: var(--green);
    line-height: 0;
}
.callout__icon .icon { width: 28px; height: 28px; }

.callout__body { min-width: 0; }

.callout__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--cream);
    margin: 0 0 0.25rem;
}

.callout__text { margin: 0; color: var(--text); }

.callout--warning {
    border-color: rgba(255, 210, 63, 0.55);
    border-left-color: var(--gold);
}
.callout--warning .callout__icon { color: var(--gold); }

.callout--question { border-left-color: var(--amber); }
.callout--question .callout__icon { color: var(--amber); }

/* ============================================
   FEATURE CARDS
   ============================================ */
.feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 34px 24px 26px;
    clip-path: url(#torn-top);
    -webkit-clip-path: url(#torn-top);
}

.feature-card--dark {
    background: linear-gradient(170deg, #2b1549 0%, #1d0e31 100%);
    color: var(--text);
}

.feature-card--dark::after {
    content: "";
    position: absolute;
    inset: 9px;
    border: 1px solid rgba(59, 255, 140, 0.55);
    pointer-events: none;
}

.feature-card__icon {
    color: var(--green);
    line-height: 0;
    margin-bottom: 0.4rem;
}
.feature-card__icon .icon { width: 36px; height: 36px; }

.feature-card__title { margin: 0; }
.feature-card--paper .feature-card__title { color: var(--ink); }
.feature-card--paper .feature-card__icon { color: var(--ink); }

.feature-card__text { margin: 0; }
.feature-card--paper .feature-card__text { color: var(--ink-soft); }
.feature-card--paper a:not(.feature-card__link) { color: var(--ink); }

.feature-card__link {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    font-weight: 600;
    color: var(--green);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}
.feature-card--paper .feature-card__link { color: var(--ink); text-decoration-color: var(--green-600); }

/* ============================================
   LINK CARDS
   ============================================ */
.link-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}

.link-card {
    position: relative;
    padding: 28px 20px 20px;
    clip-path: url(#torn-top);
    -webkit-clip-path: url(#torn-top);
    transform: rotate(-1deg);
    transition: transform 0.2s ease;
}
.link-card:nth-child(even) { transform: rotate(1deg); }
.link-card:hover { transform: rotate(0deg) translateY(-3px); }

.link-card__title {
    font-size: 1.25rem;
    margin: 0 0 0.4rem;
    color: var(--ink);
}

.link-card__title a {
    color: var(--ink);
    text-decoration: none;
}
.link-card__title a::after {
    content: "";
    position: absolute;
    inset: 0;
}
.link-card:hover .link-card__title a,
.link-card__title a:focus-visible {
    text-decoration: underline;
    text-decoration-color: var(--green-600);
    text-decoration-thickness: 3px;
    text-underline-offset: 0.2em;
}

.link-card__text {
    margin: 0;
    color: var(--ink-soft);
    font-size: 1rem;
}

/* ============================================
   PILLS
   ============================================ */
.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pill {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.35rem 1rem;
    border: 1.5px solid var(--green);
    border-radius: 999px;
    background: #1f0f35;
    color: var(--text);
    font-weight: 600;
    transition: box-shadow 0.2s ease;
}
.pill:hover { box-shadow: 0 0 14px rgba(59, 255, 140, 0.45); }

/* ============================================
   DATA TABLE
   ============================================ */
.table-wrap {
    padding: 6px;
    border-radius: 4px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--ink);
    font-size: 1rem;
}

.data-table caption {
    caption-side: top;
    text-align: left;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    padding: 12px 14px;
    color: var(--ink);
}

.data-table thead th {
    background: var(--ink);
    color: var(--cream);
    font-family: var(--font-display);
    font-weight: 600;
    text-align: left;
    padding: 12px 14px;
    letter-spacing: 0.02em;
}

.data-table tbody th,
.data-table tbody td {
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px dashed rgba(90, 55, 30, 0.45);
}

.data-table tbody th {
    font-family: var(--font-display);
    font-weight: 600;
}

.data-table tbody tr:nth-child(even) { background: rgba(255, 248, 230, 0.5); }

.data-table a { color: var(--ink); }

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

    .data-table,
    .data-table tbody,
    .data-table tr { display: block; }

    .data-table tr {
        padding: 12px 12px;
        border-bottom: 2px solid rgba(42, 17, 66, 0.3);
    }

    .data-table tbody th {
        display: block;
        font-size: 1.15rem;
        padding: 0 0 6px;
        border: 0;
    }

    .data-table tbody td {
        display: grid;
        grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
        gap: 10px;
        padding: 6px 0;
    }

    .data-table tbody td::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--ink-soft);
    }
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
    display: grid;
    gap: 14px;
    align-items: start;
    max-width: 860px;
    margin-inline: auto;
}

.faq-item {
    align-self: start;
}

.faq-item:has(.faq-item__q:focus-visible) {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.faq-item__q {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
    padding: 14px 18px 20px;
    cursor: pointer;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), 93% 100%, 86% calc(100% - 5px), 78% 100%, 70% calc(100% - 4px), 61% 100%, 52% calc(100% - 6px), 44% 100%, 35% calc(100% - 4px), 27% 100%, 18% calc(100% - 6px), 9% 100%, 0 calc(100% - 4px));
}

.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::marker { content: ""; }
.faq-item__q:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--violet-600); }

.faq-item__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.14rem;
    line-height: 1.3;
    color: var(--ink);
    margin: 0;
}

.faq-item__icon {
    position: relative;
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--ink);
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 13px;
    height: 2px;
    background: var(--green);
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
}
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-item__a {
    background: #251240;
    color: var(--text);
    padding: 20px 20px 22px;
    margin-top: -4px;
    border-left: 2px solid var(--green);
}

.faq-item__a p { margin: 0; }
.faq-item__a a { color: var(--green); }

/* ============================================
   LICENCE BOX + SEAL
   ============================================ */
.licence-box {
    max-width: 580px;
    margin: 36px auto 0;
    padding: 20px 22px;
    border: 6px double var(--ink);
    text-align: center;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.05rem;
    line-height: 1.45;
}

.licence-box p { margin: 0.15rem 0; }

.licence-box__brand {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.licence-box__note {
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 600;
    margin-top: 0.5rem !important;
}

.seal-18 {
    width: 64px;
    height: 64px;
    flex: none;
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
    position: relative;
    padding-block: clamp(56px, 8vw, 96px);
}

.cta-band__inner {
    position: relative;
    text-align: center;
    max-width: 820px;
    margin-inline: auto;
    padding: clamp(34px, 5vw, 56px) clamp(20px, 4vw, 48px);
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(59, 255, 140, 0.14), transparent 60%),
        linear-gradient(170deg, #2c1550 0%, #1a0c2a 100%);
    border: 1px solid rgba(59, 255, 140, 0.45);
    box-shadow: 0 0 40px rgba(59, 255, 140, 0.16), inset 0 0 50px rgba(0, 0, 0, 0.35);
}

.cta-band__text {
    color: var(--text);
    max-width: 40rem;
    margin-inline: auto;
}

.cta-band__fine {
    margin: 1.4rem 0 0;
    font-size: 0.95rem;
    color: var(--muted);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    position: relative;
    padding: clamp(40px, 6vw, 72px) 0 24px;
}

.site-footer__panel {
    clip-path: url(#torn-top);
    -webkit-clip-path: url(#torn-top);
    padding: clamp(52px, 6vw, 76px) clamp(18px, 4vw, 56px) 28px;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 20px;
}

.footer-col__title {
    font-size: 1.35rem;
    margin: 0 0 0.4rem;
}

.footer-col__title a {
    color: var(--ink);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}
.footer-col__title a:hover { text-decoration: underline; text-decoration-color: var(--green-600); }

.footer-col__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--ink);
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
}
.footer-link:hover {
    color: #4b1d70;
    text-decoration: underline;
    text-decoration-color: var(--green-600);
    text-underline-offset: 0.2em;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px 20px;
    margin-top: 26px;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.4rem 1.1rem;
    border: 2px solid var(--ink);
    border-radius: 999px;
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
}
.footer-badge:hover { background: var(--ink); color: var(--cream); }

.footer-note {
    max-width: 62ch;
    margin: 20px auto 0;
    text-align: center;
    font-size: 0.98rem;
    color: var(--ink-soft);
}

.footer-copy {
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px dashed rgba(42, 17, 66, 0.45);
    text-align: center;
    font-size: 0.95rem;
    color: var(--ink);
}

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

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

/* ============================================
   HOME: WELCOME PACKAGE
   ============================================ */
.welcome { isolation: isolate; }

.welcome__art {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: url("./assets/0fbcb940bf478e55b285ba6cb81d9652.webp");
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center 110px;
}

.welcome__terms {
    max-width: 760px;
    margin: 44px auto 0;
    text-align: center;
    font-size: 1rem;
    color: var(--text);
}

.welcome__terms p { margin-bottom: 0.6rem; }

.welcome__flag {
    display: inline-block;
    padding: 4px 12px;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .welcome__art {
        background-size: contain;
        background-position: center 58%;
    }
}

/* ============================================
   HOME: SLOTS PANEL
   ============================================ */
.vine-panel--slots { --frame-art: url("./assets/f032484be882c74a46fa7ac13cd9a31e.webp"); }

.slots__head {
    text-align: center;
    max-width: 46rem;
    margin: 0 auto clamp(24px, 3vw, 36px);
}

.slots__head p { color: var(--text); }

.vine-panel__inner .actions { margin-top: clamp(28px, 3vw, 40px); }

/* ============================================
   HOME: LIVE CASINO
   ============================================ */
.live-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
    align-items: center;
}

.live-grid .glitch-frame { margin: 0 14px 18px; }

.live-grid .smoke-slab h2 { color: var(--cream); }

.live-grid .pill-list { margin-bottom: 1rem; }

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

    .live-grid .glitch-frame { margin: 0 0 0 14px; }

    .live-grid .smoke-slab {
        position: relative;
        z-index: 1;
        margin-left: -36px;
    }
}

/* ============================================
   HOME: CASHBACK & VIP
   ============================================ */
.cv-split { margin-top: 40px; }

.cv-cell {
    position: relative;
    display: flex;
    flex-direction: column;
}

.cv-cell > .split__panel { flex: 1 1 auto; }

.cv-art {
    position: absolute;
    z-index: 3;
    height: auto;
    pointer-events: none;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.5));
}

.cv-art--shield { width: 72px; top: -30px; left: -6px; }
.cv-art--crown { width: 84px; top: -34px; right: -6px; }

.cv-cell--cash .split__panel h3 { padding-left: 52px; }
.cv-cell--vip .split__panel h3 { padding-right: 72px; }

.split__panel--green .text-link { color: #ffffff; }

@media (min-width: 1024px) {
    .cv-split {
        max-width: 880px;
        margin-top: 64px;
    }

    .cv-art--shield { width: 120px; top: -56px; left: -70px; }
    .cv-art--crown { width: 140px; top: -72px; right: -50px; }

    .cv-cell--cash .split__panel { padding-left: 40px; }
    .cv-cell--cash .split__panel h3 { padding-left: 20px; }
    .cv-cell--vip .split__panel h3 { padding-right: 60px; }
}

/* ============================================
   HOME: LICENCE STRIP
   ============================================ */
.licence-box--home {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 40px);
    font-family: var(--font-body);
    font-weight: 400;
}

.licence-box--home .seal-18 {
    display: block;
    margin: 0 auto 12px;
}

.licence-box--home h2 { color: var(--ink); }

.licence-box__lines {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.12rem;
    margin-bottom: 14px;
}

.licence-box--home .licence-box__text {
    max-width: 58ch;
    margin: 0 auto 0.6rem;
}

.licence-box__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 12px;
}

.licence-box__links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--ink);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--green-600);
    text-underline-offset: 0.2em;
}

/* ============================================
   BONUSSER PAGE
   ============================================ */
.welcome-bonus { isolation: isolate; }

.welcome-bonus__art {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

.welcome-bonus__note {
    max-width: 760px;
    margin: 44px auto 0;
}

.wager {
    margin-inline: auto;
}

.wager h3 { margin-top: 1.4rem; color: var(--cream); }

.terms-list {
    margin: 0 0 1.2rem;
    padding-left: 1.2rem;
}

.terms-list li {
    margin-bottom: 0.6rem;
    color: var(--text);
}

.terms-list li::marker { color: var(--green); }

/* Worked example: deposit + bonus -> x35 -> turnover */
.equation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 860px;
    margin: 26px auto 34px;
}

.equation__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-height: 92px;
    padding: 14px 18px;
    text-align: center;
    background: linear-gradient(170deg, #2b1549 0%, #1d0e31 100%);
    border: 1.5px solid rgba(59, 255, 140, 0.55);
    box-shadow: inset 0 0 18px rgba(59, 255, 140, 0.1);
}

.equation__step strong {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
    line-height: 1.1;
    color: var(--cream);
}

.equation__step span {
    color: var(--muted);
    font-size: 0.98rem;
}

.equation__step--result {
    background: linear-gradient(160deg, #1f6a45 0%, #154a31 100%);
    border-color: var(--green);
    box-shadow: var(--glow-green);
}
.equation__step--result span { color: #e4f3e6; }

.equation__arrow {
    flex: none;
    width: 48px;
    height: 20px;
    color: var(--green);
    transform: rotate(90deg);
    filter: drop-shadow(0 0 6px rgba(59, 255, 140, 0.8));
}

@media (min-width: 768px) {
    .equation {
        flex-direction: row;
        align-items: stretch;
        gap: 6px;
    }

    .equation__step { flex: 1 1 0; width: auto; }

    .equation__arrow {
        align-self: center;
        width: 64px;
        transform: none;
    }
}

/* Cashback block */
.cash-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    max-width: 980px;
    margin-inline: auto;
}

.cash-grid__art {
    display: block;
    width: min(46%, 190px);
    height: auto;
    margin-inline: auto;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.5));
}

.cash-grid .smoke-slab h2 { color: var(--cream); }

@media (min-width: 768px) {
    .cash-grid {
        grid-template-columns: minmax(0, 0.45fr) minmax(0, 1.4fr);
        gap: 0;
    }

    .cash-grid__art {
        width: min(100%, 260px);
        position: relative;
        z-index: 2;
        margin-right: -30px;
    }
}

/* ============================================
   SPIL PAGE
   ============================================ */
.fact-strip {
    background: var(--violet-800);
    border-block: 1px solid rgba(59, 255, 140, 0.35);
    padding: 22px 0 16px;
}

.fact-strip__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 0;
}

.fact-strip__item {
    position: relative;
    text-align: center;
    padding: 0 10px;
}

.fact-strip__item:last-child { grid-column: 1 / -1; }

.fact-strip__value {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
    line-height: 1.15;
    color: var(--green);
    text-shadow: -2px 0 rgba(255, 47, 211, 0.5);
}

.fact-strip__label {
    display: block;
    color: var(--text);
    font-size: 0.98rem;
}

.fact-strip__item + .fact-strip__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8%;
    height: 84%;
    width: 3px;
    background: repeating-linear-gradient(180deg, var(--magenta) 0 8px, transparent 8px 14px, var(--green) 14px 22px, transparent 22px 28px);
}

@media (max-width: 767.98px) {
    .fact-strip__item:nth-child(odd)::before { display: none; }
}

.fact-strip__note {
    margin: 16px auto 0;
    max-width: 62ch;
    text-align: center;
    font-size: 0.92rem;
    color: var(--muted);
}

@media (min-width: 768px) {
    .fact-strip__list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .fact-strip__item:last-child { grid-column: auto; }
}

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

.crash-grid__art {
    display: block;
    width: min(78%, 360px);
    height: auto;
    margin-inline: auto;
}

.crash-grid .terms-list { max-width: 60ch; }

@media (min-width: 768px) {
    .crash-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr); gap: 40px; }
    .crash-grid__art { width: 100%; }
}

.table-note {
    max-width: 760px;
    margin: 34px auto 0;
    text-align: center;
    color: var(--text);
}

.sports-split .smoke-slab h2 { color: var(--cream); }

.sports-split__media { display: flex; align-items: center; justify-content: center; }

.sports-split__art {
    display: block;
    width: min(88%, 440px);
    height: auto;
    margin-inline: auto;
}

@media (min-width: 768px) {
    .sports-split .smoke-slab { padding-right: 76px; }
    .sports-split__art { width: 100%; margin-left: 40px; }
}

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

.mobile-grid .pill-list { margin-bottom: 1rem; }

.phone-glow {
    display: flex;
    justify-content: center;
    padding: 24px;
    background: radial-gradient(closest-side, rgba(59, 255, 140, 0.22), transparent 80%);
    filter: drop-shadow(0 0 16px rgba(59, 255, 140, 0.55));
}

.phone-glow svg { width: 130px; height: auto; }

@media (min-width: 768px) {
    .mobile-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr); gap: 48px; }
}

/* Rewards grid: static peer cards share height */
.rewards-grid { align-items: stretch; }

.rewards-grid .feature-card { height: 100%; }

/* ============================================
   OM OS PAGE
   ============================================ */
.about-prose { margin-inline: auto; }

.about-prose h2,
.about-grid .prose h2 { color: var(--cream); }

.about-chips {
    max-width: 980px;
    margin: clamp(28px, 4vw, 44px) auto 0;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    align-items: center;
    max-width: 1000px;
    margin-inline: auto;
}

@media (min-width: 768px) {
    .about-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; }
}

.pull-quote-wrap {
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.55));
    transform: rotate(2deg);
    padding: 6px;
}

.pull-quote {
    margin: 0;
    padding: 34px 28px 38px;
    text-align: center;
    clip-path: url(#torn-card);
    -webkit-clip-path: url(#torn-card);
}

.pull-quote p {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.9rem, 1.4rem + 2.4vw, 2.8rem);
    line-height: 1.1;
    color: var(--ink);
}

.pull-quote__mark {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 3.4rem;
    line-height: 0.8;
    color: var(--ink);
    text-shadow: -3px 0 rgba(255, 47, 211, 0.75), 3px 0 rgba(34, 201, 106, 0.85);
}

.pull-quote__mark--end { margin-top: 0.3rem; }

.licence-box--about {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(22px, 4vw, 36px);
    text-align: left;
    font-family: var(--font-body);
    font-weight: 400;
}

.licence-box__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.licence-box__head .licence-box__brand { margin: 0; }

.fact-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--ink);
}

.fact-table th,
.fact-table td {
    padding: 11px 6px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px dashed rgba(90, 55, 30, 0.5);
}

.fact-table tr:last-child th,
.fact-table tr:last-child td { border-bottom: 0; }

.fact-table th {
    width: 34%;
    font-family: var(--font-display);
    font-weight: 600;
}

.fact-table td {
    font-weight: 600;
    overflow-wrap: anywhere;
}

.smoke-slab--about {
    max-width: 920px;
    margin-inline: auto;
}

.smoke-slab--about h2 { color: var(--cream); }

.smoke-slab--about a { color: var(--green); }

/* ============================================
   VIP PAGE
   ============================================ */
.steps {
    position: relative;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 960px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
}

.step {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    column-gap: 18px;
    align-items: start;
}

.step__dot {
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #1d0e31;
    border: 2px solid var(--green);
    box-shadow: var(--glow-green), inset 0 0 14px rgba(59, 255, 140, 0.25);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.9rem;
    color: var(--cream);
}

.step__title { margin: 0.5rem 0 0.2em; }
.step__text { margin: 0; color: var(--text); }

.steps__line {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
    filter: drop-shadow(0 0 5px rgba(59, 255, 140, 0.85));
}

.steps__line--v {
    display: block;
    left: 32px;
    top: 36px;
    width: 8px;
    height: calc(100% - 72px);
}

.steps__line--h { display: none; }

.steps__note {
    max-width: 62ch;
    margin: 34px auto 0;
    text-align: center;
    color: var(--muted);
    font-size: 1rem;
}

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

    .step {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center;
        padding-inline: 8px;
    }

    .step__dot {
        grid-row: auto;
        margin-bottom: 12px;
    }

    .steps__line--v { display: none; }

    .steps__line--h {
        display: block;
        left: 16.66%;
        top: 32px;
        width: 66.68%;
        height: 8px;
    }
}

/* Coins */
.coins-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.coins-grid .prose h2 { color: var(--cream); }
.coins-grid .pill-list { margin-top: 1rem; }

.coins-grid__media {
    display: flex;
    justify-content: center;
    background: radial-gradient(closest-side, rgba(59, 255, 140, 0.18), transparent 85%);
}

.coins-grid__media img {
    display: block;
    width: min(86%, 440px);
    height: auto;
}

@media (min-width: 768px) {
    .coins-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; }
    .coins-grid__media img { width: 100%; }
}

/* Level table */
.level-name { display: block; }

.level-bar {
    position: relative;
    display: block;
    width: 100%;
    max-width: 140px;
    height: 6px;
    margin-top: 8px;
    border-radius: 3px;
    background: rgba(42, 17, 66, 0.2);
    overflow: hidden;
}

.level-bar::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--lvl, 20%);
    background: linear-gradient(90deg, var(--green-600), var(--green));
    box-shadow: 0 0 8px rgba(59, 255, 140, 0.7);
}

.level-crown {
    width: 20px;
    height: 20px;
    margin-left: 4px;
    vertical-align: -3px;
    color: var(--green-deep);
}

.data-table.level-table tbody tr.is-top {
    background: rgba(59, 255, 140, 0.22);
}

/* Withdrawal limits */
.limits-split .split__panel h3 { color: var(--cream); }

.limit-legend {
    margin: 0 0 0.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.limit-rows {
    margin: 0 0 1rem;
    padding: 0;
}

.limit-rows div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2px 14px;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.28);
}

.limit-rows dt {
    font-family: var(--font-display);
    font-weight: 600;
}

.limit-rows dd {
    margin: 0;
    font-weight: 700;
}

.limits-split .split__panel a:not(.btn) { color: var(--green); }
.limits-split .split__panel--green a:not(.btn) { color: #ffffff; }

/* Responsible note */
.resp-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    max-width: 780px;
    margin-inline: auto;
    padding: clamp(20px, 4vw, 34px);
    border: 6px double var(--ink);
}

.resp-note > div { flex: 1 1 260px; min-width: 0; }
.resp-note h2 { color: var(--ink); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); }
.resp-note p { margin: 0; }
.resp-note a { color: var(--ink); font-weight: 700; }

/* ============================================
   BETALINGER PAGE
   ============================================ */
.neon-underline::after {
    content: "";
    display: block;
    width: min(100%, 220px);
    height: 3px;
    margin: 12px auto 0;
    background: var(--green);
    box-shadow: var(--glow-green);
}

/* Method cards */
.pay-grid { align-items: stretch; }
.pay-grid .feature-card { height: 100%; }
.pay-grid .feature-card:nth-child(odd) { transform: rotate(-0.8deg); }
.pay-grid .feature-card:nth-child(even) { transform: rotate(0.9deg); }

.feature-card--green {
    background: linear-gradient(160deg, #1f6a45 0%, #154a31 100%);
    color: var(--cream);
    box-shadow: var(--glow-green);
}
.feature-card--green .feature-card__title { color: var(--cream); }
.feature-card--green .feature-card__icon { color: var(--green); }
.feature-card--green .feature-card__text { color: #f1f7ee; }

.pay-grid + .callout { max-width: 860px; margin-inline: auto; margin-top: 2rem; }
.callout a { color: var(--green); }

/* Table sheet */
.sheet-table {
    max-width: 980px;
    margin: 28px auto 0;
}

.sheet-table .table-wrap { padding: 12px; }

/* Payout section with flanking artwork */
.payout { isolation: isolate; }

.payout__art {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: url("./assets/2f46be95d99a66724310b68e8981982f.webp");
    background-repeat: no-repeat;
    background-size: min(380px, 80%) auto;
    background-position: left top 6px;
}

.payout__table { max-width: 760px; margin-inline: auto; }

@media (min-width: 1024px) {
    .payout__art {
        background-size: cover;
        background-position: center;
    }
    .payout__table { max-width: 660px; }
    .payout .table-note { max-width: 660px; }
}

/* Limits split with vault */
.limits-cell {
    position: relative;
    display: flex;
    flex-direction: column;
}

.limits-cell > .split__panel { flex: 1 1 auto; }

.limits-split__art {
    position: absolute;
    z-index: 3;
    top: -40px;
    right: -4px;
    width: 96px;
    height: auto;
    pointer-events: none;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.5));
}

.limits-split .split__panel > p:last-of-type { margin-bottom: 0.4rem; }

@media (max-width: 479.98px) {
    .limits-split__art { display: none; }
}

@media (min-width: 768px) {
    .limits-split__art { width: 150px; top: -64px; right: -24px; }
}

@media (min-width: 1024px) {
    .limits-split__art { width: 170px; top: -76px; right: -56px; }
}

/* Poker chips */
.chip-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    margin: 8px 0 24px;
}

.poker-chip {
    --chip-core: #154a31;
    --chip-edge: #22c96a;
    --chip-stripe: #f4e3b9;
    position: relative;
    display: grid;
    place-content: center;
    text-align: center;
    width: 190px;
    max-width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    color: var(--cream);
    background:
        radial-gradient(circle at center, var(--chip-core) 0 58%, transparent 59%),
        repeating-conic-gradient(var(--chip-edge) 0 18deg, var(--chip-stripe) 18deg 36deg);
    box-shadow: 0 0 26px rgba(59, 255, 140, 0.4), 0 10px 18px rgba(0, 0, 0, 0.5);
}

.poker-chip::after {
    content: "";
    position: absolute;
    inset: 24%;
    border-radius: 50%;
    border: 2px dashed rgba(244, 227, 185, 0.7);
    pointer-events: none;
}

.poker-chip--violet {
    --chip-core: #2e1650;
    --chip-edge: #7a4bbf;
    box-shadow: 0 0 26px rgba(183, 155, 230, 0.45), 0 10px 18px rgba(0, 0, 0, 0.5);
}

.poker-chip__value {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 3rem;
    line-height: 1;
    text-shadow: -2px 0 rgba(255, 47, 211, 0.6), 2px 0 rgba(59, 255, 140, 0.5);
}

.poker-chip__label {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* KYC strip */
.kyc-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 18px;
    max-width: 900px;
    margin-inline: auto;
    padding: 24px 24px 22px 44px;
    clip-path: url(#torn-left);
    -webkit-clip-path: url(#torn-left);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
}

.kyc-strip > div { flex: 1 1 260px; min-width: 0; }
.kyc-strip h2 { color: var(--ink); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); }
.kyc-strip p { margin: 0 0 0.6rem; }
.kyc-strip a { color: var(--ink); font-weight: 700; }

.kyc-strip__icon { flex: none; line-height: 0; color: var(--violet-700); }
.kyc-strip__icon .icon { width: 48px; height: 48px; stroke-width: 1.5; }

/* Currency pills */
.pill-list--center { justify-content: center; margin-bottom: 14px; }
.pill-list--crypto { margin-bottom: 0; }

/* ============================================
   FAQ PAGE
   ============================================ */
.jump-chips { margin-top: 1.4rem; }

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

.jump-chip {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.3rem 0.95rem;
    border: 2px solid var(--green);
    border-radius: 255px 14px 225px 14px / 14px 225px 14px 255px;
    background: #1a0c2a;
    color: var(--cream);
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    transition: box-shadow 0.2s ease, color 0.2s ease;
}

.jump-chips__list li:nth-child(even) .jump-chip {
    border-radius: 14px 225px 14px 255px / 255px 14px 225px 14px;
}

.jump-chip:hover,
.jump-chip:focus-visible {
    color: var(--green);
    box-shadow: 0 0 16px rgba(59, 255, 140, 0.55), inset 0 0 8px rgba(59, 255, 140, 0.2);
}

/* Vine-framed FAQ block */
.faq-frame {
    position: relative;
    isolation: isolate;
    max-width: 980px;
    margin-inline: auto;
}

.faq-frame__garland {
    display: block;
    position: relative;
    z-index: 3;
    width: 100%;
    aspect-ratio: 1600 / 500;
    background: var(--garland-art, none) center / 100% 100% no-repeat;
    pointer-events: none;
}

.faq-frame__garland--top { margin-bottom: -20%; }

.faq-frame__garland--bottom {
    margin-top: -20%;
    transform: scaleY(-1);
}

.faq-frame__panel {
    position: relative;
    z-index: 1;
    padding: clamp(18px, 3vw, 40px) clamp(14px, 3vw, 40px);
    background: linear-gradient(180deg, #2a1546 0%, #1f0f35 100%);
    border-inline: 2px solid var(--green-deep);
    box-shadow: -3px 0 12px -2px rgba(59, 255, 140, 0.6), 3px 0 12px -2px rgba(59, 255, 140, 0.6), inset 0 0 60px rgba(0, 0, 0, 0.45);
    clip-path: inset(0 -24px);
}

.faq-group + .faq-group { margin-top: clamp(36px, 5vw, 60px); }

.faq-group__title { color: var(--cream); }

.faq-group__lead {
    max-width: 70ch;
    margin-bottom: 1.2rem;
    color: var(--text);
}

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

.faq-group__links {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 24px;
    margin-top: 0.8rem;
}

/* Support / responsible split */
.faq-split .split__panel h3 { color: var(--cream); }
.faq-split .split__panel--purple a:not(.btn) { color: var(--green); }
.faq-split .split__panel--green a:not(.btn) { color: #ffffff; }
.faq-split .split__panel .terms-list { margin-bottom: 0.8rem; }

.faq-split__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 0.6rem;
}

.faq-split__head h3 { margin: 0; }

.faq-split__head .seal-18 { width: 56px; height: 56px; }

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}