/*
 * ALAWIN CASINO - design system
 * Dark aubergine Arabian-nights theme with molten gold and neon smoke accents.
 */

:root {
    /* Surfaces */
    --c-bg: #140a27;
    --c-bg-deep: #0d0519;
    --c-panel: #241041;
    --c-panel-2: #2f1655;
    --c-panel-3: #3a1c68;
    --c-brown: #2b1709;
    --c-brown-2: #3d2210;

    /* Accents */
    --gold: #f3c969;
    --gold-strong: #e5a83b;
    --gold-light: #ffe6ab;
    --cyan: #58e0ff;
    --magenta: #ff5cc8;

    /* Text */
    --text: #f8f2ff;
    --text-muted: #d2c2ee;
    --text-dark: #c16316;

    /* Type */
    --font-display: 'Baloo 2', 'Trebuchet MS', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    /* Layout */
    --container: 1200px;
    --radius: 18px;
    --radius-sm: 12px;
    --header-h: 64px;
    --header-bottom: 64px;

    /* Effects */
    --gold-gradient: linear-gradient(145deg, #ffeec0 0%, #f3c969 35%, #c8892a 65%, #ffe2a2 100%);
    --glow-gold: 0 8px 30px rgba(243, 201, 105, .28);
    --panel-border: 1px solid rgba(243, 201, 105, .28);
    --arabesque: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20width=%2764%27%20height=%2764%27%20viewBox=%270%200%2064%2064%27%3E%3Cpath%20d=%27M32%202l14%2030-14%2030-14-30z%27%20fill=%27none%27%20stroke=%27%23f3c969%27%20stroke-width=%271%27/%3E%3Ccircle%20cx=%2732%27%20cy=%2732%27%20r=%275%27%20fill=%27none%27%20stroke=%27%23f3c969%27%20stroke-width=%271%27/%3E%3Cpath%20d=%27M0%2032h14M50%2032h14%27%20stroke=%27%23f3c969%27%20stroke-width=%271%27/%3E%3C/svg%3E");
    --noise: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20width=%27120%27%20height=%27120%27%3E%3Cfilter%20id=%27n%27%3E%3CfeTurbulence%20type=%27fractalNoise%27%20baseFrequency=%27.85%27%20numOctaves=%273%27/%3E%3C/filter%3E%3Crect%20width=%27120%27%20height=%27120%27%20filter=%27url%28%23n%29%27%20opacity=%27.5%27/%3E%3C/svg%3E");
}

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

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

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

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

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

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

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

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

details {
    height: fit-content;
}

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

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

section {
    overflow: clip;
}

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

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

body {
    margin: 0;
    background-color: var(--c-bg);
    background-image:
        radial-gradient(120% 60% at 50% 0%, rgba(84, 32, 140, .55) 0%, rgba(20, 10, 39, 0) 60%),
        linear-gradient(180deg, #170b2c 0%, #140a27 45%, #0f0720 100%);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.68;
    overflow-x: hidden;
}

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

h1 { font-size: clamp(2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); }

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

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

strong { color: #fff; }

:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 3px;
    border-radius: 4px;
}

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

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

.section {
    position: relative;
    padding: clamp(2.75rem, 7vw, 5rem) 0;
}

.section > .container { position: relative; z-index: 2; }

.section--pattern::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--arabesque);
    background-size: 64px 64px;
    opacity: .07;
    pointer-events: none;
}

.section--panel {
    background: linear-gradient(180deg, #1c0e36 0%, #251046 55%, #1a0d32 100%);
    box-shadow: inset 0 0 140px rgba(0, 0, 0, .55);
}

.section--dark {
    background:
        radial-gradient(90% 100% at 50% 0%, rgba(120, 60, 20, .35), transparent 70%),
        linear-gradient(180deg, var(--c-brown) 0%, #1c1006 100%);
}

.section--dark::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--noise);
    opacity: .05;
    pointer-events: none;
}

.eyebrow {
    font-family: var(--font-display);
    font-size: .82rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 .55rem;
}

.lead {
    font-size: clamp(1rem, 2.1vw, 1.12rem);
    color: var(--text-muted);
    max-width: 62ch;
}

