/*
 * SANKRA CASINO - design system
 * Dark near-black jungle temple surfaces with warm gold and jade accents.
 */

:root {
    /* Surfaces */
    --ink-900: #05100c;
    --ink-800: #081713;
    --ink-700: #0d201b;
    --ink-600: #132b24;

    /* Gold */
    --gold-100: #ffeec2;
    --gold-200: #f8e0ad;
    --gold-300: #f3d492;
    --gold-400: #e2b961;
    --gold-500: #c9992f;
    --gold-700: #8a6320;
    --gold-900: #4a3414;

    /* Jade */
    --jade-300: #4ce6b0;
    --jade-400: #2fd39a;
    --jade-500: #17a877;
    --jade-700: #0a6b4a;

    /* Sandstone */
    --sand-100: #eedcb8;
    --sand-300: #cdb083;
    --sand-500: #a98b5a;
    --sand-700: #7c6035;

    /* Text */
    --text: #f6ecd8;
    --text-dim: #cdbd9c;
    --text-dark: #2c1d0a;

    /* Layout */
    --shell: 1200px;
    --radius-s: 8px;
    --radius-m: 14px;
    --radius-l: 22px;
    --space-sec: clamp(2.75rem, 6vw, 5.5rem);
    --header-bottom: 72px;

    /* Type */
    --font-display: 'Cinzel', 'Georgia', 'Times New Roman', serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    /* Effects */
    --rim-gold: 0 0 0 1px rgba(226, 185, 97, .55);
    --shadow-deep: 0 20px 44px rgba(0, 0, 0, .55);
}

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

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

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

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

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

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

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

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

details {
    height: fit-content;
}

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

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

section {
    overflow: clip;
}

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

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

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.68;
    color: var(--text);
    background-color: var(--ink-900);
    background-image:
        linear-gradient(180deg, rgba(5, 16, 12, .88), rgba(5, 16, 12, .95)),
        url("./assets/7808ab73eec33ad6fc87b1706752beeb.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

@media (min-width: 1024px) {
    body {
        background-attachment: fixed;
    }
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.18;
    margin: 0 0 .6em;
    color: var(--gold-200);
    letter-spacing: .01em;
}

h1 { font-size: clamp(1.95rem, 5.4vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.35rem); }
h3 { font-size: clamp(1.12rem, 2.2vw, 1.4rem); }

p { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.05em; padding-left: 1.25rem; }
li { margin-bottom: .45em; }

a { color: var(--gold-300); }
a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--jade-400);
    outline-offset: 3px;
    border-radius: 4px;
}

strong { color: var(--gold-200); }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    background: var(--gold-400);
    color: #1b1206;
    padding: .7rem 1.1rem;
    font-weight: 700;
    border-radius: 0 0 var(--radius-s) 0;
}
.skip-link:focus {
    left: 0;
}

.shell {
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}

.section {
    position: relative;
    padding-block: var(--space-sec);
}

.section--tight { padding-block: clamp(2rem, 4vw, 3.25rem); }

.section--slab::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(201, 153, 47, .08), transparent 60%),
        linear-gradient(180deg, rgba(5, 16, 12, .72), rgba(5, 16, 12, .9));
    z-index: -1;
}

.prose {
    max-width: 72ch;
    margin-inline: auto;
    color: var(--text-dim);
}
.prose p { color: var(--text-dim); }
.prose a { color: var(--gold-200); }

/* Grids */
.grid { display: grid; gap: clamp(1rem, 2.6vw, 1.75rem); }
.grid--2 { grid-template-columns: minmax(0, 1fr); }
.grid--3 { grid-template-columns: minmax(0, 1fr); }
.grid--4 { grid-template-columns: minmax(0, 1fr); }

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    padding: .4rem clamp(.5rem, 2vw, 1.25rem) 0;
}

.site-header__plate {
    position: relative;
    border: 2px solid var(--gold-400);
    border-radius: var(--radius-m);
    background:
        linear-gradient(180deg, rgba(122, 90, 36, .96), rgba(50, 35, 14, .97)),
        linear-gradient(180deg, #7a5a24, #3a2810);
    box-shadow:
        inset 0 1px 0 rgba(255, 238, 194, .45),
        inset 0 -10px 22px rgba(0, 0, 0, .45),
        0 10px 28px rgba(0, 0, 0, .55);
}

.site-header__plate::before,
.site-header__plate::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 14px;
    height: 14px;
    transform: translateY(-50%) rotate(45deg);
    background: radial-gradient(circle at 35% 30%, #ffd97a, #c2560f);
    border: 1px solid var(--gold-200);
    border-radius: 3px;
}
.site-header__plate::before { left: 10px; }
.site-header__plate::after { right: 10px; }

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-height: 60px;
    padding-block: .45rem;
}

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

.site-brand__emblem {
    width: 42px;
    height: 42px;
    flex: none;
    filter: drop-shadow(0 0 10px rgba(226, 185, 97, .5));
}

.site-brand__text {
    display: flex;
    flex-direction: column;
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--gold-100);
    text-shadow: 0 2px 0 rgba(0, 0, 0, .6);
    font-size: clamp(.95rem, 3.4vw, 1.3rem);
}
.site-brand__bottom { color: var(--gold-300); }

/* Toggle */
.nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 44px;
    padding: .45rem .8rem;
    border: 1px solid var(--gold-300);
    border-radius: var(--radius-s);
    background: rgba(10, 24, 18, .75);
    color: var(--gold-200);
    font: 600 .85rem/1 var(--font-body);
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
}
.nav-toggle__bars {
    display: grid;
    gap: 4px;
    width: 20px;
}
.nav-toggle__bars span {
    display: block;
    height: 2px;
    background: var(--gold-200);
    border-radius: 2px;
}

