/* =========================================================
   SANKRA CASINO - design system
   Lost temple / jungle adventure: near-black, gold, turquoise
   ========================================================= */

:root {
    /* surfaces */
    --c-void: #060807;
    --c-bg: #0b0f0e;
    --c-bg-2: #0f1614;
    --c-stone: #18211e;
    --c-stone-2: #222d28;
    --c-stone-3: #2d3a33;

    /* accents */
    --c-gold: #e3b24a;
    --c-gold-light: #f7dc99;
    --c-gold-deep: #9a7127;
    --c-teal: #49e0d2;
    --c-teal-deep: #0f6f68;

    /* text */
    --c-ink: #f0e8d7;
    --c-muted: #bbb09a;
    --c-parchment: #e7d6ae;
    --c-parchment-2: #d8c295;
    --c-ink-dark: #2b2216;

    /* effects */
    --glow-gold: 0 0 26px rgba(227, 178, 74, .28);
    --glow-teal: 0 0 22px rgba(73, 224, 210, .30);
    --shadow-deep: 0 18px 46px rgba(0, 0, 0, .55);

    /* geometry */
    --r-sm: 6px;
    --r-md: 12px;
    --r-lg: 20px;
    --container: 1200px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --header-bottom: 66px;

    /* type */
    --f-display: "Cinzel", "Georgia", "Times New Roman", serif;
    --f-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ============================================
   RESET / 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; }
input, textarea, select { max-width: 100%; }
section { overflow: clip; }

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

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

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

body {
    margin: 0;
    background-color: var(--c-bg);
    background-image:
        radial-gradient(1200px 600px at 50% -10%, rgba(15, 111, 104, .22), transparent 60%),
        radial-gradient(900px 500px at 100% 40%, rgba(227, 178, 74, .06), transparent 70%);
    color: var(--c-ink);
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.68;
    overflow-x: hidden;
}

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

h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); color: var(--c-gold); }
h4 { font-size: 1.05rem; color: var(--c-gold); }

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .45em; }

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

strong { color: var(--c-gold-light); font-weight: 600; }

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

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

/* ============================================
   LAYOUT HELPERS
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    position: relative;
    padding-block: clamp(2.8rem, 7vw, 5rem);
}

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

.section--stone {
    background:
        linear-gradient(180deg, var(--c-void), rgba(0, 0, 0, 0) 18%, rgba(0, 0, 0, 0) 82%, var(--c-void)),
        linear-gradient(160deg, #0d1413, #121b18 55%, #0b100f);
}

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

.section-scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(6, 8, 7, .92), rgba(6, 8, 7, .55) 28%, rgba(6, 8, 7, .62) 70%, rgba(6, 8, 7, .95));
}

.grid { display: grid; gap: clamp(1rem, 3vw, 1.8rem); }
.grid-2 { grid-template-columns: minmax(0, 1fr); }
.grid-3 { grid-template-columns: minmax(0, 1fr); }
.split { display: grid; gap: clamp(1.4rem, 4vw, 3rem); align-items: center; }
.items-start { align-items: start; }

.lead { font-size: clamp(1.02rem, 2.2vw, 1.15rem); color: var(--c-ink); }
.muted { color: var(--c-muted); }
.center { text-align: center; }

.glow-amber,
.glow-teal-soft { position: relative; }
.glow-amber::before,
.glow-teal-soft::before {
    content: "";
    position: absolute;
    inset: -12%;
    z-index: -1;
    border-radius: 50%;
    filter: blur(6px);
}
.glow-amber::before { background: radial-gradient(circle, rgba(227, 178, 74, .32), transparent 68%); }
.glow-teal-soft::before { background: radial-gradient(circle, rgba(73, 224, 210, .26), transparent 68%); }

.floor-shadow {
    position: relative;
}
.floor-shadow::after {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 2%;
    height: 26px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(0, 0, 0, .6), transparent 70%);
    z-index: -1;
}

.art-integrated {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

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

@media (min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .split--media-left { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
    .split--media-right { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: linear-gradient(180deg, #19221f, #0c1211 78%, #080c0b);
    border-bottom: 1px solid rgba(227, 178, 74, .38);
    box-shadow: 0 6px 22px rgba(0, 0, 0, .6);
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(73, 224, 210, .55), rgba(227, 178, 74, .75), rgba(73, 224, 210, .55), transparent);
    filter: blur(.4px);
}

.site-header__inner {
    max-width: var(--container);
    margin-inline: auto;
    padding: .5rem var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-height: 62px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    text-decoration: none;
    color: inherit;
    flex-shrink: 1;
    min-width: 0;
}

.site-brand__mark {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    filter: drop-shadow(0 0 8px rgba(73, 224, 210, .45));
}

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

.site-brand__name {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--c-gold-light);
    letter-spacing: .02em;
}

.site-brand__sub {
    font-size: .64rem;
    letter-spacing: .42em;
    text-transform: uppercase;
    color: var(--c-teal);
    margin-top: .18rem;
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 44px;
    padding: .45rem .7rem;
    background: rgba(10, 16, 14, .9);
    border: 1px solid rgba(227, 178, 74, .45);
    border-radius: var(--r-sm);
    color: var(--c-gold-light);
    font-family: var(--f-display);
    font-size: .8rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
}

.nav-toggle__bars { display: grid; gap: 4px; }
.nav-toggle__bars span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile drawer */
.site-nav {
    position: fixed;
    top: var(--header-bottom);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 55;
    background: #0a100e;
    border-top: 1px solid rgba(227, 178, 74, .3);
    padding: 1.2rem var(--gutter) 2rem;
    overflow-y: auto;
    display: none;
}

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

