/*
 * CRUSADO CASINO - design system
 * Bright epic fantasy: royal purple, burnished gold, white.
 */

:root {
    --purple-950: #14062a;
    --purple-900: #1c0933;
    --purple-800: #2a0f4a;
    --purple-700: #3d1766;
    --purple-600: #5a2391;
    --violet-400: #a86cf0;
    --violet-300: #c9a3ff;
    --gold-200: #fff1b8;
    --gold-300: #ffe08a;
    --gold-400: #f5c84c;
    --gold-500: #e0a526;
    --gold-700: #a8721a;
    --emerald-700: #145236;
    --emerald-500: #1f7a4f;
    --bronze-700: #5e3a12;
    --bronze-500: #96621f;
    --ruby-500: #b0213f;
    --parchment-100: #fbf0d4;
    --parchment-300: #ecd39c;
    --parchment-500: #c9a466;
    --parchment-ink: #3a2410;
    --text: #f4ecff;
    --text-muted: #d4c6ec;
    --ink-dark: #24083f;

    --font-display: "Cinzel", "Trajan Pro", Georgia, "Times New Roman", serif;
    --font-body: "Barlow", "Segoe UI", Roboto, Arial, sans-serif;
    --font-ui: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;

    --grad-gold: linear-gradient(180deg, #fff1b8 0%, #f5c84c 38%, #e0a526 70%, #b07a1c 100%);
    --grad-purple: linear-gradient(180deg, #5a2391 0%, #3d1766 60%, #2a0f4a 100%);
    --glow-gold: 0 0 18px rgba(245, 200, 76, 0.55);
    --glow-violet: 0 10px 40px rgba(122, 52, 214, 0.45);

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --container: 1200px;
    --pad: 16px;
    --header-bottom: 64px;
    --section-y: 64px;
}

/* ============================================
   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-bottom) + 12px);
}

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

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background:
        radial-gradient(1200px 600px at 50% 0%, rgba(122, 52, 214, 0.35), transparent 70%),
        linear-gradient(180deg, var(--purple-800), var(--purple-900) 40%, var(--purple-950));
    background-color: var(--purple-900);
}

body.menu-open {
    overflow: hidden;
}

main {
    display: block;
    padding-top: var(--header-bottom);
}

h1, h2, h3, h4 {
    margin: 0 0 0.5em;
    font-family: var(--font-display);
    line-height: 1.15;
    color: var(--gold-300);
}

p { margin: 0 0 1em; }

a { color: var(--gold-300); }

ul { margin: 0; padding: 0; }

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

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 200;
    padding: 10px 16px;
    background: var(--gold-400);
    color: var(--ink-dark);
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--pad);
}

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

/* ============================================
   SCENES (section with full-bleed background)
   ============================================ */
.scene {
    position: relative;
    isolation: isolate;
    padding-block: var(--section-y);
}

.scene__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-color: var(--purple-800);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.scene::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(28, 9, 51, 0.82) 0%, rgba(28, 9, 51, 0.35) 30%, rgba(28, 9, 51, 0.35) 70%, rgba(28, 9, 51, 0.85) 100%);
}

.section-head {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}
.section-head--left { margin-inline: 0; text-align: left; }

.section-title {
    font-size: clamp(1.6rem, 5.4vw, 2.6rem);
    font-weight: 700;
    color: var(--gold-300);
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 0 rgba(36, 8, 63, 0.9)) drop-shadow(0 0 14px rgba(245, 200, 76, 0.35));
}

.section-lead {
    font-size: 1.0625rem;
    color: var(--text);
    text-shadow: 0 1px 3px rgba(20, 6, 42, 0.9);
}