/* Nav: mobile drawer */
.site-nav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-bottom);
    bottom: 0;
    height: auto;
    z-index: 55;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem clamp(1rem, 5vw, 2rem) 2.5rem;
    overflow-y: auto;
    background: #050f0c;
    border-top: 2px solid var(--gold-500);
}
.site-nav.is-open { display: flex; }

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .5rem;
}
.site-nav__list a {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 48px;
    padding: .5rem .9rem;
    border: 1px solid rgba(226, 185, 97, .35);
    border-radius: var(--radius-s);
    background: linear-gradient(180deg, rgba(19, 43, 36, .9), rgba(8, 23, 19, .9));
    color: var(--gold-200);
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    font-size: .9rem;
}
.site-nav__list a:hover { border-color: var(--gold-300); color: var(--gold-100); }

.nav-ico {
    width: 22px;
    height: 22px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-actions {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}
.header-actions .header-cta {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .55rem 1.1rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .88rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}
.header-actions .header-cta--ghost {
    border: 1px solid var(--gold-300);
    color: var(--gold-200);
    background: rgba(8, 23, 19, .8);
}
.header-actions .header-cta--solid {
    border: 1px solid var(--gold-200);
    color: #06281c;
    background: linear-gradient(180deg, var(--jade-400), var(--jade-700));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 6px 16px rgba(23, 168, 119, .3);
}
.header-actions .header-cta--solid:hover { filter: brightness(1.08); }

body.nav-open { overflow: hidden; }

@media (min-width: 768px) {
    .nav-toggle { display: none; }

    .site-nav {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        gap: clamp(.5rem, 2vw, 1.5rem);
        padding: 0;
        overflow: visible;
        background: none;
        border-top: 0;
        height: auto;
    }
    .site-nav__list {
        grid-auto-flow: column;
        gap: .35rem;
    }
    .site-nav__list a {
        flex-direction: column;
        gap: .2rem;
        min-height: 54px;
        padding: .35rem .85rem;
        font-size: .72rem;
        background: linear-gradient(180deg, rgba(122, 90, 36, .35), rgba(28, 19, 7, .5));
        border-color: rgba(243, 212, 146, .35);
    }
    .header-actions .header-cta {
        min-height: 44px;
        font-size: .78rem;
        padding: .4rem .95rem;
    }
}

/* ============================================
   HERO PRIMITIVES
   ============================================ */

.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: clamp(420px, 78vh, 760px);
    padding-block: clamp(3rem, 10vw, 6rem) clamp(2.5rem, 7vw, 5rem);
    border-bottom: 2px solid rgba(201, 153, 47, .4);
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: 50% 32%;
    background-repeat: no-repeat;
}
.hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(70% 55% at 50% 78%, rgba(201, 153, 47, .3), transparent 70%),
        linear-gradient(180deg, rgba(5, 16, 12, .5) 0%, rgba(5, 16, 12, .12) 35%, rgba(5, 16, 12, .82) 78%, rgba(5, 16, 12, .97) 100%);
}
.hero__inner {
    width: 100%;
    max-width: 48rem;
    margin-inline: auto;
    text-align: center;
}
.hero__lead {
    font-size: clamp(1rem, 2.1vw, 1.15rem);
    color: var(--text);
    text-shadow: 0 2px 10px rgba(0, 0, 0, .8);
}
.hero h1 {
    text-shadow: 0 3px 16px rgba(0, 0, 0, .85), 0 0 26px rgba(201, 153, 47, .25);
}

@media (min-width: 1024px) {
    .hero__bg { background-position: 50% 38%; }
}

/* ============================================
   HEADINGS / CHIPS
   ============================================ */

.sec-head { margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem); }
.sec-head--center { text-align: center; }
.sec-head--start { text-align: left; }
.sec-head__eyebrow {
    display: inline-block;
    font: 700 .74rem/1 var(--font-body);
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--jade-300);
    margin-bottom: .7rem;
}
.sec-head__title { margin-bottom: .55rem; }
.sec-head__rule {
    display: block;
    width: 160px;
    max-width: 60%;
    height: 2px;
    margin: 0 0 1rem;
    background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}
.sec-head--center .sec-head__rule { margin-inline: auto; }
.sec-head__lead {
    max-width: 68ch;
    color: var(--text-dim);
    margin: 0;
}
.sec-head--center .sec-head__lead { margin-inline: auto; }

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}
.chips--center { justify-content: center; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem .85rem;
    border: 1px solid rgba(243, 212, 146, .5);
    border-radius: 999px;
    background: rgba(10, 26, 20, .85);
    color: var(--gold-200);
    font-size: .85rem;
    font-weight: 600;
}
.chip strong { color: var(--jade-300); }

/* ============================================
   BUTTONS
   ============================================ */

.relic-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    min-height: 56px;
    padding: .85rem 2.6rem;
    border: 3px solid var(--gold-400);
    border-radius: 999px;
    background:
        linear-gradient(180deg, var(--jade-400) 0%, var(--jade-500) 48%, var(--jade-700) 100%);
    color: #042016;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(.95rem, 2.4vw, 1.08rem);
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, .5),
        inset 0 -10px 18px rgba(0, 60, 40, .45),
        0 0 0 2px rgba(74, 52, 20, .9),
        0 14px 30px rgba(0, 0, 0, .5),
        0 0 34px rgba(47, 211, 154, .22);
    transition: transform .18s ease, filter .18s ease;
}
.relic-btn:hover { transform: translateY(-2px); filter: brightness(1.07); }
.relic-btn:active { transform: translateY(0); }

.relic-btn__label { position: relative; z-index: 2; }

.relic-btn__gem {
    position: absolute;
    top: 50%;
    width: 26px;
    height: 26px;
    transform: translateY(-50%);
    filter: drop-shadow(0 0 8px rgba(255, 220, 140, .55));
    pointer-events: none;
}
.relic-btn__gem--left { left: -13px; }
.relic-btn__gem--right { right: -13px; }
.relic-btn__gem svg { display: block; width: 100%; height: 100%; }

.relic-btn--lg { min-height: 64px; padding: 1rem 3rem; font-size: clamp(1rem, 2.6vw, 1.2rem); }
.relic-btn--sm { min-height: 48px; padding: .6rem 1.8rem; font-size: .9rem; }
.relic-btn--block { display: flex; width: 100%; }

