/* =========================================================
   WestAce Casino - design system
   Dark leather + parchment + brass gold, Wild-West premium
   ========================================================= */

:root {
    /* surfaces */
    --leather-900: #2a1810;
    --leather-800: #3a2315;
    --leather-700: #54331f;
    --wood-700: #4a2d1a;
    --ox-700: #7b1f27;
    --ox-900: #450d14;
    --green-800: #24402a;
    --parchment: #efe1bf;
    --parchment-2: #e3d0a4;
    --parchment-dark: #cdb480;

    /* brass */
    --gold: #dba845;
    --gold-light: #f7e3a8;
    --gold-dark: #8a5d16;
    --gold-mid: #c0912f;

    /* text */
    --ink: #3a2412;
    --ink-soft: #5c4228;
    --cream: #f3e6cd;
    --cream-soft: #ddc9a4;

    --heading: #6b2f14;
    --text: var(--ink);
    --text-soft: var(--ink-soft);
    --link: #8a3d12;

    /* geometry */
    --frame-w: 12px;
    --radius: 10px;
    --radius-sm: 6px;
    --wrap: 1180px;
    --header-bottom: 70px;

    /* type */
    --font-display: "Rye", "Bitter", Georgia, serif;
    --font-body: "Bitter", Georgia, "Times New Roman", serif;

    /* textures */
    --leather-surface:
        radial-gradient(circle at 22% 18%, rgba(255, 213, 150, .08), transparent 48%),
        repeating-linear-gradient(132deg, rgba(0, 0, 0, .10) 0 3px, rgba(255, 255, 255, .012) 3px 8px),
        linear-gradient(165deg, #4a2d1b 0%, #2a1810 68%, #1e1009 100%);
    --parchment-surface:
        radial-gradient(ellipse at 18% 12%, rgba(168, 124, 60, .12), transparent 55%),
        radial-gradient(ellipse at 82% 72%, rgba(120, 80, 30, .14), transparent 58%),
        repeating-linear-gradient(0deg, rgba(90, 60, 20, .035) 0 2px, transparent 2px 5px),
        linear-gradient(180deg, #f1e4c4 0%, #e5d2a8 100%);
    --wood-surface:
        repeating-linear-gradient(90deg, rgba(0, 0, 0, .16) 0 2px, rgba(255, 220, 170, .03) 2px 5px, transparent 5px 12px),
        linear-gradient(180deg, #5c3820 0%, #3a2112 100%);
    --ox-surface:
        radial-gradient(ellipse at 30% 0%, rgba(255, 170, 120, .14), transparent 60%),
        repeating-linear-gradient(140deg, rgba(0, 0, 0, .07) 0 3px, transparent 3px 9px),
        linear-gradient(165deg, #8a2630 0%, #5d141c 55%, #3d0a11 100%);

    --torn-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201200%2020'%20preserveAspectRatio='none'%3E%3Cpath%20d='M0%200%20H1200%20V8%20L1160%2013%20L1120%206%20L1080%2012%20L1040%205%20L1000%2011%20L960%204%20L920%2010%20L880%203%20L840%209%20L800%2014%20L760%207%20L720%2012%20L680%205%20L640%2011%20L600%204%20L560%2010%20L520%2015%20L480%208%20L440%2013%20L400%206%20L360%2012%20L320%205%20L280%2011%20L240%204%20L200%2010%20L160%2015%20L120%208%20L80%2013%20L40%206%20L0%2012%20Z'%20fill='black'/%3E%3C/svg%3E");

    --shadow-lift: 0 10px 28px rgba(0, 0, 0, .45);
    --gold-hairline: inset 0 0 0 1px rgba(247, 227, 168, .55), inset 0 0 0 5px rgba(138, 93, 22, .5);
}

/* ============================================
   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;
    scroll-padding-top: 90px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: var(--frame-w);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--leather-900);
    background-image:
        url("./assets/680603ae0be1e3ca4e76956db6ba9e73.webp"),
        url("./assets/680603ae0be1e3ca4e76956db6ba9e73.webp"),
        url("./assets/680603ae0be1e3ca4e76956db6ba9e73.webp"),
        url("./assets/680603ae0be1e3ca4e76956db6ba9e73.webp"),
        var(--leather-surface);
    background-repeat: no-repeat;
    background-position: left -14px top -14px, right -14px top -14px, left -14px bottom -14px, right -14px bottom -14px, center;
    background-size: 64px 64px, 64px 64px, 64px 64px, 64px 64px, auto;
    background-attachment: scroll, scroll, scroll, scroll, fixed;
}

.page-shell {
    position: relative;
    background: var(--parchment-surface);
    box-shadow: 0 0 0 2px var(--gold-dark), 0 0 0 4px rgba(247, 227, 168, .35), 0 0 40px rgba(0, 0, 0, .6);
}

.page-shell::before {
    content: "";
    position: absolute;
    inset: -8px;
    pointer-events: none;
    z-index: 4;
    background-image:
        radial-gradient(circle, rgba(247, 227, 168, .85) 0 1.1px, transparent 1.6px),
        radial-gradient(circle, rgba(247, 227, 168, .85) 0 1.1px, transparent 1.6px),
        radial-gradient(circle, rgba(247, 227, 168, .85) 0 1.1px, transparent 1.6px),
        radial-gradient(circle, rgba(247, 227, 168, .85) 0 1.1px, transparent 1.6px);
    background-size: 16px 3px, 16px 3px, 3px 16px, 3px 16px;
    background-position: left top, left bottom, left top, right top;
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
}

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

h1 { font-size: clamp(1.85rem, 6.4vw, 3.3rem); }
h2 { font-size: clamp(1.45rem, 4.4vw, 2.35rem); }
h3 { font-size: clamp(1.1rem, 2.8vw, 1.45rem); }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a { color: var(--link); }
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    border-radius: 3px;
}

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

strong { font-weight: 700; color: #4a2a10; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--ox-900);
    color: var(--gold-light);
    padding: .75rem 1.1rem;
    font-weight: 600;
}
.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap {
    width: min(100% - 1.75rem, var(--wrap));
    margin-inline: auto;
}

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

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .7rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .98rem;
    line-height: 1.2;
    letter-spacing: .02em;
    text-decoration: none;
    text-align: center;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    transition: transform .15s ease, filter .15s ease;
}

.btn::before,
.btn::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 12px;
    height: 12px;
    transform: translateY(-50%) rotate(45deg);
    border-radius: 2px;
}
.btn::before { left: -6px; }
.btn::after { right: -6px; }

.btn--primary {
    color: #3a2008;
    background: linear-gradient(180deg, #f8e7b0 0%, #dba845 48%, #a9741f 100%);
    box-shadow: inset 0 0 0 1.5px rgba(70, 44, 10, .55), 0 3px 0 rgba(60, 36, 8, .55), 0 8px 18px rgba(0, 0, 0, .35);
}
.btn--primary::before,
.btn--primary::after {
    background: linear-gradient(135deg, #f0d896, #b07f24);
    box-shadow: inset 0 0 0 1.5px rgba(70, 44, 10, .55);
}

.btn--ghost {
    color: var(--gold-light);
    background: linear-gradient(180deg, rgba(90, 30, 32, .85), rgba(45, 12, 16, .9));
    box-shadow: inset 0 0 0 2px var(--gold-mid), 0 3px 0 rgba(0, 0, 0, .4);
}
.btn--ghost::before,
.btn--ghost::after {
    background: linear-gradient(135deg, #7a2028, #3d0a11);
    box-shadow: inset 0 0 0 2px var(--gold-mid);
}

.btn--sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .9rem; }
.btn--lg { padding: .95rem 2rem; font-size: 1.05rem; }
.btn--wide { width: 100%; }

.btn:hover { filter: brightness(1.07); }
.btn:active { transform: translateY(2px); }

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem 1rem;
    margin-top: 1.4rem;
}

/* ============================================
   HEADER + NAV
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--leather-surface);
    box-shadow: 0 2px 0 var(--gold-dark), 0 10px 24px rgba(0, 0, 0, .45);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .6rem 0;
}

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

.site-brand__mark {
    width: 34px;
    flex: 0 0 34px;
    display: block;
}
.site-brand__mark svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }

.site-brand__text { display: flex; flex-direction: column; line-height: 1; }
.site-brand__name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold-light);
    text-shadow: 0 2px 0 rgba(0, 0, 0, .55);
}
.site-brand__sub {
    font-size: .68rem;
    letter-spacing: .36em;
    text-transform: uppercase;
    color: var(--cream-soft);
    margin-top: .2rem;
}

.header-actions { display: none; gap: .6rem; }

.nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 44px;
    min-width: 44px;
    padding: .4rem .75rem;
    background: linear-gradient(180deg, rgba(123, 31, 39, .9), rgba(61, 10, 17, .95));
    color: var(--gold-light);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    border: 2px solid var(--gold-mid);
    border-radius: 6px;
    cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--gold-light);
    border-radius: 2px;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.site-nav {
    position: fixed;
    top: var(--header-bottom);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 55;
    background: var(--leather-surface);
    background-color: #2a1810;
    border-top: 2px solid var(--gold-dark);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

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

.site-nav__inner { padding: 1rem 0 2rem; }

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

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: .5rem .9rem;
    color: var(--cream);
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(219, 168, 69, .25);
}
.site-nav__link.is-current,
.site-nav__link:hover {
    color: #3a2008;
    background: linear-gradient(180deg, #f3dc9b, #cf9c37);
    border-radius: 4px;
}

.site-nav__actions { display: grid; gap: .7rem; }

body.nav-open { overflow: hidden; }

/* ============================================
   SECTIONS & SURFACES
   ============================================ */

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

.section--parchment {
    background: var(--parchment-surface);
    --heading: #6b2f14;
    --text: var(--ink);
    --text-soft: var(--ink-soft);
    color: var(--text);
}

.section--leather,
.section--dark {
    background: var(--leather-surface);
    background-color: var(--leather-900);
    --heading: var(--gold-light);
    --text: var(--cream);
    --text-soft: var(--cream-soft);
    color: var(--text);
}
.section--leather a:not([class]),
.section--dark a:not([class]) { color: var(--gold-light); }

.section--torn-top::before,
.section--torn-bottom::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 18px;
    background: var(--leather-900);
    -webkit-mask-image: var(--torn-mask);
    mask-image: var(--torn-mask);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    z-index: 2;
}
.section--torn-top::before { top: 0; }
.section--torn-bottom::after { bottom: 0; transform: scaleY(-1); }

.section--torn-top-parchment::before,
.section--torn-bottom-parchment::after { background: #ebddba; }

/* section head */

.section-head { margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.section-head--center { text-align: center; }
.section-head--left { text-align: left; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 .6rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #8a5a1c;
}
.section--leather .eyebrow,
.section--dark .eyebrow { color: var(--gold); }
.eyebrow__star { width: 16px; flex: 0 0 16px; }
.eyebrow__star svg { display: block; width: 100%; height: auto; }

.section-head__title { margin-bottom: .45rem; }

.section-head__rule {
    display: block;
    width: min(320px, 70%);
    height: 16px;
    margin: .4rem 0 .9rem;
}
.section-head--center .section-head__rule { margin-inline: auto; }
.section-head__rule svg { display: block; width: 100%; height: 16px; }

.section-head__intro {
    max-width: 62ch;
    font-size: 1.04rem;
    color: var(--text-soft);
}
.section-head--center .section-head__intro { margin-inline: auto; }

/* prose helpers */

.prose { max-width: 70ch; }
.prose--wide { max-width: none; }
.lede {
    font-size: 1.08rem;
    font-weight: 500;
    color: var(--text);
}

.list-star { list-style: none; padding-left: 0; }
.list-star li {
    position: relative;
    padding-left: 1.6rem;
}
.list-star li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .52em;
    width: 11px;
    height: 11px;
    background: linear-gradient(135deg, #f7e3a8, #a9741f);
    clip-path: polygon(50% 0, 61% 35%, 100% 50%, 61% 65%, 50% 100%, 39% 65%, 0 50%, 39% 35%);
}

.callout {
    position: relative;
    padding: 1.1rem 1.2rem 1.1rem 1.4rem;
    margin: 1.5rem 0;
    background: linear-gradient(180deg, rgba(255, 248, 225, .75), rgba(226, 206, 160, .6));
    border-left: 5px solid var(--gold);
    border-radius: var(--radius-sm);
    box-shadow: inset 0 0 0 1px rgba(138, 93, 22, .35);
}
.section--leather .callout,
.section--dark .callout {
    background: linear-gradient(180deg, rgba(90, 30, 32, .5), rgba(30, 14, 10, .6));
    box-shadow: inset 0 0 0 1px rgba(219, 168, 69, .4);
}

/* grids */

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

/* table */

.wa-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .95rem;
    background: rgba(255, 250, 232, .5);
}
.wa-table th,
.wa-table td {
    padding: .7rem .8rem;
    text-align: left;
    border-bottom: 1px solid rgba(138, 93, 22, .3);
}
.wa-table thead th {
    background: var(--ox-surface);
    color: var(--gold-light);
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: .02em;
}
.wa-table tbody tr:nth-child(even) { background: rgba(205, 180, 128, .22); }

/* ============================================
   PLAQUE / SCROLL / WOOD PANELS
   ============================================ */

.plaque {
    position: relative;
    max-width: 640px;
    padding: 6px;
    background: var(--ox-surface);
    border-radius: var(--radius);
    box-shadow: var(--gold-hairline), var(--shadow-lift);
    color: var(--cream);
}
.plaque__inner {
    position: relative;
    z-index: 2;
    padding: clamp(1.25rem, 4vw, 2.1rem);
    border: 1px solid rgba(247, 227, 168, .45);
    border-radius: var(--radius-sm);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, .45);
}
.plaque h1,
.plaque h2,
.plaque h3 { color: var(--gold-light); }
.plaque p { color: #f6ead2; }
.plaque__gear {
    position: absolute;
    right: -42px;
    bottom: -38px;
    width: 120px;
    z-index: 1;
    opacity: .9;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .5));
}
.plaque__gear svg { display: block; width: 100%; height: auto; }

.scroll-panel {
    position: relative;
    max-width: 920px;
    margin-inline: auto;
    padding-inline: 18px;
}
.scroll-panel__rod {
    position: absolute;
    top: 6px;
    bottom: 6px;
    width: 30px;
    z-index: 3;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .4));
}
.scroll-panel__rod svg { display: block; width: 100%; height: 100%; }
.scroll-panel__rod--left { left: 0; }
.scroll-panel__rod--right { right: 0; }

