/* =========================================================
   WestAce Casino - design system
   Dark espresso / near-black surfaces with antique gold.
   ========================================================= */

:root {
    /* Surfaces */
    --bg: #150D08;
    --surface-1: #1E130C;
    --surface-2: #281910;
    --surface-3: #33200F;
    --surface-deep: #0E0805;

    /* Gold */
    --gold: #D9AE5B;
    --gold-bright: #F3D694;
    --gold-deep: #A9772B;
    --gold-soft: rgba(217, 174, 91, 0.28);
    --gold-faint: rgba(217, 174, 91, 0.14);

    /* Text */
    --text: #F6EDDF;
    --text-muted: #CDB89C;
    --text-on-gold: #da6d24;

    /* Lines & shadows */
    --line: rgba(217, 174, 91, 0.26);
    --line-soft: rgba(217, 174, 91, 0.12);
    --shadow-md: 0 18px 44px rgba(0, 0, 0, 0.55);
    --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.65);

    /* Type */
    --font-display: "Playfair Display", "Iowan Old Style", Georgia, serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

    /* Layout */
    --container: 1180px;
    --radius: 10px;
    --radius-lg: 16px;
    --header-bottom: 64px;
}

/* ============================================
   OVERFLOW PREVENTION - Safety Net
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

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

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

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

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

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

details {
    height: fit-content;
}

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

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

section {
    overflow: clip;
}

/* ============================================
   BASE
   ============================================ */

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background-color: var(--bg);
    background-image:
        radial-gradient(1100px 600px at 50% -10%, rgba(169, 119, 43, 0.18), transparent 70%),
        linear-gradient(180deg, #170E09 0%, #150D08 60%, #120A06 100%);
    background-attachment: scroll;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

h1 { font-size: clamp(1.9rem, 5.2vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }

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

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

strong { color: var(--text); font-weight: 600; }

::selection { background: var(--gold); color: var(--text-on-gold); }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--gold);
    color: var(--text-on-gold);
    padding: 10px 18px;
    font-weight: 600;
}
.skip-link:focus {
    left: 12px;
    top: 12px;
}

/* ============================================
   LAYOUT HELPERS
   ============================================ */

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

.section {
    position: relative;
    padding: 56px 0;
}

.section--tight { padding: 40px 0; }

.section--alt {
    background: linear-gradient(180deg, rgba(40, 25, 16, 0.65), rgba(21, 13, 8, 0.2));
    border-block: 1px solid var(--line-soft);
}

.lead {
    font-size: 1.07rem;
    color: var(--text-muted);
    max-width: 68ch;
}

.measure { max-width: 70ch; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

.eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin: 0 0 10px;
}

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

