/*
 * Casea Casino - Mediterranean riviera design system
 * Navy · ivory · burnished gold. Mobile-first.
 */

:root {
    --navy-950: #071430;
    --navy-900: #0b1d3a;
    --navy-800: #12294d;
    --navy-700: #1a3a66;
    --navy-600: #24497c;
    --gold-200: #f7e7b4;
    --gold-300: #f1d68c;
    --gold-400: #e4bf67;
    --gold-500: #c99a3c;
    --gold-600: #a67b26;
    --gold-700: #7a5716;
    --ivory-50: #fffcf5;
    --ivory-100: #faf3e4;
    --ivory-200: #f1e5ca;
    --ivory-300: #e6d4ae;
    --ink: #13233f;
    --ink-soft: #3a4762;
    --sea: #1f7fa3;

    --gold-gradient: linear-gradient(180deg, #f8e6a8 0%, #e8c46c 42%, #cc9d40 78%, #b8862e 100%);
    --gold-line: linear-gradient(90deg, transparent, #e4bf67 15%, #f7e7b4 50%, #e4bf67 85%, transparent);
    --navy-gradient: linear-gradient(180deg, #1a3a66 0%, #0f254a 55%, #0b1d3a 100%);

    --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
    --font-body: "Barlow", "Segoe UI", Roboto, Arial, sans-serif;
    --font-brand: "Playfair Display", Georgia, "Times New Roman", serif;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --shadow-soft: 0 10px 30px rgba(11, 29, 58, 0.18);
    --shadow-card: 0 14px 40px rgba(11, 29, 58, 0.22);
    --glow-gold: 0 0 0 1px rgba(228, 191, 103, 0.5), 0 8px 24px rgba(201, 154, 60, 0.35);

    --header-h: 64px;
    --header-bottom: 64px;
    --action-bar-h: 72px;
    --section-pad: clamp(3.5rem, 9vw, 6.5rem);
    --container: 1200px;
}

/* ============================================
   OVERFLOW PREVENTION - Safety Net
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

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

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

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

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

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

details {
    height: fit-content;
}

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

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

section {
    overflow: clip;
}

/* ============================================
   BASE
   ============================================ */
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
    overflow-x: hidden;
}

body {
    margin: 0;
    padding-top: var(--header-h);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--ivory-100);
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

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

h1 { font-size: clamp(2.1rem, 7vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 5vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.65rem); }

p { margin: 0 0 1em; }

a {
    color: var(--navy-700);
}

a:hover { color: var(--gold-700); }

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

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

strong { font-weight: 600; }

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

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

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 200;
    padding: 0.75rem 1rem;
    background: var(--gold-400);
    color: var(--navy-900);
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
}

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

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.1;
    text-align: center;
    border: 0;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.btn--gold {
    color: var(--navy-900);
    background: var(--gold-gradient);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), inset 0 -2px 0 rgba(122, 87, 22, 0.35), 0 6px 18px rgba(201, 154, 60, 0.4);
}

.btn--gold:hover {
    color: var(--navy-900);
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -2px 0 rgba(122, 87, 22, 0.35), 0 10px 26px rgba(201, 154, 60, 0.55);
}

.btn--ghost {
    color: var(--ivory-50);
    background: transparent;
    box-shadow: inset 0 0 0 2px var(--gold-400);
}

.btn--ghost:hover {
    color: var(--navy-900);
    background: var(--gold-400);
}

.btn--lg {
    min-height: 58px;
    padding: 0.75rem 2rem;
    font-size: clamp(1.15rem, 3.6vw, 1.35rem);
    width: 100%;
    white-space: normal;
}

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

.cta-row {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    width: min(100% - 2rem, 440px);
    margin: clamp(2rem, 5vw, 3rem) auto 0;
}

.cta-row__note {
    margin: 0;
    font-size: 0.875rem;
    text-align: center;
    color: var(--ink-soft);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background: var(--navy-gradient);
    border-bottom: 1px solid rgba(228, 191, 103, 0.55);
    transition: box-shadow 0.25s ease;
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: var(--gold-line);
    pointer-events: none;
}

.site-header.is-scrolled {
    box-shadow: 0 8px 24px rgba(7, 20, 48, 0.45);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: min(100% - 1.25rem, 1320px);
    margin-inline: auto;
    min-height: 64px;
}

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