.ghost-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 44px;
    font-weight: 600;
    color: var(--gold-200);
    text-decoration: none;
    border-bottom: 1px solid rgba(226, 185, 97, .5);
}
.ghost-link:hover { color: var(--gold-100); border-bottom-color: var(--gold-200); }

/* ============================================
   BREADCRUMBS
   ============================================ */

.crumbs { padding-block: 1rem .25rem; }
.crumbs__list {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: .85rem;
    color: var(--text-dim);
}
.crumbs__item + .crumbs__item::before {
    content: "›";
    margin-right: .5rem;
    color: var(--gold-500);
}
.crumbs a { color: var(--gold-300); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--text); }

/* ============================================
   SURFACES: STONE / TABLET / PLAQUE
   ============================================ */

.stone-card {
    position: relative;
    padding: clamp(1.1rem, 3vw, 1.7rem);
    border: 1px solid rgba(226, 185, 97, .45);
    border-radius: var(--radius-m);
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(201, 153, 47, .12), transparent 62%),
        linear-gradient(180deg, rgba(19, 43, 36, .94), rgba(5, 16, 12, .96));
    box-shadow: inset 0 1px 0 rgba(255, 238, 194, .18), var(--shadow-deep);
}
.stone-card__medal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: .85rem;
    border: 2px solid var(--gold-400);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 28%, rgba(255, 238, 194, .25), rgba(10, 26, 20, .9));
    color: var(--gold-200);
}
.stone-card__title { margin-bottom: .45rem; }
.stone-card__text { color: var(--text-dim); margin-bottom: 0; }
.stone-card__meta {
    margin: .75rem 0 0;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--jade-300);
}

.tablet-card {
    position: relative;
    padding: clamp(1.1rem, 3vw, 1.6rem);
    border: 2px solid var(--gold-300);
    border-radius: 10px 18px 10px 18px;
    background: linear-gradient(165deg, #e8d4ab 0%, #c6a673 55%, #a98b5a 100%);
    color: var(--text-dark);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, .5),
        inset 0 -12px 22px rgba(90, 58, 18, .25),
        var(--shadow-deep);
}
.tablet-card__medal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: .75rem;
    border: 2px solid #6d4f1b;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 28%, #fbe6b5, #c99a3a);
    color: #3a2608;
}
.tablet-card__title { color: #2c1d0a; margin-bottom: .4rem; }
.tablet-card__text { color: #3c2a12; margin-bottom: 0; }

.glyph {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.plaque {
    position: relative;
    padding: 1.15rem .9rem;
    text-align: center;
    border: 2px solid var(--gold-400);
    border-radius: var(--radius-s);
    background:
        linear-gradient(180deg, rgba(124, 96, 53, .55), rgba(8, 23, 19, .95));
    box-shadow: inset 0 1px 0 rgba(255, 238, 194, .35), 0 12px 26px rgba(0, 0, 0, .45);
}
.plaque__notch {
    position: absolute;
    top: -8px;
    width: 16px;
    height: 16px;
}
.plaque__notch--l { left: 10px; }
.plaque__notch--r { right: 10px; }
.plaque__value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 4vw, 1.9rem);
    font-weight: 700;
    color: var(--gold-100);
    line-height: 1.1;
}
.plaque__label {
    display: block;
    margin-top: .35rem;
    font-size: .82rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-dim);
}

/* Steps */
.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}
.step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: clamp(1rem, 2.6vw, 1.45rem);
    border: 1px solid rgba(226, 185, 97, .45);
    border-radius: var(--radius-m);
    background: linear-gradient(180deg, rgba(13, 32, 27, .92), rgba(5, 16, 12, .96));
    box-shadow: var(--shadow-deep);
    margin: 0;
}
.step__num {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid var(--gold-300);
    background: radial-gradient(circle at 35% 28%, #fbe6b5, #a9781f);
    color: #2c1d0a;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
}
.step__title { margin-bottom: .35rem; }
.step__text { color: var(--text-dim); margin-bottom: 0; }
.step__note {
    margin: .55rem 0 0;
    font-size: .85rem;
    color: var(--jade-300);
    font-weight: 600;
}

/* Medallions */
.medallion { text-align: center; }
.medallion__disc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: .85rem;
    border: 3px solid var(--gold-400);
    border-radius: 50%;
    background: radial-gradient(circle at 36% 28%, rgba(255, 238, 194, .3), rgba(8, 23, 19, .95));
    color: var(--gold-200);
    box-shadow: 0 0 26px rgba(201, 153, 47, .2);
}
.medallion__disc .glyph { width: 32px; height: 32px; }
.medallion__title { margin-bottom: .3rem; font-size: 1.05rem; }
.medallion__text { color: var(--text-dim); margin: 0; font-size: .95rem; }

/* ============================================
   MEDIA
   ============================================ */

.relic-art {
    position: relative;
    margin: 0;
    display: flex;
    justify-content: center;
    isolation: isolate;
}
.relic-art::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4%;
    width: 78%;
    height: 42%;
    transform: translateX(-50%);
    border-radius: 50%;
    filter: blur(26px);
    z-index: -1;
}
.relic-art--gold::before { background: rgba(226, 185, 97, .35); }
.relic-art--jade::before { background: rgba(47, 211, 154, .3); }
.relic-art--magenta::before { background: rgba(224, 98, 198, .28); }
.relic-art img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 440px;
    object-fit: contain;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .55));
}

.framed-media {
    position: relative;
    margin: 0;
    border: 3px solid var(--gold-400);
    border-radius: var(--radius-m);
    overflow: hidden;
    background: var(--ink-800);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .7), var(--shadow-deep);
}
.framed-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.framed-media figcaption {
    padding: .6rem .9rem;
    font-size: .85rem;
    color: var(--text-dim);
    background: rgba(5, 16, 12, .92);
}