.section-cta {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 22px;
    border: 0;
    border-radius: 999px;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn--gold {
    background: var(--grad-gold);
    color: var(--ink-dark);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 4px 14px rgba(224, 165, 38, 0.4);
}

.btn--purple {
    background: var(--grad-purple);
    color: #fff;
    box-shadow: inset 0 0 0 2px var(--gold-400), 0 4px 14px rgba(90, 35, 145, 0.5);
}

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

.btn--block { width: 100%; min-height: 52px; }

/* Gold banner-ribbon with notched ends and pulsing glow */
.btn--ribbon {
    padding: 0;
    background: none;
    border-radius: 0;
    min-height: 56px;
    width: 100%;
    max-width: 440px;
    filter: drop-shadow(0 0 10px rgba(245, 200, 76, 0.55)) drop-shadow(0 4px 8px rgba(20, 6, 42, 0.6));
}

.btn--ribbon .btn__face {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    padding: 12px 40px;
    background: var(--grad-gold);
    color: var(--ink-dark);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 50%, 100% 100%, 0 100%, 18px 50%);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.65), inset 0 -3px 0 rgba(130, 80, 10, 0.5);
}

.btn--ribbon:hover {
    filter: drop-shadow(0 0 18px rgba(255, 224, 138, 0.85)) drop-shadow(0 4px 8px rgba(20, 6, 42, 0.6));
}

@media (prefers-reduced-motion: no-preference) {
    .btn--pulse { animation: ribbon-pulse 2.4s ease-in-out infinite; }
}

@keyframes ribbon-pulse {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(245, 200, 76, 0.5)) drop-shadow(0 4px 8px rgba(20, 6, 42, 0.6)); }
    50% { filter: drop-shadow(0 0 22px rgba(255, 224, 138, 0.95)) drop-shadow(0 4px 8px rgba(20, 6, 42, 0.6)); }
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    border-bottom: 1px solid var(--gold-500);
    box-shadow: 0 6px 24px rgba(60, 18, 110, 0.55);
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, #3d1766 0%, #2a0f4a 100%);
    transition: background 0.3s ease;
}

.site-header.is-scrolled::before {
    background: linear-gradient(180deg, rgba(61, 23, 102, 0.88) 0%, rgba(42, 15, 74, 0.92) 100%);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    max-width: 1320px;
    margin-inline: auto;
    padding: 10px 12px;
    min-height: 64px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    text-decoration: none;
}

.site-brand__crest {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(245, 200, 76, 0.5));
}

.site-brand__text {
    display: flex;
    flex-direction: column;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.05;
    color: var(--gold-300);
    text-shadow: 0 1px 0 #24083f;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-actions .header-login { display: none; }
.header-actions .header-register { padding-inline: 12px; font-size: 0.9rem; }

.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--gold-500);
    border-radius: 10px;
    background: rgba(20, 6, 42, 0.6);
    cursor: pointer;
}

.menu-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold-300);
    transition: transform 0.25s ease, opacity 0.25s 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); }

/* Mobile drawer */
.site-nav {
    position: fixed;
    top: var(--header-bottom);
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    z-index: 99;
    overflow-y: auto;
    padding: 16px 20px 32px;
    background: linear-gradient(180deg, #3d1766 0%, #2a0f4a 60%, #1c0933 100%);
    border-top: 1px solid var(--gold-700);
    visibility: hidden;
    transform: translateY(-12px);
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
}

.site-nav.is-open {
    visibility: visible;
    transform: none;
    transition: transform 0.25s ease, visibility 0s;
}

.site-nav__list {
    list-style: none;
    display: grid;
    gap: 4px;
}

.site-nav__list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(245, 200, 76, 0.25);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gold-300);
    text-decoration: none;
    background: rgba(20, 6, 42, 0.4);
}

.site-nav__list a:hover { background: rgba(90, 35, 145, 0.6); }