.section-head { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head--center { text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head h2 { margin-bottom: .5rem; }
.section-head h2::after {
    content: "";
    display: block;
    width: 84px;
    height: 3px;
    margin: .75rem 0 0;
    border-radius: 3px;
    background: var(--gold-gradient);
}
.section-head--center h2::after { margin-inline: auto; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--gold);
    color: var(--text-dark);
    padding: .75rem 1.2rem;
    font-weight: 700;
    border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 46px;
    padding: .7rem 1.4rem;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

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

.btn--gold {
    background: var(--gold-gradient);
    color: var(--text-dark);
    box-shadow: var(--glow-gold), inset 0 1px 0 rgba(255, 255, 255, .6);
    animation: goldBloom 3.6s ease-in-out infinite;
}
.btn--gold:hover { color: #1d0f02; box-shadow: 0 10px 38px rgba(243, 201, 105, .5), inset 0 1px 0 rgba(255,255,255,.7); }

.btn--outline {
    background: rgba(36, 16, 65, .72);
    color: var(--gold-light);
    border: 2px solid rgba(243, 201, 105, .6);
}
.btn--outline:hover { background: rgba(58, 28, 104, .9); color: #fff; }

.btn--ghost {
    background: transparent;
    color: var(--gold);
    padding-inline: .4rem;
    min-height: 44px;
}
.btn--ghost:hover { color: var(--gold-light); }

.btn--sm { min-height: 42px; padding: .5rem 1.05rem; font-size: .94rem; }
.btn--lg { min-height: 54px; padding: .9rem 1.9rem; font-size: 1.08rem; }

.btn__arrow { width: 20px; height: 20px; flex: none; }

@keyframes goldBloom {
    0%, 100% { box-shadow: 0 8px 26px rgba(243, 201, 105, .25), inset 0 1px 0 rgba(255,255,255,.6); }
    50% { box-shadow: 0 10px 40px rgba(255, 210, 120, .55), inset 0 1px 0 rgba(255,255,255,.75); }
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(15, 7, 32, .92);
    border-bottom: 1px solid rgba(243, 201, 105, .22);
}

.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .55); }

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    min-height: var(--header-h);
    padding-block: .5rem;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    color: var(--text);
    flex: none;
}

.site-brand__mark { width: 36px; height: 36px; flex: none; filter: drop-shadow(0 0 8px rgba(243, 201, 105, .45)); }

.site-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    font-family: var(--font-display);
}
.site-brand__text strong {
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--gold-light);
    letter-spacing: .01em;
}
.site-brand__text span {
    font-size: .62rem;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 44px;
    padding: .4rem .7rem;
    background: rgba(47, 22, 85, .85);
    border: 1px solid rgba(243, 201, 105, .4);
    border-radius: 12px;
    color: var(--gold-light);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .9rem;
    cursor: pointer;
}

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

.primary-nav {
    position: fixed;
    top: var(--header-bottom);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 95;
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 1rem 2.5rem;
    background: #1a0c33;
    border-top: 1px solid rgba(243, 201, 105, .22);
    overflow-y: auto;
}

.primary-nav.is-open { display: flex; }

.primary-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.primary-nav__list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: .4rem .25rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid rgba(243, 201, 105, .16);
}
.primary-nav__list a:hover { color: var(--gold-light); }

.nav-actions { display: flex; flex-direction: column; gap: .6rem; }
.nav-actions .btn { width: 100%; }

.header-actions { display: none; align-items: center; gap: .75rem; }

.header-login {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    padding: .5rem .25rem;
}
.header-login:hover { color: var(--gold-light); }

body.nav-open { overflow: hidden; }

/* ============================================
   SMOKE RIBBON
   ============================================ */

.smoke {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.smoke__layer--glow { opacity: .5; }
.smoke__layer--core { opacity: .75; }

.smoke--hero { opacity: .85; }
.smoke--weave { opacity: .6; }
.smoke--diagonal { opacity: .5; }
.smoke--arc { opacity: .55; }

.smoke__layer { animation: smokeDrift 14s ease-in-out infinite alternate; }
.smoke__layer--core { animation-duration: 11s; }

@keyframes smokeDrift {
    from { transform: translate3d(-1%, 1%, 0) scale(1.01); }
    to { transform: translate3d(1.5%, -1.5%, 0) scale(1.05); }
}

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

.hero {
    position: relative;
    display: flex;
    align-items: center;
    padding: clamp(2.5rem, 8vw, 5rem) 0 clamp(3rem, 9vw, 5.5rem);
    min-height: clamp(520px, 78vh, 760px);
    isolation: isolate;
}

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

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(13, 5, 25, .82) 0%, rgba(13, 5, 25, .35) 35%, rgba(13, 5, 25, .88) 100%);
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 90px;
    z-index: 1;
    background: linear-gradient(180deg, rgba(20, 10, 39, 0), var(--c-bg));
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 3;
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

