/*
 * DudeSpin Casino - orbital night-club design system
 * Dark-only. Mobile-first. Tokens live here.
 */

:root {
    --bg: #110f2b;
    --bg-deep: #0b0a1f;
    --navy-800: #19173a;
    --navy-700: #221f4a;
    --glass: rgba(13, 19, 50, 0.84);
    --glass-strong: rgba(12, 16, 42, 0.94);

    --teal: #3fe0e8;
    --teal-glow: rgba(63, 224, 232, 0.45);
    --violet: #a45cff;
    --violet-glow: rgba(155, 77, 255, 0.45);
    --gold: #ffcf6b;
    --gold-light: #fff0bf;
    --amber: #ff9f3d;
    --amber-glow: rgba(255, 159, 61, 0.6);
    --orange: #f07a2a;
    --cream: #f7e9cc;

    --text: #ebe8f7;
    --muted: #c2bde0;

    --font-body: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-display: "Rubik", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --font-script: "Lobster", "Brush Script MT", cursive;

    --radius: 16px;
    --radius-sm: 10px;
    --container: 1200px;
    --header-bottom: 64px;

    --glow-teal: 0 0 16px rgba(63, 224, 232, 0.4), inset 0 0 14px rgba(63, 224, 232, 0.1);
    --glow-amber: 0 0 18px rgba(255, 159, 61, 0.55);
}