.scroll-panel__sheet {
    position: relative;
    z-index: 2;
    padding: clamp(1.4rem, 5vw, 2.6rem) clamp(1.1rem, 4vw, 2.4rem);
    background:
        radial-gradient(ellipse at 25% 20%, rgba(170, 125, 60, .16), transparent 55%),
        radial-gradient(ellipse at 78% 78%, rgba(130, 90, 35, .18), transparent 58%),
        linear-gradient(180deg, #f6ecd2 0%, #e6d5ab 100%);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .4), inset 0 0 0 1px rgba(138, 93, 22, .25);
    -webkit-mask-image: var(--torn-mask), var(--torn-mask), linear-gradient(#000, #000);
    mask-image: var(--torn-mask), var(--torn-mask), linear-gradient(#000, #000);
    -webkit-mask-size: 100% 14px, 100% 14px, 100% 100%;
    mask-size: 100% 14px, 100% 14px, 100% 100%;
    -webkit-mask-position: top, bottom, center;
    mask-position: top, bottom, center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.wood-panel {
    position: relative;
    padding: 10px;
    background: var(--wood-surface);
    border-radius: var(--radius);
    box-shadow: inset 0 0 0 3px rgba(138, 93, 22, .75), inset 0 0 0 5px rgba(247, 227, 168, .3), var(--shadow-lift);
    color: var(--cream);
}
.wood-panel::before {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 7px;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(247, 227, 168, .75) 0 1.2px, transparent 1.8px);
    background-size: 18px 4px;
    background-position: left top, left bottom;
    background-repeat: repeat-x;
}
.wood-panel__inner {
    padding: clamp(1.25rem, 4vw, 2.2rem);
    border: 1px solid rgba(247, 227, 168, .35);
    border-radius: var(--radius-sm);
    box-shadow: inset 0 0 26px rgba(0, 0, 0, .5);
}
.wood-panel h2,
.wood-panel h3 { color: var(--gold-light); }
.wood-panel p { color: #f0e2c6; }
.wood-panel a:not([class]) { color: var(--gold-light); }

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

.info-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(138, 93, 22, .45);
}
.info-card--parchment {
    background:
        repeating-linear-gradient(0deg, rgba(90, 60, 20, .03) 0 2px, transparent 2px 5px),
        linear-gradient(180deg, #f6ecd2, #e4d2a9);
    color: var(--ink);
}
.info-card--dark {
    background: var(--ox-surface);
    color: var(--cream);
}
.info-card--dark .info-card__title { color: var(--gold-light); }

.info-card__head {
    position: relative;
    padding: 1rem 1.2rem .9rem 3.2rem;
    background: var(--ox-surface);
    box-shadow: inset 0 -2px 0 rgba(247, 227, 168, .5);
}
.info-card__boss {
    position: absolute;
    left: .75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
}
.info-card__boss svg { display: block; width: 100%; height: auto; }
.info-card__eyebrow {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
}
.info-card__title { margin: .1rem 0 0; color: var(--gold-light); font-size: 1.2rem; }
.info-card__body { padding: 1.2rem; flex: 1; }
.info-card.is-highlight {
    box-shadow: 0 10px 26px rgba(0, 0, 0, .45), inset 0 0 0 2px var(--gold), 0 0 34px rgba(219, 168, 69, .3);
}

/* ============================================
   GEAR FRAMES & TILES
   ============================================ */

.gear-frame {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin-inline: auto;
    aspect-ratio: 1;
}
.gear-frame__ring {
    position: absolute;
    inset: -5%;
    width: 110%;
    height: 110%;
    max-width: none;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .5));
    z-index: 1;
}
.gear-frame__media {
    position: absolute;
    inset: 15%;
    z-index: 2;
    overflow: hidden;
    border-radius: 6px;
    background: var(--leather-800);
    box-shadow: inset 0 0 0 3px var(--gold-dark), inset 0 0 20px rgba(0, 0, 0, .65);
}
.gear-frame__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.gear-frame--walnut .gear-frame__media { box-shadow: inset 0 0 0 3px #6b4423, inset 0 0 0 5px var(--gold-dark); }
.gear-frame--green .gear-frame__media { box-shadow: inset 0 0 0 3px #2d5036, inset 0 0 0 5px var(--gold-dark); }
.gear-frame--ox .gear-frame__media { box-shadow: inset 0 0 0 3px #6d1a22, inset 0 0 0 5px var(--gold-dark); }

.gear-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .55rem;
}
.gear-tile__plate {
    width: 100%;
    max-width: 290px;
    margin-top: -6px;
    padding: .45rem .7rem;
    background: var(--wood-surface);
    border-radius: 5px;
    box-shadow: inset 0 0 0 2px var(--gold-dark), inset 0 0 0 3px rgba(247, 227, 168, .35), 0 5px 12px rgba(0, 0, 0, .35);
}
.gear-tile__title {
    margin: 0;
    font-size: 1rem;
    color: var(--gold-light);
    letter-spacing: .04em;
}
.gear-tile__text {
    max-width: 32ch;
    font-size: .92rem;
    color: var(--text-soft);
}
.gear-tile__cta {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .35rem .9rem;
    font-weight: 700;
    font-size: .88rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    color: #3a2008;
    background: linear-gradient(180deg, #f3dc9b, #cb9833);
    border-radius: 5px;
    box-shadow: 0 3px 0 rgba(60, 36, 8, .5);
}
.gear-tile__cta:hover { filter: brightness(1.07); }

/* ============================================
   CAROUSEL
   ============================================ */

.carousel {
    position: relative;
    padding-bottom: 2.2rem;
}
.carousel__track {
    display: flex;
    gap: 1.1rem;
    margin: 0;
    padding: .4rem .2rem 1rem;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}
.carousel__slide {
    flex: 0 0 78%;
    max-width: 320px;
    scroll-snap-align: center;
    margin: 0;
}
.carousel__arrow {
    display: none;
    position: absolute;
    top: 42%;
    width: 46px;
    height: 46px;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
    z-index: 3;
}
.carousel__arrow svg { width: 100%; height: auto; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
.carousel__arrow--prev { left: -4px; transform: scaleX(-1); }
.carousel__arrow--next { right: -4px; }

.carousel__dots {
    display: flex;
    justify-content: center;
    gap: .55rem;
    position: absolute;
    bottom: .4rem;
    left: 0;
    right: 0;
}
.carousel__dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(138, 93, 22, .45);
    cursor: pointer;
}
.carousel__dot.is-active {
    background: linear-gradient(135deg, #f7e3a8, #b07f24);
    box-shadow: 0 0 0 2px rgba(138, 93, 22, .5);
}

/* ============================================
   MEDIA PANEL (live / sportsbook)
   ============================================ */

.media-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    padding: 7px;
    box-shadow: var(--gold-hairline), var(--shadow-lift);
    color: var(--cream);
}
.media-panel--ox { background: var(--ox-surface); }
.media-panel--green {
    background:
        repeating-linear-gradient(140deg, rgba(0, 0, 0, .08) 0 3px, transparent 3px 9px),
        linear-gradient(165deg, #345c3d 0%, #1d3524 60%, #132618 100%);
}
.media-panel--wood { background: var(--wood-surface); }

.media-panel__rosette {
    position: absolute;
    left: -26px;
    top: -24px;
    width: 76px;
    z-index: 3;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .5));
}
.media-panel__rosette svg { display: block; width: 100%; height: auto; }

.media-panel__media {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    min-height: 190px;
}
.media-panel__media img {
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.media-panel__body {
    padding: 1.1rem 1.1rem 1.3rem;
}
.media-panel__title {
    color: var(--gold-light);
    margin-bottom: .5rem;
}
.media-panel__copy { color: #f3e6cd; font-size: .97rem; }
.media-panel__copy a { color: var(--gold-light); }
.media-panel .btn { margin-top: 1.1rem; }

/* ============================================
   STEP RAIL
   ============================================ */

.step-rail {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0 0 0 3.4rem;
    display: grid;
    gap: 1.6rem;
}
.step-rail::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 10px;
    bottom: 10px;
    width: 4px;
    border-radius: 3px;
    background: linear-gradient(180deg, rgba(247, 227, 168, .15), var(--gold) 20%, var(--gold-dark) 80%, rgba(247, 227, 168, .15));
    box-shadow: 0 0 10px rgba(219, 168, 69, .45);
}
.step-rail__item { position: relative; margin: 0; }
.step-rail__node {
    position: absolute;
    left: -3.4rem;
    top: 0;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--gold-light);
    background: radial-gradient(circle at 35% 30%, #8a2630, #3d0a11);
    box-shadow: 0 0 0 3px var(--gold-mid), 0 0 0 5px rgba(60, 36, 8, .5), 0 6px 14px rgba(0, 0, 0, .45), 0 0 22px rgba(219, 168, 69, .35);
}
.step-rail__title { margin-bottom: .3rem; font-size: 1.1rem; }
.step-rail__text { margin: 0; color: var(--text-soft); font-size: .97rem; }

/* ============================================
   MEDALLION / CHIPS / BADGES
   ============================================ */

.medallion {
    position: relative;
    display: block;
    width: 84px;
    aspect-ratio: 1;
}
.medallion__gear,
.medallion__star {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.medallion__star { transform: scale(.62); }
.medallion--leather { filter: saturate(.55) hue-rotate(-12deg) brightness(.82); }
.medallion--bronze { filter: saturate(1.05) hue-rotate(-10deg) brightness(.95); }
.medallion--silver { filter: grayscale(.85) brightness(1.2); }
.medallion--ruby { filter: hue-rotate(-42deg) saturate(1.6) brightness(.95); }
.medallion--diamond { filter: brightness(1.25) saturate(.7); }

.brass-chip {
    display: inline-block;
    padding: .12em .55em;
    font-weight: 700;
    color: #3a2008;
    background: linear-gradient(180deg, #f8e7b0, #cf9c37);
    border-radius: 5px;
    box-shadow: inset 0 0 0 1px rgba(70, 44, 10, .5), 0 2px 6px rgba(219, 168, 69, .45);
    white-space: nowrap;
}

.age-badge {
    position: relative;
    display: grid;
    place-items: center;
    width: 104px;
    flex: 0 0 104px;
    aspect-ratio: 1;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .4));
}
.age-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.age-badge__num {
    position: relative;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #5a3309;
    text-shadow: 0 1px 0 rgba(255, 240, 200, .6);
}

.bullet-holes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}
.bullet-holes i {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, #1b1109 0 38%, #6b533a 55%, rgba(120, 96, 64, .25) 72%, transparent 78%);
    box-shadow: 0 0 6px rgba(0, 0, 0, .35);
}
.bullet-holes--a i:nth-child(1) { left: 4%; top: 12%; }
.bullet-holes--a i:nth-child(2) { left: 8%; top: 58%; }
.bullet-holes--a i:nth-child(3) { right: 5%; top: 30%; }
.bullet-holes--b i:nth-child(1) { right: 6%; top: 14%; }
.bullet-holes--b i:nth-child(2) { right: 11%; bottom: 18%; }
.bullet-holes--b i:nth-child(3) { left: 6%; bottom: 10%; }

/* ============================================
   FAQ (details / summary)
   ============================================ */

.faq-list { display: grid; gap: .8rem; align-items: start; }

.faq-item {
    align-self: start;
    background: linear-gradient(180deg, rgba(255, 250, 232, .78), rgba(226, 206, 160, .6));
    border-radius: var(--radius-sm);
    box-shadow: inset 0 0 0 1px rgba(138, 93, 22, .4), 0 4px 12px rgba(0, 0, 0, .18);
}
.faq-item[open] {
    box-shadow: inset 0 0 0 1px var(--gold-mid), 0 0 24px rgba(219, 168, 69, .28), 0 4px 12px rgba(0, 0, 0, .2);
}
.faq-item__q {
    position: relative;
    display: block;
    list-style: none;
    padding: .95rem 3rem .95rem 2.6rem;
    cursor: pointer;
    min-height: 48px;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::before {
    content: "";
    position: absolute;
    left: 1rem;
    top: 1.25rem;
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #f7e3a8, #a9741f);
    clip-path: polygon(50% 0, 61% 35%, 100% 50%, 61% 65%, 50% 100%, 39% 65%, 0 50%, 39% 35%);
}
.faq-item__q::after {
    content: "";
    position: absolute;
    right: 1.1rem;
    top: 1.4rem;
    width: 11px;
    height: 11px;
    border-right: 3px solid var(--gold-dark);
    border-bottom: 3px solid var(--gold-dark);
    transform: rotate(45deg);
    transition: transform .2s ease;
}
.faq-item[open] .faq-item__q::after { transform: rotate(-135deg); }
.faq-item__h {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.02rem;
    line-height: 1.45;
    color: #5a2a10;
}
.faq-item__a {
    padding: 0 1.4rem 1.2rem 2.6rem;
    color: var(--ink-soft);
    font-size: .98rem;
}
.faq-item__a p:last-child { margin-bottom: 0; }

.section--leather .faq-item,
.section--dark .faq-item {
    background: linear-gradient(180deg, rgba(90, 30, 32, .45), rgba(32, 16, 10, .6));
}
.section--leather .faq-item__h,
.section--dark .faq-item__h { color: var(--gold-light); }
.section--leather .faq-item__a,
.section--dark .faq-item__a { color: var(--cream-soft); }

/* ============================================
   BRIDGE TILES + CTA BANNER
   ============================================ */

.bridge-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 1.3rem 1.2rem 1.4rem;
    background: var(--ox-surface);
    border-radius: var(--radius);
    color: var(--cream);
    box-shadow: var(--gold-hairline), 0 8px 20px rgba(0, 0, 0, .35);
}
.bridge-tile::before {
    content: "";
    position: absolute;
    left: .7rem;
    top: .7rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #f8e7b0, #8a5d16);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .5);
}
.bridge-tile__title { color: var(--gold-light); margin: .4rem 0 0; font-size: 1.15rem; }
.bridge-tile__text { color: #f0e2c6; font-size: .95rem; margin: 0; }
.bridge-tile__link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--gold-light);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: .18em;
}

.cta-banner { text-align: center; }
.cta-banner__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    padding: clamp(1.5rem, 5vw, 2.6rem) clamp(1rem, 4vw, 2.4rem);
    background: var(--ox-surface);
    border-radius: var(--radius);
    box-shadow: var(--gold-hairline), var(--shadow-lift);
}
.cta-banner__gear {
    position: absolute;
    right: -34px;
    top: -30px;
    width: 96px;
    opacity: .85;
}
.cta-banner__gear svg { display: block; width: 100%; height: auto; }
.cta-banner__title { color: var(--gold-light); margin-bottom: .4rem; }
.cta-banner__text { color: #f3e6cd; max-width: 60ch; margin: 0 auto; }

/* ============================================
   HERO HELPERS (page level)
   ============================================ */

.hero {
    position: relative;
    isolation: isolate;
    padding-block: clamp(2.5rem, 9vw, 5.5rem);
    overflow: clip;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(26, 14, 8, .62) 0%, rgba(26, 14, 8, .35) 45%, rgba(26, 14, 8, .78) 100%);
}
.hero__inner { position: relative; z-index: 1; }

.gold-text {
    background: linear-gradient(180deg, #fdf0c4 0%, #e8bd5c 42%, #a9741f 78%, #e4c479 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 0 rgba(42, 20, 6, .55));
}

.big-figure {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 10vw, 4.6rem);
    line-height: 1.05;
    margin: .2rem 0 .6rem;
}

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

.site-footer {
    position: relative;
    background: var(--leather-surface);
    background-color: var(--leather-900);
    color: var(--cream-soft);
    border-top: 3px solid var(--gold-dark);
    padding-block: clamp(2rem, 6vw, 3.2rem) 1.6rem;
}
.site-footer__cols {
    display: grid;
    gap: 1.8rem;
}
.site-footer__brand {
    display: block;
    font-family: var(--font-display);
    font-size: 1.45rem;
    color: var(--gold-light);
}
.site-footer__brand em {
    font-style: normal;
    display: block;
    font-family: var(--font-body);
    font-size: .68rem;
    letter-spacing: .36em;
    text-transform: uppercase;
    color: var(--cream-soft);
}
.site-footer__about { margin-top: .8rem; font-size: .93rem; }
.site-footer__title {
    font-family: var(--font-body);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .7rem;
}
.site-footer__list { list-style: none; margin: 0; padding: 0; }
.site-footer__list li { margin-bottom: .2rem; }
.site-footer__list a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: var(--cream);
    text-decoration: none;
    font-size: .95rem;
}
.site-footer__list a:hover { color: var(--gold-light); text-decoration: underline; }

.site-footer__legal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(219, 168, 69, .35);
}
.site-footer__age {
    position: relative;
    display: grid;
    place-items: center;
    width: 72px;
    flex: 0 0 72px;
    aspect-ratio: 1;
}
.site-footer__age svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.site-footer__age span {
    position: relative;
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: #5a3309;
}
.site-footer__legal-copy p { font-size: .86rem; line-height: 1.6; color: #d3bf9b; }
.site-footer__legal-copy a { color: var(--gold-light); }
.site-footer__copy { color: #b8a378 !important; }

/* ============================================
   COOKIE BANNER
   ============================================ */

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    background: var(--leather-surface);
    background-color: #241408;
    border-top: 2px solid var(--gold-dark);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .5);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner {
    width: min(100% - 1.75rem, var(--wrap));
    margin-inline: auto;
    padding: 1rem 0 1.1rem;
    display: grid;
    gap: .9rem;
}
.cookie-banner__text {
    margin: 0;
    font-size: .9rem;
    color: var(--cream);
}
.cookie-banner__text a { color: var(--gold-light); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (min-width: 600px) {
    :root { --frame-w: 16px; }
    .grid--2,
    .grid--3,
    .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .carousel__slide { flex-basis: 48%; }
    .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-footer__legal { flex-direction: row; align-items: center; }
    .cookie-banner__inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
}

@media (min-width: 768px) {
    body { font-size: 1.03rem; }
    .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .step-rail--row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-left: 3.6rem;
    }
    .media-panel__media { min-height: 240px; }
    .plaque__gear { width: 150px; right: -54px; }
}

@media (min-width: 1024px) {
    :root { --frame-w: 24px; --header-bottom: 0px; }

    body {
        background-size: 92px 92px, 92px 92px, 92px 92px, 92px 92px, auto;
        background-position: left -18px top -18px, right -18px top -18px, left -18px bottom -18px, right -18px bottom -18px, center;
    }

    .site-header__inner {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        padding: .9rem 0 .7rem;
    }
    .site-brand { grid-column: 2; justify-self: center; flex-direction: column; gap: .15rem; }
    .site-brand__mark { width: 40px; flex-basis: 40px; }
    .site-brand__text { align-items: center; text-align: center; }
    .site-brand__name { font-size: 2.1rem; }

    .header-actions {
        grid-column: 3;
        justify-self: end;
        display: flex;
    }
    .nav-toggle { display: none; }

    .site-nav {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        overflow: visible;
        background: var(--ox-surface);
        border-top: 2px solid var(--gold-dark);
        border-bottom: 2px solid var(--gold-dark);
    }
    .site-nav__inner {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: .35rem 0;
    }
    .site-nav__list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: .4rem;
        margin: 0;
    }
    .site-nav__link {
        min-height: 44px;
        padding: .4rem 1.15rem;
        font-size: .97rem;
        letter-spacing: .04em;
        border-bottom: 0;
        border-radius: 4px;
    }
    .site-nav__actions { display: none; }

    .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .carousel { padding-inline: 3rem; }
    .carousel__slide { flex-basis: calc(25% - .85rem); max-width: none; }
    .carousel__arrow { display: block; }

    .step-rail--row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.2rem 1.6rem;
        padding: 3.6rem 0 0;
    }
    .step-rail--row::before {
        left: 6%;
        right: 6%;
        top: 23px;
        bottom: auto;
        width: auto;
        height: 4px;
        background: linear-gradient(90deg, rgba(247, 227, 168, .15), var(--gold) 15%, var(--gold-dark) 85%, rgba(247, 227, 168, .15));
    }
    .step-rail--row .step-rail__node { left: 0; top: -3.6rem; }

    .site-footer__cols { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.2rem; }
    .cta-banner__inner { flex-direction: row; justify-content: space-between; text-align: left; }
    .cta-banner__copy { max-width: 62%; }
    .cta-banner__text { margin: 0; }

    .media-panel { flex-direction: row; align-items: stretch; }
    .media-panel__media { flex: 0 0 45%; min-height: 320px; }
    .media-panel__body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 1.6rem; }
}