.primary-nav__list {
    list-style: none;
    margin: 0 0 1.2rem;
    padding: 0;
}

.primary-nav__link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: .35rem .25rem;
    font-family: var(--f-display);
    font-size: 1.05rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--c-ink);
    text-decoration: none;
    border-bottom: 1px solid rgba(227, 178, 74, .18);
}

.primary-nav__link:hover,
.primary-nav__link:focus-visible { color: var(--c-gold-light); }

.header-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.header-actions .btn { flex: 1 1 140px; justify-content: center; }

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

    .site-nav {
        position: static;
        display: flex !important;
        align-items: center;
        gap: clamp(1rem, 2.5vw, 2rem);
        background: none;
        border: 0;
        padding: 0;
        overflow: visible;
        height: auto;
    }

    .primary-nav__list { display: flex; gap: clamp(.8rem, 2vw, 1.6rem); margin: 0; }

    .primary-nav__link {
        min-height: 40px;
        font-size: .86rem;
        border: 0;
        padding: .25rem .1rem;
        position: relative;
    }

    .primary-nav__link::after {
        content: "";
        position: absolute;
        left: 0;
        right: 100%;
        bottom: 2px;
        height: 1px;
        background: var(--c-teal);
        box-shadow: var(--glow-teal);
        transition: right .25s ease;
    }
    .primary-nav__link:hover::after,
    .primary-nav__link:focus-visible::after { right: 0; }

    .header-actions .btn { flex: 0 0 auto; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 50px;
    padding: .8rem 1.5rem;
    font-family: var(--f-display);
    font-size: .92rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .25s ease, filter .25s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn__icon { width: 20px; height: 20px; flex: 0 0 auto; }

.btn--gold {
    background: linear-gradient(180deg, #f6d487 0%, #dfa93c 48%, #a97a21 100%);
    color: #221804;
    border-color: #f9e4ab;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 26px rgba(0, 0, 0, .5), var(--glow-gold);
}
.btn--gold:hover {
    color: #221804;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 12px 30px rgba(0, 0, 0, .55), 0 0 30px rgba(73, 224, 210, .4);
}

.btn--teal {
    background: linear-gradient(180deg, rgba(18, 62, 60, .95), rgba(8, 30, 30, .95));
    color: #c9fbf5;
    border-color: rgba(73, 224, 210, .65);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), var(--glow-teal);
}
.btn--teal:hover { color: #ffffff; box-shadow: 0 0 28px rgba(73, 224, 210, .5); }

.btn--ghost {
    background: rgba(12, 18, 16, .7);
    color: var(--c-gold-light);
    border-color: rgba(227, 178, 74, .5);
}
.btn--ghost:hover { color: #fff; border-color: var(--c-gold); box-shadow: var(--glow-gold); }

.btn--sm { min-height: 44px; padding: .55rem 1rem; font-size: .76rem; }
.btn--lg { min-height: 58px; padding: 1rem 2.2rem; font-size: 1rem; }
.btn--full { width: 100%; }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 600;
    color: var(--c-teal);
    text-decoration: underline;
    text-underline-offset: .18em;
}
.text-link:hover { color: var(--c-gold-light); }

/* ============================================
   HERO (shared, pages set the background image)
   ============================================ */
.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(460px, 76vh, 720px);
    padding-block: clamp(2.6rem, 8vw, 5.5rem);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-size: cover;
    background-position: 62% center;
    background-repeat: no-repeat;
}

.hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(180deg, rgba(6, 8, 7, .85) 0%, rgba(6, 8, 7, .35) 35%, rgba(6, 8, 7, .78) 78%, var(--c-bg) 100%),
        linear-gradient(90deg, rgba(6, 8, 7, .92) 0%, rgba(6, 8, 7, .62) 45%, rgba(6, 8, 7, .18) 100%);
}

.hero__glow {
    position: absolute;
    z-index: -1;
    inset: auto 0 10% 0;
    height: 60%;
    background: radial-gradient(42% 60% at 68% 45%, rgba(242, 184, 70, .3), transparent 72%);
    pointer-events: none;
}

.hero__inner { position: relative; z-index: 1; }

.hero__content { max-width: 36rem; }

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--f-display);
    font-size: .74rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--c-teal);
    margin-bottom: .9rem;
}