.grid-2 { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
.grid-3 { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.grid-4 { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }

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

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

@media (min-width: 1024px) {
    .container { padding-inline: 24px; }
    .section { padding: 88px 0; }
    .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ============================================
   BUTTONS (gold ribbon)
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 22px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    border: 1px solid var(--gold-deep);
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    position: relative;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn--primary {
    background: linear-gradient(180deg, #F0CD86 0%, #D6A54E 52%, #BC8C36 100%);
    color: var(--text-on-gold);
    box-shadow: inset 0 0 0 1px rgba(255, 244, 214, 0.55), 0 10px 26px rgba(0, 0, 0, 0.45);
}

.btn--ghost {
    background: rgba(32, 20, 12, 0.6);
    color: var(--gold-bright);
    border-color: var(--gold-soft);
}

.btn--sm { min-height: 44px; padding: 10px 16px; font-size: 0.88rem; }
.btn--lg { min-height: 56px; padding: 15px 34px; font-size: 1.02rem; }

.btn:hover {
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 1px rgba(255, 244, 214, 0.6), 0 14px 32px rgba(0, 0, 0, 0.5);
}
.btn--ghost:hover {
    background: rgba(56, 36, 20, 0.85);
    border-color: var(--gold);
}

.btn__spark { display: inline-flex; color: currentColor; }
.btn--ghost .btn__spark { color: var(--gold); }
.btn__label { white-space: nowrap; }

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.btn-row--center { justify-content: center; }

/* ============================================
   HEADER
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg, rgba(15, 9, 5, 0.97), rgba(15, 9, 5, 0.9));
    border-bottom: 1px solid var(--line);
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 140% at 50% 0%, rgba(169, 119, 43, 0.22), transparent 70%);
    pointer-events: none;
}

.header-inner {
    position: relative;
    max-width: var(--container);
    margin-inline: auto;
    padding: 10px 14px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0 10px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 6px;
    cursor: pointer;
}

.nav-toggle__bar {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--gold-bright);
    border-radius: 2px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    justify-self: center;
    text-decoration: none;
    color: var(--text);
}

.site-brand__mark {
    width: 34px;
    height: 34px;
    object-fit: contain;
    flex: none;
}

.site-brand__text { display: flex; flex-direction: column; line-height: 1; }

.site-brand__name {
    font-family: var(--font-display);
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--gold-bright);
    letter-spacing: 0.02em;
}

.site-brand__sub {
    font-size: 0.6rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 3px;
}

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

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

.site-nav__list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 4px 6px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.site-nav__list a[aria-current="page"],
.site-nav__list a:hover {
    color: var(--gold-bright);
}

/* Mobile drawer */
@media (max-width: 1023.98px) {
    .site-nav {
        position: fixed;
        left: 0;
        right: 0;
        top: var(--header-bottom);
        bottom: 0;
        height: auto;
        z-index: 95;
        background: #150D08;
        border-top: 1px solid var(--line);
        padding: 18px 20px 40px;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    }

    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .site-nav__list li + li { border-top: 1px solid var(--line-soft); }

    .site-nav__list a {
        min-height: 54px;
        font-size: 1.08rem;
    }

    .site-nav__actions {
        display: grid;
        gap: 10px;
        margin-top: 22px;
    }

    .header-actions .header-cta--ghost { display: none; }
    .header-actions .header-cta { padding: 10px 14px; font-size: 0.82rem; }
}

@media (max-width: 400px) {
    .site-brand__sub { display: none; }
    .site-brand__name { font-size: 1.05rem; }
    .header-inner { padding-inline: 10px; gap: 6px; }
    .header-actions .header-cta { padding: 10px 11px; font-size: 0.76rem; }
}

/* Desktop nav */
@media (min-width: 1024px) {
    .nav-toggle { display: none; }
    .site-nav__actions { display: none; }

    .header-inner {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        padding: 12px 24px;
    }

    .site-nav { justify-self: start; }

    .site-nav__list {
        display: flex;
        align-items: center;
        gap: 22px;
    }

    .site-brand__mark { width: 42px; height: 42px; }
    .site-brand__name { font-size: 1.45rem; }
}

body.nav-open { overflow: hidden; }

/* ============================================
   SECTION HEADING
   ============================================ */

.sec-head { margin-bottom: 28px; }
.sec-head--center { text-align: center; }
.sec-head--left { text-align: left; }

.sec-head__row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sec-head--left .sec-head__row .sec-head__rule:first-child { display: none; }

.sec-head__title {
    margin: 0;
    flex: 0 1 auto;
}

.sec-head__rule {
    flex: 1 1 40px;
    min-width: 24px;
    height: 10px;
    color: var(--gold);
}

@media (max-width: 520px) {
    .sec-head__rule { flex-basis: 16px; min-width: 14px; }
}

/* ============================================
   HERO (full-bleed environment)
   ============================================ */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(460px, 72vh, 700px);
    padding: 60px 0 72px;
    isolation: isolate;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: 58% 40%;
    background-repeat: no-repeat;
}

.hero__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(14, 8, 5, 0.86) 0%, rgba(14, 8, 5, 0.62) 38%, rgba(14, 8, 5, 0.82) 78%, #150D08 100%),
        radial-gradient(70% 60% at 50% 48%, rgba(14, 8, 5, 0.3), rgba(14, 8, 5, 0.8));
}

.hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 860px;
    margin-inline: auto;
    padding-inline: 18px;
    text-align: center;
}

.hero__title {
    margin: 0 0 14px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
}

.hero__title .accent { color: var(--gold-bright); display: block; }

.hero__sub {
    font-size: clamp(1rem, 2.2vw, 1.18rem);
    color: #F2E4CE;
    max-width: 58ch;
    margin-inline: auto;
}

.hero__terms {
    display: inline-block;
    margin: 6px 0 22px;
    padding: 7px 16px;
    border: 1px solid var(--gold-soft);
    border-radius: 999px;
    background: rgba(14, 8, 5, 0.6);
    font-size: 0.9rem;
    color: var(--gold-bright);
    letter-spacing: 0.04em;
}

@media (min-width: 1024px) {
    .hero { min-height: 640px; padding: 90px 0 100px; }
    .hero__bg { background-position: center 42%; }
}

/* ============================================
   CARDS
   ============================================ */

.card {
    position: relative;
    background: linear-gradient(170deg, rgba(50, 32, 18, 0.9), rgba(26, 16, 10, 0.95));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 22px;
    box-shadow: var(--shadow-md);
}

.card__icon { display: inline-flex; color: var(--gold); margin-bottom: 10px; }
.card__title { margin: 0 0 8px; color: var(--gold-bright); }
.card__text { margin: 0 0 12px; color: var(--text-muted); }

.card__link {
    display: inline-block;
    font-weight: 600;
    color: var(--gold-bright);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.card-grid--equal { align-items: stretch; }
.card-grid--equal > .card { height: 100%; }

/* ============================================
   GAME TILES
   ============================================ */

.tile {
    position: relative;
    background: linear-gradient(180deg, rgba(46, 29, 17, 0.9), rgba(22, 14, 9, 0.95));
    border: 1px solid var(--gold-soft);
    border-radius: 10px;
    padding: 6px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.tile__link {
    display: block;
    border: 1px solid var(--line-soft);
    border-radius: 7px;
    overflow: hidden;
    text-decoration: none;
}

.tile__media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

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

.tile:hover .tile__media img { transform: scale(1.04); }

.tile__ribbon {
    display: block;
    text-align: center;
    padding: 8px 6px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-on-gold);
    background: linear-gradient(180deg, #F0CD86, #CE9C46);
    box-shadow: inset 0 0 0 1px rgba(255, 246, 222, 0.5);
}

.tile__caption {
    margin: 10px 4px 4px;
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.tile__caption strong { color: var(--gold-bright); }

.tile-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

/* Integrated (frameless) artwork */
.art-integrated {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.art-integrated::before {
    content: "";
    position: absolute;
    inset: -4%;
    background: radial-gradient(circle at 50% 50%, rgba(217, 174, 91, 0.3), rgba(217, 174, 91, 0.07) 48%, transparent 72%);
    filter: blur(6px);
    z-index: 0;
}

.art-integrated img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.6));
}

/* ============================================
   FRAMED PHOTO
   ============================================ */

.framed {
    position: relative;
    margin: 0;
    padding: 10px;
}

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

.framed__rules {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.framed__medal {
    position: absolute;
    width: 30px;
    height: 30px;
    display: block;
}

.framed__medal--t { top: -5px; left: 50%; transform: translateX(-50%); }
.framed__medal--b { bottom: -5px; left: 50%; transform: translateX(-50%); }
.framed__medal--l { left: -5px; top: 50%; transform: translateY(-50%); }
.framed__medal--r { right: -5px; top: 50%; transform: translateY(-50%); }

/* Media + copy split */
.split {
    display: grid;
    gap: 26px;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
}

@media (min-width: 900px) {
    .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; }
    .split--media-right .split__media { order: 2; }
}

/* ============================================
   BADGES / TRUST ROW
   ============================================ */

.badge-row {
    display: grid;
    gap: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: rgba(26, 16, 10, 0.6);
}

.badge {
    padding: 20px 14px;
    text-align: center;
    border-right: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}

.badge:nth-child(2n) { border-right: 0; }

.badge__icon { display: inline-flex; color: var(--gold); margin-bottom: 8px; }
.badge__title { margin: 0 0 4px; font-weight: 600; font-size: 0.95rem; color: var(--text); }
.badge__text { margin: 0; font-size: 0.84rem; color: var(--text-muted); line-height: 1.5; }

@media (min-width: 768px) {
    .badge-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .badge { border-bottom: 0; }
    .badge:nth-child(2n) { border-right: 1px solid var(--line-soft); }
    .badge:last-child { border-right: 0; }
}

@media (min-width: 1024px) {
    .badge-row--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.badge-note {
    margin: 14px 0 0;
    text-align: center;
    font-size: 0.86rem;
    color: var(--text-muted);
}

/* ============================================
   STEPS ON A GOLD RAIL
   ============================================ */

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

.rail::before {
    content: "";
    position: absolute;
    left: 25px;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--gold) 12%, var(--gold) 88%, transparent);
    opacity: 0.6;
}

.step {
    position: relative;
    background: linear-gradient(170deg, rgba(50, 32, 18, 0.85), rgba(24, 15, 9, 0.95));
    border: 1px solid var(--line);
    border-top: 2px solid var(--gold);
    border-radius: var(--radius);
    padding: 20px 20px 18px 62px;
}

.step__badge {
    position: absolute;
    left: 11px;
    top: 20px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #F0CD86, #B8862F);
    color: var(--text-on-gold);
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 0 0 4px rgba(217, 174, 91, 0.14), 0 6px 18px rgba(0, 0, 0, 0.5);
}

.step__title { margin: 0 0 6px; color: var(--gold-bright); font-size: 1.1rem; }
.step__text { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

@media (min-width: 900px) {
    .rail--horizontal { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
    .rail--horizontal::before {
        left: 4%;
        right: 4%;
        top: 44px;
        bottom: auto;
        width: auto;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--gold) 10%, var(--gold) 90%, transparent);
    }
    .rail--horizontal .step { padding: 56px 18px 20px; text-align: center; }
    .rail--horizontal .step__badge { left: 50%; top: 12px; transform: translateX(-50%); }
    .rail--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ============================================
   STAR LIST / CALLOUT / CHIPS
   ============================================ */

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

.star-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft);
    color: var(--text-muted);
}

