/*
 * GameSpot Casino - Monte Carlo night design system
 * Single dark theme. Mobile-first. Breakpoints: 768 / 1024 / 1280.
 */

:root {
    --c-bg: #070d22;
    --c-bg-2: #0b1531;
    --c-navy: #12204a;
    --c-navy-2: #18295c;
    --c-glass: rgba(15, 26, 60, 0.86);
    --c-glass-solid: #0f1a3c;
    --c-gold: #e0b84f;
    --c-gold-light: #f7dc8a;
    --c-gold-deep: #b8862b;
    --c-amber: #e89a2c;
    --c-emerald: #0f6e4c;
    --c-emerald-glow: rgba(20, 150, 100, 0.32);
    --c-text: #eef1f8;
    --c-muted: #c3cbe0;
    --c-ink: #1a1206;
    --c-line: rgba(224, 184, 79, 0.5);
    --c-line-soft: rgba(255, 255, 255, 0.16);

    --grad-gold: linear-gradient(180deg, #fde8a6 0%, #eabf55 45%, #c98f2a 100%);
    --grad-gold-h: linear-gradient(90deg, #b8862b, #f7dc8a 50%, #b8862b);

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

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 18px;
    --shadow-gold: 0 0 0 1px rgba(247, 220, 138, 0.35), 0 8px 28px rgba(224, 184, 79, 0.28);
    --shadow-deep: 0 18px 40px rgba(0, 0, 0, 0.55);

    --header-h: 64px;
    --header-bottom: 64px;
    --container: 1200px;
}

/* ============ OVERFLOW SAFETY ============ */
*,
*::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;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--c-text);
    background-color: var(--c-bg);
    background-image: linear-gradient(180deg, #0c1838 0%, #070d22 30%, #0a1430 65%, #060b1d 100%);
    overflow-x: clip;
}

body.menu-open { overflow: hidden; }

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

p { margin: 0 0 1em; }

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--c-gold-light);
    outline-offset: 3px;
    border-radius: 6px;
}

img { display: block; }