@media (min-width: 1280px) {
    .wrap { width: min(100% - 3rem, var(--wrap)); }
}

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

.home-hero {
    padding-block: clamp(2.2rem, 8vw, 4.5rem);
}
.home-hero__bg {
    background-image: url("./assets/eb500da95f40bc3be1fb5307c1486dd1.webp");
    background-position: 28% center;
}
.home-hero__inner {
    display: flex;
    justify-content: flex-end;
}
.home-hero__plaque {
    width: 100%;
    max-width: 620px;
}
.home-hero__plaque h1 { margin-bottom: .55rem; }
.home-hero__note {
    margin: 1.1rem 0 0;
    font-size: .82rem;
    letter-spacing: .04em;
    color: #e7d4ad;
}

.home-bonus { position: relative; }
.home-bonus__title { margin-bottom: .2rem; text-align: center; }
.home-bonus__figure { text-align: center; }
.home-bonus .scroll-panel__sheet { text-align: center; }
.home-bonus .scroll-panel__sheet p { max-width: 62ch; margin-inline: auto; }
.home-bonus .eyebrow { justify-content: center; width: 100%; }
.home-bonus .btn-row { justify-content: center; }

.home-slots .section-head__intro a { color: #8a3d12; }

.home-live__grid { gap: clamp(1.2rem, 3vw, 2rem); }

.home-vip__panel { position: relative; }
.home-vip__layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    text-align: center;
}
.home-vip__star {
    position: relative;
    display: block;
    width: 130px;
    flex: 0 0 130px;
    aspect-ratio: 1;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .55));
}
.home-vip__star svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.home-vip__star svg:last-child { transform: scale(.66); }
.home-vip__copy .eyebrow { color: var(--gold); justify-content: center; }
.home-vip__copy .btn-row { justify-content: center; }