.site-brand__emblem {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.site-brand__text {
    display: flex;
    flex-direction: column;
    font-family: var(--font-brand);
    font-weight: 600;
    line-height: 0.95;
    color: var(--gold-300);
}

.site-brand__line1 { font-size: 1.3rem; }
.site-brand__line2 { font-size: 0.95rem; color: var(--ivory-200); padding-left: 0.05em; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

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

.header-actions .header-register {
    min-height: 42px;
    padding: 0.4rem 0.85rem;
    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 rgba(228, 191, 103, 0.6);
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
}

.menu-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gold-300);
    border-radius: 2px;
    transition: transform 0.25s 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 {
    position: fixed;
    top: var(--header-bottom);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    display: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
    background: var(--navy-900);
    border-top: 1px solid rgba(228, 191, 103, 0.35);
}

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

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

.site-nav__list li + li { border-top: 1px solid rgba(228, 191, 103, 0.18); }

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0.25rem 0.25rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: 0.03em;
    color: var(--ivory-50);
    text-decoration: none;
}

.site-nav__link:hover,
.site-nav__link.is-active { color: var(--gold-300); }

.site-nav__actions {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.site-nav__note {
    margin: 0.25rem 0 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--ivory-200);
}

@media (max-width: 359px) {
    .site-brand__emblem { width: 32px; height: 32px; }
    .site-brand__line1 { font-size: 1.1rem; }
    .site-brand__line2 { font-size: 0.82rem; }
    .header-actions .header-register { padding: 0.4rem 0.6rem; font-size: 0.8rem; letter-spacing: 0.02em; }
}

@media (min-width: 768px) {
    .header-actions { gap: 0.6rem; }
    .header-actions .header-login { display: inline-flex; min-height: 42px; padding: 0.4rem 1.1rem; font-size: 0.95rem; }
    .header-actions .header-register { padding: 0.4rem 1.3rem; font-size: 0.95rem; }
    .site-brand__emblem { width: 44px; height: 44px; }
    .site-brand__line1 { font-size: 1.45rem; }
    .site-brand__line2 { font-size: 1.05rem; }
}

@media (min-width: 1024px) {
    .site-header__inner { min-height: 72px; gap: 1rem; }
    .menu-toggle { display: none; }
    .site-nav {
        position: static;
        display: flex;
        flex: 1 1 auto;
        justify-content: center;
        padding: 0;
        background: none;
        border: 0;
        overflow: visible;
    }
    .site-nav__list { display: flex; align-items: center; gap: 0.1rem; }
    .site-nav__list li + li { border: 0; }
    .site-nav__link {
        min-height: 44px;
        padding: 0.25rem 0.55rem;
        font-size: 1.02rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        position: relative;
    }
    .site-nav__link::after {
        content: "";
        position: absolute;
        left: 0.55rem;
        right: 0.55rem;
        bottom: 6px;
        height: 2px;
        background: var(--gold-400);
        transform: scaleX(0);
        transition: transform 0.25s ease;
    }
    .site-nav__link:hover::after,
    .site-nav__link.is-active::after { transform: scaleX(1); }
    .site-nav__actions { display: none; }
}

@media (min-width: 1280px) {
    .site-nav__link { padding: 0.25rem 0.8rem; }
    .site-nav__link::after { left: 0.8rem; right: 0.8rem; }
}

/* ============================================
   SCENE PRIMITIVES (full-bleed sections)
   ============================================ */
.scene {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding: var(--section-pad) 0;
}

.scene__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.scene__veil {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.scene--ivory {
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(241, 214, 140, 0.35), transparent 70%),
        var(--ivory-100);
}

.scene--navy {
    background: var(--navy-gradient);
    color: var(--ivory-50);
}

/* Gold-bordered elliptical edges between sections */
.edge-curve {
    position: absolute;
    left: -10%;
    width: 120%;
    height: clamp(36px, 7vw, 110px);
    z-index: 1;
    pointer-events: none;
    background: var(--edge-fill, var(--ivory-100));
}

.edge-curve--bottom {
    bottom: 0;
    border-top: 2px solid var(--gold-400);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    box-shadow: 0 -4px 18px rgba(228, 191, 103, 0.45);
}

.edge-curve--top {
    top: 0;
    border-bottom: 2px solid var(--gold-400);
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    box-shadow: 0 4px 18px rgba(228, 191, 103, 0.45);
}

/* ============================================
   SUN HEADING
   ============================================ */