strong { color: #fff; }

ul { padding-left: 1.2em; }

.sr-only {
    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: 12px; top: -60px;
    z-index: 300;
    padding: 12px 18px;
    background: var(--c-gold);
    color: var(--c-ink);
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-decoration: none;
}
.skip-link:focus { top: 12px; }

main { display: block; padding-top: var(--header-h); outline: none; }

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

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

/* ============ PAGE FRAME (desktop double gold hairline) ============ */
.site-shell { position: relative; }

@media (min-width: 768px) {
    .site-shell {
        width: min(100% - 48px, 1280px);
        margin-inline: auto;
        border-left: 1px solid rgba(224, 184, 79, 0.35);
        border-right: 1px solid rgba(224, 184, 79, 0.35);
    }
    .site-shell::before,
    .site-shell::after {
        content: "";
        position: absolute;
        pointer-events: none;
        z-index: 0;
    }
    .site-shell::before {
        inset: 0 -9px;
        border: 1px solid rgba(224, 184, 79, 0.55);
        border-top: 0;
        clip-path: polygon(14px 0, calc(100% - 14px) 0, calc(100% - 14px) 14px, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 14px calc(100% - 14px), 0 calc(100% - 14px), 0 14px, 14px 14px);
    }
    .site-shell::after {
        inset: 6px -18px;
        border: 1px solid rgba(224, 184, 79, 0.3);
        clip-path: polygon(22px 0, calc(100% - 22px) 0, calc(100% - 22px) 10px, calc(100% - 10px) 10px, calc(100% - 10px) 22px, 100% 22px, 100% calc(100% - 22px), calc(100% - 10px) calc(100% - 22px), calc(100% - 10px) calc(100% - 10px), calc(100% - 22px) calc(100% - 10px), calc(100% - 22px) 100%, 22px 100%, 22px calc(100% - 10px), 10px calc(100% - 10px), 10px calc(100% - 22px), 0 calc(100% - 22px), 0 22px, 10px 22px, 10px 10px, 22px 10px);
    }
    .site-shell > * { position: relative; z-index: 1; }
}

/* ============ HEADER ============ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    border-bottom: 1px solid var(--c-gold);
    transition: box-shadow 0.25s ease;
}
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(22, 36, 84, 0.94), rgba(10, 18, 44, 0.94));
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55); }

@media (min-width: 768px) {
    .site-shell > .site-header {
        position: fixed;
        z-index: 100;
        width: min(100% - 48px, 1280px);
        margin-inline: auto;
        border: 1px solid var(--c-gold);
        border-top: 0;
        border-radius: 0 0 var(--radius) var(--radius);
    }
    .site-header::before { border-radius: 0 0 var(--radius) var(--radius); }
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 64px;
    padding: 8px 12px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--c-gold-light);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.05;
    flex-shrink: 0;
}
.site-brand__text { max-width: 5.6em; }
.site-brand__chip {
    width: 26px; height: 26px;
    flex-shrink: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle, var(--c-emerald) 0 34%, transparent 35%),
        repeating-conic-gradient(var(--c-gold) 0 30deg, #8f1d24 30deg 60deg);
    box-shadow: 0 0 0 2px var(--c-gold-deep), 0 0 12px rgba(224, 184, 79, 0.5);
}

@media (min-width: 400px) {
    .site-brand { font-size: 1.15rem; }
    .site-brand__text { max-width: none; white-space: nowrap; }
}
@media (min-width: 768px) {
    .header-inner { padding: 10px 24px; min-height: 70px; }
    .site-brand { font-size: 1.5rem; gap: 10px; }
    .site-brand__chip { width: 30px; height: 30px; }
}

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-actions .header-login { display: none; }
@media (min-width: 768px) {
    .header-actions .header-login { display: inline-flex; }
}

/* Burger */
.nav-toggle {
    width: 44px; height: 44px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--c-line);
    border-radius: 10px;
    cursor: pointer;
    flex-shrink: 0;
}
.nav-toggle__bar {
    display: block;
    width: 20px; height: 2px;
    background: var(--c-gold-light);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s 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: 16px 16px 32px;
    background: #0a1330;
    border-top: 1px solid var(--c-line);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.site-nav.is-open { visibility: visible; opacity: 1; }

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 8px;
    color: var(--c-text);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border-bottom: 1px solid var(--c-line-soft);
}
.site-nav__link:hover,
.site-nav__link.is-active { color: var(--c-gold-light); }

.site-nav__actions {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

@media (min-width: 1024px) {
    .nav-toggle { display: none; }
    .site-nav {
        position: static;
        visibility: visible;
        opacity: 1;
        padding: 0;
        background: none;
        border: 0;
        overflow: visible;
        margin-left: auto;
    }
    .site-nav__list { display: flex; gap: 4px; }
    .site-nav__link {
        min-height: 44px;
        padding: 0 10px;
        font-size: 0.98rem;
        border-bottom: 0;
        position: relative;
    }
    .site-nav__link::after {
        content: "";
        position: absolute;
        left: 10px; right: 10px; bottom: 6px;
        height: 2px;
        background: var(--grad-gold-h);
        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; }
    .header-actions { margin-left: 16px; }
}
@media (min-width: 1280px) {
    .site-nav__link { padding: 0 14px; }
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn--gold {
    background: var(--grad-gold);
    color: var(--c-ink);
    border-color: #fbe3a0;
    box-shadow: var(--shadow-gold);
}
.btn--gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(247, 220, 138, 0.6), 0 12px 34px rgba(232, 154, 44, 0.45);
}
.btn--outline {
    background: transparent;
    color: var(--c-text);
    border-color: rgba(255, 255, 255, 0.6);
    border-radius: 999px;
}
.btn--outline:hover { border-color: var(--c-gold-light); color: var(--c-gold-light); }

.btn--sm {
    min-height: 44px;
    padding: 0 12px;
    font-size: 0.85rem;
}
@media (min-width: 400px) {
    .btn--sm { padding: 0 16px; font-size: 0.92rem; }
}

.btn--lg {
    min-height: 56px;
    width: 100%;
    max-width: 440px;
    padding: 12px 28px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    letter-spacing: 0.01em;
}
@media (min-width: 768px) {
    .btn--lg { width: auto; min-width: 280px; font-size: 1.25rem; }
}

.cta-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    text-align: center;
}
.cta-note {
    margin: 0;
    font-size: 0.875rem;
    color: var(--c-muted);
}