.home-trust { position: relative; }
.home-trust__flourish {
    display: block;
    width: min(300px, 70%);
    height: 16px;
    margin: 0 auto clamp(1.4rem, 4vw, 2.2rem);
}
.home-trust__flourish svg { display: block; width: 100%; height: 16px; }
.home-trust__layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.3rem;
}
.home-trust__copy { max-width: 72ch; }

.home-faq__list { max-width: 880px; margin-inline: auto; }

@media (min-width: 768px) {
    .home-vip__layout {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 2rem;
    }
    .home-vip__star { width: 160px; flex-basis: 160px; margin-left: -2.2rem; }
    .home-vip__copy .eyebrow,
    .home-vip__copy .btn-row { justify-content: flex-start; }

    .home-trust__layout { flex-direction: row; align-items: flex-start; }
    .home-trust__flourish { margin-bottom: 2rem; }
}

@media (min-width: 1024px) {
    .home-hero { padding-block: clamp(4rem, 8vw, 7rem); }
    .home-hero__bg { background-position: 25% center; }
    .home-hero__plaque { max-width: 640px; }
}

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

.bonus-hero__bg {
    background-image: url("./assets/58133edf125ec8807bf929ab59382e87.webp");
    background-position: 68% center;
}
.bonus-hero__inner { display: flex; justify-content: flex-start; }
.bonus-hero__plaque { width: 100%; max-width: 600px; }