.star-list li:last-child { border-bottom: 0; }

.star-list__glyph {
    flex: none;
    color: var(--gold);
    margin-top: 5px;
    display: inline-flex;
}

.callout {
    border-left: 3px solid var(--gold);
    background: linear-gradient(90deg, rgba(60, 38, 20, 0.8), rgba(30, 19, 12, 0.6));
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 20px 22px;
    margin: 22px 0;
}

.callout > :last-child { margin-bottom: 0; }
.callout__title { margin: 0 0 8px; color: var(--gold-bright); font-size: 1.05rem; }

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.chip {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 18px;
    border: 1px solid var(--gold-soft);
    border-radius: 999px;
    background: rgba(32, 20, 12, 0.7);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
}

.chip--active {
    color: var(--gold-bright);
    border-color: var(--gold);
    box-shadow: 0 0 18px rgba(217, 174, 91, 0.22), inset 0 0 12px rgba(217, 174, 91, 0.1);
}

.stat-row {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 24px 0;
}

.stat {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(26, 16, 10, 0.7);
    padding: 16px;
    text-align: center;
}

.stat__value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 4vw, 1.9rem);
    color: var(--gold-bright);
    line-height: 1.1;
}

.stat__label { display: block; font-size: 0.84rem; color: var(--text-muted); margin-top: 6px; }

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