.sun-heading {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.sun-heading--center { align-items: center; text-align: center; }
.sun-heading--left { align-items: flex-start; text-align: left; }

.sun-heading__ornament {
    display: block;
    width: clamp(150px, 34vw, 220px);
    aspect-ratio: 800 / 240;
    margin-bottom: 0.3rem;
    background-image: url("./assets/4949d9ab569f00856f9f003066c0794d.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
}

.sun-heading--left .sun-heading__ornament { background-position: left bottom; }

.sun-heading__eyebrow {
    margin: 0 0 0.4rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-700);
}

.sun-heading__title { margin: 0; max-width: 22ch; }

.sun-heading--light .sun-heading__title { color: var(--ivory-50); text-shadow: 0 2px 14px rgba(7, 20, 48, 0.55); }
.sun-heading--light .sun-heading__eyebrow { color: var(--gold-300); }

.sun-heading--scene .sun-heading__title {
    color: var(--navy-900);
    text-shadow: 0 0 18px rgba(255, 252, 245, 0.95), 0 0 4px rgba(255, 252, 245, 0.9);
}

/* ============================================
   PANELS, CHIPS, BADGES
   ============================================ */
.panel {
    position: relative;
    background: var(--ivory-50);
    border: 1px solid var(--gold-400);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: 1.25rem;
    color: var(--ink);
}

.panel__ribbon {
    margin: -1.25rem -1.25rem 1.1rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    background: var(--gold-gradient);
    color: var(--navy-900);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    text-align: center;
}

.panel--rule { border-top: 4px solid var(--gold-500); }

.chip-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.25rem 0.85rem;
    border: 1px solid var(--gold-400);
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    color: var(--gold-300);
    background: rgba(7, 20, 48, 0.55);
}

.chip-list--light .chip {
    color: var(--navy-900);
    background: var(--ivory-50);
    border-color: var(--gold-500);
}

.age-badge {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 50%;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ivory-50);
    background: radial-gradient(circle at 35% 30%, var(--navy-600), var(--navy-900) 70%);
    box-shadow: 0 0 0 3px var(--gold-400), 0 0 0 6px rgba(228, 191, 103, 0.25), 0 8px 20px rgba(7, 20, 48, 0.4);
    letter-spacing: 0.02em;
}

.age-badge--sm { width: 44px; height: 44px; font-size: 1.05rem; }
.age-badge--md { width: 64px; height: 64px; font-size: 1.5rem; }
.age-badge--lg { width: clamp(96px, 22vw, 140px); height: clamp(96px, 22vw, 140px); font-size: clamp(2.2rem, 6vw, 3.2rem); }

.micro-note {
    font-size: 0.875rem;
    color: var(--ink-soft);
    margin: 0;
}

/* Integrated transparent artwork */
.art {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.art--fade {
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}

/* Framed media */
.framed {
    position: relative;
    border: 2px solid var(--gold-400);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    background: var(--navy-800);
}

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

/* Lists */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: grid;
    gap: 0.55rem;
}

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

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    background: var(--gold-gradient);
    box-shadow: inset 0 0 0 3px var(--ivory-50), 0 0 0 1px var(--gold-500);
}

.lead {
    font-size: clamp(1.05rem, 2.6vw, 1.2rem);
    line-height: 1.55;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
    display: grid;
    gap: 0.7rem;
    align-items: start;
}

.faq-item {
    background: var(--ivory-50);
    border: 1px solid var(--gold-400);
    border-left: 4px solid var(--gold-500);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
}

.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 56px;
    padding: 0.75rem 1rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    line-height: 1.25;
    color: var(--navy-900);
    cursor: pointer;
    list-style: none;
}

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

.faq-item__chev {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    margin-top: -5px;
    border-right: 2px solid var(--gold-600);
    border-bottom: 2px solid var(--gold-600);
    transform: rotate(45deg);
    transition: transform 0.25s ease, margin 0.25s ease;
}

.faq-item[open] .faq-item__chev { transform: rotate(-135deg); margin-top: 5px; }

.faq-item__q:focus-visible { outline-offset: -3px; }

.faq-item__a {
    padding: 0 1rem 1rem;
    color: var(--ink);
}

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

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    position: relative;
    background: var(--navy-gradient);
    color: var(--ivory-100);
    padding: 3.5rem 0 2rem;
    border-top: 2px solid var(--gold-400);
}

.site-footer__ornament {
    position: absolute;
    top: -2px;
    left: 50%;
    width: 200px;
    aspect-ratio: 800 / 240;
    transform: translate(-50%, -62%);
    background-image: url("./assets/4949d9ab569f00856f9f003066c0794d.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    pointer-events: none;
}

.site-footer__inner {
    display: grid;
    gap: 1.75rem;
}

.site-footer__tagline {
    margin: 0.6rem 0 0;
    color: var(--ivory-200);
    max-width: 40ch;
}

.site-footer__label {
    margin: 0 0 0.6rem;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.95rem;
    color: var(--gold-300);
}

.site-footer__rg {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.1rem;
    border: 1px solid rgba(228, 191, 103, 0.45);
    border-radius: var(--radius-md);
    background: rgba(7, 20, 48, 0.45);
}

.site-footer__rg-text p { margin: 0 0 0.5rem; }

.site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
}

.site-footer__links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--gold-300);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.site-footer__links a:hover { color: var(--ivory-50); }

.site-footer__disclaimer {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--ivory-200);
}

.site-footer__copy {
    margin: 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(228, 191, 103, 0.3);
    font-size: 0.875rem;
    color: var(--ivory-200);
    text-align: center;
}