.bonus-compare { align-items: stretch; }
.bonus-compare__item { position: relative; }
.bonus-compare__panel { max-width: none; margin-inline: 0; }
.bonus-compare__badge {
    display: inline-block;
    margin-bottom: .5rem;
    padding: .25em .7em;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #3a2008;
    background: linear-gradient(180deg, #f8e7b0, #cf9c37);
    border-radius: 4px;
}
.bonus-compare__star {
    position: absolute;
    top: -14px;
    right: 14px;
    width: 42px;
    z-index: 4;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .45));
}
.bonus-compare__star svg { display: block; width: 100%; height: auto; }
.bonus-compare__item.is-featured { filter: drop-shadow(0 0 22px rgba(219, 168, 69, .4)); }
.bonus-compare__panel .scroll-panel__sheet ul { margin-top: 1rem; }

.split-media { align-items: center; }
.split-media__frame { display: flex; justify-content: center; }
@media (min-width: 768px) {
    .split-media { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
    .split-media--reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
    .split-media--reverse .split-media__frame { order: 2; }
    .split-media--reverse .split-media__copy { order: 1; }
}

.cashback-grid { position: relative; }
.cashback-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(180deg, #f6ecd2, #e4d2a9);
    color: var(--ink);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .3), inset 0 0 0 1px rgba(138, 93, 22, .4);
    position: relative;
    z-index: 1;
}
.cashback-card__head {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .8rem 1rem;
    background: var(--ox-surface);
    box-shadow: inset 0 -2px 0 rgba(247, 227, 168, .5);
}
.cashback-card__gear { width: 26px; flex: 0 0 26px; }
.cashback-card__gear svg { display: block; width: 100%; height: auto; }
.cashback-card__head h3 { margin: 0; color: var(--gold-light); font-size: 1.02rem; }
.cashback-card__body { padding: 1.1rem 1.2rem 1.3rem; }
.cashback-card__figure {
    display: block;
    font-family: var(--font-display);
    font-size: 1.9rem;
    margin-bottom: .4rem;
    color: #6b2f14;
}
.cashback-card--highlight { box-shadow: 0 8px 20px rgba(0, 0, 0, .3), inset 0 0 0 2px var(--gold-mid), 0 0 24px rgba(219, 168, 69, .3); }
.cashback-card--highlight .cashback-card__figure { position: relative; }
.cashback-card--highlight .cashback-card__figure::before {
    content: "";
    position: absolute;
    inset: -14px -10px;
    background: radial-gradient(circle, rgba(219, 168, 69, .35), transparent 70%);
    z-index: -1;
}
.bonus-cashback .btn-row { justify-content: center; margin-top: 1.6rem; }