/* ============================================
   TABLES
   ============================================ */

.table-wrapper {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(22, 14, 9, 0.85);
}

.data-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 0.93rem;
}

.data-table caption {
    caption-side: top;
    text-align: left;
    padding: 14px 16px 0;
    color: var(--text-muted);
    font-size: 0.87rem;
}

.data-table th,
.data-table td {
    padding: 13px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line-soft);
    vertical-align: top;
}

.data-table thead th {
    background: linear-gradient(180deg, rgba(74, 47, 23, 0.9), rgba(45, 28, 15, 0.9));
    color: var(--gold-bright);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    border-bottom: 1px solid var(--line);
}

.data-table tbody tr:nth-child(even) { background: rgba(48, 30, 17, 0.35); }
.data-table tbody th { color: var(--text); font-weight: 600; }
.data-table td { color: var(--text-muted); }

.data-table .is-highlight {
    background: rgba(217, 174, 91, 0.1);
    color: var(--text);
    box-shadow: inset 1px 0 0 var(--gold), inset -1px 0 0 var(--gold);
}

/* ============================================
   FAQ
   ============================================ */

.faq-list {
    display: grid;
    gap: 12px;
    align-items: start;
    max-width: 860px;
    margin-inline: auto;
}

.faq {
    align-self: start;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(170deg, rgba(46, 29, 17, 0.7), rgba(23, 14, 9, 0.9));
}

.faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    min-height: 56px;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    list-style: none;
}

.faq__q::-webkit-details-marker { display: none; }

.faq__ico {
    flex: none;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold-soft);
    border-radius: 50%;
    color: var(--gold-bright);
    transition: transform 0.2s ease;
}

.faq[open] .faq__ico { transform: rotate(45deg); }
.faq[open] .faq__q { color: var(--gold-bright); }

.faq__a {
    padding: 0 18px 18px;
    color: var(--text-muted);
}

.faq__a > :last-child { margin-bottom: 0; }

/* ============================================
   CLOSING CTA BANNER
   ============================================ */

.cta-banner {
    position: relative;
    padding: 56px 0 64px;
    background:
        radial-gradient(70% 120% at 50% 0%, rgba(169, 119, 43, 0.25), transparent 70%),
        linear-gradient(180deg, rgba(40, 25, 16, 0.9), rgba(16, 10, 6, 0.95));
    border-top: 1px solid var(--line);
}

.cta-banner__inner { text-align: center; }
.cta-banner__title { margin: 0 0 10px; }
.cta-banner__text {
    max-width: 62ch;
    margin: 0 auto 22px;
    color: var(--text-muted);
}
.cta-banner__note {
    margin: 16px 0 0;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    position: relative;
    background-color: var(--surface-deep);
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='88'%20height='88'%20viewBox='0%200%2088%2088'%3E%3Cpath%20d='M44%2012l7.4%2020.4H73L55.6%2045.6%2062.4%2066%2044%2053.6%2025.6%2066l6.8-20.4L15%2032.4h21.6z'%20fill='none'%20stroke='%23D9AE5B'%20stroke-width='1'%20opacity='0.1'/%3E%3C/svg%3E");
    border-top: 1px solid var(--line);
    padding: 44px 0 28px;
    color: var(--text-muted);
}

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

.footer-col__title {
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 12px;
    font-weight: 700;
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
    font-size: 0.93rem;
    line-height: 1.55;
}

.footer-list a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    color: var(--text);
    text-decoration: none;
}

.footer-list a:hover { color: var(--gold-bright); text-decoration: underline; }
.footer-list--plain li { color: var(--text-muted); }

.footer-brand { text-align: center; }
.footer-brand__mark { width: 72px; height: 72px; object-fit: contain; }
.footer-brand__name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--gold-bright);
    margin: 8px 0 2px;
}
.footer-brand__claim { font-size: 0.86rem; margin: 0; }

.footer-bottom {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--line-soft);
}

.footer-age {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    margin: 0 0 10px;
    color: var(--text);
}

.footer-age__ring {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold-bright);
    font-weight: 700;
    font-size: 0.82rem;
    flex: none;
}

.footer-copy {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--text-muted);
}

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

@media (min-width: 1024px) {
    .site-footer { padding: 60px 0 32px; }
    .footer-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: start;
        gap: 26px;
    }
    .footer-brand { grid-column: auto; order: 0; }
}

/* ============================================
   COOKIE BANNER (RODO)
   ============================================ */

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    background: #120A06;
    background: linear-gradient(180deg, rgba(31, 19, 12, 0.98), rgba(14, 8, 5, 0.99));
    border-top: 1px solid var(--gold-soft);
    box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.55);
    padding: 16px 0 calc(16px + env(safe-area-inset-bottom, 0px));
}

.cookie-banner[hidden] { display: none; }

.cookie-banner__inner {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 18px;
    display: grid;
    gap: 14px;
}

.cookie-banner__title {
    margin: 0 0 4px;
    font-weight: 700;
    color: var(--gold-bright);
    font-size: 0.98rem;
}

.cookie-banner__text {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-banner__actions .btn { flex: 1 1 150px; }

@media (min-width: 900px) {
    .cookie-banner__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 24px;
    }
    .cookie-banner__actions .btn { flex: 0 0 auto; }
}

/* ============================================
   HOMEPAGE SECTIONS
   ============================================ */