/* ============ 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 { max-width: 100%; overflow-x: auto; }

.table-wrapper { max-width: 100%; overflow-x: auto; }

p, li, td, th, h1, h2, h3 { 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-bottom) + 12px);
    -webkit-text-size-adjust: 100%;
}

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-color: var(--bg);
    background-image:
        radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.55) 50%, transparent 51%),
        radial-gradient(1px 1px at 68% 42%, rgba(255,255,255,.45) 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 85% 78%, rgba(255,240,200,.5) 50%, transparent 51%),
        radial-gradient(1px 1px at 35% 88%, rgba(255,255,255,.4) 50%, transparent 51%),
        radial-gradient(ellipse at 50% 0%, #1d1946 0%, var(--bg) 60%);
    background-size: 420px 420px, 380px 380px, 520px 520px, 460px 460px, 100% 100%;
}

body.menu-open { overflow: hidden; }

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

h1, h2, h3 {
    font-family: var(--font-display);
    line-height: 1.2;
    margin: 0 0 0.6em;
    color: var(--cream);
}

h1 { font-size: clamp(1.75rem, 6.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 5vw, 2.35rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 3.4vw, 1.4rem); font-weight: 700; }

p { margin: 0 0 1em; }

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

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

strong { color: var(--cream); }

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 200;
    padding: 10px 16px;
    background: var(--gold);
    color: #1d1004;
    font-weight: 700;
    border-radius: 8px;
}
.skip-link:focus { top: 12px; }

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

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

.gold-text {
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 45%, var(--amber) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ============ Header ============ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(14, 12, 38, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--amber);
    box-shadow: 0 2px 16px rgba(255, 159, 61, 0.35);
}

.header-inner {
    max-width: 1280px;
    margin-inline: auto;
    min-height: 62px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: auto;
    text-decoration: none;
    line-height: 1;
    flex-shrink: 0;
}

.site-brand__name {
    font-family: var(--font-script);
    font-size: 1.35rem;
    background: linear-gradient(180deg, var(--gold-light), var(--gold) 55%, var(--amber));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-right: 2px;
}

.site-brand__sub {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.62rem;
    letter-spacing: 0.32em;
    color: var(--amber);
    text-transform: uppercase;
    margin-top: 2px;
}

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

.wide-only { display: none; }

.nav-toggle {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
    background: transparent;
    border: 1.5px solid rgba(63, 224, 232, 0.6);
    border-radius: 10px;
    cursor: pointer;
}

.nav-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--cream);
    border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-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: 20px 20px 32px;
    background: radial-gradient(ellipse at 80% 100%, #2a1a55 0%, #0f0d2a 60%);
    background-color: #0f0d2a;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}

.site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .25s ease, transform .25s ease;
}

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

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 4px 6px;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--cream);
    text-decoration: none;
    border-bottom: 1px solid rgba(164, 92, 255, 0.3);
}

.site-nav__link:hover { color: var(--gold); }

.site-nav__note {
    margin: 24px 0 0;
    font-size: 0.9rem;
    color: var(--muted);
}

@media (min-width: 400px) {
    .header-inner { gap: 8px; padding-inline: 16px; }
    .site-brand__name { font-size: 1.5rem; }
}

@media (min-width: 560px) {
    .wide-only { display: inline; }
}

@media (min-width: 1024px) {
    .header-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        grid-template-areas: "nav brand actions";
        min-height: 72px;
        padding: 10px 24px;
        gap: 24px;
    }

    .site-brand {
        grid-area: brand;
        position: relative;
        z-index: 0;
        align-items: center;
        margin: 0 0 -30px;
        padding: 4px 46px 16px;
    }

    .site-brand::before,
    .site-brand::after {
        content: "";
        position: absolute;
        left: 0; right: 0;
        top: -14px;
        bottom: 0;
        z-index: -1;
        clip-path: polygon(0 0, 100% 0, 100% 62%, 84% 100%, 16% 100%, 0 62%);
    }

    .site-brand::before {
        background: linear-gradient(180deg, var(--amber), var(--gold));
        filter: drop-shadow(0 0 8px rgba(255, 159, 61, 0.6));
    }

    .site-brand::after {
        inset: -14px 2px 2px 2px;
        background: #120f2c;
    }

    .site-brand__name { font-size: 2.3rem; }
    .site-brand__sub { font-size: 0.8rem; letter-spacing: 0.35em; }

    .site-nav {
        grid-area: nav;
        position: static;
        visibility: visible;
        opacity: 1;
        transform: none;
        background: none;
        padding: 0;
        overflow: visible;
        transition: none;
    }

    .site-nav__list { display: flex; flex-wrap: wrap; gap: 4px 20px; }

    .site-nav__link {
        min-height: 44px;
        font-size: 0.98rem;
        border-bottom: 2px solid transparent;
        padding: 4px 2px;
    }

    .site-nav__link:hover { border-bottom-color: var(--amber); }

    .site-nav__note { display: none; }

    .header-actions { grid-area: actions; justify-self: end; gap: 12px; }

    .nav-toggle { display: none; }
}

/* ============ Buttons ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 12px 30px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    border-radius: 999px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn--primary {
    color: #2a1204;
    background: linear-gradient(180deg, #ffd27a 0%, #ffa648 48%, #ef7b24 100%);
    border: 1px solid #ffd99a;
    box-shadow: 0 0 0 1px rgba(120, 50, 10, 0.4) inset, 0 6px 22px rgba(255, 140, 50, 0.45);
    animation: pulse-glow 2.6s ease-in-out infinite;
}

.btn--primary:hover {
    color: #2a1204;
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(120, 50, 10, 0.4) inset, 0 8px 30px rgba(255, 160, 70, 0.7);
}

.btn--outline {
    color: var(--cream);
    background: rgba(14, 18, 46, 0.6);
    border: 1.5px solid var(--cream);
}

.btn--outline:hover { color: var(--gold); border-color: var(--gold); }

.btn--link {
    min-height: 44px;
    padding: 8px 6px;
    font-weight: 500;
    font-size: 1rem;
    color: var(--gold);
    background: none;
    border: 0;
    border-radius: 6px;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.btn--sm {
    min-height: 40px;
    padding: 6px 11px;
    font-size: 0.82rem;
    font-weight: 700;
    animation: none;
}

@media (min-width: 400px) {
    .btn--sm { padding: 6px 14px; font-size: 0.9rem; }
}

@media (min-width: 1024px) {
    .btn--sm { min-height: 44px; padding: 8px 22px; font-size: 0.98rem; }
}

@media (max-width: 767px) {
    .btn:not(.btn--sm):not(.btn--link) { width: 100%; }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 1px rgba(120,50,10,.4) inset, 0 6px 20px rgba(255,140,50,.4); }
    50% { box-shadow: 0 0 0 1px rgba(120,50,10,.4) inset, 0 6px 34px rgba(255,170,70,.8); }
}

/* ============ Sections & layout ============ */
.section {
    position: relative;
    isolation: isolate;
    padding-block: 56px;
}

.section-title {
    position: relative;
    color: #ffdc9c;
    padding-bottom: 14px;
    margin-bottom: 22px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 72px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--gold), var(--amber));
    box-shadow: var(--glow-amber);
}

.section-title--center { text-align: center; }
.section-title--center::after { left: 50%; transform: translateX(-50%); }
.section-title--left { text-align: left; }
.section-title--left::after { left: 0; }

.lead { font-size: 1.08rem; color: var(--text); }

.prose p { color: var(--text); }
.prose h3 { color: var(--gold); margin-top: 1.2em; }

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