.hero__text { font-size: clamp(1rem, 2.4vw, 1.14rem); color: var(--c-ink); }

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1.6rem;
}

.hero__note {
    margin-top: 1.1rem;
    font-size: .88rem;
    color: var(--c-muted);
}

.hero__figure {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right bottom;
    pointer-events: none;
    opacity: .9;
}

@media (max-width: 767px) {
    .hero__figure { display: none; }
}

.hero__arch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 1;
    pointer-events: none;
}

/* ============================================
   SECTION HEADINGS (carved banner)
   ============================================ */
.section-head { margin-bottom: clamp(1.4rem, 3.5vw, 2.4rem); }
.section-head--center { text-align: center; max-width: 46rem; margin-inline: auto; }
.section-head--left { text-align: left; }

.section-head__eyebrow {
    font-family: var(--f-display);
    font-size: .72rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--c-teal);
    margin-bottom: .5rem;
}

.section-head__title {
    display: inline-block;
    position: relative;
    padding: .35rem 0 .7rem;
    margin-bottom: .55rem;
}

.section-head__title::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
    box-shadow: 0 0 12px rgba(227, 178, 74, .55);
}

.section-head--center .section-head__title::after { left: 12%; right: 12%; }

.section-head__lead { color: var(--c-muted); margin: 0; }

/* ============================================
   STONE PANEL / TILE
   ============================================ */
.stone-panel {
    position: relative;
    background:
        linear-gradient(180deg, rgba(43, 56, 49, .9), rgba(16, 23, 20, .95)),
        var(--c-stone);
    border: 1px solid rgba(227, 178, 74, .35);
    border-radius: var(--r-md);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .55), inset 0 0 36px rgba(73, 224, 210, .07), var(--shadow-deep);
    padding: clamp(1.1rem, 3vw, 2rem);
}

.stone-panel__corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--c-gold);
    opacity: .75;
}
.stone-panel__corner--tl { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.stone-panel__corner--br { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }

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

.stone-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: clamp(1.1rem, 3vw, 1.6rem);
    background: linear-gradient(170deg, rgba(45, 58, 51, .85), rgba(13, 19, 17, .95));
    border: 2px solid rgba(227, 178, 74, .42);
    border-radius: 18px 18px var(--r-sm) var(--r-sm);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), var(--shadow-deep);
    height: 100%;
}

.stone-tile__rune {
    position: absolute;
    top: 10px;
    left: 12px;
    width: 14px;
    height: 14px;
    border-left: 2px solid rgba(73, 224, 210, .6);
    border-top: 2px solid rgba(73, 224, 210, .6);
}

.stone-tile__medallion {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: var(--c-gold);
    background: radial-gradient(circle at 35% 30%, #22302b, #0c1211);
    border: 1px solid rgba(73, 224, 210, .45);
    box-shadow: 0 0 18px rgba(227, 178, 74, .18);
    margin-bottom: .5rem;
}

.stone-tile:hover .stone-tile__medallion { box-shadow: 0 0 26px rgba(227, 178, 74, .45); }

.stone-tile__icon { width: 26px; height: 26px; }
.stone-tile__title { margin-bottom: .2rem; }

.stone-tile__label {
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--c-teal);
    margin: 0 0 .5rem;
}

.stone-tile__text { color: var(--c-muted); margin-bottom: .6rem; }
.stone-tile__text:last-child { margin-bottom: 0; }
.stone-tile .text-link { margin-top: auto; }

/* ============================================
   MEDIA CARD (framed temple media)
   ============================================ */
.media-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: linear-gradient(180deg, rgba(36, 48, 42, .9), rgba(10, 15, 14, .96));
    border: 1px solid rgba(227, 178, 74, .4);
    border-radius: 22px 22px var(--r-md) var(--r-md);
    box-shadow: inset 0 0 28px rgba(73, 224, 210, .08), var(--shadow-deep);
    overflow: hidden;
}

.media-card__frame {
    position: relative;
    aspect-ratio: 4 / 3;
    border-bottom: 1px solid rgba(227, 178, 74, .35);
    background: #070a09;
}

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

.media-card__frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(6, 8, 7, .85));
    pointer-events: none;
}

.media-card__body {
    padding: clamp(1rem, 2.6vw, 1.5rem);
    display: flex;
    flex-direction: column;
    gap: .2rem;
    flex: 1;
}

.media-card__meta {
    font-size: .74rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--c-teal);
    margin: 0 0 .4rem;
}

.media-card__text { color: var(--c-muted); }
.media-card__body .btn { margin-top: auto; align-self: flex-start; }

/* ============================================
   PARCHMENT / SCROLL CARDS
   ============================================ */