@media (min-width: 768px) {
    .site-footer__inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
        column-gap: 3rem;
    }
    .site-footer__disclaimer,
    .site-footer__copy { grid-column: 1 / -1; }
}

/* ============================================
   MOBILE ACTION BAR
   ============================================ */
.action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom));
    background: var(--navy-900);
    border-top: 1px solid var(--gold-400);
    box-shadow: 0 -8px 24px rgba(7, 20, 48, 0.4);
}

.action-bar__text {
    display: flex;
    flex-direction: column;
    margin: 0;
    line-height: 1.2;
    color: var(--ivory-100);
    font-size: 0.875rem;
}

.action-bar__text strong {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--gold-300);
    letter-spacing: 0.02em;
}

.action-bar__btn {
    flex-shrink: 0;
    min-height: 48px;
    padding: 0.5rem 1.1rem;
    font-size: 1rem;
}

body.has-action-bar {
    padding-bottom: calc(var(--action-bar-h) + env(safe-area-inset-bottom));
}

@media (min-width: 768px) {
    .action-bar { display: none; }
    body.has-action-bar { padding-bottom: 0; }
}

/* ============================================
   HOMEPAGE - shared helpers
   ============================================ */
main .cta-row__note {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    background: var(--ivory-50);
    color: var(--ink);
    border: 1px solid var(--gold-400);
    border-radius: var(--radius-pill);
}

.scene-intro {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto clamp(1.5rem, 4vw, 2.25rem);
    padding: 1.1rem 1.25rem;
    background: var(--ivory-50);
    border: 1px solid var(--gold-400);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

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

.pill-note {
    position: relative;
    z-index: 2;
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 1.5rem auto 0;
    padding: 0.55rem 1.2rem;
    background: var(--navy-900);
    color: var(--ivory-50);
    border: 1px solid var(--gold-400);
    border-radius: var(--radius-lg);
    text-align: center;
    font-weight: 600;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.95rem;
    border-radius: var(--radius-pill);
    background: var(--gold-gradient);
    color: var(--navy-900);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    isolation: isolate;
    background: var(--ivory-100);
}

.hero__stage {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding: 1.25rem 0 0;
}

.hero__bg {
    background-image: url("./assets/7a0bd4c4a2ecd2f8bee7efbe2d5b9687.webp");
    background-position: 62% 40%;
}

.hero__stage-inner {
    display: grid;
    justify-items: center;
    gap: 0.25rem;
}

.hero__copy {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 1.1rem 1.2rem 1.25rem;
    text-align: center;
    background: var(--ivory-50);
    border: 1px solid var(--gold-400);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.hero__eyebrow {
    margin: 0 0 0.4rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-700);
}

.hero__copy h1 { margin-bottom: 0.5rem; }
.hero__copy .lead { margin: 0; color: var(--ink-soft); }

.hero__figure {
    position: relative;
    z-index: 1;
    display: block;
    width: min(74vw, 330px);
    height: auto;
    margin-bottom: -2.5rem;
    -webkit-mask-image: linear-gradient(180deg, #000 76%, transparent 98%);
    mask-image: linear-gradient(180deg, #000 76%, transparent 98%);
}

.hero__panel {
    position: relative;
    z-index: 2;
    isolation: isolate;
    padding: 2.25rem 0 3.25rem;
    color: var(--ivory-50);
    background: var(--navy-gradient);
    border-bottom: 2px solid var(--gold-400);
    border-radius: 0 0 50% 50% / 0 0 36px 36px;
    box-shadow: 0 6px 20px rgba(228, 191, 103, 0.35);
}

.hero__panel::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -30px;
    left: -10%;
    width: 120%;
    height: 64px;
    background: var(--navy-700);
    border-top: 2px solid var(--gold-400);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    box-shadow: 0 -6px 20px rgba(228, 191, 103, 0.45);
}

.hero__label {
    margin: 0 0 0.25rem;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ivory-200);
}

.hero__headline {
    margin: 0;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 8.5vw, 3.6rem);
    line-height: 1.05;
    color: var(--gold-300);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.deposit-steps {
    list-style: none;
    margin: 1.9rem auto 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem 0.75rem;
    max-width: 920px;
}

.deposit-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.35rem 0.5rem 0.8rem;
    border-radius: 14px;
    background: var(--gold-gradient);
    color: var(--navy-900);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 8px 20px rgba(0, 0, 0, 0.3);
}

.deposit-step__num {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    color: var(--navy-900);
    font-family: var(--font-display);
    font-weight: 700;
    box-shadow: 0 0 0 2px var(--gold-500);
}

.deposit-step__label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.deposit-step__pct {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 1;
}

.deposit-step__cap { font-weight: 600; font-size: 0.95rem; }

.deposit-step__fs {
    margin-top: 0.35rem;
    padding: 0.1rem 0.65rem;
    border-radius: var(--radius-pill);
    background: var(--navy-900);
    color: var(--gold-300);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
}