.split__media { order: -1; position: relative; }
.split__body { position: relative; }

.cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    margin-top: 24px;
}

.section-divider {
    height: 2px;
    border: 0;
    margin: 0;
    background: linear-gradient(90deg, transparent, var(--amber) 15%, var(--gold) 50%, var(--amber) 85%, transparent);
    box-shadow: 0 0 14px rgba(255, 159, 61, 0.7);
}

@media (min-width: 768px) {
    .container { padding-inline: 24px; }
    .section { padding-block: 72px; }
}

@media (min-width: 1024px) {
    .section { padding-block: 88px; }

    .split {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 56px;
    }

    .split__media { order: 0; }
    .split--media-left .split__media { order: -1; }
}

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

.art--fade {
    -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 58%, transparent 100%);
    mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 58%, transparent 100%);
}

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

.halo {
    position: absolute;
    inset: 8%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, var(--halo, var(--violet-glow)) 0%, transparent 70%);
    pointer-events: none;
}

.halo--cyan { --halo: rgba(63, 224, 232, 0.35); }
.halo--indigo { --halo: rgba(88, 80, 220, 0.45); }

/* Section-wide illustrated background (image set per page via --scene-bg) */
.scene-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-color: var(--bg);
    background-image: var(--scene-bg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: var(--scene-pos, 50% 50%);
    pointer-events: none;
}

.scene-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--scene-scrim, linear-gradient(180deg, rgba(17,15,43,.55), rgba(17,15,43,.85)));
}

/* ============ Glass surfaces ============ */
.glass {
    background: var(--glass);
    border: 2px solid var(--teal);
    border-radius: var(--radius);
    box-shadow: var(--glow-teal);
}

.glass--violet {
    border-color: var(--violet);
    box-shadow: 0 0 18px rgba(164, 92, 255, 0.45), inset 0 0 14px rgba(164, 92, 255, 0.12);
}

.info-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 20px;
    text-align: center;
    background: var(--glass);
    border: 1.5px solid var(--teal);
    border-radius: 18px;
    box-shadow: var(--glow-teal);
}

.info-bar p { margin: 0; color: var(--cream); }

@media (min-width: 768px) {
    .info-bar { flex-direction: row; justify-content: space-between; text-align: left; padding: 20px 28px; }
}

/* Speech bubble with notch pointing up */
.bubble {
    position: relative;
    padding: 22px 20px;
    background: var(--glass-strong);
    border: 2px solid var(--teal);
    border-radius: var(--radius);
    box-shadow: var(--glow-teal);
}

.bubble::before {
    content: "";
    position: absolute;
    top: -11px;
    left: var(--notch-x, 48px);
    width: 18px;
    height: 18px;
    background: #0d1130;
    border-top: 2px solid var(--teal);
    border-left: 2px solid var(--teal);
    transform: rotate(45deg);
}

/* ============ Hero ============ */
.hero {
    position: relative;
    isolation: isolate;
    padding: 28px 0 120px;
    min-height: 560px;
}

.hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(14,12,40,.55) 0%, rgba(14,12,40,.3) 45%, rgba(14,12,40,.8) 100%);
    pointer-events: none;
}

.hero__heroine {
    position: absolute;
    z-index: 0;
    bottom: 60px;
    left: 50%;
    width: min(86vw, 400px);
    transform: translateX(-50%);
    opacity: 0.7;
    pointer-events: none;
}

.hero__heroine img { display: block; width: 100%; height: auto; }

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
}

.hero__eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    padding: 6px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--cream);
    background: rgba(12, 14, 40, 0.85);
    border: 1px solid rgba(164, 92, 255, 0.7);
    border-radius: 999px;
}

.hero__tagline { color: var(--cream); font-weight: 500; margin: 14px 0 0; }

.hero__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
}

@media (min-width: 768px) {
    .hero { padding: 48px 0 150px; }
}

@media (min-width: 1024px) {
    .hero { min-height: 640px; padding: 64px 0 170px; }
    .hero__heroine {
        left: 0;
        bottom: 40px;
        width: min(34vw, 500px);
        transform: none;
        opacity: 1;
    }
}

/* Bonus panel: double teal neon border */
.bonus-panel {
    position: relative;
    padding: 24px 16px 20px;
    background: rgba(10, 16, 46, 0.84);
    border: 2px solid var(--teal);
    border-radius: 22px;
    box-shadow: 0 0 26px rgba(63, 224, 232, 0.5), inset 0 0 20px rgba(63, 224, 232, 0.12);
}