.parchment {
    position: relative;
    padding: clamp(1.3rem, 3.5vw, 2.2rem);
    color: var(--c-ink-dark);
    background:
        radial-gradient(120% 90% at 20% 10%, #f3e3bd, #e2cc9d 55%, #cdb27f 100%);
    border: 1px solid #9a7127;
    box-shadow: inset 0 0 40px rgba(122, 90, 40, .35), var(--shadow-deep);
    clip-path: polygon(0 2%, 3% 0, 97% 1.5%, 100% 0, 99% 50%, 100% 100%, 95% 98%, 4% 100%, 0 97%, 1% 50%);
}

.parchment::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(90deg, rgba(120, 90, 40, .05) 0 2px, transparent 2px 5px),
        repeating-linear-gradient(0deg, rgba(120, 90, 40, .04) 0 2px, transparent 2px 6px);
    mix-blend-mode: multiply;
}

.parchment h2,
.parchment h3,
.parchment h4 { color: #5a4317; }

.parchment a { color: #7a5312; }

.parchment__body { position: relative; }
.parchment__body > :last-child { margin-bottom: 0; }

.parchment__seal {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 64px;
    height: 64px;
    opacity: .6;
}

.parchment-list { list-style: none; padding: 0; margin: 0; }
.parchment-list li {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    padding: .7rem 0;
    border-bottom: 1px solid rgba(122, 90, 40, .35);
}
.parchment-list li:last-child { border-bottom: 0; }
.parchment-list svg { width: 20px; height: 20px; flex: 0 0 auto; color: #7a5312; margin-top: .25rem; }

.scroll-card {
    position: relative;
    padding: 1.6rem 1.3rem;
    color: var(--c-ink-dark);
    background: linear-gradient(180deg, #efe0bc, #ddc79b 60%, #cdb47e);
    border: 1px solid #9a7127;
    border-radius: 4px;
    box-shadow: inset 0 0 26px rgba(122, 90, 40, .3), 0 10px 26px rgba(0, 0, 0, .5);
    text-align: center;
}

.scroll-card::before,
.scroll-card::after {
    content: "";
    position: absolute;
    left: -4px;
    right: -4px;
    height: 14px;
    background: linear-gradient(180deg, #b89555, #8d6c2f);
    border: 1px solid #6f5423;
    border-radius: 7px;
}
.scroll-card::before { top: -7px; }
.scroll-card::after { bottom: -7px; }

.scroll-card__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #9a7127;
    margin: 0 auto .7rem;
    display: block;
}

.scroll-card__quote { font-size: .97rem; margin-bottom: .8rem; }

.scroll-card__role {
    font-family: var(--f-display);
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #6b4f16;
    margin: 0;
}

/* ============================================
   GLASS SLAB (SEO text)
   ============================================ */
.glass-slab {
    position: relative;
    background: linear-gradient(170deg, rgba(14, 44, 44, .72), rgba(8, 18, 18, .85));
    border: 1px solid rgba(227, 178, 74, .45);
    border-radius: 18px;
    box-shadow: 0 0 34px rgba(73, 224, 210, .14), var(--shadow-deep);
    padding: clamp(1.4rem, 4vw, 2.6rem) clamp(1.1rem, 3.5vw, 2.4rem);
}

.glass-slab__frieze { position: absolute; left: 0; width: 100%; height: 12px; }
.glass-slab__frieze--top { top: 6px; }
.glass-slab__frieze--bottom { bottom: 6px; transform: scaleY(-1); }

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

.glass-slab__body a {
    color: var(--c-gold-light);
    text-decoration: underline;
    text-decoration-color: rgba(227, 178, 74, .6);
    text-underline-offset: .22em;
    font-weight: 600;
}
.glass-slab__body a:hover { color: #fff; text-decoration-color: var(--c-teal); }

/* ============================================
   CONDUIT (signature energy connector)
   ============================================ */
.conduit {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.conduit__glow {
    fill: none;
    stroke: rgba(73, 224, 210, .35);
    stroke-width: 10;
    stroke-linecap: round;
    filter: blur(7px);
}

.conduit__line {
    fill: none;
    stroke: rgba(160, 255, 246, .85);
    stroke-width: 2.4;
    stroke-linecap: round;
    filter: drop-shadow(0 0 6px rgba(73, 224, 210, .9));
}

.gear-node {
    width: 24px;
    height: 24px;
    color: var(--c-teal);
    filter: drop-shadow(0 0 6px rgba(73, 224, 210, .8));
}

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

.faq__item {
    background: linear-gradient(180deg, #eee0bc, #d9c295);
    border: 1px solid #9a7127;
    border-radius: 6px;
    box-shadow: inset 0 0 22px rgba(122, 90, 40, .28), 0 8px 20px rgba(0, 0, 0, .45);
    color: var(--c-ink-dark);
    align-self: start;
}

.faq__q {
    display: flex;
    align-items: center;
    gap: .7rem;
    list-style: none;
    cursor: pointer;
    padding: 1rem 1.1rem;
    min-height: 56px;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 1rem;
    color: #40300f;
}

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

.faq__glyph {
    display: inline-flex;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #9a7127;
    background: rgba(255, 255, 255, .35);
    color: #7a5312;
}
.faq__glyph svg { width: 18px; height: 18px; }

.faq__q-text { flex: 1; min-width: 0; }

.faq__chev { color: #7a5312; display: inline-flex; transition: transform .25s ease; }
.faq__chev svg { width: 20px; height: 20px; }
.faq__item[open] .faq__chev { transform: rotate(180deg); }

.faq__a {
    padding: 0 1.1rem 1.15rem 3.5rem;
    color: #3a2d14;
}
.faq__a > :last-child { margin-bottom: 0; }
.faq__a a { color: #7a5312; }

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

/* ============================================
   TABLES
   ============================================ */
.stone-table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--r-md);
    border: 1px solid rgba(227, 178, 74, .35);
    box-shadow: var(--shadow-deep);
}

.stone-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    background: linear-gradient(180deg, rgba(26, 35, 31, .96), rgba(9, 13, 12, .98));
}

.stone-table thead th {
    background: linear-gradient(180deg, #4a3a18, #2a2110);
    color: var(--c-gold-light);
    font-family: var(--f-display);
    font-size: .82rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-align: left;
    padding: .9rem 1rem;
    border-bottom: 1px solid rgba(227, 178, 74, .5);
}

.stone-table td {
    padding: .9rem 1rem;
    border-bottom: 1px solid rgba(227, 178, 74, .18);
    color: var(--c-ink);
    vertical-align: top;
}

.stone-table tbody tr:last-child td { border-bottom: 0; }
.stone-table tbody tr:hover td { background: rgba(73, 224, 210, .07); }
.stone-table tbody tr.is-fast td { box-shadow: inset 0 0 26px rgba(227, 178, 74, .16); }
.stone-table th[scope="row"] {
    text-align: left;
    color: var(--c-gold-light);
    font-family: var(--f-display);
    font-weight: 700;
    padding: .9rem 1rem;
    border-bottom: 1px solid rgba(227, 178, 74, .18);
}

/* speed meter */
.speed-meter {
    position: relative;
    display: block;
    width: 100%;
    min-width: 110px;
    height: 24px;
}
.speed-meter svg { position: absolute; inset: 0; width: 100%; height: 14px; top: 5px; }
.speed-meter__marker { position: absolute; top: 0; width: 18px; }
.speed-meter__marker .gear-node { width: 18px; height: 18px; }

/* ============================================
   SCROLLER (testimonial / social proof strip)
   ============================================ */
.scroller { position: relative; }

.scroller__track {
    display: flex;
    gap: 1.2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 1rem .2rem 1.4rem;
    scrollbar-width: thin;
}

.scroller__track > * {
    flex: 0 0 min(88%, 330px);
    scroll-snap-align: center;
}

@media (min-width: 1024px) {
    .scroller__track > * { flex-basis: calc((100% - 2.4rem) / 3); }
}

.scroller__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.scroller__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(12, 18, 16, .9);
    border: 1px solid rgba(227, 178, 74, .5);
    color: var(--c-gold-light);
    cursor: pointer;
}
.scroller__btn:hover { box-shadow: var(--glow-gold); color: #fff; }
.scroller__btn svg { width: 22px; height: 22px; }

.scroller__dots { display: flex; gap: .5rem; }

.scroller__dot {
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: none;
    color: rgba(187, 176, 154, .55);
    cursor: pointer;
}
.scroller__dot svg { width: 18px; height: 18px; }
.scroller__dot.is-active { color: var(--c-teal); filter: drop-shadow(0 0 6px rgba(73, 224, 210, .8)); }

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
    position: relative;
    padding-block: clamp(2.4rem, 6vw, 4rem);
    background: linear-gradient(180deg, #0a100e, #141c19 50%, #080c0b);
    border-top: 1px solid rgba(227, 178, 74, .5);
    text-align: center;
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(50% 70% at 50% 60%, rgba(227, 178, 74, .22), transparent 70%);
    pointer-events: none;
}

.cta-band__vines { position: absolute; top: 0; left: 0; width: 100%; height: 90px; }

.cta-band__inner { position: relative; max-width: 44rem; }
.cta-band__text { color: var(--c-muted); }
.cta-band__note { margin: 1rem 0 0; font-size: .84rem; color: var(--c-muted); }

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs { padding-top: 1rem; }

.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: .82rem;
    color: var(--c-muted);
}

.breadcrumbs__item + .breadcrumbs__item::before {
    content: "›";
    margin-right: .4rem;
    color: rgba(227, 178, 74, .7);
}

.breadcrumbs a { color: var(--c-teal); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ============================================
   BADGES / CHIPS
   ============================================ */
.age-badge {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: .85rem;
    color: var(--c-muted);
    margin: 0;
}

.age-badge__ring {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 50%;
    border: 2px solid var(--c-gold);
    color: var(--c-gold-light);
    font-family: var(--f-display);
    font-weight: 700;
    font-size: .88rem;
    box-shadow: var(--glow-gold);
}

.pay-strip {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.pay-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .7rem;
    margin: 0;
    border-radius: 999px;
    border: 1px solid rgba(227, 178, 74, .35);
    background: rgba(12, 18, 16, .8);
    color: var(--c-ink);
    font-size: .78rem;
    letter-spacing: .02em;
}

.pay-chip svg { width: 18px; height: 18px; color: var(--c-gold); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    position: relative;
    margin-top: clamp(2.5rem, 6vw, 4rem);
    background: linear-gradient(180deg, #121a17, #080c0b 60%);
    border-top: 1px solid rgba(227, 178, 74, .4);
    padding-top: 3.4rem;
    padding-bottom: 2rem;
}

.site-footer__crest {
    position: absolute;
    top: -34px;
    left: 50%;
    transform: translateX(-50%);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: radial-gradient(circle, #16211d, #080c0b);
    border: 1px solid rgba(227, 178, 74, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 22px rgba(73, 224, 210, .35);
}

.site-footer__crest img { width: 46px; height: 46px; }

.site-footer__grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr);
}

.footer-brand {
    font-family: var(--f-display);
    font-size: 1.3rem;
    color: var(--c-gold-light);
    margin-bottom: .4rem;
}
.footer-brand span { color: var(--c-teal); }

.footer-about { color: var(--c-muted); font-size: .92rem; }

.footer-col__title {
    font-family: var(--f-display);
    font-size: .82rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: .8rem;
}

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

.footer-list li { margin-bottom: .2rem; }

.footer-list a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: var(--c-ink);
    text-decoration: none;
    font-size: .92rem;
}
.footer-list a:hover { color: var(--c-gold-light); text-decoration: underline; }

.footer-list--plain li { color: var(--c-muted); font-size: .9rem; }

.site-footer__legal {
    margin-top: 2.4rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(227, 178, 74, .22);
    color: var(--c-muted);
    font-size: .84rem;
}

.site-footer__meta { margin: 0; }

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

@media (min-width: 1024px) {
    .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; }
}

/* ============================================
   REVEAL ANIMATION (progressive enhancement)
   ============================================ */
.js .reveal {
    opacity: 0;
    transform: translateY(18px);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: opacity .7s ease, transform .7s ease;
}

@media (prefers-reduced-motion: reduce) {
    .js .reveal,
    .js .reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .btn:hover { transform: none; }
}

/* ============================================
   BODY SCROLL LOCK (mobile drawer)
   ============================================ */
body.nav-open { overflow: hidden; }

@media (min-width: 768px) {
    body.nav-open { overflow: auto; }
}

/* ============================================
   HOME - hero art direction
   ============================================ */
.hero--home .hero__bg {
    background-image: url("./assets/380bdf8f9971c93a036e91fafa890853.webp");
    background-position: 72% center;
}

.hero--home .hero__figure {
    background-image: url("./assets/a5d1604b9cb2a0ce02c8a5640c0b31f7.webp");
    background-size: auto 74%;
    background-position: right 2% bottom 0;
    opacity: .92;
}

.hero__rosette {
    position: absolute;
    top: 12px;
    z-index: 1;
    color: rgba(73, 224, 210, .7);
    pointer-events: none;
}
.hero__rosette--left { left: 14px; }
.hero__rosette--right { right: 14px; }
.hero__rosette .gear-node { width: 32px; height: 32px; }

@media (min-width: 1024px) {
    .hero--home .hero__figure {
        background-size: auto 92%;
        background-position: right 7% bottom 0;
    }
    .hero--home .hero__content { max-width: 34rem; }
    .hero__rosette { top: 18px; }
    .hero__rosette--left { left: 32px; }
    .hero__rosette--right { right: 32px; }
}

/* ============================================
   HOME - meta strip
   ============================================ */
.meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.8rem;
    align-items: center;
    justify-content: space-between;
    padding-block: .9rem;
    border-bottom: 1px solid rgba(227, 178, 74, .2);
}

.meta-strip__item {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
    font-size: .84rem;
    color: var(--c-muted);
}

.meta-strip__item svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--c-gold); }

/* ============================================
   HOME - game highlights hall
   ============================================ */
.section--hall .section-bg {
    background-image: url("./assets/ceb41f601455d9d25834cf4afc8c099c.webp");
    background-position: center 40%;
}

.highlight-intro {
    max-width: 48rem;
    margin: 0 auto clamp(1.4rem, 4vw, 2.2rem);
    text-align: center;
    color: var(--c-ink);
}

.highlight-grid { position: relative; }
.highlight-grid > .media-card { position: relative; z-index: 1; }

/* ============================================
   HOME - integrated feature artwork
   ============================================ */
.feature-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-block: 1rem;
}

.feature-media img {
    width: min(100%, 380px);
    height: auto;
}

@media (min-width: 1024px) {
    .feature-media img { width: min(100%, 440px); }
}

/* ============================================
   HOME - payment flow steps
   ============================================ */
.pay-flow { position: relative; margin-bottom: 1.4rem; }

.pay-steps {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .8rem;
}

.pay-step {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin: 0;
}

.pay-step .gear-node { width: 26px; height: 26px; margin-top: .15rem; }

.pay-step__name {
    display: block;
    font-family: var(--f-display);
    font-size: .95rem;
    color: var(--c-gold-light);
}

.pay-step__text { display: block; font-size: .92rem; color: var(--c-muted); }

/* ============================================
   HOME - trust / legal parchment
   ============================================ */
.trust-panel {
    max-width: 56rem;
    margin-inline: auto;
}

.trust-rule {
    height: 1px;
    border: 0;
    margin: 0 0 1.1rem;
    background: linear-gradient(90deg, rgba(122, 83, 18, .75), rgba(122, 83, 18, 0));
}

.parchment .age-badge {
    color: #3a2d14;
    align-items: flex-start;
    margin-top: 1.2rem;
}

.parchment .age-badge__ring {
    border-color: #8a6420;
    color: #5a4317;
    box-shadow: none;
}

/* ============================================
   HOME - play styles + SEO slab + FAQ grid
   ============================================ */
.styles-note {
    margin: .4rem 0 0;
    text-align: center;
    font-size: .82rem;
    color: var(--c-muted);
}

.seo-slab { max-width: 62rem; }

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

/* ============================================
   SITEMAP - header band + rune strip
   ============================================ */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.sitemap-header {
    position: relative;
    padding-block: clamp(1.8rem, 5vw, 3rem) 1.6rem;
    background: linear-gradient(180deg, var(--c-void), var(--c-bg));
    border-bottom: 1px solid rgba(227, 178, 74, .35);
    box-shadow: inset 0 -40px 60px -40px rgba(73, 224, 210, .14);
}

.rune-strip {
    display: block;
    width: 100%;
    max-width: 420px;
    height: 16px;
    margin: .6rem 0 1.2rem;
}

.sitemap-intro {
    max-width: 46rem;
    color: var(--c-muted);
    margin-bottom: 0;
}

/* ============================================
   BONUSY - hero vault frame + relic markers
   ============================================ */
.hero--bonusy .hero__bg {
    background-image: url("./assets/ea2a3e9ca9a8afa5669336028eea2814.webp");
    background-position: 68% center;
}

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

.relic-markers {
    display: flex;
    gap: 1rem;
    margin: .9rem 0 1.3rem;
}

.relic-marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(10, 16, 14, .85);
    border: 1px solid rgba(227, 178, 74, .5);
    color: var(--c-gold);
    box-shadow: var(--glow-gold);
}
.relic-marker svg { width: 20px; height: 20px; }

/* ============================================
   BONUSY - welcome package stepped table
   ============================================ */
.bonus-rail-table {
    display: flex;
    gap: .9rem;
    align-items: stretch;
    margin-bottom: 1.4rem;
}

.bonus-rail {
    position: relative;
    flex: 0 0 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-block: 1.2rem;
}

.bonus-rail__line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 10px;
    height: 100%;
    transform: translateX(-50%);
    z-index: 0;
}