/* ============ SECTIONS & HEADINGS ============ */
.section {
    position: relative;
    padding: 56px 0;
}
@media (min-width: 1024px) {
    .section { padding: 72px 0; }
}

.section-heading { margin-bottom: 28px; }
.section-heading--center { text-align: center; }
.section-heading--left { text-align: left; }

.section-title {
    font-size: clamp(1.6rem, 6vw, 2.6rem);
    font-weight: 700;
    color: var(--c-gold-light);
    text-shadow: 0 2px 18px rgba(224, 184, 79, 0.25);
}
.section-title::after {
    content: "";
    display: block;
    width: 120px;
    height: 3px;
    margin: 14px 0 0;
    background: var(--grad-gold-h);
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(224, 184, 79, 0.6);
}
.section-heading--center .section-title::after { margin-inline: auto; }

.section-lead {
    max-width: 68ch;
    margin: 0;
    color: var(--c-muted);
    font-size: 1.05rem;
}
.section-heading--center .section-lead { margin-inline: auto; }

.gold-num {
    color: var(--c-gold-light);
    font-weight: 700;
}

/* ============ SURFACES ============ */
.glass {
    position: relative;
    background: var(--c-glass);
    border: 1px solid var(--c-line-soft);
    border-radius: var(--radius-lg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), var(--shadow-deep);
}

.gold-frame {
    position: relative;
    border: 3px solid transparent;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(rgba(10, 18, 44, 0.86), rgba(10, 18, 44, 0.86)) padding-box,
        linear-gradient(135deg, #fde8a6, #b8862b 35%, #f7dc8a 60%, #8a5f1a) border-box;
    box-shadow: 0 0 40px rgba(232, 170, 60, 0.35), 0 20px 50px rgba(0, 0, 0, 0.55);
}
.gold-frame::after {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(247, 220, 138, 0.45);
    border-radius: calc(var(--radius-lg) - 6px);
    pointer-events: none;
}

.glow-gold {
    position: absolute;
    pointer-events: none;
    background: radial-gradient(closest-side, rgba(232, 180, 70, 0.4), rgba(232, 180, 70, 0) 100%);
}
.glow-emerald {
    position: absolute;
    pointer-events: none;
    background: radial-gradient(closest-side, var(--c-emerald-glow), rgba(15, 110, 76, 0) 100%);
}

/* Integrated (frameless) artwork that dissolves into the navy */
.art-integrated {
    position: relative;
    margin: 0;
    background: transparent;
}
.art-integrated img {
    width: 100%;
    height: auto;
    object-fit: contain;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}

/* Framed rectangular photo */
.framed-photo {
    position: relative;
    margin: 0;
    border: 1px solid var(--c-gold);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-deep);
}
.framed-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.55);
    pointer-events: none;
}
.framed-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ============ SIGNATURE GOLD ARC ============ */
.gold-arc {
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: clamp(44px, 9vw, 132px);
    pointer-events: none;
    z-index: 2;
}
.gold-arc svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}
.gold-arc__fill { fill: var(--c-bg-2); }
.gold-arc__glow { opacity: 0.85; }
.gold-arc--flip { top: -1px; bottom: auto; }
.gold-arc--flip svg { transform: scaleY(-1); }

.gold-hairline {
    position: relative;
    height: 1px;
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, var(--c-gold) 30%, var(--c-gold-light) 50%, var(--c-gold) 70%, transparent);
}
.gold-hairline::after {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    width: 280px; height: 26px;
    margin: -13px 0 0 -140px;
    background: radial-gradient(closest-side, rgba(247, 220, 138, 0.55), transparent);
    pointer-events: none;
}

/* ============ CHIPS ============ */
.trust-chips,
.chip-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--c-text);
    background: rgba(15, 110, 76, 0.35);
    border: 1px solid rgba(80, 200, 150, 0.5);
    border-radius: 999px;
}
.trust-chip__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--c-gold-light);
    box-shadow: 0 0 8px var(--c-gold);
}
.chip {
    padding: 6px 14px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--c-gold-light);
    background: var(--c-navy);
    border: 1px solid var(--c-line);
    border-radius: 999px;
}