.site-nav__cta {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.site-nav__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 6px 0 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

@media (min-width: 380px) {
    .site-header__inner { padding-inline: 16px; }
    .site-brand__crest { width: 40px; height: 40px; }
    .site-brand__text { font-size: 1.05rem; }
}

@media (min-width: 600px) {
    .header-actions .header-login { display: inline-flex; }
}

@media (min-width: 1024px) {
    .site-header__inner { padding: 10px 24px; gap: 20px; }
    .site-brand__text { font-size: 1.2rem; }
    .menu-toggle { display: none; }

    .site-nav {
        position: static;
        visibility: visible;
        transform: none;
        transition: none;
        overflow: visible;
        padding: 0;
        background: none;
        border: 0;
        flex: 1 1 auto;
    }
    .site-nav__list {
        display: flex;
        justify-content: center;
        gap: 4px;
    }
    .site-nav__list a {
        min-height: 44px;
        padding: 6px 12px;
        border: 0;
        background: none;
        font-family: var(--font-ui);
        font-size: 1.05rem;
        color: var(--text);
        position: relative;
    }
    .site-nav__list a::after {
        content: "";
        position: absolute;
        left: 12px; right: 12px; bottom: 6px;
        height: 2px;
        background: var(--grad-gold);
        transform: scaleX(0);
        transition: transform 0.2s ease;
    }
    .site-nav__list a:hover { background: none; color: var(--gold-300); }
    .site-nav__list a:hover::after { transform: scaleX(1); }
    .site-nav__cta { display: none; }
    .header-actions .header-register { padding-inline: 16px; font-size: 0.95rem; }
}

/* ============================================
   RIBBON SYSTEM (signature motif)
   ============================================ */
.ribbon-divider {
    position: relative;
    z-index: 5;
    height: 96px;
    margin-block: -48px;
    pointer-events: none;
}

.ribbon-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.ribbon-svg path {
    fill: none;
    vector-effect: non-scaling-stroke;
    stroke-linecap: round;
}

.ribbon-svg__violet {
    stroke: rgba(168, 108, 240, 0.7);
    stroke-width: 20;
    filter: drop-shadow(0 0 6px rgba(168, 108, 240, 0.6));
}

.ribbon-svg__gold {
    stroke-width: 24;
    filter: drop-shadow(0 0 8px rgba(245, 200, 76, 0.65));
}

.ribbon-svg__shine {
    stroke: rgba(255, 248, 220, 0.75);
    stroke-width: 3;
    transform: translateY(-5px);
}

.ribbon-divider__crest {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 52px;
    height: 52px;
    transform: translate(-50%, -50%);
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(245, 200, 76, 0.7));
}

@media (min-width: 768px) {
    .ribbon-divider { height: 140px; margin-block: -70px; }
    .ribbon-svg__violet { stroke-width: 36; }
    .ribbon-svg__gold { stroke-width: 44; }
    .ribbon-svg__shine { stroke-width: 5; transform: translateY(-10px); }
    .ribbon-divider__crest { width: 72px; height: 72px; }
}

/* ============================================
   SHIELD CARDS (bonusy)
   ============================================ */
.shield-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    max-width: 380px;
    margin-inline: auto;
}