/* Portals (stone arch cards) */
.portal {
    position: relative;
    text-align: center;
    padding-top: 1.25rem;
}
.portal__key {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 26px;
    height: 26px;
    filter: drop-shadow(0 0 10px rgba(47, 211, 154, .6));
}
.portal__art {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0 auto .9rem;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .6));
}
.portal__title { margin-bottom: .4rem; }
.portal__text { color: var(--text-dim); margin: 0 auto; max-width: 34ch; }

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

.faq {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .75rem;
    align-items: start;
    max-width: 56rem;
    margin-inline: auto;
}
.faq__item {
    align-self: start;
    border: 1px solid rgba(226, 185, 97, .4);
    border-radius: var(--radius-m);
    background: linear-gradient(180deg, rgba(19, 43, 36, .9), rgba(5, 16, 12, .95));
    overflow: hidden;
}
.faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 56px;
    padding: .9rem 1.1rem;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--gold-200);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__chev {
    flex: none;
    width: 24px;
    height: 24px;
    color: var(--gold-300);
    transition: transform .2s ease;
}
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a {
    padding: 0 1.1rem 1.1rem;
    border-top: 1px solid rgba(226, 185, 97, .22);
    background: rgba(3, 11, 8, .55);
    box-shadow: inset 0 8px 14px rgba(0, 0, 0, .35);
}
.faq__a p {
    margin: .9rem 0 0;
    color: var(--text-dim);
}

@media (prefers-reduced-motion: reduce) {
    .faq__chev { transition: none; }
    html { scroll-behavior: auto; }
}

/* ============================================
   CTA PANEL
   ============================================ */

.cta-panel {
    position: relative;
    isolation: isolate;
    border: 3px solid var(--gold-400);
    border-radius: var(--radius-l);
    padding: clamp(1.75rem, 5vw, 3.5rem) clamp(1.1rem, 4vw, 3rem);
    text-align: center;
    background: linear-gradient(180deg, rgba(13, 32, 27, .95), rgba(5, 16, 12, .97));
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .7), var(--shadow-deep), 0 0 50px rgba(23, 168, 119, .12);
    overflow: hidden;
}
.cta-panel--media {
    background-size: cover;
    background-position: center 55%;
    background-repeat: no-repeat;
}
.cta-panel--media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(60% 55% at 50% 72%, rgba(201, 153, 47, .3), transparent 72%),
        linear-gradient(180deg, rgba(5, 16, 12, .72), rgba(5, 16, 12, .92));
}
.cta-panel__corner {
    position: absolute;
    width: 34px;
    height: 34px;
    border: 3px solid var(--gold-300);
}
.cta-panel__corner--tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.cta-panel__corner--br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.cta-panel__inner { position: relative; max-width: 46rem; margin-inline: auto; }
.cta-panel__title { margin-bottom: .6rem; text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }
.cta-panel__text {
    color: var(--text);
    text-shadow: 0 2px 10px rgba(0, 0, 0, .75);
    margin-bottom: 1.6rem;
}
.cta-panel__note {
    margin: 1.1rem 0 0;
    font-size: .85rem;
    color: var(--text-dim);
}

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

.site-footer {
    position: relative;
    margin-top: clamp(2.5rem, 6vw, 4.5rem);
    padding-block: clamp(2rem, 5vw, 3.25rem) 1.5rem;
    border-top: 3px solid var(--gold-500);
    background:
        linear-gradient(180deg, rgba(27, 36, 30, .96), rgba(4, 11, 9, .99));
    box-shadow: inset 0 1px 0 rgba(255, 238, 194, .25);
}

.footer-grid {
    display: grid;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) {
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

.footer-logo {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gold-200);
    margin-bottom: .6rem;
}
.footer-note { color: var(--text-dim); font-size: .93rem; margin: 0; }

.footer-head {
    font-size: .85rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--jade-300);
    margin-bottom: .75rem;
}
.footer-list, .footer-pays {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-list li { margin-bottom: .15rem; }
.footer-list a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: var(--gold-200);
    text-decoration: none;
    font-size: .95rem;
}
.footer-list a:hover { text-decoration: underline; color: var(--gold-100); }

.footer-pays {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}
.footer-pays li {
    margin: 0;
    padding: .3rem .6rem;
    border: 1px solid rgba(226, 185, 97, .35);
    border-radius: 6px;
    background: rgba(10, 26, 20, .8);
    font-size: .78rem;
    letter-spacing: .04em;
    color: var(--text-dim);
}

.footer-bottom {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-top: clamp(1.5rem, 4vw, 2.25rem);
    padding-top: 1.25rem;
    border-top: 1px solid rgba(226, 185, 97, .28);
}
.footer-bottom p {
    margin: 0;
    font-size: .85rem;
    color: var(--text-dim);
}
.age-badge {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 2px solid #e05a4a;
    border-radius: 50%;
    color: #ff8f7e;
    font-weight: 700;
    font-size: .9rem;
}
.footer-copy {
    margin: 1.1rem 0 0;
    font-size: .8rem;
    color: #a99a80;
}

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

.hero--home .hero__inner { position: relative; }
.hero--home .hero__inner::before {
    content: "";
    position: absolute;
    inset: -12% -8% -18%;
    z-index: -1;
    background: radial-gradient(60% 55% at 50% 55%, rgba(201, 153, 47, .32), rgba(5, 16, 12, .55) 62%, transparent 82%);
    filter: blur(8px);
    pointer-events: none;
}

.hero__offer {
    list-style: none;
    margin: 1.2rem 0 1.9rem;
    padding: 0;
    display: grid;
    gap: .35rem;
}
.hero__offer li {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.05rem, 3.4vw, 1.55rem);
    color: var(--gold-100);
    text-shadow: 0 2px 12px rgba(0, 0, 0, .85);
    margin: 0;
}

.page-updated {
    margin: 0 0 1.1rem;
    font-size: .82rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-dim);
    text-align: center;
}