.hero__qual {
    margin: 1.25rem 0 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--ivory-200);
}

@media (min-width: 768px) {
    .deposit-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 1.6rem; }
    .deposit-step:not(:last-child)::after {
        content: "›";
        position: absolute;
        right: -1.15rem;
        top: 50%;
        transform: translateY(-50%);
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 1.9rem;
        line-height: 1;
        color: var(--gold-300);
    }
}

@media (min-width: 1024px) {
    .hero__stage { padding-top: 2.5rem; }
    .hero__bg { background-position: center 40%; }
    .hero__stage-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
        align-items: end;
        justify-items: stretch;
        gap: 2rem;
    }
    .hero__copy { align-self: center; margin-bottom: 4rem; text-align: left; padding: 1.75rem 2rem; }
    .hero__figure { justify-self: center; width: 400px; margin-bottom: -4rem; }
    .hero__panel { padding: 3rem 0 3.75rem; border-radius: 0 0 50% 50% / 0 0 70px 70px; }
    .hero__panel::before { top: -44px; height: 90px; }
}

/* ============================================
   BONUSES
   ============================================ */
.bonuses__layout { display: flex; flex-direction: column; }

.bonuses__art {
    display: block;
    width: min(100%, 560px);
    height: auto;
    margin: calc(-0.5 * var(--section-pad)) auto 0;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}

.terms-card { margin-top: 2.25rem; }

.terms-card__sun {
    position: absolute;
    top: -30px;
    left: -10px;
    z-index: 3;
    width: 62px;
    height: 62px;
    filter: drop-shadow(0 4px 10px rgba(166, 123, 38, 0.45));
}

.terms-card__cols { display: grid; gap: 1.25rem; }

.terms-card__col + .terms-card__col {
    padding-top: 1.25rem;
    border-top: 1px solid var(--gold-400);
}

.terms-card h4 { font-size: 1.3rem; margin: 0 0 0.75rem; }

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

.fact {
    padding: 0.6rem 0.7rem;
    background: var(--ivory-100);
    border: 1px solid var(--ivory-300);
    border-radius: var(--radius-sm);
}

.fact__num {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.65rem;
    line-height: 1.05;
    color: var(--navy-800);
}

.fact__label { font-size: 0.85rem; color: var(--ink-soft); }

.crypto { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.75rem; }

.crypto__coin { flex-shrink: 0; width: 76px; height: 76px; }

.crypto__offer {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1.15;
    color: var(--navy-900);
}

.terms-card__honest {
    margin: 1.25rem 0 0;
    padding: 0.75rem 1rem;
    background: var(--ivory-100);
    border-left: 3px solid var(--gold-500);
    border-radius: 6px;
    font-size: 0.95rem;
}

.promos { margin-top: 2rem; }
.promos h3 { margin-bottom: 0.4rem; }

@media (min-width: 768px) {
    .terms-card__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
    .terms-card__col { padding-right: 1.5rem; }
    .terms-card__col + .terms-card__col {
        padding: 0 0 0 1.5rem;
        border-top: 0;
        border-left: 1px solid var(--gold-400);
    }
}

@media (min-width: 1024px) {
    .bonuses__layout {
        display: grid;
        grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
        gap: 2rem;
        align-items: start;
    }
    .bonuses__content { grid-column: 1; grid-row: 1; }
    .bonuses__art {
        grid-column: 2;
        grid-row: 1;
        width: calc(100% + 2rem);
        max-width: none;
        margin: calc(-1 * var(--section-pad)) -2rem 0 0;
    }
    .bonuses .sun-heading { align-items: flex-start; text-align: left; }
    .bonuses .sun-heading__ornament { background-position: left bottom; }
    .terms-card__sun { top: -40px; left: -14px; width: 92px; height: 92px; }
}

/* ============================================
   GAMES
   ============================================ */
.games { padding-top: calc(var(--section-pad) + clamp(36px, 7vw, 110px)); }

.games .edge-curve--top { --edge-fill: var(--ivory-100); }

.games__bg {
    background-image: url("./assets/d76f7cb363ce450112b11701eeb4002c.webp");
    background-position: center 40%;
}

.games__veil {
    background: linear-gradient(180deg, rgba(250, 243, 228, 0.55) 0%, rgba(250, 243, 228, 0.12) 40%, rgba(250, 243, 228, 0.45) 100%);
}

.games__layout {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 1rem;
    justify-items: center;
}