.shield {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.shield__frame {
    width: 100%;
    flex: 1 1 auto;
    padding: 3px;
    background: linear-gradient(160deg, #fff1b8, #e0a526 40%, #8a5a12 70%, #ffe08a);
    clip-path: polygon(0 0, 100% 0, 100% 74%, 50% 100%, 0 74%);
    filter: drop-shadow(0 8px 18px rgba(20, 6, 42, 0.6));
}

.shield__body {
    height: 100%;
    padding: 20px 22px 96px;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 74%, 50% 100%, 0 74%);
    box-shadow: inset 0 0 30px rgba(255, 224, 138, 0.25);
}

.shield--purple .shield__body { background: linear-gradient(180deg, #6a2aa8, #3d1766 70%, #2a0f4a); }
.shield--green .shield__body { background: linear-gradient(180deg, #23895a, #145236 70%, #0c3523); }
.shield--bronze .shield__body { background: linear-gradient(180deg, #a86e26, #6e4415 70%, #4a2c0c); }

.shield__icon {
    display: block;
    width: 112px;
    height: 112px;
    margin: 0 auto 8px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(255, 224, 138, 0.5));
}

.shield__title {
    font-size: 1.3rem;
    color: var(--gold-200);
    text-shadow: 0 2px 0 rgba(20, 6, 42, 0.8);
}

.shield__text {
    margin: 0;
    color: #fff;
    font-size: 1rem;
}

.shield__cta {
    margin-top: -46px;
    width: 82%;
    max-width: 280px;
    position: relative;
    z-index: 2;
}

@media (min-width: 900px) {
    .shield-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: none;
        gap: 32px;
    }
}

/* ============================================
   GAME TILES & PROVIDER CHIPS
   ============================================ */
.game-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

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

.game-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--gold-500);
    border-radius: var(--radius);
    background: rgba(42, 15, 74, 0.85);
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(20, 6, 42, 0.55);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(122, 52, 214, 0.6), 0 0 0 1px var(--gold-300);
}

.game-tile__media {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.game-tile__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.game-tile:hover .game-tile__media img { transform: scale(1.05); }

.game-tile__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 40px;
    padding-bottom: 6px;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1rem;
    color: var(--gold-200);
    background: linear-gradient(180deg, #5a2391, #2a0f4a);
    clip-path: polygon(0 0, 100% 0, 100% 68%, 50% 100%, 0 68%);
    box-shadow: inset 0 0 0 2px var(--gold-400);
}

.game-tile__name {
    display: block;
    padding: 10px 12px;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--gold-200);
    background: linear-gradient(180deg, rgba(61, 23, 102, 0.95), rgba(28, 9, 51, 0.98));
    border-top: 1px solid rgba(245, 200, 76, 0.45);
}

.chip-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 6px 16px;
    border: 1px solid var(--gold-400);
    border-radius: 999px;
    background: rgba(61, 23, 102, 0.75);
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 1rem;
    color: var(--gold-200);
}

/* ============================================
   PAYMENT TOKENS
   ============================================ */
.pay-token { display: inline-flex; align-items: center; }

.pay-token__svg { display: block; width: 100%; height: 100%; }

.pay-token--orb {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    padding: 4px;
    background: radial-gradient(circle at 35% 30%, #fff1b8, #e0a526 60%, #8a5a12);
    box-shadow: 0 0 20px rgba(245, 200, 76, 0.65), 0 0 40px rgba(168, 108, 240, 0.35);
}
.pay-token--orb .pay-token__svg { border-radius: 50%; }
.pay-token--orb.pay-token--blik .pay-token__svg { border-radius: 10px; }

@media (min-width: 768px) {
    .pay-token--orb { width: 72px; height: 72px; }
}

@media (prefers-reduced-motion: no-preference) {
    .pay-token--float { animation: token-float 3.6s ease-in-out infinite; }
    .pay-token--float:nth-child(2n) { animation-delay: -1.2s; }
}

@keyframes token-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.pay-token--tile {
    gap: 8px;
    min-height: 48px;
    padding: 8px 14px 8px 8px;
    border: 2px solid var(--gold-400);
    border-radius: 12px;
    background: #fff;
}
.pay-token--tile .pay-token__svg { width: 30px; height: 30px; flex-shrink: 0; }
.pay-token__label {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.95rem;
    color: #24083f;
    white-space: nowrap;
}

.pay-row {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* ============================================
   18+ BADGE
   ============================================ */
.badge-18 {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #e0394f, #9b1027);
    box-shadow: inset 0 0 0 3px var(--gold-400), 0 0 12px rgba(245, 200, 76, 0.45);
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
}

.badge-18--sm {
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
    box-shadow: inset 0 0 0 2px var(--gold-400);
}

/* ============================================
   FAQ (open book)
   ============================================ */
.faq-book {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 26px 18px;
    border-radius: 10px;
    color: var(--parchment-ink);
    background: linear-gradient(170deg, var(--parchment-100) 0%, var(--parchment-300) 65%, var(--parchment-500) 100%);
    box-shadow: 0 18px 40px rgba(20, 6, 42, 0.65), inset 0 0 40px rgba(150, 98, 31, 0.35);
}

.faq-book::before,
.faq-book::after {
    content: "";
    position: absolute;
    top: -10px;
    bottom: -10px;
    width: 18px;
    border-radius: 10px;
    background: linear-gradient(90deg, #8a5a22, #ecd39c 35%, #fbf0d4 50%, #c9a466 70%, #6e4415);
    box-shadow: 0 4px 10px rgba(20, 6, 42, 0.5);
}
.faq-book::before { left: -8px; }
.faq-book::after { right: -8px; }

.faq-book__page {
    display: grid;
    gap: 12px;
    align-items: start;
}

@media (min-width: 1024px) {
    .faq-book {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 48px;
        padding: 40px 48px;
        background:
            linear-gradient(90deg, transparent calc(50% - 30px), rgba(110, 68, 21, 0.35) 50%, transparent calc(50% + 30px)),
            linear-gradient(170deg, var(--parchment-100) 0%, var(--parchment-300) 65%, var(--parchment-500) 100%);
    }
    .faq-book::before, .faq-book::after { width: 26px; }
    .faq-book::before { left: -14px; }
    .faq-book::after { right: -14px; }
}

.faq-item {
    border-radius: 10px;
    background: rgba(255, 250, 235, 0.65);
    box-shadow: 0 2px 6px rgba(110, 68, 21, 0.25);
}

.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 12px 16px;
    border-radius: 10px;
    list-style: none;
    cursor: pointer;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 1.08rem;
    line-height: 1.25;
    color: var(--ink-dark);
    background: var(--grad-gold);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -2px 0 rgba(130, 80, 10, 0.45);
}

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

.faq-item__chev {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.faq-item[open] .faq-item__chev { transform: rotate(180deg); }
.faq-item[open] .faq-item__q { border-radius: 10px 10px 0 0; }

.faq-item__a { padding: 14px 16px 4px; }
.faq-item__a p { color: var(--parchment-ink); font-size: 1rem; }

@media (prefers-reduced-motion: reduce) {
    .faq-item__chev { transition: none; }
}

/* ============================================
   SEO TEXT PANEL
   ============================================ */
.seo-panel {
    padding: 24px 18px;
    border: 1px solid rgba(245, 200, 76, 0.5);
    border-radius: var(--radius-lg);
    background: rgba(28, 9, 51, 0.86);
    box-shadow: var(--glow-violet);
}

.seo-text h3 {
    font-size: 1.3rem;
    margin-top: 0.6em;
}

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

.seo-text a:not([class]) {
    color: var(--gold-300);
    font-weight: 700;
    text-decoration-color: var(--gold-400);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.22em;
    text-shadow: 0 0 10px rgba(245, 200, 76, 0.55);
}

.seo-text a:not([class]):hover { color: var(--gold-200); }

@media (min-width: 1024px) {
    .seo-panel { padding: 40px 48px; }
    .seo-text { column-count: 2; column-gap: 48px; }
    .seo-text h3 { break-after: avoid; }
    .seo-text p { break-inside: avoid; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding: 0 0 32px;
    margin-top: 40px;
    color: var(--text);
    background-color: #3b3350;
    background-image: url("./assets/33645f72c2c4c1f853ef5a8c72f6260f.webp");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.site-footer::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(20, 6, 42, 0.55) 0%, rgba(20, 6, 42, 0.82) 35%, rgba(20, 6, 42, 0.92) 100%);
}

.site-footer__crown {
    position: relative;
    height: 130px;
    margin-bottom: 8px;
}

.site-footer__crest {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%);
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(245, 200, 76, 0.7));
}

.site-footer__inner {
    display: grid;
    gap: 22px;
    text-align: center;
}

.footer-trust {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 760px;
    margin-inline: auto;
}

.footer-trust p { margin: 0; color: var(--text); }

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 18px;
}

.footer-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--gold-300);
}