.bonus-panel::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(63, 224, 232, 0.75);
    border-radius: 16px;
    pointer-events: none;
}

.bonus-panel h1 { margin-bottom: 16px; }

.bonus-tiles {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}

.bonus-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 8px;
    background: rgba(12, 20, 54, 0.9);
    border: 2px solid var(--teal);
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(63, 224, 232, 0.35);
}

.bonus-tile__amount {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.35rem;
    line-height: 1.15;
}

.bonus-tile__label { font-size: 0.875rem; color: var(--cream); }

@media (min-width: 560px) {
    .bonus-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .bonus-panel { padding: 30px 24px 24px; }
}

.terms-note {
    margin: 12px 0 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--cream);
}

/* Hero arc */
.hero-arc {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 56px;
    z-index: 3;
    overflow: visible;
    pointer-events: none;
}

.hero-arc__fill { fill: var(--bg); }
.hero-arc__glow { fill: none; stroke: rgba(255, 159, 61, 0.45); stroke-width: 10; }
.hero-arc__line { fill: none; stroke: var(--amber); stroke-width: 3; }

@media (min-width: 1024px) {
    .hero-arc { height: 84px; }
}

/* Starfield */
.starfield {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.starfield__layer {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 10% 20%, #fff 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 30% 70%, #ffe9b8 50%, transparent 51%),
        radial-gradient(2px 2px at 55% 15%, #fff 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 78% 55%, #c9f6ff 50%, transparent 51%),
        radial-gradient(2px 2px at 90% 30%, #fff 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 45% 45%, #fff 50%, transparent 51%);
    animation: twinkle 4s ease-in-out infinite;
}

.starfield__layer--2 {
    background-position: 120px 80px;
    animation-delay: 2s;
    animation-duration: 5s;
}

.shooting-star {
    position: absolute;
    top: 14%;
    left: 62%;
    width: 140px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0), #fff 70%, #c9f6ff);
    border-radius: 2px;
    transform: rotate(-28deg);
    filter: drop-shadow(0 0 6px #c9f6ff);
    animation: shoot 7s ease-in infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 1; }
}

@keyframes shoot {
    0%, 70% { transform: translate(0, 0) rotate(-28deg); opacity: 0; }
    74% { opacity: 1; }
    90%, 100% { transform: translate(-320px, 170px) rotate(-28deg); opacity: 0; }
}

/* ============ Conduits (signature glowing fuel lines, inline SVG) ============ */
.conduit {
    position: absolute;
    pointer-events: none;
    overflow: visible;
    filter: drop-shadow(0 0 6px rgba(255, 159, 61, 0.85));
}

.conduit path,
.conduit line,
.conduit polyline { fill: none; stroke-linecap: round; stroke-linejoin: round; }

.conduit__glow { stroke: rgba(255, 159, 61, 0.35); stroke-width: 10; }
.conduit__line { stroke: var(--amber); stroke-width: 3; }
.conduit__line--teal { stroke: var(--teal); stroke-width: 4; }
.conduit__line--coral { stroke: #ff7a59; stroke-width: 4; }
.conduit--teal { filter: drop-shadow(0 0 6px rgba(63, 224, 232, 0.85)); }

/* ============ Lists ============ */
.bullets {
    list-style: none;
    margin: 0 0 1em;
    padding: 0;
    display: grid;
    gap: 10px;
}

.bullets li {
    position: relative;
    padding-left: 26px;
}

.bullets--dot li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.55em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 8px var(--amber-glow);
}

.bullets--check li { padding-left: 32px; }
.bullets--check li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 0.2em;
    width: 8px;
    height: 15px;
    border-right: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
    transform: rotate(45deg);
    filter: drop-shadow(0 0 4px rgba(255, 207, 107, 0.7));
}

.bullets--warn li {
    padding: 14px 14px 14px 40px;
    background: var(--glass);
    border: 1.5px solid rgba(63, 224, 232, 0.55);
    border-radius: 12px;
}

.bullets--warn li::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 1.35em;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 10px 2px var(--amber-glow);
    animation: warn-blink 2.4s ease-in-out infinite;
}

@keyframes warn-blink {
    0%, 100% { box-shadow: 0 0 6px 1px var(--amber-glow); }
    50% { box-shadow: 0 0 14px 4px var(--amber-glow); }
}

/* ============ Steps ============ */
.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: var(--glass);
    border: 2px solid var(--teal);
    border-radius: 14px;
    box-shadow: var(--glow-teal);
}