.bonus-terms-section { position: relative; }
.bonus-terms__scroll .eyebrow { justify-content: center; width: 100%; }

@media (min-width: 768px) {
    .cashback-grid::before {
        content: "";
        display: block;
        position: absolute;
        left: 5%;
        right: 5%;
        top: 34px;
        height: 3px;
        background: linear-gradient(90deg, rgba(247, 227, 168, .15), var(--gold) 15%, var(--gold-dark) 85%, rgba(247, 227, 168, .15));
        z-index: 0;
    }
}

@media (min-width: 1024px) {
    .bonus-hero__plaque { max-width: 640px; }
}

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

.gry-hero__bg {
    background-position: 22% center;
}

.gry-hero {
    padding-block: clamp(2.2rem, 8vw, 4.5rem);
}
.gry-hero__inner {
    position: relative;
    display: flex;
    justify-content: flex-end;
}
.gry-hero__plaque { width: 100%; max-width: 600px; }
.gry-hero__gears {
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    z-index: 0;
}
.gry-hero__gears svg {
    display: block;
    width: 90px;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5));
    opacity: .85;
}
.gry-hero__gears svg:nth-child(1) { width: 130px; margin-bottom: -30px; }
.gry-hero__gears svg:nth-child(2) { width: 90px; margin-left: 30px; margin-bottom: -22px; }
.gry-hero__gears svg:nth-child(3) { width: 60px; margin-left: 10px; }

