/*
 * Crusado Casino - dark medieval design system
 * Canonical design tokens live in this file.
 */

:root {
    --navy-950: #050811;
    --navy-900: #080d1c;
    --navy-800: #0e1630;
    --navy-700: #172246;
    --burgundy-900: #22050a;
    --burgundy: #5a0f17;
    --red: #a4161f;
    --red-bright: #d0333a;
    --red-deep: #6e0d13;
    --gold: #c9a14a;
    --gold-light: #f2d58c;
    --gold-pale: #fbe9b7;
    --gold-dark: #8a6420;
    --parchment: #f3e4c0;
    --parchment-2: #e3cb95;
    --ink: #2b1a0e;
    --ink-soft: #4a3320;
    --ink-red: #7a1119;
    --text: #f4ecd8;
    --text-muted: #d6cbb0;

    --font-display: "Cinzel", "Trajan Pro", Georgia, "Times New Roman", serif;
    --font-body: "Alegreya Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

    --container: 1200px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --rail-h: 14px;
    --header-h: 64px;
    --header-bottom: 64px;
    --shadow-panel: 0 18px 40px rgba(0, 0, 0, 0.55);
}

/* ============================================
   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 {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
    overflow-x: clip;
    background: var(--navy-950);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: clip;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text);
    background: radial-gradient(ellipse at 50% 0%, var(--navy-800) 0%, var(--navy-900) 45%, var(--navy-950) 100%);
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: 0.01em;
    margin: 0 0 0.6em;
}

h1 { font-size: clamp(1.75rem, 6.4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 5.2vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 3.6vw, 1.4rem); }

p { margin: 0 0 1em; }

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--gold-pale);
    outline-offset: 4px;
}

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

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

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

/* ============================================
   BUTTONS - red bevelled plaques with double gold frame
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    max-width: 100%;
    padding: 0.7rem 1.5rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.15;
    letter-spacing: 0.03em;
    text-align: center;
    text-decoration: none;
    color: #fff7e3;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55);
    border: 2px solid var(--gold-light);
    border-radius: 9px 9px 9px 9px / 14px 14px 14px 14px;
    background: linear-gradient(180deg, var(--red-bright) 0%, var(--red) 50%, #7c0f16 100%);
    box-shadow:
        inset 0 0 0 2px #5a0d13,
        inset 0 0 0 3px rgba(242, 213, 140, 0.8),
        inset 0 6px 8px rgba(255, 210, 170, 0.18),
        0 0 0 2px #3a0a0e,
        0 4px 0 #3a0a0e,
        0 10px 22px rgba(0, 0, 0, 0.45);
    cursor: pointer;
    transition: transform 0.15s ease, filter 0.15s ease;
}

.btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(1px);
}

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

.btn--blue {
    background: linear-gradient(180deg, #3d5eae 0%, #24397a 52%, #172a5c 100%);
    box-shadow:
        inset 0 0 0 2px #0f1b3d,
        inset 0 0 0 3px rgba(242, 213, 140, 0.8),
        0 0 0 2px #0b1430,
        0 4px 0 #0b1430,
        0 10px 22px rgba(0, 0, 0, 0.45);
}

.btn--sm {
    min-height: 44px;
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
}

.btn--lg {
    min-height: 56px;
    padding: 0.9rem 2rem;
    font-size: 1.1rem;
}

.btn--block {
    width: 100%;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

/* ============================================
   HEADER - castle battlements
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background:
        repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 20px),
        linear-gradient(180deg, #333848 0%, #1f2230 55%, #13151f 100%);
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6), inset 0 -1px 0 var(--gold-light);
}

.site-header::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 8px;
    background: repeating-linear-gradient(90deg, #555b6e 0 26px, var(--burgundy) 26px 38px);
    border-bottom: 1px solid #0d0f16;
    pointer-events: none;
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 1320px;
    min-height: 64px;
    margin: 0 auto;
    padding: 14px var(--gutter) 8px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex: 1 1 auto;
    min-width: 0;
    text-decoration: none;
}

.site-brand__mark {
    width: 38px;
    height: 38px;
    flex: none;
    object-fit: contain;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.7));
}

.site-brand__text {
    display: flex;
    flex-direction: column;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1.02;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gold-light);
    text-shadow: 0 2px 0 #000;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: none;
}

.header-actions .header-login {
    display: none;
}

.menu-toggle {
    flex: none;
    width: 46px;
    height: 46px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    background: linear-gradient(180deg, #2a2f3f, #161924);
    border: 2px solid var(--gold);
    border-radius: 8px;
    cursor: pointer;
}

.menu-toggle__bar {
    width: 22px;
    height: 2px;
    background: var(--gold-light);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 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) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.site-nav {
    display: none;
    position: fixed;
    top: var(--header-bottom);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 99;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1rem var(--gutter) 2rem;
    background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
    border-top: 2px solid var(--gold);
}

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

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

.site-nav__list a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 0.75rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid rgba(201, 161, 74, 0.3);
}

.site-nav__list a:hover {
    color: var(--gold-light);
}

.site-nav__actions {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (max-width: 359px) {
    .site-brand__text { font-size: 0.8rem; }
    .site-brand__mark { width: 32px; height: 32px; }
    .header-actions .header-register { padding-inline: 0.55rem; font-size: 0.76rem; }
}

@media (min-width: 1024px) {
    .site-header__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        min-height: 84px;
        padding: 16px var(--gutter) 10px;
        gap: 1rem;
    }

    .site-brand {
        grid-column: 2;
        grid-row: 1;
        position: relative;
        isolation: isolate;
        flex-direction: column;
        gap: 0.1rem;
        padding: 0 1.5rem;
    }

    .site-brand::before {
        content: "";
        position: absolute;
        inset: -16px 0 -22px;
        z-index: -1;
        background: linear-gradient(180deg, #474d61 0%, #2a2e3c 60%, #1b1e29 100%);
        border: 2px solid var(--gold);
        border-top: 0;
        border-radius: 0 0 50% 50% / 0 0 28px 28px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.55);
    }

    .site-brand__mark {
        width: 54px;
        height: 54px;
    }

    .site-brand__text {
        flex-direction: row;
        gap: 0.35em;
        font-size: 0.8rem;
    }

    .site-nav {
        display: block;
        position: static;
        grid-column: 1;
        grid-row: 1;
        padding: 0;
        overflow: visible;
        background: none;
        border: 0;
    }

    .site-nav__list {
        display: flex;
        flex-wrap: wrap;
        gap: 0 0.85rem;
    }

    .site-nav__list a {
        min-height: 44px;
        padding: 0 0.1rem;
        font-size: 0.86rem;
        text-transform: uppercase;
        border: 0;
        color: var(--gold-pale);
    }

    .site-nav__actions {
        display: none;
    }

    .header-actions {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        gap: 0.9rem;
    }

    .header-actions .header-login {
        display: inline-flex;
    }

    .menu-toggle {
        display: none;
    }
}

@media (min-width: 1280px) {
    .site-nav__list { gap: 0 1.3rem; }
    .site-nav__list a { font-size: 0.95rem; }
}

/* ============================================
   SCENES - full-bleed illustrated sections
   ============================================ */