.footer-disclaimer {
    max-width: 820px;
    margin: 0 auto;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-copy {
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid rgba(245, 200, 76, 0.3);
    font-size: 0.95rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    :root { --pad: 24px; --section-y: 88px; }
    .site-footer__crown { height: 180px; }
    .site-footer__crest { width: 150px; height: 150px; }
    .footer-trust { flex-direction: row; text-align: left; }
    .pay-row { gap: 14px; }
}

@media (min-width: 1024px) {
    :root { --section-y: 110px; }
}

/* ============================================
   HOMEPAGE SCENES
   ============================================ */
.hero__bg { background-image: url("./assets/d52115e17f1d702b26b7921af36c86ac.webp"); background-position: center 35%; }
.bonus__bg { background-image: url("./assets/6291a18c45347ae440828e2a4cb58822.webp"); background-position: center top; }
.games__bg { background-image: url("./assets/cc1f166d488efdcdac505a4481476a12.webp"); background-position: center top; }
.live__bg { background-image: url("./assets/7b4d5b73ca6a7afb76604a0796102a39.webp"); background-position: center top; }
.pay__bg { background-image: url("./assets/b1d66d3af3b55cca6afc5fdd5899a4a5.webp"); background-position: 70% center; }
.vip__bg { background-image: url("./assets/b3b99c895c2cc97f236face0b4f6b60d.webp"); background-position: 22% center; }
.mobile__bg { background-image: url("./assets/ff12933df116251145e583fea5fbbf5c.webp"); background-position: center; }
.faq__bg { background-image: url("./assets/d52115e17f1d702b26b7921af36c86ac.webp"); background-position: center 60%; filter: saturate(0.85); }
.seo__bg { background-image: url("./assets/71f9a39ff8d5d9df93366b5c95f8474a.webp"); background-position: 20% top; }

.callout {
    max-width: 860px;
    margin: 32px auto 0;
    padding: 16px 20px;
    border: 1px solid var(--gold-400);
    border-left: 5px solid var(--gold-400);
    border-radius: var(--radius);
    background: rgba(28, 9, 51, 0.88);
    box-shadow: var(--glow-violet);
}
.callout p { margin: 0; color: var(--text); }
.callout strong { color: var(--gold-300); }

/* HERO */
.hero { padding-block: 12px 72px; }

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

.hero__art {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
}

.hero__art > img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.hero__bonus {
    position: absolute;
    left: 3%;
    top: 6%;
    width: 64%;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.hero__pct {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.8rem, 15vw, 7rem);
    line-height: 1;
    color: var(--gold-300);
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1.5px #3d1766;
    filter: drop-shadow(0 3px 0 #24083f) drop-shadow(0 0 16px rgba(255, 224, 138, 0.85));
}

.hero__pill {
    margin-top: 2px;
    padding: 6px 14px;
    border: 2px solid var(--gold-400);
    border-radius: 999px;
    background: var(--grad-purple);
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: clamp(0.85rem, 3.8vw, 1.55rem);
    color: var(--gold-200);
    white-space: nowrap;
    transform: rotate(-4deg);
    box-shadow: 0 0 16px rgba(245, 200, 76, 0.55), 0 4px 10px rgba(20, 6, 42, 0.6);
}

.hero__copy {
    padding: 20px 16px;
    border-radius: var(--radius-lg);
    background: radial-gradient(120% 120% at 50% 40%, rgba(28, 9, 51, 0.82), rgba(28, 9, 51, 0.6));
    text-align: center;
}

.hero__title {
    font-size: clamp(1.55rem, 6.2vw, 2.6rem);
    color: var(--gold-300);
    text-shadow: 0 2px 0 #24083f, 0 0 16px rgba(245, 200, 76, 0.35);
}

.hero__lead { color: var(--text); font-size: 1.05rem; }

.hero__note {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gold-200);
}

.hero__badges {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.hero__badges li {
    padding: 6px 14px;
    border: 1px solid var(--gold-400);
    border-radius: 999px;
    background: rgba(61, 23, 102, 0.85);
    font-family: var(--font-ui);
    font-weight: 700;
    color: var(--gold-200);
}

.hero__cta { margin-inline: auto; }

.hero__small {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 14px 0 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

@media (min-width: 1024px) {
    .hero { padding-block: 32px 120px; }
    .hero__inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; }
    .hero__art { max-width: none; }
    .hero__copy { padding: 32px; text-align: left; }
    .hero__badges, .hero__small { justify-content: flex-start; }
    .hero__cta { margin-inline: 0; }
}

/* BONUS */
.bonus__note { margin-top: 40px; }

/* GAMES */
.cabinets {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 920px;
    margin: 0 auto 40px;
}

.cabinet {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.cabinet img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: filter 0.25s ease;
}

.cabinet--blue img { filter: drop-shadow(0 0 14px rgba(80, 150, 255, 0.45)); }
.cabinet--gold img { filter: drop-shadow(0 0 14px rgba(245, 200, 76, 0.45)); }
.cabinet:hover { transform: translateY(-6px); }
.cabinet--blue:hover img { filter: drop-shadow(0 0 30px rgba(80, 160, 255, 0.9)); }
.cabinet--gold:hover img { filter: drop-shadow(0 0 30px rgba(245, 200, 76, 0.85)) drop-shadow(0 0 16px rgba(168, 108, 240, 0.7)); }

.cabinet__plaque {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 300px;
    margin-top: -10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--grad-gold);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 6px 16px rgba(20, 6, 42, 0.6);
    text-align: center;
}

.cabinet__tag {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #4a1d00;
}

.cabinet__name {
    margin: 0;
    font-size: clamp(0.95rem, 3.8vw, 1.4rem);
    color: var(--ink-dark);
}

.cabinet__cta { margin-top: 10px; width: 100%; max-width: 300px; min-height: 48px; }

.games__find {
    max-width: 760px;
    margin: 32px auto 16px;
    text-align: center;
    color: var(--text);
    text-shadow: 0 1px 3px rgba(20, 6, 42, 0.9);
}

@media (min-width: 768px) {
    .cabinets { gap: 48px; }
}

/* LIVE */
.tables {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
}

.live-table {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.live-table img {
    display: block;
    width: 100%;
    max-width: 540px;
    height: auto;
    object-fit: contain;
}

.nameplate {
    position: relative;
    width: min(100%, 440px);
    margin-top: -28px;
    padding: 2px;
    background: linear-gradient(160deg, #fff1b8, #e0a526 45%, #8a5a12 75%, #ffe08a);
    clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 18px 100%, 0 50%);
    filter: drop-shadow(0 6px 14px rgba(20, 6, 42, 0.6));
}

.nameplate__inner {
    padding: 12px 30px;
    background: linear-gradient(180deg, rgba(90, 35, 145, 0.97), rgba(42, 15, 74, 0.98));
    clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 18px 100%, 0 50%);
}

.nameplate__title { margin: 0 0 4px; font-size: 1.25rem; color: var(--gold-200); }
.nameplate__inner p { margin: 0; font-size: 0.95rem; color: var(--text); }

.live-table__cta { margin-top: 16px; width: 100%; max-width: 320px; min-height: 52px; }

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

/* PAYMENTS */
.pedestals {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 10px;
    max-width: 1000px;
    margin: 0 auto;
}

.pedestal {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pedestal .pay-token { position: relative; z-index: 2; margin-bottom: -14px; }

.pedestal img {
    display: block;
    width: 100%;
    max-width: 130px;
    height: auto;
    object-fit: contain;
}

.pedestal__label {
    margin-top: -4px;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 1rem;
    color: var(--gold-200);
    text-shadow: 0 1px 3px #14062a;
}

.pay__facts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    text-align: center;
}

.plaque {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 10px 26px;
    border: 2px solid var(--gold-400);
    border-radius: 999px;
    background: var(--grad-purple);
    box-shadow: var(--glow-gold);
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}

.plaque strong {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold-300);
}