.games__figure {
    display: block;
    height: min(52vh, 420px);
    width: auto;
    max-width: 100%;
    -webkit-mask-image: linear-gradient(180deg, #000 68%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 68%, transparent 100%);
}

.game-tiles {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.game-tiles > li { display: flex; }

.game-tile {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
}

.game-tile img {
    height: auto;
    aspect-ratio: 1 / 1;
}

.game-tile figcaption {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.5rem;
    background: var(--navy-900);
    border-top: 2px solid var(--gold-400);
    color: var(--ivory-50);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.2;
    text-align: center;
}

.providers {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 1.75rem auto 0;
    padding: 1rem;
    background: var(--navy-900);
    border: 1px solid var(--gold-400);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-card);
}

.providers__label {
    margin: 0 0 0.7rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-300);
}

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

.provider {
    padding: 0.35rem 0.75rem;
    background: var(--navy-800);
    border: 1px solid var(--gold-500);
    border-radius: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gold-300);
}

@media (min-width: 1024px) {
    .games__layout {
        grid-template-columns: 280px minmax(0, 1fr);
        align-items: end;
        gap: 2rem;
    }
    .games__figure { height: 560px; justify-self: center; }
    .game-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 760px; justify-self: end; }
}

/* ============================================
   LIVE
   ============================================ */
.live__bg {
    background-image: url("./assets/36ab5a01cce199ff1349fef4b3bddfe8.webp");
    background-position: center 70%;
}

.live__veil {
    background: linear-gradient(180deg, rgba(255, 252, 245, 0.4) 0%, rgba(11, 29, 58, 0) 40%, rgba(11, 29, 58, 0.4) 100%);
}

.screens {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 1.25rem;
    max-width: 1000px;
    margin: 0 auto;
}

.screen {
    margin: 0;
    padding: 8px;
    background: var(--navy-950);
    border-radius: 16px;
    box-shadow: 0 0 0 1px var(--navy-700), 0 0 0 3px var(--gold-400), 0 0 34px rgba(111, 190, 255, 0.45), 0 18px 40px rgba(7, 20, 48, 0.45);
}

.screen img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 10px;
}

.screen figcaption {
    padding: 0.45rem 0.25rem 0.1rem;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-300);
}

.live__cols {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 1rem;
    max-width: 1000px;
    margin: 1.75rem auto 0;
}

.live__cols .panel h3 { margin-bottom: 0.4rem; }
.live__cols .check-list { margin-bottom: 0; }

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

/* ============================================
   PAYMENTS
   ============================================ */
.payments__bg {
    background-image: url("./assets/3a3cdb1cad252548435cb673938fc92b.webp");
    background-position: 70% center;
}

.payments__veil {
    background: linear-gradient(180deg, rgba(255, 252, 245, 0.55) 0%, rgba(255, 252, 245, 0.1) 45%, rgba(255, 252, 245, 0.4) 100%);
}

.payments__layout {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 1.5rem;
}

.pay-card h3 { margin: 1.25rem 0 0.4rem; }
.pay-card p:last-child { margin-bottom: 0; }

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

.method { display: flex; align-items: center; gap: 0.85rem; }

.method__icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: var(--navy-900);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55), 0 0 0 1px var(--gold-600);
}

.method strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.15rem;
    line-height: 1.2;
    color: var(--navy-900);
}

.payments__aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.payments__aside .chip-list { justify-content: center; }

.payments__figure { display: block; width: min(100%, 460px); height: auto; }

@media (min-width: 1024px) {
    .payments__layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: end; gap: 2.5rem; }
    .payments__figure { width: min(100%, 520px); }
}

/* ============================================
   VIP
   ============================================ */
.vip__bg {
    background-image: url("./assets/97f13c64980bc306d595bf9412c2d2ab.webp");
    background-position: center 60%;
}

.vip__veil {
    background: linear-gradient(180deg, rgba(255, 252, 245, 0.5) 0%, rgba(255, 252, 245, 0) 40%, rgba(7, 20, 48, 0.18) 100%);
}

.vip__layout {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 1.25rem;
}

.vip-ladder-wrap { display: flex; flex-direction: column; align-items: center; }

.vip-ladder__crown {
    position: relative;
    z-index: 1;
    width: 120px;
    height: auto;
    margin-bottom: -0.3rem;
    filter: drop-shadow(0 6px 12px rgba(166, 123, 38, 0.45));
}

.vip-ladder {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
}

.vip-level {
    width: var(--w, 100%);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 1rem;
    background: var(--navy-gradient);
    border-top: 3px solid var(--gold-400);
    border-radius: 12px;
    color: var(--ivory-50);
    box-shadow: 0 10px 22px rgba(7, 20, 48, 0.35), 0 18px 26px -14px rgba(31, 127, 163, 0.6);
}

.vip-level--5 { --w: 82%; }
.vip-level--4 { --w: 87%; }
.vip-level--3 { --w: 92%; }
.vip-level--2 { --w: 96%; }
.vip-level--1 { --w: 100%; }

.vip-level__crown { flex-shrink: 0; width: 40px; height: 30px; object-fit: contain; }