.category-grid {
    position: relative;
    padding-top: 1.6rem;
}
.category-grid::before {
    content: "";
    position: absolute;
    left: 4%;
    right: 4%;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(138, 93, 22, .1), var(--gold-dark) 20%, var(--gold) 50%, var(--gold-dark) 80%, rgba(138, 93, 22, .1));
    opacity: .7;
}

.filter-panel {
    position: relative;
    margin-top: 1.6rem;
    padding: 1.2rem 1.3rem 1.4rem;
    background: linear-gradient(180deg, rgba(255, 250, 232, .1), rgba(226, 206, 160, .06));
    border-radius: var(--radius);
    box-shadow: inset 0 0 0 1px rgba(219, 168, 69, .35);
}
.filter-panel__row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}
.filter-chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: .4rem 1rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .88rem;
    letter-spacing: .03em;
    color: var(--cream);
    background: linear-gradient(180deg, rgba(90, 30, 32, .5), rgba(30, 14, 10, .6));
    border: 1.5px solid var(--gold-mid);
    border-radius: 999px;
    cursor: pointer;
    transition: filter .15s ease;
}
.filter-chip:hover { filter: brightness(1.15); }
.filter-chip.is-active {
    color: #3a2008;
    background: linear-gradient(180deg, #f8e7b0, #cf9c37);
    border-color: var(--gold-light);
}

.filter-search {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .8rem;
    background: rgba(239, 225, 191, .1);
    border: 1.5px solid var(--gold-mid);
    border-radius: 999px;
    min-height: 44px;
}
.filter-search__glass { width: 26px; flex: 0 0 26px; }
.filter-search input {
    border: 0;
    background: transparent;
    color: var(--cream);
    font-family: var(--font-body);
    font-size: .92rem;
    min-width: 0;
    flex: 1 1 160px;
    min-height: 32px;
}
.filter-search input::placeholder { color: var(--cream-soft); }
.filter-search input:focus { outline: none; }

.filter-rtp {
    margin-top: 1.3rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(219, 168, 69, .3);
}
.filter-rtp__label {
    display: block;
    margin-bottom: .5rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
}
.filter-rtp__track {
    position: relative;
    height: 36px;
    display: flex;
    align-items: center;
}
.filter-rtp__bar {
    display: block;
    width: 100%;
    height: 6px;
    border-radius: 4px;
    background: linear-gradient(90deg, #3a2112, #6b4323, #3a2112);
    box-shadow: inset 0 0 0 1px rgba(138, 93, 22, .5);
}
.filter-rtp__knob {
    position: absolute;
    left: 58%;
    top: 50%;
    width: 34px;
    height: 34px;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .5));
}
.filter-rtp__scale {
    display: flex;
    justify-content: space-between;
    margin-top: .4rem;
    font-size: .78rem;
    color: var(--cream-soft);
}

.gry-highlights__count {
    margin: -.4rem 0 1.2rem;
    font-size: .88rem;
    color: var(--text-soft);
}
.gry-highlights__count strong { color: var(--heading); }

.title-grid {
    position: relative;
    z-index: 0;
    display: grid;
    gap: 1.1rem;
}
.title-grid::before {
    content: "";
    position: absolute;
    inset: -10% -6%;
    z-index: -1;
    background: radial-gradient(ellipse at 50% 40%, rgba(219, 168, 69, .16), transparent 65%);
}
.title-card {
    position: relative;
    padding: 1.2rem 1.3rem 1.4rem;
    background: var(--wood-surface);
    border-radius: var(--radius-sm);
    box-shadow: inset 0 0 0 1.5px var(--gold-dark), inset 0 0 0 3px rgba(247, 227, 168, .22), 0 6px 16px rgba(0, 0, 0, .35);
    color: var(--cream);
}
.title-card h3 { color: var(--gold-light); margin-bottom: .45rem; }
.title-card p { color: #f0e2c6; font-size: .95rem; margin: 0; }
.title-card p a { color: var(--gold-light); }
.title-card__ribbon {
    position: absolute;
    top: -6px;
    left: -8px;
    transform: rotate(-8deg);
    z-index: 2;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .45));
}
.title-card.is-ribboned { padding-top: 1.7rem; }

@media (min-width: 768px) {
    .filter-panel__row { flex-wrap: nowrap; }
    .title-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .gry-hero__gears { display: flex; flex-direction: column; }
    .title-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

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

.vip-hero__bg {
    background-image: url("./assets/680603ae0be1e3ca4e76956db6ba9e73.webp");
    background-position: left center;
}
.vip-hero__inner { display: flex; justify-content: flex-end; }
.vip-hero__plaque { width: 100%; max-width: 620px; }

.tier-ladder { position: relative; padding-top: 2.2rem; }
.tier-ladder__list {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 2.2rem;
}
.tier-ladder__list::before {
    content: "";
    position: absolute;
    left: 31px;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 3px;
    background: linear-gradient(180deg, rgba(247, 227, 168, .15), var(--gold) 15%, var(--gold-dark) 85%, rgba(247, 227, 168, .15));
    box-shadow: 0 0 10px rgba(219, 168, 69, .45);
    z-index: 0;
}
.tier-item { position: relative; padding-left: 4.6rem; }
.tier-item__medallion {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 64px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .45));
}
.tier-item__medallion .medallion { width: 100%; }
.tier-card {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, #f6ecd2, #e4d2a9);
    border-radius: var(--radius);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .3), inset 0 0 0 1px rgba(138, 93, 22, .4);
    overflow: hidden;
}
.tier-card__head {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .75rem 1.1rem;
    background: var(--wood-surface);
    box-shadow: inset 0 -2px 0 rgba(247, 227, 168, .4);
}
.tier-card__head h3 { margin: 0; color: var(--gold-light); font-size: 1.1rem; }
.tier-card__list {
    margin: 0;
    padding: 1rem 1.2rem 1.2rem;
    list-style: none;
    font-size: .93rem;
    color: var(--ink-soft);
}
.tier-card__list li { margin-bottom: .55rem; }
.tier-card__list li:last-child { margin-bottom: 0; }
.tier-item.is-highlight .tier-card {
    box-shadow: 0 8px 20px rgba(0, 0, 0, .3), inset 0 0 0 2px var(--gold-mid), 0 0 26px rgba(219, 168, 69, .32);
}

.vip-portrait { position: relative; max-width: 280px; margin-inline: auto; }
.vip-portrait::before {
    content: "";
    position: absolute;
    inset: -14%;
    z-index: -1;
    background: radial-gradient(circle, rgba(219, 168, 69, .3), transparent 68%);
}
.vip-portrait .gear-frame { max-width: 280px; aspect-ratio: 900 / 1100; }