.bonus-rail__node {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}
.bonus-rail__node .gear-node { width: 30px; height: 30px; }
.bonus-rail__node b {
    position: absolute;
    font-family: var(--f-display);
    font-size: .68rem;
    font-weight: 700;
    color: #06201c;
}

.bonus-rail-table > .stone-table-wrap { flex: 1 1 auto; min-width: 0; }

/* ============================================
   BONUSY - free spins amulet (frameless, glowing)
   ============================================ */
.amulet-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-block: 1.4rem;
}

.amulet-media::before {
    content: "";
    position: absolute;
    inset: 8%;
    z-index: -2;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(73, 224, 210, .32), transparent 70%);
    filter: blur(4px);
}

.amulet-media::after {
    content: "";
    position: absolute;
    inset: 14%;
    z-index: -1;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(73, 224, 210, 0), rgba(73, 224, 210, .5), rgba(227, 178, 74, .4), rgba(73, 224, 210, 0));
    opacity: .85;
    animation: amulet-spin 16s linear infinite;
}

.amulet-media img {
    position: relative;
    z-index: 1;
    width: min(100%, 360px);
    height: auto;
}

@keyframes amulet-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .amulet-media::after { animation: none; }
}

/* ============================================
   BONUSY - cashback rank path
   ============================================ */