.vip-level__text { display: flex; flex-direction: column; }

.vip-level__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--gold-300);
}

.vip-level__perk { font-size: 0.92rem; line-height: 1.35; color: var(--ivory-100); }

.vip__perks { width: 100%; max-width: 720px; margin-top: 1.5rem; }
.vip__perks h3 { margin-bottom: 0.6rem; }
.vip__perks .chip-list .chip { color: var(--navy-900); background: var(--ivory-100); border-color: var(--gold-500); }

.vip__figure { display: block; width: min(100%, 480px); height: auto; justify-self: center; }

@media (min-width: 1024px) {
    .vip__layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; }
    .vip-level { justify-content: center; text-align: center; }
    .vip-level--5 { --w: 48%; }
    .vip-level--4 { --w: 60%; }
    .vip-level--3 { --w: 73%; }
    .vip-level--2 { --w: 87%; }
    .vip__figure { width: calc(100% + 3rem); max-width: none; margin-right: -3rem; }
}

/* ============================================
   MOBILE PLAY
   ============================================ */
.mobile-play { padding-bottom: clamp(36px, 7vw, 110px); }

.mobile-play .edge-curve--bottom { --edge-fill: #2a1a10; }

.mobile-play__bg {
    background-image: url("./assets/7ac2cd0a1b60b8636d19b3540e1a7827.webp");
    background-position: 70% center;
}

.mobile-play__veil {
    background: linear-gradient(180deg, rgba(255, 252, 245, 0.45) 0%, rgba(255, 252, 245, 0) 45%);
}

.mobile-play__layout {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 1rem;
}

.mobile-play__panel h3 { margin-bottom: 0.5rem; }
.mobile-play__panel .check-list { margin-bottom: 0; }

.mobile-play__figure {
    position: relative;
    z-index: 2;
    display: block;
    justify-self: center;
    width: min(80vw, 380px);
    height: auto;
    margin-top: 1rem;
    margin-bottom: calc(-1 * clamp(28px, 5vw, 80px));
    -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
}

@media (min-width: 1024px) {
    .mobile-play__layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: end; gap: 2.5rem; }
    .mobile-play__col { padding-bottom: 2.5rem; }
    .mobile-play__figure { width: min(100%, 460px); margin-top: 0; }
}

/* ============================================
   REGISTRATION
   ============================================ */
.registration { padding-top: calc(var(--section-pad) * 0.7); }

.registration__bg {
    background-image: url("./assets/33dc9ced347a3df1e49ef74ab9ec2751.webp");
    background-position: center;
}

.registration__veil {
    background: linear-gradient(180deg, #2a1a10 0%, rgba(42, 26, 16, 0.6) 12%, rgba(42, 26, 16, 0.4) 55%, rgba(42, 26, 16, 0.75) 100%);
}

.registration__layout {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 1.25rem;
    justify-items: center;
}

.registration__figure {
    display: block;
    height: min(40vh, 320px);
    width: auto;
    max-width: 100%;
    -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 75%, transparent 100%);
}

.reg-steps {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 1.5rem 0 0;
    width: 100%;
    max-width: 520px;
    display: grid;
    gap: 2.25rem;
}

.reg-steps::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, transparent, var(--gold-400) 6%, var(--gold-400) 94%, transparent);
}

.reg-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.9rem 1rem 1rem;
    background: var(--ivory-50);
    border: 1px solid var(--gold-400);
    border-radius: 14px;
    box-shadow: var(--shadow-card);
}

.reg-step__num {
    position: absolute;
    top: -21px;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--navy-600), var(--navy-900) 70%);
    color: var(--ivory-50);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 0 0 2px var(--gold-400), 0 6px 14px rgba(0, 0, 0, 0.35);
}

.reg-step h3 { font-size: 1.25rem; margin: 0 0 0.35rem; }
.reg-step p { margin: 0 0 0.9rem; font-size: 0.95rem; color: var(--ink-soft); }

.reg-step__bar {
    display: block;
    width: 56%;
    height: 10px;
    margin-top: auto;
    border-radius: var(--radius-pill);
    background: var(--gold-gradient);
}

@media (min-width: 1024px) {
    .registration__layout { grid-template-columns: 200px minmax(0, 1fr); align-items: end; gap: 1.5rem; }
    .registration__figure { height: 460px; }
    .reg-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: none; gap: 1rem; }
    .reg-steps::before {
        top: 1.5rem;
        bottom: auto;
        left: 4%;
        right: 4%;
        width: auto;
        height: 2px;
        transform: none;
        background: linear-gradient(90deg, transparent, var(--gold-400) 6%, var(--gold-400) 94%, transparent);
    }
}

/* ============================================
   FAQ + SEO (library)
   ============================================ */