.hero__title { margin-bottom: .65rem; text-shadow: 0 6px 26px rgba(0, 0, 0, .7); }
.hero__title em {
    font-style: normal;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__lead {
    color: #ece2ff;
    font-size: clamp(1rem, 2.3vw, 1.14rem);
    max-width: 56ch;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .8);
}

.hero__chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 1.1rem 0 0;
    padding: 0;
}
.hero__chips li {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .8rem;
    border-radius: 999px;
    background: rgba(24, 11, 46, .85);
    border: 1px solid rgba(243, 201, 105, .45);
    color: var(--gold-light);
    font-size: .86rem;
    font-weight: 600;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.4rem;
}

.hero__extra { margin-top: 1.2rem; }

.hero__mascot {
    position: relative;
    display: flex;
    justify-content: center;
}
.hero__mascot img {
    width: min(78%, 330px);
    height: auto;
    filter: drop-shadow(0 20px 45px rgba(0, 0, 0, .6));
}

/* ============================================
   OGEE ARCH TILES
   ============================================ */

.arch-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    position: relative;
    z-index: 2;
}

.arch-tile { position: relative; }

.arch-tile__frame {
    clip-path: url(#ogeeArch);
    background: var(--gold-gradient);
    padding: 4px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
}

.arch-tile__ring {
    clip-path: url(#ogeeArch);
    background: #1a0b33;
    padding: 3px;
}

.arch-tile__body {
    clip-path: url(#ogeeArch);
    background: linear-gradient(180deg, #46228a 0%, #2a1250 52%, #1d0d38 100%);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.arch-tile__img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 30%;
    display: block;
}

.arch-tile__content {
    padding: 1rem 1.15rem 1.6rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    align-items: center;
    flex: 1;
}

.arch-tile__content h3 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gold-light);
}

.arch-tile__content p {
    margin: 0;
    color: var(--text-muted);
    font-size: .95rem;
}

.arch-tile__content .btn { margin-top: auto; }

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

.mech-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
    position: relative;
    z-index: 2;
}

.mech-card {
    --mech-a: #341764;
    --mech-b: #1d1140;
    background: var(--gold-gradient);
    padding: 2px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
}

.mech-card--teal { --mech-a: #0f4a48; --mech-b: #14304a; }
.mech-card--plum { --mech-a: #4a1a5e; --mech-b: #220f3e; }
.mech-card--blue { --mech-a: #1b2a6b; --mech-b: #180f3a; }

.mech-card__inner {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 25px), calc(100% - 25px) 100%, 0 100%);
    background: linear-gradient(120deg, var(--mech-a), var(--mech-b));
    display: grid;
    grid-template-columns: minmax(0, 110px) minmax(0, 1fr);
    gap: .9rem;
    align-items: center;
    padding: 1rem 1.15rem 1.25rem;
    box-shadow: inset 0 0 28px rgba(88, 224, 255, .12);
    height: 100%;
}

.mech-card__img {
    width: 100%;
    max-width: 130px;
    height: auto;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .55));
    margin-block: -.35rem;
}

.mech-card__content h3 {
    margin: 0 0 .35rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--gold-light);
    font-size: 1.05rem;
}
.mech-card__content p { margin: 0 0 .5rem; color: var(--text-muted); font-size: .94rem; }

/* ============================================
   VIP TIERS
   ============================================ */

.tier-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
    align-items: stretch;
}

.tier-card {
    background: linear-gradient(180deg, rgba(58, 28, 104, .95), rgba(26, 12, 51, .95));
    border: 1px solid rgba(243, 201, 105, .4);
    border-radius: var(--radius);
    padding: 1.25rem 1.1rem;
    box-shadow: inset 0 0 26px rgba(243, 201, 105, .08);
}