.rank-path {
    position: relative;
    margin: 1.3rem 0 1.6rem;
    padding-top: 1.6rem;
}

.rank-path__line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    z-index: 0;
}

.rank-path__list {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: .4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rank-path__list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
    margin: 0;
    flex: 1 1 0;
    text-align: center;
}

.rank-node .gear-node { width: 26px; height: 26px; }

.rank-name {
    font-family: var(--f-display);
    font-size: .66rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--c-gold-light);
}

@media (max-width: 480px) {
    .rank-name { font-size: .56rem; }
}

/* ============================================
   SITEMAP - connected list of pages
   ============================================ */
.sitemap-list {
    position: relative;
    max-width: 50rem;
    margin: 0 auto;
    padding-left: 2.6rem;
}

.sitemap-list__line {
    position: absolute;
    left: 13px;
    top: 0;
    bottom: 0;
    width: 10px;
    height: 100%;
}

.sitemap-row {
    position: relative;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.3rem .2rem 1.3rem 0;
    margin-left: -2.6rem;
    padding-left: 2.6rem;
    border-bottom: 1px solid rgba(227, 178, 74, .28);
    background: linear-gradient(90deg, rgba(231, 214, 174, .07), rgba(231, 214, 174, .015) 60%, transparent);
}

.sitemap-row:first-child { padding-top: .4rem; }
.sitemap-row:last-child { border-bottom: 0; padding-bottom: .4rem; }