/* ============ FEATURE CARDS ============ */
.feature-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--c-glass);
    border: 1px solid var(--c-line-soft);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-deep);
    transition: border-color 0.25s ease, transform 0.25s ease;
}
.feature-card:hover { border-color: var(--c-line); transform: translateY(-3px); }
.feature-card__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-bottom: 1px solid var(--c-line);
}
.feature-card__media img { width: 100%; height: 100%; object-fit: cover; }
.feature-card__body { padding: 16px 18px 18px; }
.feature-card__title { font-size: 1.2rem; margin-bottom: 8px; }
.feature-card__text { color: var(--c-muted); }
.feature-card__text p:last-child { margin-bottom: 0; }

.day-pill {
    display: inline-block;
    padding: 2px 10px;
    margin-right: 6px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--c-ink);
    background: var(--grad-gold);
    border-radius: 999px;
}

/* ============ GAME TILES ============ */
.game-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
@media (min-width: 1024px) {
    .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
.game-tile {
    position: relative;
    display: block;
    aspect-ratio: 1;
    border: 1px solid var(--c-gold);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    background: var(--c-navy);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.game-tile img { width: 100%; height: 100%; object-fit: cover; }
.game-tile::after {
    content: "";
    position: absolute;
    inset: 40% 0 0;
    background: linear-gradient(180deg, transparent, rgba(5, 9, 24, 0.95));
    pointer-events: none;
}
.game-tile__label {
    position: absolute;
    left: 10px; right: 10px; bottom: 10px;
    z-index: 1;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    text-shadow: 0 2px 6px #000;
}
.game-tile:hover,
.game-tile:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 0 0 1px var(--c-gold-light), 0 14px 30px rgba(224, 184, 79, 0.35);
}
@media (min-width: 768px) {
    .game-tile__label { font-size: 1.15rem; left: 14px; bottom: 12px; }
}

/* ============ TERMS TABLE ============ */
.terms-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.98rem;
}
.terms-table caption {
    text-align: left;
    font-weight: 700;
    color: var(--c-gold-light);
    margin-bottom: 8px;
}
.terms-table th,
.terms-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(224, 184, 79, 0.35);
}
.terms-table thead th {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--c-muted);
}
.terms-table tbody tr { background: rgba(5, 10, 28, 0.55); }
.terms-table tbody tr:nth-child(even) { background: rgba(18, 32, 74, 0.55); }
.terms-table td.num,
.terms-table .num { color: var(--c-gold-light); font-weight: 700; }

@media (max-width: 599px) {
    .terms-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .terms-table tr { display: block; padding: 6px 0; }
    .terms-table th,
    .terms-table td {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 6px 12px;
        border-bottom: 0;
    }
    .terms-table tbody tr { border-bottom: 1px solid rgba(224, 184, 79, 0.35); }
    .terms-table td[data-label]::before,
    .terms-table th[data-label]::before {
        content: attr(data-label);
        color: var(--c-muted);
        font-weight: 500;
    }
    .terms-table td { text-align: right; }
}