.pay__line {
    margin: 0;
    font-weight: 600;
    color: var(--text);
    text-shadow: 0 1px 3px #14062a;
}

@media (min-width: 1024px) {
    .pedestals { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
    .pedestal img { max-width: 150px; }
}

/* VIP */
.vip__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.vip__spacer { height: 56vw; max-height: 340px; min-height: 180px; }

.vip__content {
    padding: 20px 16px;
    border-radius: var(--radius-lg);
    background: rgba(28, 9, 51, 0.8);
}

.vip__text { color: var(--text); }

.vip-steps {
    position: relative;
    list-style: none;
    display: grid;
    gap: 18px;
    margin: 20px 0 0;
    padding: 0;
}

.vip-steps__line {
    position: absolute;
    left: 27px;
    top: 30px;
    width: 6px;
    height: calc(100% - 60px);
    filter: drop-shadow(0 0 6px rgba(245, 200, 76, 0.7));
}

.vip-step {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.vip-step__shield {
    flex-shrink: 0;
    width: 60px;
    height: 68px;
    padding: 3px;
    background: linear-gradient(160deg, #fff1b8, #e0a526 45%, #8a5a12);
    clip-path: polygon(0 0, 100% 0, 100% 68%, 50% 100%, 0 68%);
}

.vip-step__shield span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding-bottom: 10px;
    clip-path: polygon(0 0, 100% 0, 100% 68%, 50% 100%, 0 68%);
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.4rem;
    color: #fff;
}

.vip-step__label {
    display: flex;
    flex-direction: column;
    padding: 8px 30px 8px 16px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 50%, 100% 100%, 0 100%);
    font-size: 0.92rem;
    line-height: 1.3;
    color: #fff;
}

.vip-step__label strong { font-family: var(--font-ui); font-size: 1.08rem; }

.vip-step--silver .vip-step__shield span,
.vip-step--silver .vip-step__label { background: linear-gradient(180deg, #e9ecf5, #a9afc4); color: #1c1530; }
.vip-step--ruby .vip-step__shield span,
.vip-step--ruby .vip-step__label { background: linear-gradient(180deg, #c8304f, #7d1229); }
.vip-step--emerald .vip-step__shield span,
.vip-step--emerald .vip-step__label { background: linear-gradient(180deg, #23895a, #0f4a30); }
.vip-step--purple .vip-step__shield span,
.vip-step--purple .vip-step__label { background: linear-gradient(180deg, #6a2aa8, #2a0f4a); }

.vip .section-cta { margin-top: 24px; }

@media (min-width: 1024px) {
    .vip__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
    .vip__spacer { height: auto; max-height: none; }
    .vip__content { padding: 28px; }
    .vip-steps { display: flex; flex-direction: column-reverse; gap: 14px; }
    .vip-steps__line { display: none; }
    .vip-step:nth-child(2) { margin-left: 0; }
    .vip-step:nth-child(3) { margin-left: 44px; }
    .vip-step:nth-child(4) { margin-left: 88px; }
    .vip-step:nth-child(5) { margin-left: 132px; }
}

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

.phone-wrap {
    position: relative;
    max-width: 420px;
    margin-inline: auto;
}

.phone-wrap > img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.phone-ui {
    position: absolute;
    left: 31%;
    top: 24%;
    width: 34%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.phone-ui__crest {
    width: 55%;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(245, 200, 76, 0.7));
}

.phone-ui__bar {
    display: block;
    width: 80%;
    height: 8px;
    border-radius: 4px;
    background: var(--grad-gold);
}
.phone-ui__bar--short { width: 58%; }

.phone-ui__pill {
    display: block;
    width: 62%;
    height: 18px;
    margin-top: 4px;
    border-radius: 999px;
    background: var(--grad-gold);
    box-shadow: var(--glow-gold);
}

.scroll-badge {
    position: absolute;
    top: 4%;
    right: 4%;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--parchment-100), var(--parchment-300));
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 1rem;
    color: var(--parchment-ink);
    transform: rotate(8deg);
    box-shadow: 0 6px 14px rgba(20, 6, 42, 0.5);
}

.scroll-badge::before,
.scroll-badge::after {
    content: "";
    position: absolute;
    top: -4px;
    bottom: -4px;
    width: 10px;
    border-radius: 6px;
    background: linear-gradient(90deg, #8a5a22, #ecd39c 45%, #c9a466 70%, #6e4415);
}
.scroll-badge::before { left: -6px; }
.scroll-badge::after { right: -6px; }

.mobile__copy {
    padding: 20px 16px;
    border-radius: var(--radius-lg);
    background: rgba(20, 30, 40, 0.55);
    background: linear-gradient(180deg, rgba(28, 9, 51, 0.82), rgba(12, 40, 30, 0.78));
}

.feature-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.feature-list li {
    position: relative;
    padding-left: 30px;
    color: var(--text);
    font-weight: 600;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25em;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--grad-gold);
    box-shadow: var(--glow-gold);
}

.mobile__support { color: var(--text-muted); margin-bottom: 20px; }

@media (min-width: 1024px) {
    .mobile__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
    .mobile__art { order: 2; }
    .mobile__copy { padding: 32px; }
}

/* FAQ */
.faq__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 8px;
    margin-bottom: 28px;
}

.faq__art {
    width: 100%;
    max-width: 230px;
    height: auto;
    object-fit: contain;
}

.faq__head { margin: 0; text-align: center; }

@media (min-width: 1024px) {
    .faq__top { grid-template-columns: 260px minmax(0, 1fr); justify-items: start; align-items: center; gap: 32px; }
    .faq__art { max-width: 260px; }
    .faq__head { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}