.hero__bg--home {
    background-image: url("./assets/5e7ee9e6c3fd315cd43c898e81b9a723.webp");
}

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

@media (min-width: 1024px) {
    .slots-split {
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
        gap: 40px;
    }
}

.tile-note {
    margin: 18px 0 0;
    font-size: 0.93rem;
    color: var(--text-muted);
}

/* Sportsbook teaser card */
.sb-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(170deg, rgba(50, 32, 18, 0.72), rgba(22, 14, 9, 0.95));
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.sb-card__media {
    margin: 0;
    min-height: 220px;
}

.sb-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 55%;
    display: block;
}

.sb-card__body { padding: 24px 22px 28px; }
.sb-card__body > :last-child { margin-bottom: 0; }

@media (min-width: 900px) {
    .sb-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .sb-card__media { height: 100%; min-height: 320px; }
    .sb-card__body { padding: 34px 36px; }
}

/* VIP / cashback feature cards */
.feat-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    height: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(170deg, rgba(50, 32, 18, 0.82), rgba(24, 15, 9, 0.96));
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.feat-card__media {
    margin: 0;
    min-height: 190px;
}

.feat-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.feat-card__body {
    display: flex;
    flex-direction: column;
    padding: 24px 22px 26px;
}

.feat-card__body .btn {
    margin-top: auto;
    align-self: stretch;
}

@media (min-width: 600px) {
    .feat-card { grid-template-columns: 38% minmax(0, 1fr); }
    .feat-card__media { min-height: 100%; }
    .feat-card--reverse { grid-template-columns: minmax(0, 1fr) 38%; }
    .feat-card--reverse .feat-card__media { order: 2; }
}

/* ============================================
   BONUSY PAGE
   ============================================ */

.hero__bg--bonusy {
    background-image: url("./assets/55b761f5b8abbdc19ff9f74d68223773.webp");
    background-position: center 55%;
}

.bonus-hero__panels {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr);
    margin: 26px 0 30px;
    text-align: left;
}

.bonus-hero__panel {
    background: rgba(14, 8, 5, 0.55);
    border: 1px solid var(--gold-soft);
    border-radius: var(--radius);
    padding: 20px 20px 18px;
}

.bonus-hero__panel-title {
    margin: 0 0 6px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.82rem;
    color: var(--gold);
}

.bonus-hero__panel .stat__value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 5vw, 2.1rem);
    color: var(--gold-bright);
    line-height: 1.1;
}

.bonus-hero__panel p:last-child {
    margin: 6px 0 0;
    color: #F2E4CE;
    font-size: 0.92rem;
}

.bonus-hero__divider { display: none; }

@media (min-width: 768px) {
    .bonus-hero__panels {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
        gap: 22px;
    }
    .bonus-hero__divider {
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--gold);
    }
}

.sports-banner {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(170deg, rgba(50, 32, 18, 0.82), rgba(18, 11, 7, 0.95));
    padding: 28px 26px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.sports-banner__pennant {
    position: absolute;
    top: 14px;
    right: 18px;
    color: var(--gold);
    opacity: 0.45;
}

.sports-banner__body > :last-child { margin-bottom: 0; }
.sports-banner__body h3 { color: var(--gold-bright); margin-top: 0; }

.cashback-chart {
    max-width: 560px;
    margin: 6px auto 4px;
}

.cashback-chart svg {
    width: 100%;
    height: auto;
    display: block;
}

.cashback-chart__caption {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0 0 18px;
}

/* ============================================
   GRY PAGE
   ============================================ */

.hero__bg--gry {
    background-image: url("./assets/1cce58ac8d43681d4c7ce911610f3fbc.webp");
    background-position: center 48%;
}

.filter-note {
    max-width: 68ch;
    margin: 18px auto 14px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.filter-count {
    text-align: center;
    margin: 14px 0 0;
    font-size: 0.86rem;
    color: var(--gold-bright);
    font-weight: 600;
    letter-spacing: 0.03em;
}

.gry-filter-chip {
    border: none;
    font-family: var(--font-body);
}

.gry-filter-chip:focus-visible {
    outline: 2px solid var(--gold-bright);
    outline-offset: 2px;
}

#automaty-grid .tile[hidden] { display: none; }

.crash-panel {
    position: relative;
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(170deg, rgba(42, 27, 15, 0.92), rgba(16, 10, 6, 0.97));
    padding: 26px 24px;
    box-shadow: var(--shadow-md);
}

.crash-panel__visual {
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
}

.crash-panel__visual svg {
    width: 100%;
    height: auto;
    display: block;
}

.crash-panel__body > :last-child { margin-bottom: 0; }
.crash-panel__body h3 { color: var(--gold-bright); margin-top: 0; }

@media (min-width: 900px) {
    .crash-panel { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 36px; padding: 34px 38px; }
}

/* ============================================
   VIP PAGE
   ============================================ */

.hero__bg--vip {
    background-image: url("./assets/5e5d0ccc19b36fbcaef81c0804a769e6.webp");
    background-position: center 45%;
}

.tier-rail {
    position: relative;
    list-style: none;
    margin: 28px 0 10px;
    padding: 0;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr);
}

.tier-rail::before {
    content: "";
    position: absolute;
    left: 25px;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--gold) 12%, var(--gold) 88%, transparent);
    opacity: 0.55;
}