/* ---- Bonus strip ---- */
.bonus-strip {
    position: relative;
    padding: clamp(1.4rem, 4vw, 2.3rem) clamp(1.1rem, 3vw, 2.4rem);
    border: 3px solid var(--gold-400);
    border-radius: var(--radius-m);
    background:
        radial-gradient(90% 120% at 50% 0%, rgba(201, 153, 47, .12), transparent 65%),
        linear-gradient(180deg, rgba(8, 23, 19, .96), rgba(3, 11, 8, .98));
    box-shadow:
        inset 0 0 0 1px rgba(0, 0, 0, .75),
        0 0 36px rgba(94, 168, 255, .14),
        var(--shadow-deep);
}
.bonus-strip__filament {
    position: absolute;
    inset: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    pointer-events: none;
}
.bonus-strip__filament rect {
    fill: none;
    stroke: #5ea8ff;
    stroke-width: 2;
    filter: drop-shadow(0 0 6px rgba(94, 168, 255, .85));
}
.bonus-strip__gem {
    position: absolute;
    top: 50%;
    width: 26px;
    height: 26px;
    transform: translateY(-50%);
    filter: drop-shadow(0 0 10px rgba(94, 168, 255, .7));
    pointer-events: none;
}
.bonus-strip__gem--l { left: -14px; }
.bonus-strip__gem--r { right: -14px; }
.bonus-strip__gem svg { display: block; width: 100%; height: 100%; }

.bonus-strip__items {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: clamp(1.1rem, 3vw, 1.75rem);
}
@media (min-width: 900px) {
    .bonus-strip__items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.bonus-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
}
.bonus-item .relic-art {
    flex: 0 0 104px;
    margin: 0;
}
.bonus-item .relic-art img { max-width: 104px; }
.bonus-item__title {
    font-size: 1.02rem;
    margin-bottom: .3rem;
}
.bonus-item__body p {
    margin: 0;
    font-size: .93rem;
    color: var(--text-dim);
}

/* ---- Game portals ---- */
.portals { position: relative; }
.portals__arc {
    display: none;
    position: absolute;
    top: -6px;
    left: 4%;
    width: 92%;
    height: 90px;
    z-index: 0;
    pointer-events: none;
    opacity: .75;
}
@media (min-width: 1024px) {
    .portals__arc { display: block; }
}
.portals .portal {
    position: relative;
    isolation: isolate;
}
.portals .portal::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 56%;
    width: 72%;
    height: 90px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(226, 185, 97, .38), transparent 70%);
    filter: blur(16px);
    z-index: -1;
}

/* ---- VIP teaser ---- */
.vip-grid {
    display: grid;
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: center;
}
@media (min-width: 1024px) {
    .vip-grid { grid-template-columns: 1.05fr .95fr; }
    .vip-grid .framed-media { height: 100%; }
}
.vip-scroll {
    position: relative;
    display: grid;
    place-items: center;
}
.vip-scroll__paper {
    grid-area: 1 / 1;
    width: 100%;
    max-width: 520px;
    height: auto;
    filter: drop-shadow(0 16px 26px rgba(0, 0, 0, .55));
}
.vip-scroll__copy {
    grid-area: 1 / 1;
    width: 70%;
    max-width: 340px;
    align-self: center;
    justify-self: center;
}
.vip-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .5rem;
}
.vip-list li {
    position: relative;
    margin: 0;
    padding-left: 1.1rem;
    font-size: clamp(.76rem, 2.5vw, .95rem);
    line-height: 1.4;
    font-weight: 600;
    color: #3a2810;
}
.vip-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .5em;
    width: 7px;
    height: 7px;
    transform: rotate(45deg);
    background: #a9781f;
}