/* ============ PAYMENT BADGES ============ */
.pay-badges {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
@media (min-width: 768px) {
    .pay-badges { display: flex; flex-wrap: wrap; }
}
.pay-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 6px 10px;
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    font-weight: 800;
    font-size: 0.82rem;
    line-height: 1;
    color: #1b1f2a;
    white-space: nowrap;
}
.pay-badge__mark {
    display: inline-grid;
    place-items: center;
    width: 20px; height: 20px;
    flex-shrink: 0;
    border-radius: 50%;
    font-size: 0.78rem;
    color: #fff;
    background: #555;
}
.pay-badge__mc {
    position: relative;
    width: 26px; height: 16px;
    flex-shrink: 0;
}
.pay-badge__mc::before,
.pay-badge__mc::after {
    content: "";
    position: absolute;
    top: 0;
    width: 16px; height: 16px;
    border-radius: 50%;
}
.pay-badge__mc::before { left: 0; background: #eb001b; }
.pay-badge__mc::after { right: 0; background: #f79e1b; mix-blend-mode: multiply; }

.pay-badge--visa .pay-badge__name { color: #1a1f71; font-style: italic; font-size: 1rem; letter-spacing: 0.02em; }
.pay-badge--mastercard .pay-badge__name { color: #222; font-weight: 700; }
.pay-badge--revolut .pay-badge__name { color: #0a0a0a; }
.pay-badge--skrill .pay-badge__name { color: #862165; }
.pay-badge--neteller .pay-badge__name { color: #2f6b12; letter-spacing: 0.02em; }
.pay-badge--bitcoin .pay-badge__mark { background: #f7931a; }
.pay-badge--ethereum .pay-badge__mark { background: #3c3c3d; }
.pay-badge--usdt .pay-badge__mark { background: #26a17b; }
.pay-badge--usdt .pay-badge__name { color: #12735a; }
.pay-badge--litecoin .pay-badge__mark { background: #345d9d; }
.pay-badge--litecoin .pay-badge__name { color: #345d9d; }
.pay-badge--dogecoin .pay-badge__mark { background: #c2a633; }
.pay-badge--dogecoin .pay-badge__name { color: #6d5500; }
.pay-badge--xrp .pay-badge__mark { background: #23292f; }

.pay-badges--compact { gap: 6px; }
.pay-badges--compact .pay-badge { min-height: 30px; font-size: 0.72rem; padding: 4px 6px; }
.pay-badges--compact .pay-badge__mark { width: 16px; height: 16px; font-size: 0.65rem; }
.pay-badges--stacked { display: flex; flex-direction: column; flex-wrap: nowrap; }
.pay-badges--stacked .pay-badge { justify-content: flex-start; }

@media (max-width: 359px) {
    .pay-badge { font-size: 0.72rem; padding: 6px 4px; gap: 4px; }
    .pay-badge__mark { width: 16px; height: 16px; }
}

/* ============ PHONE MOCKUP ============ */
.phone {
    position: relative;
    width: min(100%, 200px);
    aspect-ratio: 9 / 18;
    margin: 0 auto;
    padding: 12px 8px;
    background: #05070f;
    border: 2px solid #2a3150;
    border-radius: 30px;
    box-shadow: 0 0 0 1px rgba(224, 184, 79, 0.4), var(--shadow-deep);
}
.phone__notch {
    position: absolute;
    top: 8px; left: 50%;
    width: 64px; height: 14px;
    margin-left: -32px;
    background: #05070f;
    border-radius: 0 0 10px 10px;
    z-index: 2;
}
.phone__screen {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(180deg, var(--c-navy-2), var(--c-bg));
}
.phone__screen > img { width: 100%; height: 100%; object-fit: cover; }
.phone__screen .pay-badges { padding: 22px 10px 10px; }

/* ============ FAQ ============ */
.faq-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}
.faq-item {
    background: rgba(8, 14, 36, 0.75);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-sm);
}
.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 10px 14px;
    cursor: pointer;
    list-style: none;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__title {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--c-gold-light);
    line-height: 1.3;
}
.faq-item__chev {
    width: 12px; height: 12px;
    flex-shrink: 0;
    border-right: 2px solid var(--c-gold);
    border-bottom: 2px solid var(--c-gold);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform 0.25s ease;
}
.faq-item[open] .faq-item__chev { transform: rotate(-135deg) translate(-2px, -2px); }
.faq-item[open] .faq-item__q { border-bottom: 1px solid var(--c-line-soft); }
.faq-item__a {
    padding: 12px 14px 14px;
    color: var(--c-text);
    background: rgba(24, 41, 92, 0.45);
}
.faq-item__a p:last-child { margin-bottom: 0; }

/* ============ PROSE / SEO TEXT ============ */
.prose { max-width: 70ch; color: var(--c-muted); }
.prose p { margin-bottom: 1.1em; }
.prose a,
.seo-text a {
    color: var(--c-gold-light);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--c-gold);
    text-underline-offset: 0.18em;
}
.prose a:hover,
.seo-text a:hover { color: #fff; }

/* ============ FOOTER ============ */
.site-footer {
    position: relative;
    margin-top: 24px;
    padding: 40px 0 32px;
    background: linear-gradient(180deg, #0a1330, #050a1a);
    border-top: 1px solid var(--c-gold);
    font-size: 0.95rem;
}
.footer-inner {
    display: grid;
    gap: 28px;
}
.footer-top {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.site-brand--footer { font-size: 1.4rem; }
.site-brand--footer .site-brand__text { max-width: none; white-space: nowrap; }
.footer-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 6px;
}
.footer-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 10px;
    color: var(--c-muted);
    text-decoration: none;
}
.footer-nav a:hover { color: var(--c-gold-light); }
.footer-heading {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--c-gold-light);
}
.footer-rg {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--c-line-soft);
    border-radius: var(--radius);
    background: rgba(18, 32, 74, 0.5);
}
.footer-rg__text p:last-child { margin: 0; color: var(--c-muted); }
.badge-18 {
    display: inline-grid;
    place-items: center;
    width: 52px; height: 52px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 2px solid var(--c-gold);
    color: var(--c-gold-light);
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 0 14px rgba(224, 184, 79, 0.35);
}
.footer-disclaimer {
    margin: 0;
    color: var(--c-muted);
    font-size: 0.9rem;
}
.footer-copy {
    margin: 0;
    padding-top: 18px;
    border-top: 1px solid var(--c-line-soft);
    color: var(--c-muted);
    font-size: 0.875rem;
}
@media (min-width: 1024px) {
    .footer-inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: 48px; }
    .footer-top { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
    .footer-disclaimer,
    .footer-copy { grid-column: 1 / -1; }
}

/* ============ PAGE: HERO ============ */
.hero {
    --arc-h: clamp(44px, 9vw, 132px);
    position: relative;
    isolation: isolate;
    padding: 20px 0 calc(var(--arc-h) + 28px);
    overflow: clip;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("./assets/4a33fa0a554bad69168fa42b446d72b4.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 58% center;
}
.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 13, 34, 0.3) 0%, rgba(7, 13, 34, 0.65) 55%, rgba(7, 13, 34, 0.9) 100%);
}
.hero__inner {
    display: grid;
    gap: 0;
}
.hero__figure {
    order: -1;
    position: relative;
    width: min(72%, 320px);
    margin: 0 auto -56px;
    z-index: 0;
}
.hero__glow { inset: 5% -25% 10%; z-index: -1; }
.hero__card {
    position: relative;
    z-index: 1;
    padding: 26px 18px 22px;
    text-align: center;
}
.hero__title {
    font-size: clamp(1.65rem, 7vw, 3rem);
    line-height: 1.12;
    color: #fff;
    margin-bottom: 14px;
}
.hero__title .gold-num {
    color: var(--c-gold-light);
    text-shadow: 0 0 22px rgba(232, 180, 70, 0.55);
}
.hero__lead { color: var(--c-text); margin-bottom: 16px; }
.hero__chips { justify-content: center; margin-bottom: 20px; }
.hero__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.hero__login-line { margin: 0; color: var(--c-muted); font-size: 0.95rem; }
.hero__login {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--c-gold-light);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}
.hero__fine {
    margin: 10px 0 0;
    font-size: 0.85rem;
    color: var(--c-muted);
}
.hero .gold-arc { z-index: 2; }

@media (min-width: 1024px) {
    .hero { padding: 32px 0 0; }
    .hero__bg { background-position: center 40%; }
    .hero__bg::after {
        background: linear-gradient(90deg, rgba(7, 13, 34, 0.82) 0%, rgba(7, 13, 34, 0.45) 42%, rgba(7, 13, 34, 0.08) 70%);
    }
    .hero__inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: end;
        min-height: 620px;
    }
    .hero__figure {
        order: 0;
        width: 100%;
        max-width: 470px;
        margin: 0;
        justify-self: end;
    }
    .hero__card {
        align-self: center;
        margin-bottom: calc(var(--arc-h) + 16px);
        padding: 34px 36px 28px;
        text-align: left;
    }
    .hero__chips { justify-content: flex-start; }
    .hero__actions { align-items: flex-start; }
}

/* ============ PAGE: BONUS ============ */
.section--bonus {
    background: linear-gradient(180deg, var(--c-bg-2) 0, rgba(11, 21, 49, 0) 320px);
}
.bonus-layout { display: grid; gap: 24px; }
.bonus-art {
    width: min(70%, 340px);
    margin: 0 auto;
    isolation: isolate;
}
.bonus-art__glow-e { inset: -10% -30%; z-index: -1; }
.bonus-art__glow-g { inset: 0 -10% 30%; z-index: -1; }
.bonus-main { padding: 20px 16px; }
.bonus-main__title { font-size: 1.3rem; }
.bonus-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0;
}
.bonus-facts > div {
    padding: 10px 12px;
    background: rgba(5, 10, 28, 0.6);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-sm);
}
.bonus-facts dt { font-size: 0.85rem; color: var(--c-muted); }
.bonus-facts dd { margin: 0; font-weight: 700; font-size: 1.1rem; color: var(--c-gold-light); }
.bonus-main__note { margin: 0; color: var(--c-text); font-size: 0.95rem; }
.bonus-cards { display: grid; gap: 16px; margin-top: 16px; }
.reload-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--c-text); font-weight: 600; }
@media (min-width: 768px) {
    .bonus-main { padding: 24px 26px; }
    .bonus-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .bonus-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .bonus-layout {
        grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
        align-items: start;
        gap: 32px;
    }
    .bonus-art { width: 100%; position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ============ PAGE: GAMES ============ */
.games-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 104px;
    grid-template-areas: "head art" "body body";
    gap: 8px 12px;
    align-items: center;
}
.games-head { grid-area: head; }
.games-head .section-heading { margin-bottom: 0; }
.games-art { grid-area: art; }
.games-body { grid-area: body; }
.games-lead { margin-bottom: 20px; }
.providers-title { font-size: 1.2rem; margin: 28px 0 12px; }
.cta-row--left { align-items: center; }
@media (min-width: 1024px) {
    .games-layout {
        grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
        grid-template-areas: "art head" "art body";
        gap: 0 40px;
        align-items: start;
    }
    .games-art { align-self: center; margin-left: -24px; }
    .games-head .section-heading { margin-bottom: 16px; }
    .cta-row--left { align-items: flex-start; text-align: left; }
}

/* ============ PAGE: LIVE ============ */
.live-split { display: grid; gap: 24px; }
.live-media { aspect-ratio: 12 / 7; }
.live-capsule { color: var(--c-text); font-size: 1.05rem; }
.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}
.check-list li { position: relative; padding-left: 30px; font-weight: 600; }
.check-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.25em;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--c-emerald) 0 30%, transparent 32%), var(--grad-gold);
    box-shadow: 0 0 10px rgba(224, 184, 79, 0.5);
}
@media (min-width: 1024px) {
    .live-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 48px; }
    .live-media { order: 2; }
}