.scene {
    position: relative;
    isolation: isolate;
    padding: var(--rail-h) 0 3rem;
    background: var(--navy-900);
}

/* Gold frame rail with burgundy band and red gems */
.scene::before,
.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--rail-h);
    z-index: 5;
    background:
        radial-gradient(circle at 14px 50%, #ff8a8a 0 1.5px, #c4121c 2.5px 4.5px, #4e070c 5.5px, transparent 6.5px),
        radial-gradient(circle at calc(100% - 14px) 50%, #ff8a8a 0 1.5px, #c4121c 2.5px 4.5px, #4e070c 5.5px, transparent 6.5px),
        radial-gradient(circle at 50% 50%, #ff8a8a 0 1px, #c4121c 2px 3.5px, transparent 4.5px),
        linear-gradient(180deg,
            var(--gold-light) 0 2px,
            var(--gold) 2px 4px,
            var(--gold-dark) 4px 5px,
            var(--burgundy) 5px 9px,
            var(--gold-dark) 9px 10px,
            var(--gold) 10px 12px,
            var(--gold-light) 12px 14px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

.scene__bg {
    position: relative;
    z-index: 0;
    aspect-ratio: var(--ratio-m, 4 / 3);
    overflow: hidden;
}

.scene__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--focus-m, 50% 50%);
}

.scene__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(8, 13, 28, 0) 55%, rgba(8, 13, 28, 0.85) 88%, var(--navy-900) 100%);
}