/* ---- Payments & trust tablets ---- */
.trust-grid {
    display: grid;
    gap: clamp(1rem, 3vw, 1.75rem);
    align-items: stretch;
}
@media (min-width: 768px) {
    .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.slab {
    position: relative;
    height: 100%;
    padding: clamp(1.2rem, 3.2vw, 1.9rem);
    border: 1px solid #8c6d38;
    border-radius: 18px 10px 20px 12px;
    background:
        radial-gradient(110% 70% at 20% 0%, rgba(255, 255, 255, .22), transparent 60%),
        linear-gradient(165deg, #e9d7b0 0%, #cbac7a 58%, #ad8f60 100%);
    color: #32230c;
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, .55),
        inset 0 -16px 28px rgba(90, 58, 18, .22),
        var(--shadow-deep);
}
.slab h3 { color: #2b1c08; }
.slab p { color: #3c2a12; }
.slab__note {
    margin: 1rem 0 0;
    font-size: .92rem;
    font-weight: 600;
}
.slab__note a { color: #5a3c0c; }

.pay-rows {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .85rem;
}
.pay-row {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin: 0;
    font-size: .94rem;
    color: #3c2a12;
}
.coin-medal {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid #7d5c1f;
    background: radial-gradient(circle at 35% 28%, #fbe6b5, #c99a3a);
    color: #3a2608;
}

.slab--trust { text-align: left; }
.crest {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: .8rem;
    border: 2px solid #7d5c1f;
    border-radius: 14px 14px 20px 20px / 14px 14px 26px 26px;
    background: radial-gradient(circle at 38% 26%, #fbe6b5, #c0923a);
    color: #3a2608;
}
.trust-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .4rem;
}
.trust-list li {
    position: relative;
    margin: 0;
    padding-left: 1.2rem;
    font-weight: 600;
    color: #3c2a12;
    font-size: .94rem;
}
.trust-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
    background: #8a6320;
}
.seals {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.2rem;
}
.seal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 2px dashed #7d5c1f;
    border-radius: 50%;
    color: #5a3c0c;
    background: rgba(255, 255, 255, .22);
}

/* ---- SEO slab ---- */
.seo-slab {
    position: relative;
    padding: clamp(1.5rem, 4vw, 2.75rem);
    border: 1px solid rgba(226, 185, 97, .35);
    border-radius: var(--radius-m);
    background: linear-gradient(180deg, #071410 0%, #040d0a 100%);
    box-shadow: inset 0 1px 0 rgba(255, 238, 194, .12), var(--shadow-deep);
    overflow: hidden;
}

.seo-slab__rule {
    display: block;
    width: 180px;
    max-width: 55%;
    height: 2px;
    margin-bottom: 1.1rem;
    background: linear-gradient(90deg, var(--gold-400), transparent);
}
.seo-slab p {
    position: relative;
    z-index: 1;
    color: var(--text-dim);
    max-width: 76ch;
}
.seo-slab h2 { position: relative; z-index: 1; }
.seo-slab h1 { position: relative; z-index: 1; margin-bottom: .5rem; }

/* ============================================
   PAYMENTS PAGE (metody-platnosci.html)
   ============================================ */

.hero--vault::after {
    content: "";
    position: absolute;
    inset: 14px;
    z-index: 0;
    border: 1px solid rgba(243, 212, 146, .55);
    border-radius: 18px;
    box-shadow: inset 0 0 0 6px rgba(5, 16, 12, .22), inset 0 0 40px rgba(0, 0, 0, .4);
    pointer-events: none;
}
.hero__rivet {
    position: absolute;
    z-index: 1;
    width: 13px;
    height: 13px;
    transform: rotate(45deg);
    background: radial-gradient(circle at 35% 30%, #ffd97a, #c2560f);
    border: 1px solid var(--gold-200);
    border-radius: 2px;
    pointer-events: none;
}
.hero__rivet--tl { top: 22px; left: 22px; }
.hero__rivet--tr { top: 22px; right: 22px; }
.hero__rivet--bl { bottom: 22px; left: 22px; }
.hero__rivet--br { bottom: 22px; right: 22px; }
.hero__gate {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
    height: 120px;
    z-index: 0;
    opacity: .5;
    pointer-events: none;
}
.hero__mist {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 32%;
    z-index: 0;
    background: linear-gradient(180deg, transparent, rgba(226, 185, 97, .07) 45%, rgba(5, 16, 12, .55));
    pointer-events: none;
}

/* ---- Deposit method tablets ---- */
.pay-tablets {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}
@media (min-width: 640px) {
    .pay-tablets { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.pay-tablets__vine {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 40px;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
    opacity: .45;
}
.pay-tablets .tablet-card { position: relative; z-index: 1; }

/* ---- Crypto section ---- */
.crypto-section { position: relative; isolation: isolate; }
.crypto-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(60% 50% at 50% 100%, rgba(23, 168, 119, .22), transparent 72%),
        radial-gradient(40% 30% at 50% 100%, rgba(201, 153, 47, .16), transparent 72%);
}

.crypto-layout {
    display: grid;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: center;
}
@media (min-width: 900px) {
    .crypto-layout { grid-template-columns: 1fr 1fr; }
}
.crypto-layout .relic-art { margin: 0 auto; max-width: 320px; }
.crypto-steps {
    position: relative;
    display: grid;
    gap: 1rem;
}
.crypto-steps__line {
    position: absolute;
    left: 19px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    height: calc(100% - 12px);
    z-index: 0;
    pointer-events: none;
}
.crypto-steps__line line {
    stroke: var(--gold-400);
    stroke-width: 2;
    stroke-dasharray: 3 7;
    stroke-linecap: round;
}
.crypto-step {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: .9rem 1rem;
    border: 1px solid rgba(226, 185, 97, .4);
    border-radius: var(--radius-s);
    background: linear-gradient(180deg, rgba(13, 32, 27, .9), rgba(5, 16, 12, .95));
    box-shadow: var(--shadow-deep);
    margin: 0;
}
.crypto-step__num {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--gold-300);
    background: radial-gradient(circle at 35% 28%, #fbe6b5, #a9781f);
    color: #2c1d0a;
    font-family: var(--font-display);
    font-weight: 700;
}
.crypto-step h3 { margin-bottom: .25rem; font-size: 1rem; }
.crypto-step p { margin: 0; color: var(--text-dim); font-size: .92rem; }

/* ---- Limits stele table ---- */
.limits-wrap { position: relative; }
.limits-wrap__column {
    display: none;
    position: absolute;
    top: 0;
    height: 100%;
    width: 40px;
    opacity: .2;
    pointer-events: none;
}
@media (min-width: 1024px) {
    .limits-wrap__column { display: block; }
    .limits-wrap__column--l { left: -56px; }
    .limits-wrap__column--r { right: -56px; }
}
.limits-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    border: 2px solid var(--gold-400);
    border-radius: var(--radius-m);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(13, 32, 27, .95), rgba(5, 16, 12, .97));
}
.limits-table thead th {
    background: linear-gradient(180deg, #1b2f28, #070f0c);
    color: var(--gold-200);
    text-align: left;
    padding: .85rem .9rem;
    font-size: .76rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-bottom: 2px solid var(--gold-400);
}
.limits-table thead th:not(:last-child) { border-right: 1px solid rgba(226, 185, 97, .3); }
.limits-table tbody td {
    padding: .85rem .9rem;
    font-size: .88rem;
    color: var(--text-dim);
    border-bottom: 1px solid rgba(226, 185, 97, .18);
}
.limits-table tbody td:not(:last-child) { border-right: 1px solid rgba(226, 185, 97, .14); }
.limits-table tbody tr:nth-child(even) td { background: rgba(0, 0, 0, .22); }
.limits-table tbody tr:last-child td { border-bottom: 0; }

/* ---- Processing time plaques ---- */
.timing-plaques {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.1rem;
    margin-top: 1.5rem;
}
@media (min-width: 768px) {
    .timing-plaques { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.timing-plaques__conduit {
    display: none;
    position: absolute;
    top: 30px;
    left: 8%;
    width: 84%;
    height: 40px;
    z-index: 0;
    pointer-events: none;
}
@media (min-width: 768px) {
    .timing-plaques__conduit { display: block; }
}
.timing-plaques__conduit line {
    stroke: var(--gold-400);
    stroke-width: 2;
    filter: drop-shadow(0 0 6px rgba(226, 185, 97, .6));
}
.timing-plaques__conduit circle {
    fill: var(--jade-400);
    filter: drop-shadow(0 0 8px rgba(47, 211, 154, .8));
    animation: sankra-pulse-dot 2.4s ease-in-out infinite;
}
@keyframes sankra-pulse-dot {
    0%, 100% { opacity: .5; }
    50% { opacity: 1; }
}
.timing-plaque {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 1.2rem 1rem;
    border: 2px solid var(--gold-400);
    border-radius: var(--radius-m);
    background: linear-gradient(180deg, rgba(124, 96, 53, .5), rgba(8, 23, 19, .95));
    box-shadow: inset 0 1px 0 rgba(255, 238, 194, .3), var(--shadow-deep);
}
.timing-plaque__icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    margin-bottom: .6rem;
    color: var(--gold-200);
}
.timing-plaque h3 { font-size: 1rem; margin-bottom: .4rem; }
.timing-plaque p { margin: 0; color: var(--text-dim); font-size: .88rem; }

/* ---- Trust wide panel ---- */
.trust-wide {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    max-width: 68rem;
    margin-inline: auto;
    border-top: 3px solid var(--gold-300);
}
.trust-wide .crest { margin-bottom: 0; flex: none; }
.trust-wide__body { width: 100%; }
@media (min-width: 768px) {
    .trust-wide { flex-direction: row; gap: 1.5rem; }
    .trust-wide .crest { margin-top: .2rem; }
}

@media (prefers-reduced-motion: reduce) {
    .timing-plaques__conduit circle { animation: none; }
}

/* ============================================
   SITEMAP PAGE
   ============================================ */

.sitemap-intro p { max-width: 74ch; }

.sitemap-list {
    position: relative;
}
.sitemap-list__connector {
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 16px;
    height: calc(100% - 12px);
    pointer-events: none;
}
.sitemap-list__connector line {
    stroke: var(--gold-400);
    stroke-width: 2;
    stroke-dasharray: 3 7;
    stroke-linecap: round;
}

.sitemap-rows {
    list-style: none;
    margin: 0 0 0 26px;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.sitemap-row {
    position: relative;
    padding: clamp(1rem, 2.4vw, 1.3rem) clamp(1rem, 2.6vw, 1.4rem);
    border-left: 4px solid var(--gold-400);
    border-radius: 0 var(--radius-m) var(--radius-m) 0;
    background: linear-gradient(180deg, rgba(19, 43, 36, .88), rgba(5, 16, 12, .94));
    box-shadow: inset 0 1px 0 rgba(255, 238, 194, .12), var(--shadow-deep);
}
.sitemap-row__title {
    margin: 0 0 .4rem;
    font-size: 1.05rem;
}
.sitemap-row__title a {
    color: var(--gold-200);
    text-decoration: none;
}
.sitemap-row__title a:hover {
    text-decoration: underline;
    color: var(--gold-100);
}
.sitemap-row p {
    margin: 0;
    color: var(--text-dim);
    font-size: .94rem;
}

.sitemap-note {
    margin-top: clamp(1.25rem, 3vw, 1.9rem);
    text-align: center;
    font-size: .92rem;
    color: var(--text-dim);
}

/* ============================================
   KASYNO PAGE
   ============================================ */

.library-layout {
    display: grid;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: center;
}
@media (min-width: 900px) {
    .library-layout { grid-template-columns: .9fr 1.1fr; }
}
.library-layout .relic-art {
    margin: 0 auto;
    max-width: 300px;
}
.library-copy p { color: var(--text-dim); }
.library-copy .grid { margin-top: 1.5rem; }

/* Providers */
.providers-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: .5rem;
}
@media (min-width: 640px) {
    .providers-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.providers-grid__vine {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 40px;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
    opacity: .5;
}
.provider-tile {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 68px;
    padding: .7rem .8rem;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .92rem;
    letter-spacing: .03em;
    color: var(--gold-200);
    background: linear-gradient(165deg, rgba(205, 176, 131, .18), rgba(169, 139, 90, .08));
    border: 1px solid rgba(226, 185, 97, .4);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

/* Category tabs */
.cat-tabs-wrap { position: relative; }
.cat-tabs {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding-bottom: .6rem;
    margin-bottom: 1.6rem;
    border-bottom: 1px solid rgba(226, 185, 97, .25);
}
.cat-tab {
    position: relative;
    min-height: 44px;
    padding: .55rem 1.1rem;
    border: 1px solid rgba(226, 185, 97, .4);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(19, 43, 36, .85), rgba(5, 16, 12, .9));
    color: var(--text-dim);
    font-weight: 600;
    font-size: .86rem;
    letter-spacing: .03em;
    cursor: pointer;
    transition: color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cat-tab:hover { color: var(--gold-200); }
.cat-tab.is-active {
    color: var(--gold-100);
    border-color: var(--gold-300);
    box-shadow: inset 0 0 14px rgba(226, 185, 97, .35), 0 0 14px rgba(226, 185, 97, .2);
}
.cat-tabs__underline {
    display: none;
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 5px;
    width: 40px;
    pointer-events: none;
    transition: transform .25s ease, width .25s ease;
}
.cat-tabs__underline line {
    stroke: var(--gold-300);
    stroke-width: 3;
    stroke-linecap: round;
    filter: drop-shadow(0 0 6px rgba(226, 185, 97, .7));
}
@media (min-width: 768px) {
    .cat-tabs__underline { display: block; }
}
@media (prefers-reduced-motion: reduce) {
    .cat-tabs__underline { transition: none; }
}

.live-table-media { aspect-ratio: 3 / 2; }

/* Demo + mobile */
.demo-mobile-layout {
    display: grid;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: center;
}
@media (min-width: 900px) {
    .demo-mobile-layout { grid-template-columns: 1.15fr .85fr; }
}
.demo-mobile-layout .relic-art {
    margin: 0 auto;
    max-width: 280px;
}
.check-strip {
    list-style: none;
    margin: 1.1rem 0;
    padding: 0;
    display: grid;
    gap: .6rem;
}
.check-strip li {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin: 0;
    padding: .7rem .9rem;
    border: 1px solid rgba(226, 185, 97, .35);
    border-radius: var(--radius-s);
    background: linear-gradient(180deg, rgba(13, 32, 27, .85), rgba(5, 16, 12, .9));
    color: var(--text-dim);
    font-size: .92rem;
}
.check-strip .glyph { flex: none; color: var(--jade-300); }

/* VIP teaser */
.vip-teaser-layout {
    display: grid;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: center;
}
@media (min-width: 900px) {
    .vip-teaser-layout { grid-template-columns: .75fr 1.25fr; }
}
.vip-teaser-layout .relic-art {
    margin: 0 auto;
    max-width: 240px;
}
.vip-ladder {
    width: 100%;
    max-width: 420px;
    height: auto;
    margin-top: 1.35rem;
}

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

.hero--treasure .hero__inner { position: relative; }
.hero--treasure .hero__inner::before {
    content: "";
    position: absolute;
    inset: -12% -8% -18%;
    z-index: -1;
    background: radial-gradient(60% 55% at 50% 55%, rgba(201, 153, 47, .32), rgba(5, 16, 12, .55) 62%, transparent 82%);
    filter: blur(8px);
    pointer-events: none;
}

/* ---- Welcome package terrace ---- */
.steps-terrace {
    position: relative;
    isolation: isolate;
}
.steps-terrace__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center 60%;
    background-repeat: no-repeat;
}
.steps-terrace__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(5, 16, 12, .8) 0%, rgba(5, 16, 12, .5) 32%, rgba(5, 16, 12, .92) 100%);
}
.steps-terrace__inner { position: relative; }
.steps-terrace__body { position: relative; }
.steps-terrace__vine {
    display: none;
    position: absolute;
    left: -8px;
    top: 0;
    width: 28px;
    height: 100%;
    z-index: 0;
    opacity: .85;
    pointer-events: none;
}
@media (min-width: 768px) {
    .steps-terrace__vine { display: block; }
}
.steps-terrace__body .steps {
    position: relative;
    z-index: 1;
}

/* ---- Reload offers ---- */
.reload-layout {
    display: grid;
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: center;
}
@media (min-width: 900px) {
    .reload-layout { grid-template-columns: .8fr 1.2fr; }
}
.reload-layout .relic-art {
    margin: 0 auto;
    max-width: 260px;
}
.reload-cards {
    display: grid;
    gap: 1rem;
    align-items: start;
}
@media (min-width: 640px) {
    .reload-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- Cashback calculation tablet ---- */
.cashback-layout {
    display: grid;
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: start;
}
@media (min-width: 900px) {
    .cashback-layout { grid-template-columns: 1.1fr .9fr; }
}
.cashback-copy p { color: var(--text-dim); }

.calc-tablet {
    position: relative;
    padding: clamp(1.1rem, 3vw, 1.6rem);
    border: 2px solid var(--gold-300);
    border-radius: 14px;
    background: linear-gradient(165deg, #e8d4ab 0%, #c6a673 55%, #a98b5a 100%);
    color: var(--text-dark);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, .5),
        inset 0 -12px 22px rgba(90, 58, 18, .25),
        var(--shadow-deep);
}
.calc-tablet__scales {
    display: block;
    width: 46px;
    height: 46px;
    margin: 0 auto .9rem;
    color: #3a2608;
}
.calc-rows {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
}
.calc-rows li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin: 0;
    padding: .7rem 0;
    border-top: 1px solid rgba(90, 58, 18, .35);
    font-size: .9rem;
    color: #3c2a12;
}
.calc-rows li:first-child { border-top: 0; padding-top: 0; }
.calc-rows li strong {
    color: #2b1c08;
    font-family: var(--font-display);
    white-space: nowrap;
}

/* ---- Wagering summary slab ---- */
.wager-slab {
    position: relative;
    max-width: 64rem;
    margin-inline: auto;
    padding: clamp(1.4rem, 3.5vw, 2.2rem);
    border: 1px solid rgba(226, 185, 97, .4);
    border-radius: var(--radius-m);
    background: linear-gradient(180deg, rgba(13, 32, 27, .94), rgba(5, 16, 12, .97));
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .6), var(--shadow-deep);
}
.wager-slab__progress {
    display: block;
    width: 100%;
    max-width: 480px;
    height: 60px;
    margin: 0 auto 1.3rem;
}
.wager-slab p {
    color: var(--text-dim);
    max-width: 72ch;
    margin-inline: auto;
}
.wager-slab p + p { margin-top: 1rem; }

/* ---- VIP tier ladder ---- */
.tier-ladder {
    position: relative;
    margin-top: 1.5rem;
    margin-bottom: 1.75rem;
}
.tier-ladder__line {
    position: absolute;
    top: -8px;
    left: 0;
    width: 100%;
    height: 56px;
    z-index: 0;
    pointer-events: none;
    opacity: .8;
}
.tier-ladder__list {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: clamp(.75rem, 2vw, 1.5rem);
}
.tier {
    flex: 1 1 140px;
    min-width: 140px;
    margin: 0;
    padding: 1rem .75rem;
    text-align: center;
    border: 2px solid var(--gold-400);
    border-radius: var(--radius-s) var(--radius-s) 0 0;
    background: linear-gradient(180deg, rgba(124, 96, 53, .5), rgba(8, 23, 19, .95));
    box-shadow: inset 0 1px 0 rgba(255, 238, 194, .3), var(--shadow-deep);
}
.tier:nth-child(1) { margin-top: 2.6rem; }
.tier:nth-child(2) { margin-top: 1.7rem; }
.tier:nth-child(3) { margin-top: .85rem; }
.tier:nth-child(4) { margin-top: 0; }
.tier__gem {
    display: inline-flex;
    width: 28px;
    height: 28px;
    margin-bottom: .5rem;
    color: var(--gold-200);
    filter: drop-shadow(0 0 8px rgba(226, 185, 97, .6));
}
.tier h3 { font-size: .98rem; margin-bottom: .3rem; }
.tier p { font-size: .85rem; color: var(--text-dim); margin: 0; }

/* ---- Trust baseline ---- */
.trust-baseline {
    height: 2px;
    max-width: 480px;
    margin: 1.75rem auto 0;
    background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}