.sitemap-row__bullet {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-top: .15rem;
    border-radius: 50%;
    background: var(--c-bg);
    border: 1px solid rgba(73, 224, 210, .45);
}

.sitemap-row__bullet .gear-node { width: 18px; height: 18px; }

.sitemap-row__body { min-width: 0; }

.sitemap-row__title { margin: 0 0 .4rem; }
.sitemap-row__title a { color: var(--c-gold-light); text-decoration: none; }
.sitemap-row__title a:hover { color: #fff; text-decoration: underline; }

.sitemap-row__text {
    margin: 0;
    color: var(--c-muted);
    font-size: .96rem;
}

.sitemap-footer-note {
    margin-top: 1.8rem;
    text-align: center;
    color: var(--c-muted);
    font-size: .92rem;
}

/* ============================================
   AUTOMATY - hero art direction
   ============================================ */
.hero--automaty .hero__bg {
    background-image: url("./assets/5bfc93737d2e679f313de8f089427bde.webp");
    background-position: 66% center;
}

.hero--automaty .hero__figure {
    background-image: url("./assets/77bc52636229b9994d2a6daeb238467e.webp");
    background-size: auto 86%;
    background-position: right 4% bottom 0;
    opacity: .92;
}

@media (min-width: 1024px) {
    .hero--automaty .hero__figure {
        background-size: auto 94%;
        background-position: right 8% bottom 0;
    }
    .hero--automaty .hero__content { max-width: 34rem; }
}

/* ============================================
   AUTOMATY - quest grid connector
   ============================================ */
.quest-grid-wrap { position: relative; }

.quest-route {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    display: none;
}

.quest-grid { position: relative; z-index: 1; }
.quest-grid > .media-card { position: relative; z-index: 1; }

@media (min-width: 1024px) {
    .quest-route { display: block; }
}

/* ============================================
   AUTOMATY - RTP / volatility comparison cards
   ============================================ */
.rtp-compare {
    display: grid;
    gap: 1.1rem;
    margin-top: 1.6rem;
}

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

.rtp-card {
    background: linear-gradient(180deg, rgba(45, 58, 51, .85), rgba(10, 15, 14, .96));
    border: 1px solid rgba(227, 178, 74, .4);
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--shadow-deep);
}