.tier-card--2 { box-shadow: inset 0 0 30px rgba(88, 224, 255, .12); }
.tier-card--3 { box-shadow: inset 0 0 34px rgba(255, 92, 200, .14); }
.tier-card--4 { box-shadow: inset 0 0 38px rgba(243, 201, 105, .2); }
.tier-card--5 { box-shadow: inset 0 0 44px rgba(255, 210, 120, .3); border-color: var(--gold); }

.tier-card__gem { color: var(--gold); display: inline-flex; }
.tier-card--2 .tier-card__gem { color: var(--cyan); }
.tier-card--3 .tier-card__gem { color: var(--magenta); }
.tier-card--5 .tier-card__gem { color: var(--gold-light); }

.tier-card__level {
    margin: .4rem 0 .15rem;
    font-size: .8rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
}

.tier-card h3 { margin: 0 0 .6rem; }

.tier-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.tier-card li {
    position: relative;
    padding-left: 1.2rem;
    font-size: .93rem;
    color: var(--text-muted);
}
.tier-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
    background: var(--gold);
}

/* ============================================
   METHOD TILES / INFO CARDS / SEALS
   ============================================ */

.tile-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    align-items: stretch;
    position: relative;
    z-index: 2;
}

.method-tile {
    background: linear-gradient(180deg, rgba(52, 24, 96, .92), rgba(24, 11, 46, .96));
    border: var(--panel-border);
    border-radius: 60px 60px var(--radius) var(--radius);
    padding: 1.4rem 1.2rem 1.3rem;
    text-align: center;
    height: 100%;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 14px 34px rgba(0, 0, 0, .4);
}

.method-tile__icon { color: var(--gold); display: inline-flex; }
.method-tile h3 { margin: .5rem 0 .25rem; color: var(--gold-light); }
.method-tile__tag {
    display: inline-block;
    margin: 0 0 .5rem;
    padding: .15rem .7rem;
    border-radius: 999px;
    background: rgba(88, 224, 255, .14);
    border: 1px solid rgba(88, 224, 255, .4);
    color: #bdf0ff;
    font-size: .78rem;
    font-weight: 600;
}
.method-tile p { color: var(--text-muted); font-size: .95rem; margin: 0; }

.info-card {
    background: linear-gradient(180deg, rgba(47, 22, 85, .9), rgba(22, 11, 42, .95));
    border: var(--panel-border);
    border-radius: var(--radius);
    padding: 1.35rem 1.25rem;
    height: 100%;
}
.info-card__icon { color: var(--gold); display: inline-flex; margin-bottom: .4rem; }
.info-card h3 { margin: 0 0 .5rem; color: var(--gold-light); }
.info-card__body { color: var(--text-muted); font-size: .96rem; }
.info-card__body ul { margin: .4rem 0 0; padding-left: 1.1rem; }
.info-card__body li { margin-bottom: .35rem; }

.seal-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    position: relative;
    z-index: 2;
}

.seal {
    display: flex;
    gap: .9rem;
    align-items: flex-start;
    padding: 1.1rem 1.15rem;
    background: rgba(28, 16, 8, .72);
    border: 1px solid rgba(243, 201, 105, .35);
    border-radius: var(--radius);
    height: 100%;
}

.seal__medal {
    flex: none;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff0c9, #e2a63b 60%, #a9701d 100%);
    color: #3a2207;
    box-shadow: 0 6px 18px rgba(243, 201, 105, .35);
}