/* ============ PAGE: CONNECTOR MEDALLION ============ */
.connector {
    --arc-h: clamp(44px, 9vw, 132px);
    position: relative;
    z-index: 3;
    height: 160px;
    margin: -40px 0 -64px;
    display: grid;
    place-items: center;
    pointer-events: none;
}
.connector .gold-arc {
    top: calc(50% - var(--arc-h) * 0.72);
    bottom: auto;
    height: var(--arc-h);
}
.connector__wheel {
    position: relative;
    z-index: 3;
    width: 160px;
    height: 160px;
    object-fit: contain;
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 22px rgba(224, 184, 79, 0.35));
}
@media (min-width: 1024px) {
    .connector { height: 260px; margin: -64px 0 -110px; }
    .connector__wheel { width: 240px; height: 240px; }
}

/* ============ PAGE: DUO PANELS ============ */
.duo { display: grid; gap: 0; }
.duo__item { padding: 20px 0; display: flex; flex-direction: column; }
.duo__item .panel { flex: 1; }
.panel { overflow: hidden; }
.panel__body { padding: 24px 16px 28px; }
.panel__capsule { color: var(--c-text); }
.panel__note { color: var(--c-muted); font-size: 0.92rem; }
.duo .section-title { font-size: clamp(1.45rem, 5.5vw, 2rem); }
@media (min-width: 768px) {
    .panel__body { padding: 28px 28px 32px; }
}
@media (min-width: 1024px) {
    .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .duo--stretch { align-items: stretch; }
    .duo--start { align-items: start; }
}