.tier-card {
    position: relative;
    background: linear-gradient(170deg, rgba(50, 32, 18, 0.85), rgba(22, 14, 9, 0.97));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 20px 20px 62px;
}

.tier-card__gem {
    position: absolute;
    left: 10px;
    top: 20px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #F0CD86, #9C6F27);
    color: var(--text-on-gold);
    box-shadow: 0 0 0 4px rgba(217, 174, 91, 0.12), 0 6px 16px rgba(0, 0, 0, 0.5);
}

.tier-card__name {
    margin: 0 0 10px;
    color: var(--gold-bright);
    font-size: 1.15rem;
}

.tier-card__stats {
    margin: 0;
    display: grid;
    gap: 8px;
}

.tier-card__stats div { display: grid; gap: 2px; }

.tier-card__stats dt {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
}

.tier-card__stats dd {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.tier-card:nth-child(1) { box-shadow: 0 0 0 1px rgba(217, 174, 91, 0.04); }
.tier-card:nth-child(2) { box-shadow: 0 0 14px rgba(217, 174, 91, 0.08); }
.tier-card:nth-child(3) { box-shadow: 0 0 20px rgba(217, 174, 91, 0.14); }
.tier-card:nth-child(4) { box-shadow: 0 0 28px rgba(217, 174, 91, 0.22); }
.tier-card:nth-child(5) {
    box-shadow: 0 0 40px rgba(217, 174, 91, 0.34);
    border-color: var(--gold);
}

.tier-card:nth-child(5) .tier-card__gem {
    width: 44px;
    height: 44px;
    left: 6px;
    top: 16px;
    background: radial-gradient(circle at 35% 30%, #FBE7B4, #D9AE5B);
    box-shadow: 0 0 0 5px rgba(217, 174, 91, 0.22), 0 8px 22px rgba(0, 0, 0, 0.55);
}

@media (min-width: 900px) {
    .tier-rail {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 14px;
    }
    .tier-rail::before {
        left: 4%;
        right: 4%;
        top: 30px;
        bottom: auto;
        width: auto;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--gold) 10%, var(--gold) 90%, transparent);
    }
    .tier-card {
        padding: 54px 16px 20px;
        text-align: center;
    }
    .tier-card__gem {
        left: 50%;
        top: 8px;
        transform: translateX(-50%);
    }
    .tier-card:nth-child(5) .tier-card__gem {
        left: 50%;
        top: 2px;
        transform: translateX(-50%);
    }
    .tier-card__stats { text-align: left; }
}

.growth-chart {
    max-width: 640px;
    margin: 10px auto 6px;
}

.growth-chart svg {
    width: 100%;
    height: auto;
    display: block;
}

.growth-chart__caption {
    text-align: center;
    font-size: 0.86rem;
    color: var(--text-muted);
    margin: 10px 0 0;
}

/* ============================================
   PŁATNOŚCI PAGE
   ============================================ */

.hero__bg--platnosci {
    background-image: url("./assets/01335d1cb57919120fc5501f3766f9ce.webp");
    background-position: center 48%;
}

/* ============================================
   MOTION
   ============================================ */

@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;
    }
}