.seal h3 { margin: 0 0 .3rem; font-size: 1.05rem; color: var(--gold-light); }
.seal p { margin: 0; color: #e6d9c4; font-size: .93rem; }

.glyph { width: 32px; height: 32px; }
.glyph--sm { width: 24px; height: 24px; }
.glyph--seal { width: 28px; height: 28px; }
.glyph--gem { width: 30px; height: 30px; }

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

.step-rail {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.1rem;
    position: relative;
    z-index: 2;
}

.step-rail__item {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: .9rem;
    align-items: start;
    padding-bottom: .2rem;
}

.step-rail__item::before {
    content: "";
    position: absolute;
    left: 25px;
    top: 52px;
    bottom: -1.1rem;
    width: 2px;
    background: linear-gradient(180deg, rgba(243, 201, 105, .8), rgba(243, 201, 105, .05));
}
.step-rail__item:last-child::before { display: none; }

.step-rail__num {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: var(--text-dark);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: 0 0 22px rgba(243, 201, 105, .35);
}

.step-rail h3 { margin: .35rem 0 .3rem; font-size: 1.08rem; color: var(--gold-light); }
.step-rail p { margin: 0; color: var(--text-muted); font-size: .96rem; }

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

.table-wrapper {
    border: 1px solid rgba(243, 201, 105, .3);
    border-radius: var(--radius);
    background: rgba(24, 11, 46, .8);
    position: relative;
    z-index: 2;
}

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

.data-table caption {
    caption-side: top;
    text-align: left;
    padding: .9rem 1rem .2rem;
    color: var(--text-muted);
    font-size: .9rem;
}

.data-table thead th {
    background: linear-gradient(180deg, #f3c969, #d59b31);
    color: var(--text-dark);
    font-family: var(--font-display);
    font-size: .95rem;
    text-align: left;
    padding: .75rem 1rem;
    border-bottom: 2px solid rgba(0, 0, 0, .2);
}

.data-table tbody th,
.data-table tbody td {
    padding: .8rem 1rem;
    border-bottom: 1px solid rgba(243, 201, 105, .18);
    vertical-align: top;
    text-align: left;
}

.data-table tbody th { color: var(--gold-light); font-weight: 700; font-family: var(--font-display); }
.data-table tbody td { color: var(--text-muted); }
.data-table tbody tr:nth-child(even) { background: rgba(60, 28, 110, .3); }
.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td { border-bottom: 0; }

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

.faq-list {
    display: grid;
    gap: .8rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.faq-item {
    background: linear-gradient(180deg, rgba(49, 23, 90, .92), rgba(25, 12, 48, .95));
    border: 1px solid rgba(243, 201, 105, .32);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 56px;
    padding: .9rem 1.1rem;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 1.04rem;
    font-weight: 600;
    color: var(--gold-light);
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "";
    flex: none;
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(45deg) translateY(-3px);
    transition: transform .22s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq-item[open] { box-shadow: inset 0 0 30px rgba(243, 201, 105, .12); }

.faq-item__answer {
    padding: 0 1.1rem 1.1rem;
    color: var(--text-muted);
}

/* ============================================
   PAYMENT RIBBON
   ============================================ */

.pay-ribbon {
    position: relative;
    background: linear-gradient(180deg, #f6e0ac 0%, #e9c377 45%, #d9a84f 100%);
    border-block: 3px solid #b9832c;
    padding: 1.25rem 0;
    color: var(--text-dark);
}

.pay-ribbon::before,
.pay-ribbon::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 12px;
    background-image: var(--arabesque);
    background-size: 28px 28px;
    opacity: .35;
}
.pay-ribbon::before { top: 0; }
.pay-ribbon::after { bottom: 0; }

.pay-ribbon__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 1.5rem;
}

.pay-ribbon__brands,
.pay-ribbon__badges {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .6rem .9rem;
}

.pay-ribbon__brands li {
    padding: .45rem 1rem;
    border-radius: 10px;
    background: #1b0e33;
    color: var(--gold-light);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .98rem;
    letter-spacing: .02em;
}

.pay-ribbon__badges li {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #3a2207;
    font-size: .88rem;
    max-width: 230px;
}
.pay-ribbon__badges span { display: flex; flex-direction: column; line-height: 1.35; }
.pay-ribbon__badges strong { color: #c16316; font-family: var(--font-display); }

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

.breadcrumbs {
    padding: .85rem 0;
    background: rgba(13, 5, 25, .6);
    border-bottom: 1px solid rgba(243, 201, 105, .18);
    font-size: .88rem;
}
.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .6rem;
    margin: 0;
    padding: 0;
    color: var(--text-muted);
}
.breadcrumbs li + li::before { content: "›"; margin-right: .6rem; color: var(--gold); }
.breadcrumbs a { color: var(--gold); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--text); }

/* ============================================
   CTA BAND
   ============================================ */

.cta-band {
    position: relative;
    padding: clamp(2.5rem, 7vw, 4.25rem) 0;
    background:
        radial-gradient(80% 120% at 50% 0%, rgba(120, 52, 190, .55), transparent 70%),
        linear-gradient(180deg, #1d0e38, #120827);
    text-align: center;
}

.cta-band__inner { position: relative; z-index: 3; }
.cta-band h2 { margin-bottom: .5rem; }
.cta-band p { color: var(--text-muted); max-width: 60ch; margin-inline: auto; }
.cta-band .btn { margin-top: 1.25rem; }
.cta-band__note { margin-top: 1rem; font-size: .85rem; color: #b9a8d8; }

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

.site-footer {
    position: relative;
    margin-top: clamp(2rem, 6vw, 3.5rem);
    background:
        linear-gradient(180deg, #1b1005 0%, #120a04 60%, #0c0616 100%);
    border-top: 3px solid rgba(243, 201, 105, .4);
    overflow: clip;
}

.site-footer__lamp {
    position: absolute;
    right: -40px;
    bottom: 0;
    width: 200px;
    height: auto;
    opacity: .5;
    pointer-events: none;
}

.site-footer__grid {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 1.75rem;
    padding: clamp(2rem, 6vw, 3rem) 0 1.5rem;
}

.site-footer__col p { color: #d9cbb6; font-size: .94rem; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.site-footer__col li a,
.site-footer__contact li {
    display: block;
    padding: .45rem 0;
    color: #e9dcc5;
    font-size: .95rem;
    text-decoration: none;
}
.site-footer__col li a:hover { color: var(--gold-light); text-decoration: underline; }
.site-footer__contact li { color: #d9cbb6; }
.site-footer__contact a { color: var(--gold); }

.site-footer__title {
    font-size: 1rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .6rem;
}

.site-brand--footer { margin-bottom: .8rem; }

.age-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: .6rem;
    font-size: .88rem;
    color: #e9dcc5;
}
.age-badge span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #ff6b6b;
    color: #ff9c9c;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: .95rem;
}

.site-footer__legal {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(243, 201, 105, .2);
    background: rgba(9, 4, 18, .7);
    padding: 1.4rem 0;
    font-size: .84rem;
    color: #c6b8a3;
    line-height: 1.6;
}
.site-footer__legal p { margin-bottom: .8rem; }
.site-footer__legal strong { color: var(--gold-light); }
.site-footer__meta { margin-bottom: 0; }
.site-footer__sitemap { color: var(--gold); margin-left: .35rem; }

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

.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: opacity .6s ease, transform .6s ease;
}

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

/* ============================================
   BREAKPOINTS
   ============================================ */

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

@media (min-width: 768px) {
    :root { --header-h: 74px; }

    .hero__mascot img { width: min(70%, 420px); }
    .step-rail { gap: 1.4rem; }
    .site-footer__lamp { width: 280px; right: -20px; }
}

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

    .site-header__inner { gap: 1.25rem; }

    .primary-nav {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1.4rem;
        padding: 0;
        background: none;
        border: 0;
        overflow: visible;
        height: auto;
        flex: 1;
        justify-content: center;
    }

    .primary-nav__list { flex-direction: row; gap: 1.35rem; }
    .primary-nav__list a {
        min-height: 40px;
        padding: 0;
        border: 0;
        font-size: 1rem;
        letter-spacing: .02em;
        position: relative;
    }
    .primary-nav__list a::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -6px;
        height: 2px;
        background: var(--gold-gradient);
        transform: scaleX(0);
        transition: transform .2s ease;
    }
    .primary-nav__list a:hover::after { transform: scaleX(1); }

    .primary-nav .nav-actions { display: none; }
    .site-header__inner .header-actions { display: flex; }

    .hero { min-height: min(84vh, 760px); }
    .hero::before {
        background:
            linear-gradient(90deg, rgba(13, 5, 25, .94) 0%, rgba(13, 5, 25, .78) 34%, rgba(13, 5, 25, .18) 62%, rgba(13, 5, 25, .45) 100%),
            linear-gradient(180deg, rgba(13, 5, 25, .25), rgba(13, 5, 25, .6));
    }
    .hero__inner {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
        gap: 2rem;
    }
    .hero--solo .hero__inner { grid-template-columns: minmax(0, .72fr); }
    .hero__mascot img { width: min(100%, 520px); }

    .arch-grid { gap: 1.9rem; }
    .arch-tile__content { padding: 1.1rem 1.4rem 2rem; }

    .mech-card__inner { grid-template-columns: minmax(0, 170px) minmax(0, 1fr); gap: 1.2rem; padding: 1.25rem 1.6rem 1.5rem; }
    .mech-card__img { max-width: 190px; }
    .mech-card--flip .mech-card__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 170px); }
    .mech-card--flip .mech-card__img { order: 2; }

    .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.25rem; }

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