/* Payments */
.pay-panel { display: flex; flex-direction: column; }
.pay-banner {
    margin: 0;
    padding-bottom: 4px;
    background: var(--grad-gold-h);
    clip-path: ellipse(85% 100% at 50% 0);
}
.pay-banner img {
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    object-position: center 35%;
    clip-path: ellipse(85% 100% at 50% 0);
}
.pay-row { display: grid; gap: 12px; margin: 8px 0 20px; }
.pay-art { width: 140px; margin: 0 auto; }
.pay-art img { -webkit-mask-image: none; mask-image: none; }
.pay-figures {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.pay-figures li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 6px;
    background: rgba(15, 110, 76, 0.28);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-sm);
}
.pay-figures__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 4.5vw, 1.4rem); color: var(--c-gold-light); }
.pay-figures__label { font-size: 0.8rem; color: var(--c-muted); line-height: 1.25; }
.steps {
    list-style: none;
    counter-reset: step;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}
.steps li {
    counter-increment: step;
    position: relative;
    padding-left: 44px;
    min-height: 32px;
}
.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0; top: -2px;
    display: grid;
    place-items: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--grad-gold);
    color: var(--c-ink);
    font-weight: 800;
}
@media (min-width: 480px) {
    .pay-row { grid-template-columns: 120px minmax(0, 1fr); align-items: center; }
    .pay-art { width: 100%; }
}