.scene__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 2rem var(--gutter) 0;
}

.scene__bg + .scene__inner {
    margin-top: -3rem;
    padding-top: 0;
}

.scene-heading {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 1.5rem;
    padding: 0.8rem 1.4rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(8, 13, 28, 0.9), rgba(14, 22, 48, 0.86));
    border: 1px solid var(--gold);
    border-radius: 8px;
    box-shadow: inset 0 0 0 3px rgba(8, 13, 28, 0.9), inset 0 0 0 4px rgba(201, 161, 74, 0.45), var(--shadow-panel);
}

.scene-heading__eyebrow {
    margin: 0 0 0.35rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-light);
}

.scene-heading h2 {
    margin: 0;
    color: #fff4d6;
    text-shadow: 0 2px 0 #000;
}

.scene-lead {
    max-width: 46rem;
    margin: 0 auto 1.75rem;
    text-align: center;
}

.panel-dark .scene-lead,
.panel-dark p {
    color: var(--text);
}

.offer-note {
    margin: 1rem 0 0;
    font-size: 0.9rem;
    line-height: 1.45;
}

@media (min-width: 768px) {
    .scene__bg { aspect-ratio: 16 / 9; }
    .scene__bg img { object-position: var(--focus, 50% 50%); }
}

@media (min-width: 1024px) {
    .scene {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: var(--scene-min, 560px);
        padding: calc(var(--rail-h) + 3.5rem) 0 3.5rem;
    }

    .scene__bg {
        position: absolute;
        inset: 0;
        z-index: -1;
        aspect-ratio: auto;
    }

    .scene__bg::after {
        background:
            radial-gradient(ellipse at 50% 50%, rgba(5, 8, 17, 0.1) 0%, rgba(5, 8, 17, 0.45) 100%),
            linear-gradient(180deg, rgba(5, 8, 17, 0.35) 0%, rgba(5, 8, 17, 0) 28%, rgba(5, 8, 17, 0) 72%, rgba(5, 8, 17, 0.45) 100%);
    }

    .scene__bg + .scene__inner {
        margin-top: 0;
    }

    .scene__inner--right {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    .scene__inner--left {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================
   PANELS - parchment & dark navy
   ============================================ */
.parchment {
    position: relative;
    color: var(--ink);
    background: radial-gradient(ellipse at 50% 40%, #fbf1d6 0%, var(--parchment) 55%, var(--parchment-2) 100%);
    border: 2px solid var(--gold);
    border-radius: 6px;
    padding: 1.5rem 1.25rem;
    box-shadow:
        inset 0 0 0 4px rgba(138, 100, 32, 0.35),
        inset 0 0 40px rgba(120, 80, 30, 0.35),
        0 0 0 1px var(--gold-dark),
        var(--shadow-panel);
}

.parchment h1,
.parchment h2,
.parchment h3 {
    color: var(--ink-red);
}

.parchment p,
.parchment li {
    color: var(--ink);
}

.parchment a:not(.btn) {
    color: var(--ink-red);
    font-weight: 700;
}

.parchment .scene-heading {
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.parchment .scene-heading h2 {
    color: var(--ink-red);
    text-shadow: none;
}

.parchment .scene-heading__eyebrow {
    color: var(--ink-soft);
}

.parchment .offer-note {
    color: var(--ink-soft);
}

@media (min-width: 1024px) {
    .parchment {
        padding: 2rem 2.25rem;
    }

    .parchment--scroll::before,
    .parchment--scroll::after {
        content: "";
        position: absolute;
        top: -10px;
        bottom: -10px;
        width: 24px;
        border-radius: 12px;
        background: linear-gradient(90deg, #8f6d35 0%, #d9bd85 30%, #f6e7c4 50%, #c9a872 75%, #7d5c28 100%);
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
    }

    .parchment--scroll::before { left: -16px; }
    .parchment--scroll::after { right: -16px; }
}

.panel-dark {
    position: relative;
    color: var(--text);
    background: linear-gradient(180deg, rgba(14, 22, 48, 0.96), rgba(8, 13, 28, 0.97));
    border: 2px solid var(--gold);
    border-radius: 10px;
    padding: 1.5rem 1.25rem;
    box-shadow: inset 0 0 0 4px rgba(8, 13, 28, 0.9), inset 0 0 0 5px rgba(201, 161, 74, 0.4), var(--shadow-panel);
}

.panel-dark .offer-note {
    color: var(--text-muted);
}

/* ============================================
   BADGES & LISTS
   ============================================ */
.badge-row {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.badge-row li {
    padding: 0.4rem 0.85rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.88rem;
    line-height: 1.2;
    color: var(--gold-pale);
    background: linear-gradient(180deg, #8a1520, #4d0a10);
    border: 1px solid var(--gold);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 220, 180, 0.25);
}

.check-list {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.check-list li {
    position: relative;
    padding-left: 1.8rem;
}

.check-list li::before {
    content: "✠";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--red-bright);
    font-size: 1.15rem;
    line-height: 1.4;
}

.parchment .check-list li::before {
    color: var(--ink-red);
}

.fact-list {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.fact-list li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.25rem 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px dashed rgba(138, 100, 32, 0.6);
}

.fact-list strong {
    font-family: var(--font-display);
    color: var(--ink-red);
}

/* ============================================
   STAT SHIELDS
   ============================================ */
.shield-row {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    max-width: 1000px;
}

.stat-shield {
    display: flex;
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
    padding: 9px;
    background: linear-gradient(135deg, #eef1f6 0%, #9aa3b2 38%, #5b6474 60%, #cfd5df 100%);
    border-radius: 18px 18px 50% 50% / 18px 18px 40% 40%;
    box-shadow: 0 0 0 2px #2b2f3a, 0 16px 30px rgba(0, 0, 0, 0.6);
}

.stat-shield__face {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.4rem 1rem 3rem;
    text-align: center;
    color: var(--ink);
    background: radial-gradient(ellipse at 50% 30%, #fdf3d8 0%, var(--parchment) 55%, var(--parchment-2) 100%);
    border-radius: 12px 12px 50% 50% / 12px 12px 40% 40%;
    box-shadow: inset 0 0 20px rgba(120, 80, 30, 0.35);
}

.stat-shield__value {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 8vw, 2.6rem);
    line-height: 1;
    color: var(--ink-red);
}

.stat-shield__label {
    align-self: stretch;
    margin: 0 -0.25rem 0.6rem;
    padding: 0.45rem 0.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.25;
    color: var(--gold-pale);
    background: linear-gradient(180deg, var(--red), var(--red-deep));
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
}

.stat-shield__text {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.45;
    color: var(--ink);
}

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

/* ============================================
   GAME & LIVE CARDS
   ============================================ */
.card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
}

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

.game-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 10px;
    background: linear-gradient(180deg, #1a2245, #0b1022);
    border: 2px solid var(--gold);
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px var(--gold-dark), 0 0 0 3px #2a1a07, 0 16px 34px rgba(0, 0, 0, 0.6);
}

.game-card__frame {
    margin: 0;
    aspect-ratio: 9 / 7;
    overflow: hidden;
    border-radius: 8px;
    border: 3px solid var(--gold-light);
    box-shadow: 0 0 0 2px var(--gold-dark), inset 0 0 12px rgba(0, 0, 0, 0.6);
}

.game-card__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem 0.6rem;
}

.game-card__title {
    margin: 0;
    color: var(--gold-pale);
}

.game-card__meta {
    margin: 0;
    font-size: 0.98rem;
    color: var(--text-muted);
}

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

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

.provider-tags li {
    padding: 0.45rem 0.9rem 0.6rem;
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1.2;
    color: var(--ink);
    background: linear-gradient(180deg, #f8ebc9, #dcc28c);
    border: 1px solid var(--gold-dark);
    border-radius: 6px 6px 16px 16px;
    box-shadow: inset 0 0 0 2px rgba(255, 248, 225, 0.6), 0 4px 10px rgba(0, 0, 0, 0.45);
}

/* ============================================
   PAYMENT BADGES
   ============================================ */
.pay-badges {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.pay-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    min-height: 48px;
    padding: 0.45rem 1rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.98rem;
    line-height: 1.2;
    text-align: center;
    color: var(--ink);
    background: linear-gradient(180deg, #fcf1d2, #e2c78d);
    border: 2px solid var(--gold);
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px #fff6dc, 0 4px 10px rgba(0, 0, 0, 0.4);
}

.pay-badge--blik {
    min-width: 116px;
    font-family: var(--font-body);
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    color: #ffffff;
    background: linear-gradient(180deg, #2a2a2a, #000000);
    border-color: var(--gold-light);
    box-shadow: inset 0 0 0 1px #555, 0 0 0 2px var(--gold-dark), 0 6px 14px rgba(0, 0, 0, 0.5);
}

/* ============================================
   CRESTS (VIP / support)
   ============================================ */
.crest-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

.crest {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    background: linear-gradient(180deg, rgba(14, 22, 48, 0.96), rgba(8, 13, 28, 0.97));
    border: 2px solid var(--gold);
    border-radius: 12px;
    box-shadow: inset 0 0 0 3px rgba(8, 13, 28, 0.9), inset 0 0 0 4px rgba(201, 161, 74, 0.4), 0 12px 24px rgba(0, 0, 0, 0.5);
}

.crest__emblem {
    flex: none;
    display: grid;
    place-items: center;
    width: 66px;
    height: 74px;
    padding-bottom: 6px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    color: var(--red-deep);
    background: radial-gradient(circle at 35% 28%, #fff3c8 0%, var(--gold-light) 30%, var(--gold) 60%, var(--gold-dark) 100%);
    border: 2px solid #5a3d10;
    border-radius: 12px 12px 50% 50% / 12px 12px 45% 45%;
    box-shadow: inset 0 0 0 3px rgba(255, 240, 200, 0.5), 0 6px 12px rgba(0, 0, 0, 0.5);
}

.crest__title {
    margin: 0 0 0.25rem;
    font-size: 1.15rem;
    color: var(--gold-pale);
}

.crest__text {
    margin: 0;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.45;
}

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

    .crest {
        flex-direction: column;
        text-align: center;
        padding: 1.4rem 1rem;
    }
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
}

.faq-item {
    align-self: start;
    color: var(--ink);
    background: radial-gradient(ellipse at 50% 30%, #fbf1d6 0%, var(--parchment) 60%, var(--parchment-2) 100%);
    border: 2px solid var(--gold);
    border-radius: 8px;
    box-shadow: inset 0 0 0 3px rgba(138, 100, 32, 0.25), 0 8px 18px rgba(0, 0, 0, 0.45);
}

.faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 56px;
    padding: 0.8rem 1rem;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.02rem;
    line-height: 1.3;
    color: var(--ink-red);
    border-radius: 6px;
}

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

.faq-item summary:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 2px;
}

.faq-item__icon {
    position: relative;
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--red-bright), var(--red-deep));
    border: 2px solid var(--gold);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 2px;
    margin: -1px 0 0 -7px;
    background: var(--gold-pale);
    transition: transform 0.2s ease;
}

.faq-item__icon::after {
    transform: rotate(90deg);
}

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

.faq-item__answer {
    padding: 0 1rem 1rem;
}

.faq-item__answer p {
    margin: 0;
    color: var(--ink);
}

/* ============================================
   PROSE (SEO text)
   ============================================ */
.prose p {
    margin: 0 0 1em;
}

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

.prose h2,
.prose h3 {
    margin-top: 0;
}

/* ============================================
   FOOTER - castle foundation
   ============================================ */
.site-footer {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding: calc(var(--rail-h) + 2.5rem) 0 2rem;
    text-align: center;
    background: linear-gradient(180deg, #3a0910 0%, var(--burgundy-900) 100%);
}

.site-footer__scene {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.site-footer__scene img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.site-footer__scene::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(34, 5, 10, 0.78) 0%, rgba(34, 5, 10, 0.9) 100%);
}

.site-footer__inner {
    display: grid;
    justify-items: center;
    gap: 1.1rem;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.site-footer__mark {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.7));
}

.site-footer__title {
    margin: 0;
    font-size: clamp(1.4rem, 4.5vw, 1.9rem);
    color: var(--gold-light);
    text-shadow: 0 2px 0 #000;
}

.pay-badges--footer {
    margin: 0;
}

.gold-divider {
    width: min(100%, 520px);
    height: 4px;
    margin: 0.25rem auto;
    border: 0;
    background: linear-gradient(90deg, transparent, var(--gold-dark) 12%, var(--gold-light) 50%, var(--gold-dark) 88%, transparent);
}

.site-footer__rg {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    max-width: 640px;
}

.site-footer__rg p {
    margin: 0;
    color: var(--text);
    font-weight: 500;
}

.age-badge {
    flex: none;
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 1.5rem;
    color: #b3141c;
    background: #ffffff;
    border: 5px solid #b3141c;
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--gold), 0 6px 14px rgba(0, 0, 0, 0.5);
}

.site-footer__disclaimer {
    max-width: 720px;
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.site-footer__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
}

.site-footer__nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 700;
    color: var(--gold-light);
}

.site-footer__copy {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gold-pale);
}

@media (min-width: 768px) {
    .site-footer__rg {
        flex-direction: row;
        text-align: left;
    }
}

/* ============================================
   HOMEPAGE SCENES
   ============================================ */
.scene-panel {
    margin: 0 auto 1.5rem;
}

.scene-panel .scene-heading {
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin-bottom: 1rem;
}

.scene-panel .scene-lead {
    margin-bottom: 0;
}

.scene-panel--after {
    margin-top: 1.75rem;
    margin-bottom: 0;
    text-align: center;
}

.scene-panel--after p {
    max-width: 44rem;
    margin: 0 auto 1.25rem;
}

.scene-panel h3 {
    color: var(--gold-pale);
    text-align: center;
}

@media (max-width: 599px) {
    .btn-row > .btn {
        flex: 1 1 100%;
    }
}

/* Hero */
.hero-card {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.hero-card__eyebrow {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.hero-card h1 {
    color: var(--ink-red);
}

.hero-card .btn-row {
    margin-top: 1.25rem;
}

.hero-card .offer-note {
    color: var(--ink-soft);
}

@media (min-width: 1024px) {
    .scene--hero {
        --scene-min: 720px;
        justify-content: flex-start;
    }

    .hero-card {
        max-width: 600px;
    }
}

/* Bonuses */
.bonus-layout .shield-row {
    margin-top: 0.5rem;
}

@media (min-width: 1024px) {
    .scene--bonus { --scene-min: 640px; }

    .bonus-layout {
        max-width: 900px;
        margin-left: auto;
    }

    .bonus-layout .scene-panel:first-child {
        max-width: 720px;
    }
}

/* Games arena */
.arena-intro {
    max-width: 820px;
}

.arena-podium {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding: 1.25rem 0.75rem;
}

.arena-podium::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55%;
    z-index: -1;
    background:
        repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0 1px, transparent 1px 64px),
        linear-gradient(180deg, #b59a6a 0%, #7c6440 55%, #4a3822 100%);
    border: 2px solid var(--gold);
    border-radius: 50% 50% 18px 18px / 30px 30px 18px 18px;
    box-shadow: inset 0 6px 14px rgba(255, 230, 180, 0.25), 0 18px 30px rgba(0, 0, 0, 0.6);
}

.providers-panel {
    max-width: 860px;
    margin-top: 1.75rem;
    margin-bottom: 0;
    text-align: center;
}

.providers-panel p {
    max-width: 44rem;
    margin-inline: auto;
}

/* Live */
.live-intro {
    max-width: 820px;
}

.live-grid {
    max-width: 860px;
    margin: 0 auto;
}

.live-outro {
    max-width: 860px;
}

/* Payments */
.pay-panel {
    width: 100%;
    max-width: 600px;
    margin-inline: auto;
}

.pay-panel .pay-badges .pay-badge--blik {
    flex-basis: 100%;
    min-height: 60px;
    font-size: 1.8rem;
}

.pay-panel .btn-row {
    margin-top: 1.25rem;
}

@media (min-width: 1024px) {
    .pay-panel {
        margin-inline: 0;
    }
}

/* VIP */
.vip-layout {
    width: 100%;
    max-width: 680px;
    margin-inline: auto;
}

.vip-cta {
    margin-top: 1.5rem;
}

@media (min-width: 1024px) {
    .vip-layout {
        margin-inline: 0;
    }
}

/* Mobile */
.mobile-card {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
}

.mobile-card .scene-heading {
    margin-bottom: 1rem;
}

@media (min-width: 1024px) {
    .mobile-card {
        margin-inline: 0;
    }
}

/* FAQ + SEO library */
.library-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    align-items: start;
}

.library-col .scene-heading {
    margin-bottom: 1rem;
}

.seo-panel h2 {
    font-size: clamp(1.35rem, 4.4vw, 1.9rem);
}

.seo-panel .btn-row {
    margin-top: 1.25rem;
}

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

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

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