@media (min-width: 1280px) {
    .site-footer__lamp { width: 340px; }
}

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

.sitemap-hero h1 { margin-bottom: .6rem; }
.sitemap-hero .lead { max-width: 68ch; }

.sitemap-list-section h2 { margin-bottom: 1.6rem; }

.sitemap-groups {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
    position: relative;
    z-index: 2;
}

.sitemap-group {
    background: linear-gradient(180deg, rgba(52, 24, 96, .7), rgba(24, 11, 46, .85));
    border: 1px solid rgba(243, 201, 105, .28);
    border-radius: var(--radius);
    padding: 1.3rem 1.4rem 1.5rem;
}

.sitemap-group h3 {
    margin: 0 0 .9rem;
    color: var(--gold-light);
    font-size: 1.1rem;
    letter-spacing: .02em;
}

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

.sitemap-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .1rem .6rem;
    padding: .7rem 0 .7rem .9rem;
    border-left: 3px solid var(--gold);
    border-bottom: 1px solid rgba(243, 201, 105, .14);
}
.sitemap-list li:last-child { border-bottom: 0; }

.sitemap-list .glyph--sm {
    color: var(--gold);
    flex: none;
    align-self: center;
}

.sitemap-list a {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--text);
    text-decoration: none;
}
.sitemap-list a:hover { color: var(--gold-light); text-decoration: underline; }