/* VIP */
.vip-panel { display: flex; flex-direction: column; }
.vip-scene {
    position: relative;
    height: 300px;
    background-image: url("./assets/5d58550ce13983a6e0397279244e411a.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 15%;
}
.vip-scene::after {
    content: "";
    position: absolute;
    inset: 55% 0 0;
    background: linear-gradient(180deg, rgba(15, 26, 60, 0), var(--c-glass-solid));
}
.vip-scene__glow { left: 50%; top: 4%; width: 260px; height: 200px; margin-left: -130px; }
.vip-body { position: relative; margin-top: -70px; }
.vip-cols { display: grid; gap: 14px; }
.vip-cols .feature-card__media { aspect-ratio: 3 / 2; }
.vip-cols .feature-card__title { font-size: 1.1rem; }
@media (min-width: 600px) {
    .vip-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .vip-cols .feature-card__body { padding: 12px; }
}
@media (min-width: 1024px) {
    .vip-scene { height: 340px; }
}

/* Mobile play */
.mobile-scene { aspect-ratio: 2 / 1; margin-bottom: 18px; }
.mobile-cols { display: grid; gap: 24px; }
.mobile-col { text-align: center; }
.mobile-col__title { font-size: 1.15rem; margin-bottom: 4px; }
.mobile-col p { color: var(--c-muted); font-size: 0.95rem; margin-bottom: 12px; }
.mobile-col__photo { aspect-ratio: 3 / 2; }
.mobile-col .phone { width: min(100%, 150px); }
@media (min-width: 600px) {
    .mobile-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
}

/* FAQ */
.faq-panel { display: grid; gap: 16px; align-items: start; }
.faq-art { order: -1; width: min(60%, 240px); margin: 0 auto; }
@media (min-width: 1024px) {
    .faq-panel { grid-template-columns: minmax(0, 1fr) 160px; }
    .faq-art { order: 2; width: 100%; align-self: end; }
}

/* ============ PAGE: SEO ============ */
.seo-layout { display: grid; gap: 24px; }
.seo-art { width: min(80%, 420px); margin: 0 auto; }
.seo-text .section-title { font-size: clamp(1.45rem, 5.5vw, 2.2rem); margin-bottom: 20px; }
.seo-text p { color: var(--c-text); }
@media (min-width: 1024px) {
    .seo-layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 48px; }
    .seo-art { order: 2; width: 100%; }
}

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