.library__bg {
    background-image: url("./assets/6dc138fbbc7f9ac884ae2003bd2a32b7.webp");
    background-position: center;
}

.library__veil {
    background: linear-gradient(180deg, rgba(30, 18, 10, 0.6) 0%, rgba(30, 18, 10, 0.4) 50%, rgba(30, 18, 10, 0.65) 100%);
}

.library__grid {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 2.5rem;
    align-items: start;
}

.faq-block { display: flex; flex-direction: column; }

.faq-block__figure {
    order: 1;
    display: block;
    width: min(55vw, 220px);
    height: auto;
    align-self: center;
    margin-bottom: 0.5rem;
    -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
}

.faq-block .faq-list { order: 2; }

.seo-panel { padding: 1.5rem; }
.seo-panel .sun-heading { margin-bottom: 1rem; }
.seo-text p:last-child { margin-bottom: 0; }
.seo-text a { color: var(--navy-700); font-weight: 600; }

@media (min-width: 1024px) {
    .library__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; }
    .faq-block__figure { order: 3; width: 300px; align-self: flex-start; margin: 1.5rem 0 0; }
    .seo-panel { padding: 2rem; }
}

/* ============================================
   RESPONSIBLE GAMING PAGE
   ============================================ */
.rg-hero {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding: 2.5rem 0 clamp(4rem, 9vw, 6rem);
    color: var(--ivory-50);
    border-bottom: 2px solid var(--gold-400);
    border-radius: 0 0 50% 50% / 0 0 36px 36px;
    box-shadow: 0 6px 20px rgba(228, 191, 103, 0.35);
}

.rg-hero__bg {
    background-image: url("./assets/85e29913c969571c6dfa1d1222ee96bf.webp");
    background-position: 70% center;
}

.rg-hero__veil {
    background: linear-gradient(160deg, rgba(11, 29, 58, 0.92) 0%, rgba(11, 29, 58, 0.78) 55%, rgba(11, 29, 58, 0.35) 100%);
}

.rg-hero__inner {
    display: grid;
    gap: 1.25rem;
    justify-items: start;
}

.rg-hero__badge { box-shadow: 0 0 0 4px var(--gold-400), 0 0 0 8px rgba(228, 191, 103, 0.3), 0 8px 20px rgba(7, 20, 48, 0.4); }

.rg-hero__eyebrow {
    margin: 0 0 0.4rem;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-300);
}

.rg-hero h1 { color: var(--ivory-50); text-shadow: 0 2px 14px rgba(7, 20, 48, 0.6); }
.rg-hero__copy { max-width: 640px; }
.rg-hero__copy p:last-child { margin-bottom: 0; }

.rg-section { padding: var(--section-pad) 0; }
.rg-section--ivory { background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(241, 214, 140, 0.3), transparent 70%), var(--ivory-100); }
.rg-section--sand { background: var(--ivory-200); }
.rg-narrow { max-width: 820px; }
.rg-card { padding: 1.5rem 1.25rem; }
.rg-card h3 { margin: 1.25rem 0 0.4rem; }
.rg-card > :last-child { margin-bottom: 0; }

.rg-steps-list { padding-left: 1.4em; margin: 0 0 1rem; display: grid; gap: 0.4rem; }
.rg-steps-list li::marker { color: var(--gold-600); font-weight: 700; }

.rg-tips { display: grid; gap: 1.5rem; align-items: start; }
.rg-tips__media { margin: 0; aspect-ratio: 3 / 2; }

.rg-tip-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.9rem;
}

.rg-tip {
    position: relative;
    padding: 1rem 1rem 1rem 3.6rem;
    background: var(--ivory-50);
    border: 1px solid var(--ivory-300);
    border-left: 4px solid var(--gold-500);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
}

.rg-tip h3 { font-size: 1.25rem; margin: 0 0 0.25rem; }
.rg-tip p { margin: 0; font-size: 0.97rem; color: var(--ink-soft); }

.rg-tip__num {
    position: absolute;
    left: 0.9rem;
    top: 1rem;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: var(--navy-900);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
}

.rg-back__text { text-align: center; font-size: 1.1rem; margin: 0; }

@media (min-width: 768px) {
    .rg-card { padding: 2rem; }
    .rg-hero { border-radius: 0 0 50% 50% / 0 0 60px 60px; }
}

@media (min-width: 1024px) {
    .rg-hero { padding-top: 4rem; }
    .rg-hero__inner { grid-template-columns: auto minmax(0, 640px); align-items: center; gap: 2.5rem; }
    .rg-tips { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
    .rg-tips__media { position: sticky; top: calc(var(--header-h) + 1.5rem); aspect-ratio: 4 / 5; }
    .rg-tips__media img { object-position: 30% center; }
}

/* ============================================
   MOTION PREFERENCES
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
    .btn--gold:hover { transform: none; }
}