.vip-responsible__layout { position: relative; }

@media (min-width: 1024px) {
    .tier-ladder { padding-top: 4.8rem; }
    .tier-ladder__list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.3rem; }
    .tier-ladder__list::before {
        left: 6%;
        right: 6%;
        top: 32px;
        bottom: auto;
        height: 4px;
        width: auto;
        background: linear-gradient(90deg, rgba(247, 227, 168, .15), var(--gold) 15%, var(--gold-dark) 85%, rgba(247, 227, 168, .15));
    }
    .tier-item { padding-left: 0; padding-top: 4.8rem; text-align: center; }
    .tier-item__medallion { left: 50%; top: 0; transform: translateX(-50%); }
    .tier-card__head { flex-direction: column; gap: .3rem; }
}

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

.platnosci-hero__bg {
    background-image: url("./assets/e26fe265ae5167df0795a9304726859d.webp");
    background-position: 32% center;
}
.platnosci-hero__inner { position: relative; display: flex; justify-content: flex-end; }
.platnosci-hero__plaque { width: 100%; max-width: 620px; }
.platnosci-hero__gear {
    position: absolute;
    right: 4%;
    top: 50%;
    transform: translateY(-50%);
    width: 220px;
    z-index: 0;
    opacity: .5;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .5));
}
.platnosci-hero__gear svg { display: block; width: 100%; height: auto; }
.platnosci-hero__note {
    margin: 1.1rem 0 0;
    font-size: .88rem;
    color: #e7d4ad;
}
.platnosci-hero__note a { color: var(--gold-light); }

.platnosci-deposit { position: relative; }
.platnosci-deposit-media { margin-bottom: clamp(1.6rem, 4vw, 2.4rem); }
.platnosci-deposit__link {
    margin-top: 1.6rem;
    text-align: center;
    max-width: 68ch;
    margin-inline: auto;
    color: var(--text-soft);
}

.split-media__frame img {
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
    display: block;
    margin-inline: auto;
}

.method-grid {
    position: relative;
    margin-top: clamp(1.8rem, 4vw, 2.6rem);
}
.method-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    padding-top: 2.6rem;
}
.method-card__ring {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .45));
}
.method-card__ring svg { display: block; width: 100%; height: auto; }
.method-card__body {
    width: 100%;
    padding: 1.4rem 1.1rem 1.1rem;
    background: var(--ox-surface);
    border-radius: var(--radius);
    box-shadow: var(--gold-hairline), 0 8px 18px rgba(0, 0, 0, .3);
    color: var(--cream);
}
.method-card__body h3 { color: var(--gold-light); margin-bottom: .45rem; }
.method-card__body p { color: #f0e2c6; font-size: .95rem; margin: 0; }
.method-card__plate {
    margin-top: -.5rem;
    padding: .4rem 1rem;
    background: var(--wood-surface);
    border-radius: 0 0 5px 5px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--gold-light);
    box-shadow: inset 0 0 0 2px var(--gold-dark);
    z-index: 1;
}

.platnosci-withdrawal__link {
    margin-top: 1.8rem;
    text-align: center;
    max-width: 68ch;
    margin-inline: auto;
    color: var(--text-soft);
}

.currency-panel__layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    text-align: center;
}
.currency-panel__media {
    width: 160px;
    flex: 0 0 160px;
}
.currency-panel__media img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}
.currency-panel__copy p { color: #f0e2c6; }
.currency-panel__copy a { color: var(--gold-light); }

.security-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.3rem;
    text-align: center;
}
.security-block__emblem {
    position: relative;
    width: 130px;
    flex: 0 0 130px;
}
.security-block__emblem::before {
    content: "";
    position: absolute;
    inset: -22%;
    z-index: -1;
    background: radial-gradient(circle, rgba(219, 168, 69, .32), transparent 68%);
}
.security-block__emblem svg { display: block; width: 100%; height: auto; }
.security-block__copy a { color: #8a3d12; }

.platnosci-faq__list { max-width: 880px; margin-inline: auto; }

.platnosci-links__grid { align-items: start; }

@media (min-width: 768px) {
    .method-grid::before {
        content: "";
        display: block;
        position: absolute;
        left: 8%;
        right: 8%;
        top: 30px;
        height: 3px;
        background: linear-gradient(90deg, rgba(247, 227, 168, .15), var(--gold) 15%, var(--gold-dark) 85%, rgba(247, 227, 168, .15));
        z-index: 0;
    }
    .split-media__frame img { max-width: 100%; }
    .currency-panel__layout { flex-direction: row; text-align: left; }
    .currency-panel__media { width: 190px; flex-basis: 190px; }
    .security-block { flex-direction: row; align-items: flex-start; text-align: left; }
}

@media (min-width: 1024px) {
    .platnosci-hero__plaque { max-width: 640px; }
}

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

.faq-hero__bg {
    background-image: url("./assets/a3f8b89e50af7542db57161b1029ced5.webp");
    background-position: 68% center;
}
.faq-hero__inner { display: flex; justify-content: flex-start; }
.faq-hero__plaque { width: 100%; max-width: 620px; }

.faq-quicknav {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1.3rem;
}
.faq-quicknav__pill {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: .4rem 1.1rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .04em;
    text-decoration: none;
    color: #3a2008;
    background: linear-gradient(180deg, #f8e7b0, #cf9c37);
    clip-path: polygon(8% 0, 92% 0, 100% 50%, 92% 100%, 8% 100%, 0 50%);
    box-shadow: inset 0 0 0 1px rgba(70, 44, 10, .5);
}
.faq-quicknav__pill:hover { filter: brightness(1.08); }

.faq-vip__wrap { position: relative; }
.faq-vip__rail {
    position: absolute;
    left: 50%;
    top: 30%;
    width: min(600px, 80%);
    height: 160px;
    transform: translateX(-50%);
    z-index: 0;
    opacity: .3;
    pointer-events: none;
}
.faq-vip__rail svg { display: block; width: 100%; height: 100%; }
.faq-vip .section-head,
.faq-vip .scroll-panel { position: relative; z-index: 1; }

.faq-safety__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.4rem;
}
.faq-safety__head .section-head { margin-bottom: 0; }
.faq-safety__lantern {
    width: 160px;
    flex: 0 0 160px;
}
.faq-safety__lantern img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}
.faq-safety__panel { position: relative; }
.faq-safety__panel .faq-list { position: relative; z-index: 1; }

.faq-responsible__layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.3rem;
    text-align: center;
}
.faq-responsible__copy { max-width: 72ch; }

.faq-links__grid { align-items: start; }
.faq-links__back {
    margin-top: 1.6rem;
    text-align: center;
    font-weight: 600;
}

@media (min-width: 768px) {
    .faq-safety__head {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    .faq-safety__head .section-head { text-align: left; flex: 1; }
    .faq-safety__head .section-head__rule { margin-inline: 0; }

    .faq-responsible__layout { flex-direction: row; align-items: flex-start; text-align: left; }
}

@media (min-width: 1024px) {
    .faq-hero__plaque { max-width: 640px; }
}

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

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}