.step__num {
    flex: 0 0 38px;
    height: 38px;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #2a1204;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffd27a, #ef7b24);
    box-shadow: var(--glow-amber);
}

.step__title { display: block; color: var(--cream); font-size: 1.02rem; }
.step__text { margin: 4px 0 0; color: var(--muted); }

/* ============ Badges ============ */
.badges {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge {
    --tone: var(--violet);
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 5px 12px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--cream);
    background: #151338;
    border: 1.5px solid var(--tone);
    border-radius: 8px;
    box-shadow: 0 0 8px color-mix(in srgb, var(--tone) 35%, transparent);
}

.badges--provider .badge { font-weight: 500; border-radius: 999px; }

.badge--teal { --tone: #3fe0e8; }
.badge--orange { --tone: #ff9f3d; }
.badge--violet { --tone: #a45cff; }
.badge--green { --tone: #5fe08a; }
.badge--gold { --tone: #ffcf6b; }
.badge--blue { --tone: #5b8cff; }
.badge--red { --tone: #ff5d6c; }

/* ============ Tag chips ============ */
.tag-chips {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--cream);
    text-decoration: none;
    background: rgba(12, 18, 46, 0.85);
    border: 1.5px solid var(--teal);
    border-radius: 10px;
    transition: box-shadow .2s ease, color .2s ease;
}

.tag-chip:hover { color: var(--gold); box-shadow: 0 0 14px var(--teal-glow); }

/* ============ 18+ ring ============ */
.ring-badge {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    font-weight: 800;
    font-size: 1rem;
    color: var(--gold);
    border: 3px solid var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 14px var(--violet-glow), inset 0 0 10px var(--violet-glow);
}

.ring-badge--lg { width: 76px; height: 76px; font-size: 1.4rem; }

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

.faq-item {
    background: rgba(12, 16, 44, 0.9);
    border: 1.5px solid rgba(63, 224, 232, 0.7);
    border-radius: 12px;
    transition: box-shadow .25s ease;
}

.faq-item[open] {
    border-color: var(--teal);
    box-shadow: 0 0 18px rgba(63, 224, 232, 0.5);
}

.faq-item__q {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 12px 16px;
    cursor: pointer;
    list-style: none;
}

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

.faq-item__dot {
    flex: 0 0 8px;
    height: 8px;
    border-radius: 50%;
    border: 1.5px solid var(--teal);
}

.faq-item[open] .faq-item__dot { background: var(--teal); box-shadow: 0 0 8px var(--teal); }

.faq-item__text {
    flex: 1;
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--cream);
    line-height: 1.35;
}

.faq-item__chev {
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--cream);
    border-bottom: 2px solid var(--cream);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform .25s ease;
}

.faq-item[open] .faq-item__chev { transform: rotate(-135deg) translate(-2px, -2px); }

.faq-item__a { padding: 0 18px 16px 36px; color: var(--text); }
.faq-item__a p { margin: 0; }

/* ============ Footer ============ */
.site-footer {
    position: relative;
    padding: 40px 0 28px;
    background: var(--bg-deep);
    border-top: 2px solid var(--amber);
    box-shadow: 0 -2px 16px rgba(255, 159, 61, 0.35);
}

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

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

.pay-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 6px 12px;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    color: #ece9f8;
    background: #17153a;
    border: 1.5px solid #3a3670;
    border-radius: 8px;
}

.pay-badge--visa { font-style: italic; font-size: 1.05rem; color: #f2f4ff; border-color: #5b8cff; }
.pay-badge--mc { border-color: #ff9f3d; }
.pay-badge__circles {
    width: 26px;
    height: 16px;
    background:
        radial-gradient(circle at 8px 8px, #eb3b2f 7.5px, transparent 8px),
        radial-gradient(circle at 18px 8px, #f8a623 7.5px, transparent 8px);
}
.pay-badge--revolut { border-color: #d9dcff; }
.pay-badge--skrill { color: #e0a9ff; border-color: #a45cff; }
.pay-badge--neteller { color: #9bf0b4; border-color: #5fe08a; font-style: italic; }
.pay-badge--psc { color: #9ccfff; border-color: #4aa3ff; }
.pay-badge--mifinity { color: #8ff2f6; border-color: #3fe0e8; }
.pay-badge--btc { color: #ffc06b; border-color: #f7931a; }
.pay-badge--eth { color: #d1d6ff; border-color: #8c96ff; }
.pay-badge--usdt { color: #7ff0c8; border-color: #26a17b; }

.footer-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 24px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 22px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--cream);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.footer-links a:hover { color: var(--gold); }

.footer-disclaimer {
    max-width: 760px;
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.footer-disclaimer strong { color: var(--gold); }

.footer-copy { margin: 0; font-size: 0.875rem; color: var(--muted); }

/* ============ Home: hero ============ */
.hero__heroine {
    aspect-ratio: 900 / 1100;
    background: url("./assets/43611c27b659d76d123922c281889773.webp") center bottom / contain no-repeat;
}

.hero .bonus-panel h1 { font-size: clamp(1.55rem, 6vw, 2.6rem); }

.hero__sub {
    display: block;
    margin-top: 6px;
    font-size: 0.62em;
    font-weight: 700;
    color: var(--cream);
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .hero__content { margin-right: 0; }
}

/* ============ Home: bonus scene ============ */
.bonus-scene {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    align-items: center;
}

.launch {
    position: relative;
    display: grid;
    grid-template-columns: 58% minmax(0, 1fr);
    grid-template-areas: "rockets chips" "box box";
    row-gap: 28px;
}

.launch .conduit { inset: 0; width: 100%; height: 100%; z-index: 0; }
.conduit--desk { display: none; }

.launch__rockets { grid-area: rockets; position: relative; z-index: 1; }
.launch__rockets img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%);
    mask-image: linear-gradient(90deg, transparent 0, #000 24%);
}

.launch__chips {
    grid-area: chips;
    position: relative;
    z-index: 2;
    list-style: none;
    margin: 0;
    padding: 0 24px 0 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 8px;
}

.launch-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 6px;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.15;
    background: var(--glass-strong);
    border: 2px solid var(--teal);
    border-radius: 10px;
    box-shadow: var(--glow-teal);
}

.launch-chip small { font-size: 0.8rem; font-weight: 500; color: var(--cream); }

.launch__box {
    grid-area: box;
    position: relative;
    z-index: 2;
    align-self: center;
    padding: 16px 14px;
    text-align: center;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--cream);
    background: var(--glass-strong);
    border: 2px solid var(--teal);
    border-radius: 14px;
    box-shadow: var(--glow-teal);
}

.launch__box p { margin: 0; }
.launch__box small { display: block; margin-top: 4px; font-weight: 500; font-size: 0.85rem; color: var(--muted); }

.bonus-copy__note { color: var(--cream); font-style: italic; margin-top: 16px; }
.bonus-copy .steps { margin-bottom: 8px; }

.bonus-heroine { position: relative; width: 60%; max-width: 340px; margin-inline: auto; }

@media (min-width: 768px) {
    .bonus-scene { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
    .launch {
        grid-column: 1 / -1;
        grid-template-columns: 46% 22% 8% 24%;
        grid-template-areas: "rockets chips . box";
        row-gap: 0;
    }
    .launch__chips { padding: 0; }
    .conduit--desk { display: block; }
    .conduit--mob { display: none; }
    .bonus-heroine { width: 100%; }
}

@media (min-width: 1200px) {
    .bonus-scene { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.65fr); gap: 32px; }
    .launch { grid-column: auto; }
    .launch-chip { font-size: 0.95rem; }
    .launch__box { font-size: 0.95rem; padding: 14px 10px; }
}

/* ============ Home: games ============ */
.games-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.constellation { position: relative; isolation: isolate; }

.constellation::before {
    content: "";
    position: absolute;
    inset: -5% -10% 20%;
    z-index: -1;
    background: radial-gradient(ellipse at 50% 45%, rgba(155, 77, 255, 0.35) 0%, transparent 65%);
    pointer-events: none;
}

.game-grid {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
}

.game-tile { text-align: center; }
.game-tile .art { width: min(100%, 150px); margin-inline: auto; }
.game-tile h3 { margin: 8px 0 2px; font-size: 1.05rem; color: var(--gold); }
.game-tile p { margin: 0; font-size: 0.9rem; line-height: 1.4; color: var(--muted); }

.keno-emblem {
    width: min(100%, 150px);
    aspect-ratio: 1;
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    place-items: center;
    padding: 22%;
    gap: 6%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, #3a1f6e 0%, #1a1240 70%);
    border: 6px solid var(--gold);
    box-shadow: 0 0 0 3px #7a3fd0, 0 0 22px rgba(164, 92, 255, 0.6), inset 0 0 18px rgba(0, 0, 0, 0.6);
}

.keno-ball {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.95rem;
    color: #1d1004;
    border: 2px solid #2a1650;
}

.keno-ball--1 { background: radial-gradient(circle at 35% 30%, #fff 0%, #ff7a59 45%, #c23a1f 100%); }
.keno-ball--2 { background: radial-gradient(circle at 35% 30%, #fff 0%, #ffd27a 45%, #e09a20 100%); }
.keno-ball--3 { background: radial-gradient(circle at 35% 30%, #fff 0%, #7ff0f4 45%, #1fa3b0 100%); }
.keno-ball--4 { background: radial-gradient(circle at 35% 30%, #fff 0%, #9bf0b4 45%, #2ea65a 100%); }

.constellation__platform { position: relative; margin-top: -6px; }

.constellation__platform::before,
.constellation__platform::after {
    content: "";
    position: absolute;
    bottom: 45%;
    width: 24%;
    height: 150%;
    z-index: -1;
    background: linear-gradient(0deg, rgba(63, 224, 232, 0.35), transparent);
    clip-path: polygon(42% 100%, 58% 100%, 100% 0, 0 0);
    filter: blur(6px);
    pointer-events: none;
}

.constellation__platform::before { left: 24%; }
.constellation__platform::after { right: 24%; }

.games-copy .badges { margin-top: 6px; }
.games-bar { margin-top: 32px; }

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

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

/* ============ Home: live ============ */
.live-media__emblem {
    position: absolute;
    top: 0;
    left: 0;
    width: 24%;
    max-width: 130px;
}

/* ============ Home: payments ============ */
.pay-console { display: grid; gap: 14px; position: relative; }

.badges--pay { justify-content: center; }
.badges--pay .badge { font-weight: 800; letter-spacing: 0.02em; }

.pay-console__art { position: relative; }
.pay-console__art .art {
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 62%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 62%, transparent 100%);
}

.pay-cables {
    right: 0;
    top: 62%;
    width: 34%;
    height: 22%;
    z-index: 0;
}

.pay-cables__second { display: none; }

.pay-bubble { position: relative; z-index: 1; --notch-x: 30%; margin-top: 8px; }
.pay-bubble h3 { font-size: clamp(1.3rem, 4vw, 1.7rem); color: var(--gold-light); }
.pay-bubble__stat { margin: 0 0 6px; font-weight: 700; font-size: 1.1rem; color: var(--gold); }
.pay-bubble__note { margin: 10px 0 0; color: var(--muted); font-size: 0.9rem; }

@media (min-width: 768px) {
    .pay-bubble { margin-right: 18%; }
    .pay-cables { top: 56%; height: 44%; width: 30%; }
    .pay-cables__second { display: inline; }
}

/* ============ Home: VIP + mobile duo ============ */
.duo { position: relative; }

.vip-split h3 { color: var(--gold); }

.vip-levels {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column-reverse;
    gap: 6px;
}

.vip-level {
    width: fit-content;
    padding: 6px 14px;
    font-weight: 800;
    font-size: 0.9rem;
    color: #2a1204;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 159, 61, 0.35);
}

.vip-level--1 { margin-left: 0; background: linear-gradient(90deg, #a8742e, #c48a3a); }
.vip-level--2 { margin-left: 8%; background: linear-gradient(90deg, #c48a3a, #d99d45); }
.vip-level--3 { margin-left: 16%; background: linear-gradient(90deg, #e0a54c, #f0b95a); }
.vip-level--4 { margin-left: 24%; background: linear-gradient(90deg, #f6c062, #ffd27a); }
.vip-level--5 { margin-left: 32%; background: linear-gradient(90deg, #ffd98a, #fff0bf); box-shadow: 0 0 18px rgba(255, 207, 107, 0.8); }

.vip-media .art {
    -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 55%, transparent 100%);
    mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 55%, transparent 100%);
}

.mobile-media { position: relative; }

.mobile-media__glow {
    position: absolute;
    right: 12%;
    bottom: 10%;
    width: 50%;
    aspect-ratio: 1;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 224, 232, 0.45) 0%, transparent 70%);
    pointer-events: none;
}

@media (min-width: 1024px) {
    .vip-split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
}

@media (min-width: 1200px) {
    .duo {
        display: grid;
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
        gap: 48px;
    }

    .duo__mobile { position: relative; overflow: visible; }

    .duo__mobile::before {
        content: "";
        position: absolute;
        left: -24px;
        top: 14%;
        bottom: 14%;
        width: 2px;
        background: linear-gradient(180deg, transparent, var(--gold) 20%, var(--amber) 80%, transparent);
        box-shadow: 0 0 12px rgba(255, 159, 61, 0.7);
    }

    .duo .mobile-split { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .duo .vip-split { gap: 28px; }
}

/* ============ Home: FAQ + SEO outpost ============ */
.outpost {
    position: relative;
    isolation: isolate;
    overflow: clip;
}

.outpost__bg {
    --scene-pos: 78% 50%;
    --scene-scrim: linear-gradient(180deg, rgba(17, 15, 43, 0.9), rgba(17, 15, 43, 0.82));
}

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

.outpost__grid > .section { padding-block: 48px; }
.outpost__grid > .section + .section { padding-top: 0; }

.seo-panel {
    padding: 22px 18px;
    background: rgba(12, 14, 40, 0.86);
    border: 1px solid rgba(164, 92, 255, 0.4);
    border-radius: var(--radius);
}

.seo-panel h3 { color: var(--gold); }

@media (min-width: 1024px) {
    .outpost__bg {
        --scene-pos: 100% 50%;
        --scene-scrim: linear-gradient(90deg, rgba(17, 15, 43, 0.96) 0%, rgba(17, 15, 43, 0.85) 45%, rgba(17, 15, 43, 0.3) 100%);
    }

    .outpost__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 40px;
        align-items: start;
    }

    .outpost__grid > .section { padding-block: 88px; }
    .outpost__grid > .section + .section { padding-top: 88px; }
    .seo-panel { padding: 28px 28px; }
}

/* ============ Responsible gaming page ============ */
.rg-hero { min-height: 520px; padding: 48px 0 120px; }
.rg-hero__content { max-width: 680px; position: relative; z-index: 2; }
.rg-hero__content .tag-chips { margin-top: 14px; }
.rg-hero .tag-chip { border-radius: 999px; }

.rg-media { position: relative; isolation: isolate; }
.rg-media .art { max-width: 460px; margin-inline: auto; }

.rg-titlebar { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.rg-titlebar .section-title { margin-bottom: 0; flex: 1; }

.rg-steps .steps { margin: 18px 0; position: relative; }
.rg-steps .steps::before {
    content: "";
    position: absolute;
    left: 33px;
    top: 30px;
    bottom: 30px;
    width: 3px;
    background: var(--amber);
    box-shadow: 0 0 10px var(--amber-glow);
    z-index: 0;
}
.rg-steps .step { position: relative; z-index: 1; }

.rg-tip {
    padding: 14px 16px;
    border-left: 3px solid var(--gold);
    background: var(--glass);
    border-radius: 8px;
}

.rg-callout {
    margin-top: 20px;
    padding: 18px;
    background: var(--glass-strong);
    border: 2px solid var(--violet);
    border-radius: var(--radius);
    box-shadow: 0 0 18px rgba(164, 92, 255, 0.45);
}
.rg-callout h3 { margin-top: 0; }
.rg-callout .bullets { margin-bottom: 0; }

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

.help-cards {
    list-style: none;
    margin: 0 0 1em;
    padding: 0;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr);
}
.help-card {
    position: relative;
    padding: 14px 14px 14px 38px;
    background: var(--glass);
    border: 2px solid var(--teal);
    border-radius: 12px;
    box-shadow: var(--glow-teal);
}
.help-card::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 1.35em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold);
}
@media (min-width: 560px) {
    .help-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.rg-back {
    background: linear-gradient(135deg, #3a1f6e 0%, #110f2b 70%);
    border-top: 2px solid var(--amber);
    box-shadow: 0 -2px 16px rgba(255, 159, 61, 0.35);
}
.rg-back__inner {
    display: grid;
    gap: 20px;
    align-items: center;
    justify-items: center;
    text-align: center;
}
.rg-back__inner .art { max-width: 220px; }
.rg-back .section-title--left { text-align: center; }
.rg-back .section-title--left::after { left: 50%; transform: translateX(-50%); }
.rg-back .cta-row { justify-content: center; }
@media (min-width: 768px) {
    .rg-back__inner { grid-template-columns: 240px minmax(0, 1fr); text-align: left; justify-items: start; }
    .rg-back .section-title--left { text-align: left; }
    .rg-back .section-title--left::after { left: 0; transform: none; }
    .rg-back .cta-row { justify-content: flex-start; }
}

/* ============ Motion control ============ */
.is-paused *,
.is-offscreen * { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
    .shooting-star { display: none; }
}