.sitemap-list__desc {
    color: var(--text-muted);
    font-size: .9rem;
    flex-basis: 100%;
}

.sitemap-cta {
    margin-top: 1.8rem;
    color: var(--text-muted);
    font-size: .95rem;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .sitemap-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sitemap-list__desc { flex-basis: auto; margin-left: auto; text-align: right; }
}

@media (min-width: 1024px) {
    .sitemap-groups { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; }
    .sitemap-list__desc { margin-left: 0; text-align: left; flex-basis: 100%; }
}

/* Shared two-column helper (mobile base) */
.split { display: grid; gap: 1.5rem; position: relative; z-index: 2; }
.split__media { display: flex; justify-content: center; }
.split__media img { width: min(88%, 420px); height: auto; filter: drop-shadow(0 18px 38px rgba(0, 0, 0, .55)); }

/* ============================================
   PAYMENTS PAGE - KYC visual
   ============================================ */

.kyc-visual {
    padding: 1.5rem;
    border-radius: var(--radius);
    background: radial-gradient(70% 70% at 50% 40%, rgba(88, 224, 255, .16), transparent 70%);
}

.kyc-icon-group {
    width: min(70%, 220px);
    height: auto;
    filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .5));
}

/* ============================================
   GAMES PAGE - provider grid
   ============================================ */

.provider-grid {
    list-style: none;
    margin: 1.6rem 0 0;
    padding: 0;
    display: grid;
    gap: .7rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: relative;
    z-index: 2;
}

.provider-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 58px;
    padding: .7rem .6rem;
    border-radius: var(--radius-sm);
    background: rgba(36, 16, 65, .75);
    border: 1px solid rgba(243, 201, 105, .32);
    color: var(--gold-light);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .92rem;
    letter-spacing: .03em;
    text-transform: uppercase;
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.provider-tile:hover {
    background: rgba(58, 28, 104, .95);
    box-shadow: 0 0 22px rgba(243, 201, 105, .35);
    transform: translateY(-2px);
}

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

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

/* ============================================
   GAMES PAGE - jackpot band
   ============================================ */

.jackpot-band {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(380px, 58vw, 560px);
    padding: clamp(2.5rem, 6vw, 3.5rem) 0;
}

.jackpot-band__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: 72% 40%;
    background-repeat: no-repeat;
}

.jackpot-band::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(13, 5, 25, .18) 0%, rgba(13, 5, 25, .8) 68%, rgba(13, 5, 25, .95) 100%);
}