.rtp-card__head {
    padding: .75rem 1.1rem;
    background: linear-gradient(180deg, #4a3a18, #2a2110);
    border-bottom: 1px solid rgba(227, 178, 74, .5);
}

.rtp-card__head h3 {
    margin: 0;
    font-size: .98rem;
    color: var(--c-gold-light);
}

.rtp-card__body { padding: 1.1rem 1.2rem; }

.rtp-curve {
    width: 100%;
    height: 56px;
    display: block;
    margin-bottom: .6rem;
}

.rtp-card__text {
    margin: 0;
    color: var(--c-muted);
    font-size: .92rem;
}

/* ============================================
   AUTOMATY - frameless jackpot relic glow
   ============================================ */
.relic-glow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-block: 1.2rem;
    margin-bottom: 1rem;
}

.relic-glow::before {
    content: "";
    position: absolute;
    inset: 12%;
    z-index: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(227, 178, 74, .4), transparent 70%);
    filter: blur(6px);
    animation: relic-pulse 4.5s ease-in-out infinite;
}

.relic-glow img {
    position: relative;
    z-index: 1;
    width: min(100%, 300px);
    height: auto;
}

@keyframes relic-pulse {
    0%, 100% { opacity: .6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
    .relic-glow::before { animation: none; }
}

/* ============================================
   AUTOMATY - fairness parchment tweaks
   ============================================ */
.fairness-panel { max-width: 56rem; margin-inline: auto; }

/* ============================================
   PŁATNOŚCI - hero art direction
   ============================================ */
.hero--platnosci .hero__bg {
    background-image: url("./assets/168b5ff00f63b6771986fb1a1a1d21ff.webp");
    background-position: 64% center;
}