.jackpot-band__inner {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

.jackpot-band__inner .eyebrow { color: var(--gold-light); }
.jackpot-band__inner h2 { text-shadow: 0 4px 20px rgba(0, 0, 0, .7); }
.jackpot-band__inner p { color: #ece2ff; text-shadow: 0 2px 12px rgba(0, 0, 0, .7); }

.jackpot-band__counter {
    margin: .6rem 0 1.4rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.4rem, 8vw, 4.2rem);
    line-height: 1;
    color: var(--gold-light);
    text-shadow: 0 0 16px rgba(243, 201, 105, .45);
    animation: jackpotGlow 2.6s ease-in-out infinite;
}

.jackpot-band__counter span {
    display: block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-shadow: none;
}

@keyframes jackpotGlow {
    0%, 100% { text-shadow: 0 0 14px rgba(243, 201, 105, .4); }
    50% { text-shadow: 0 0 34px rgba(255, 214, 140, .85), 0 0 60px rgba(88, 224, 255, .35); }
}

/* ============================================
   HOMEPAGE - bonus teaser
   ============================================ */

.bonus-teaser__media {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1rem;
}

.bonus-teaser__media::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 8%;
    width: min(100%, 420px);
    aspect-ratio: 1;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(88, 224, 255, .45) 0%, rgba(120, 60, 200, .28) 42%, rgba(20, 10, 39, 0) 72%);
    pointer-events: none;
}

.bonus-teaser__figure {
    position: relative;
    z-index: 2;
    margin: 0 0 -.4em;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(4rem, 17vw, 7.5rem);
    line-height: .9;
    letter-spacing: -.02em;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.bonus-teaser__figure span,
.bonus-teaser__figure i {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-style: normal;
    filter: drop-shadow(0 6px 20px rgba(243, 201, 105, .45));
}

.bonus-teaser__figure i { font-size: .6em; margin-top: .12em; }

.bonus-teaser__media img {
    position: relative;
    z-index: 2;
    width: min(86%, 400px);
    height: auto;
    filter: drop-shadow(0 20px 36px rgba(0, 0, 0, .6));
}

.bonus-teaser__list {
    list-style: none;
    margin: 0 0 1.3rem;
    padding: 0;
    display: grid;
    gap: .45rem;
}

.bonus-teaser__list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-muted);
    font-size: .96rem;
}

.bonus-teaser__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 9px;
    height: 9px;
    transform: rotate(45deg);
    background: var(--gold);
    box-shadow: 0 0 10px rgba(243, 201, 105, .6);
}

.bonus-teaser__note {
    margin-top: 1rem;
    font-size: .86rem;
    color: #b9a8d8;
}

/* Section intro paragraph under a centred heading */
.section-intro {
    max-width: 70ch;
    margin: -.5rem auto clamp(1.6rem, 4vw, 2.4rem);
    text-align: center;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
}

/* ============================================
   HOMEPAGE - VIP teaser
   ============================================ */

.vip-teaser__media { position: relative; }

.vip-teaser__media::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(110%, 480px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 92, 200, .35) 0%, rgba(120, 60, 200, .3) 40%, rgba(20, 10, 39, 0) 70%);
    pointer-events: none;
}

.vip-teaser__media img { position: relative; z-index: 2; }

.tier-card__bullets {
    list-style: none;
    margin: 0 0 1.4rem;
    padding: 0;
    display: grid;
    gap: .55rem;
}

.tier-card__bullets li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--text-muted);
    font-size: .98rem;
}

.tier-card__bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .42em;
    width: 12px;
    height: 12px;
    background: var(--gold-gradient);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    box-shadow: 0 0 12px rgba(243, 201, 105, .5);
}

/* ============================================
   HOMEPAGE - payments + trust
   ============================================ */

.payments-note { padding-block: clamp(2rem, 5vw, 3rem); }
.payments-note h2 { margin-bottom: .7rem; }
.payments-note .lead { max-width: 74ch; }

.trust-note {
    position: relative;
    z-index: 2;
    margin-top: 1.6rem;
    max-width: 70ch;
    color: #e6d9c4;
    font-size: .96rem;
}
.trust-note a { color: var(--gold); }

@media (min-width: 1024px) {
    .bonus-teaser .split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; }
    .bonus-teaser__figure { font-size: clamp(5rem, 8vw, 8rem); }
    .vip-teaser .split { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
    .vip-teaser__media img { width: min(100%, 460px); }
}