/*
 * Rainbet Casino - design system
 * Dark crypto-first UI: deep navy, cyan/teal neon, violet glow.
 */

:root {
    --bg: #090a22;
    --bg-2: #10123a;
    --bg-3: #171944;
    --header: #1b1c46;
    --surface: rgba(21, 24, 66, 0.9);
    --surface-solid: #161a46;
    --surface-2: #1d2157;
    --line: rgba(63, 224, 212, 0.4);
    --line-soft: rgba(63, 224, 212, 0.22);
    --line-strong: rgba(63, 224, 212, 0.8);
    --cyan: #40e0d4;
    --cyan-2: #22c3c9;
    --violet: #8b6cf6;
    --violet-2: #b79cff;
    --text: #f1f3ff;
    --text-soft: #d8dcf5;
    --muted: #b9bfe0;
    --red: #f0525e;
    --green: #2fd28a;
    --amber: #f5b74a;
    --on-cyan: #04161f;
    --grad-cta: linear-gradient(90deg, #52f2de 0%, #22c3c9 100%);
    --grad-rainbow: linear-gradient(90deg, #40e0d4, #5b8cff, #8b6cf6, #e2457a);
    --glow: 0 0 24px rgba(64, 224, 212, 0.18);
    --glow-strong: 0 0 36px rgba(64, 224, 212, 0.4);
    --radius-s: 10px;
    --radius: 14px;
    --radius-l: 20px;
    --pill: 999px;
    --font-head: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    --container: 1120px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-bottom: 68px;
    --space-section: clamp(56px, 8vw, 96px);
}

/* ============================================
   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 & TYPOGRAPHY
   ============================================ */
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-bottom) + 16px);
}

html.menu-open,
html.menu-open body {
    overflow: hidden;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background:
        radial-gradient(1200px 600px at 85% 30%, rgba(139, 108, 246, 0.08), transparent 60%),
        radial-gradient(900px 500px at 10% 70%, rgba(64, 224, 212, 0.05), transparent 60%),
        var(--bg);
    min-height: 100vh;
    overflow-x: hidden;
}

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

h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.15rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 600; }

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

a {
    color: var(--cyan);
    text-decoration-thickness: 1px;
}

a:hover { color: #8ff3ea; }

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

ul, ol { padding-left: 1.25rem; }

strong { color: #fff; font-weight: 600; }

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

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    padding: 0.6rem 1rem;
    background: var(--cyan);
    color: var(--on-cyan);
    border-radius: var(--radius-s);
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus { top: 12px; }

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

/* ============================================
   LAYOUT PRIMITIVES
   ============================================ */
.container {
    width: min(100% - 2 * var(--gutter), var(--container));
    margin-inline: auto;
}

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

.section--tight { padding-block: clamp(36px, 5vw, 56px); }

.section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section__head h2 { margin-bottom: 0; }

.section__intro {
    max-width: 68ch;
    color: var(--text-soft);
    margin-bottom: 1.75rem;
}

.eyebrow {
    display: inline-block;
    margin: 0 0 0.9rem;
    padding: 0.3rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--cyan);
    border: 1px solid var(--line);
    border-radius: var(--pill);
    background: rgba(9, 10, 34, 0.75);
}

.lead {
    font-size: 1.08rem;
    color: var(--text-soft);
}

.prose { max-width: 70ch; }
.prose > * + h3 { margin-top: 1.6em; }

.muted { color: var(--muted); }

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

.card {
    position: relative;
    padding: clamp(20px, 3vw, 28px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--glow);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--glow-strong);
}

.card h3 { margin-bottom: 0.5rem; }

/* Section background layers */
.has-bg {
    position: relative;
    isolation: isolate;
}

.bg-layer {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--bg-img);
    background-size: cover;
    background-position: var(--bg-pos, center);
    background-repeat: no-repeat;
}

.bg-layer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--bg) 0%, rgba(9, 10, 34, 0.55) 14%, rgba(9, 10, 34, 0.55) 86%, var(--bg) 100%);
}

.curtain {
    position: absolute;
    z-index: -1;
    top: 0;
    left: -3%;
    width: clamp(150px, 22vw, 320px);
    aspect-ratio: 10 / 16;
    background: url("./assets/174d79e8e1434a20a1180a157662fbbb.webp") center top / contain no-repeat;
    pointer-events: none;
}

.curtain--right {
    left: auto;
    right: -3%;
}

/* ============================================
   BUTTONS & LINKS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.7rem 1.6rem;
    border-radius: var(--pill);
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn--primary {
    background: var(--grad-cta);
    color: var(--on-cyan);
    box-shadow: 0 0 22px rgba(64, 224, 212, 0.45);
}

.btn--primary:hover {
    color: var(--on-cyan);
    box-shadow: 0 0 34px rgba(64, 224, 212, 0.7);
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    color: var(--cyan);
    border-color: var(--cyan);
}

.btn--outline:hover {
    color: #fff;
    background: rgba(64, 224, 212, 0.12);
    box-shadow: 0 0 20px rgba(64, 224, 212, 0.3);
}

.btn--sm {
    min-height: 44px;
    padding: 0.5rem 1.15rem;
    font-size: 0.9375rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 44px;
    font-weight: 600;
    color: var(--cyan);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.icon { flex-shrink: 0; }

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(27, 28, 70, 0.96);
    border-bottom: 1px solid var(--line-soft);
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 68px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 44px;
    color: var(--text);
    text-decoration: none;
    flex-shrink: 0;
}

.site-brand:hover { color: var(--text); }

.site-brand__mark {
    width: 32px;
    height: 38px;
}

.site-brand__text {
    display: flex;
    flex-direction: column;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.02;
}

.site-brand__text span { color: var(--cyan); }

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

.nav-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--cyan);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.site-nav {
    position: fixed;
    top: var(--header-bottom);
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    z-index: 49;
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.25rem var(--gutter) 2rem;
    background: var(--bg-2);
    border-top: 1px solid var(--line-soft);
    overflow-y: auto;
    overscroll-behavior: contain;
}

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

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

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.25rem 0.5rem;
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid rgba(63, 224, 212, 0.12);
}

.site-nav__link[aria-current="page"] {
    color: var(--cyan);
    box-shadow: inset 3px 0 0 var(--cyan);
    padding-left: 0.9rem;
}

.header-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.header-actions .btn { width: 100%; }

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

    .site-nav,
    .site-nav.is-open {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        flex: 1;
        gap: 2rem;
        padding: 0;
        margin-left: 2.5rem;
        background: transparent;
        border: 0;
        overflow: visible;
    }

    .site-nav__list {
        display: flex;
        align-items: center;
        gap: 1.75rem;
    }

    .site-nav__link {
        position: relative;
        min-height: 44px;
        padding: 0;
        font-size: 1rem;
        border: 0;
        color: var(--text-soft);
    }

    .site-nav__link:hover { color: var(--text); }

    .site-nav__link[aria-current="page"] {
        color: var(--text);
        box-shadow: none;
        padding-left: 0;
    }

    .site-nav__link::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 4px;
        height: 3px;
        border-radius: 3px;
        background: var(--cyan);
        box-shadow: 0 0 10px rgba(64, 224, 212, 0.7);
        transform: scaleX(0);
        transition: transform 0.2s ease;
    }

    .site-nav__link[aria-current="page"]::after,
    .site-nav__link:hover::after { transform: scaleX(1); }

    .site-nav .header-actions {
        flex-direction: row;
        margin-left: auto;
    }

    .site-nav .header-actions .btn { width: auto; }
}

/* ============================================
   HERO (full-bleed environment)
   ============================================ */
.hero {
    position: relative;
    isolation: isolate;
    background: var(--bg);
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: clamp(280px, 80vw, 480px);
    z-index: -2;
    background-image: var(--hero-bg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: var(--hero-pos, 72% center);
}

.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 10, 34, 0.1) 0%, rgba(9, 10, 34, 0.35) 50%, var(--bg) 100%);
}

.hero__inner {
    padding-top: calc(clamp(280px, 80vw, 480px) - 96px);
    padding-bottom: 56px;
}

.hero__content {
    position: relative;
    max-width: 36rem;
}

.hero__content::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: -18%;
    top: -30%;
    width: 120%;
    height: 120%;
    background: radial-gradient(closest-side, rgba(139, 108, 246, 0.28), transparent 75%);
    pointer-events: none;
}

.hero__title { margin-bottom: 0.5em; }

.hero__lead {
    color: var(--text-soft);
    font-size: 1.05rem;
}

.hero__lead p { margin-bottom: 0.75em; }

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero__note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--muted);
}

@media (min-width: 768px) {
    .hero__bg {
        bottom: 0;
        height: auto;
    }

    .hero__bg::after {
        background:
            linear-gradient(90deg, rgba(9, 10, 34, 0.9) 0%, rgba(9, 10, 34, 0.65) 32%, rgba(9, 10, 34, 0) 62%),
            linear-gradient(180deg, rgba(9, 10, 34, 0) 70%, var(--bg) 100%);
    }

    .hero__inner {
        display: flex;
        align-items: center;
        min-height: min(86vh, 720px);
        padding-block: clamp(80px, 10vw, 140px) clamp(96px, 11vw, 150px);
    }

    .hero--compact .hero__inner { min-height: min(70vh, 600px); }

    .hero__content { max-width: min(36rem, 58%); }
}

@media (min-width: 1024px) {
    .hero__content { max-width: min(36rem, 46%); }
}

/* ============================================
   STRIP (trust / quick facts)
   ============================================ */
.strip {
    position: relative;
    background: var(--bg-3);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    padding-block: 22px;
}

.strip__heading {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.strip__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.strip__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.strip__icon {
    color: var(--cyan);
    display: inline-flex;
    filter: drop-shadow(0 0 6px rgba(64, 224, 212, 0.45));
}

.strip__icon .icon {
    width: 34px;
    height: 34px;
}

.strip__copy {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.strip__title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
}

.strip__title--link {
    color: var(--text);
    text-decoration: underline;
    text-decoration-color: var(--cyan);
    text-underline-offset: 0.2em;
}

.strip__text {
    font-size: 0.875rem;
    color: var(--muted);
}

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

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

    .strip__icon .icon {
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   CHECKLIST
   ============================================ */
.checklist {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--text-soft);
}

.checklist__tick {
    margin-top: 0.15rem;
    color: var(--cyan);
    filter: drop-shadow(0 0 4px rgba(64, 224, 212, 0.6));
}

/* ============================================
   SPLIT CARD (framed)
   ============================================ */
.split-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--glow), 0 20px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.split-card__media {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: var(--bg-2);
}

.split-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.split-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(9, 10, 34, 0.85) 100%);
    pointer-events: none;
}

.split-card__media--art {
    display: grid;
    place-items: center;
    padding: 24px;
}

.split-card__media--art::after { display: none; }

.split-card__caption {
    position: absolute;
    left: clamp(16px, 3vw, 28px);
    bottom: clamp(14px, 3vw, 24px);
    z-index: 1;
    font-family: var(--font-head);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.split-card__body {
    padding: clamp(22px, 4vw, 40px);
    align-self: center;
}

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

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

    .split-card__media {
        aspect-ratio: auto;
        min-height: 320px;
    }

    .split-card--reverse .split-card__media { order: 2; }
}

/* ============================================
   ART SPLIT (frameless integrated artwork)
   ============================================ */
.art-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
}

.art-split__media {
    position: relative;
    max-width: 460px;
    margin-inline: auto;
    width: 100%;
}

.art-split__media::before {
    content: "";
    position: absolute;
    inset: 8%;
    z-index: -1;
    background: radial-gradient(closest-side, rgba(64, 224, 212, 0.22), rgba(139, 108, 246, 0.12) 55%, transparent 80%);
    filter: blur(10px);
}

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

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

@media (min-width: 1024px) {
    .art-split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); }

    .art-split__media { max-width: none; }

    .art-split--reverse .art-split__media { order: 2; }
}

/* ============================================
   NOTE CARD (wide framed, integrated art)
   ============================================ */
.note-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(16px, 3vw, 32px);
    align-items: center;
    padding: clamp(20px, 4vw, 36px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--glow);
    overflow: hidden;
    isolation: isolate;
}

.note-card__media {
    position: relative;
    max-width: 360px;
    width: 100%;
    margin-inline: auto;
}

.note-card__media::before {
    content: "";
    position: absolute;
    inset: 4%;
    z-index: -1;
    background: radial-gradient(closest-side, rgba(64, 224, 212, 0.25), rgba(139, 108, 246, 0.12) 60%, transparent 85%);
    filter: blur(8px);
}

.note-card--red .note-card__media::before {
    background: radial-gradient(closest-side, rgba(240, 82, 94, 0.25), rgba(139, 108, 246, 0.1) 60%, transparent 85%);
}

.note-card--amber .note-card__media::before {
    background: radial-gradient(closest-side, rgba(245, 183, 74, 0.22), rgba(139, 108, 246, 0.1) 60%, transparent 85%);
}

.note-card__media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

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

@media (min-width: 768px) {
    .note-card { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); }

    .note-card__media { max-width: none; }
}

/* ============================================
   ACCORDION
   ============================================ */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.accordion__item {
    position: relative;
    background: rgba(18, 21, 60, 0.92);
    border: 1px solid rgba(63, 224, 212, 0.3);
    border-radius: 24px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.accordion__item[open] {
    border-color: var(--line-strong);
    box-shadow: 0 0 22px rgba(64, 224, 212, 0.22);
}

.accordion__item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    width: 64px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: rgba(185, 191, 224, 0.35);
    transition: background-color 0.2s ease;
}

.accordion__item[open]::before {
    background: var(--cyan);
    box-shadow: 0 0 10px rgba(64, 224, 212, 0.9);
}

.accordion__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 54px;
    padding: 0.85rem 1.25rem;
    cursor: pointer;
    list-style: none;
}

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

.accordion__summary:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: -4px;
    border-radius: 22px;
}

.accordion__q {
    margin: 0;
    font-family: var(--font-head);
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text);
}

.accordion__icon {
    flex-shrink: 0;
    color: var(--cyan);
    transition: transform 0.25s ease;
}

.accordion--chevron .accordion__item[open] .accordion__icon { transform: rotate(180deg); }

.accordion__plus-v { transition: opacity 0.2s ease; }

.accordion--plus .accordion__item[open] .accordion__plus-v { opacity: 0; }

.accordion__panel {
    padding: 0 1.25rem 1.15rem;
    color: var(--text-soft);
    animation: panel-in 0.25s ease;
}

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

@keyframes panel-in {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: none; }
}

/* ============================================
   STAT CARD
   ============================================ */
.stat-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

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

.stat-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    align-items: center;
    padding: clamp(22px, 3.5vw, 32px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--glow);
    overflow: hidden;
    isolation: isolate;
}

.stat-card__visual {
    display: flex;
    justify-content: center;
}

.stat-card__visual svg {
    width: 100%;
    max-width: 220px;
}

.stat-card__label {
    margin: 0 0 0.3rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.stat-card__figure {
    margin: 0 0 0.6rem;
    font-family: var(--font-head);
    font-size: clamp(2.25rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1;
    color: var(--cyan);
    text-shadow: 0 0 18px rgba(64, 224, 212, 0.45);
}

.stat-card__text {
    color: var(--text-soft);
    font-size: 0.95rem;
}

.stat-card__text p { margin-bottom: 0.6em; }

@media (min-width: 480px) {
    .stat-card { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }

    .stat-card--chart .stat-card__visual,
    .stat-card--coins .stat-card__visual { order: 2; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .stat-card { grid-template-columns: minmax(0, 1fr); }

    .stat-card--chart .stat-card__visual,
    .stat-card--coins .stat-card__visual { order: 0; }
}

/* Droplet emblem & watermark */
.droplet {
    display: block;
    width: 100%;
    height: auto;
}

.watermark {
    position: absolute;
    right: -6px;
    bottom: -12px;
    z-index: -1;
    width: 92px;
    opacity: 0.12;
    pointer-events: none;
}

.watermark--lg {
    width: 150px;
    right: -14px;
    bottom: -20px;
}

/* ============================================
   GAME CARDS & RAIL
   ============================================ */
.game-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(210px, 70%);
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 2px 14px;
    scrollbar-width: thin;
    scrollbar-color: var(--cyan) transparent;
}

.game-rail:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 4px;
}

@media (min-width: 768px) {
    .game-rail { grid-auto-columns: calc((100% - 28px) / 3); }
}

@media (min-width: 1024px) {
    .game-rail {
        grid-template-rows: repeat(2, auto);
        grid-auto-columns: calc((100% - 42px) / 4);
    }
}

.game-card {
    display: block;
    padding: 6px;
    background: var(--surface-solid);
    border: 1px solid rgba(63, 224, 212, 0.35);
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
    scroll-snap-align: start;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.game-card:hover {
    color: var(--text);
    border-color: var(--line-strong);
    box-shadow: var(--glow-strong);
    transform: translateY(-2px);
}

.game-card__thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-2);
}

.game-card__thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card__emblem {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: radial-gradient(closest-side, rgba(9, 10, 34, 0.35), transparent);
}

.game-card__emblem .droplet {
    width: 34%;
    max-width: 96px;
}

.game-card__label {
    display: block;
    padding: 0.7rem 0.5rem 0.5rem;
    text-align: center;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
}

.rail-controls {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.rail-controls[hidden] { display: none; }

.rail-btn {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--cyan);
    background: var(--surface-solid);
    border: 1px solid var(--line);
    border-radius: var(--radius-s);
    cursor: pointer;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.rail-btn:hover:not(:disabled) {
    border-color: var(--line-strong);
    box-shadow: var(--glow-strong);
}

.rail-btn:disabled {
    cursor: default;
    color: var(--muted);
    border-color: rgba(185, 191, 224, 0.25);
}

/* ============================================
   LINK HUB
   ============================================ */
.hub {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.hub__tiles {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.hub-tile {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    height: 100%;
    min-height: 92px;
    padding: 18px 20px;
    background: var(--surface-solid);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    color: var(--text);
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hub-tile:hover {
    color: var(--text);
    border-color: var(--line-strong);
    box-shadow: var(--glow-strong);
}

.hub-tile__icon {
    color: var(--cyan);
    display: inline-flex;
    filter: drop-shadow(0 0 5px rgba(64, 224, 212, 0.5));
}

.hub-tile__copy {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.hub-tile__title {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.05rem;
}

.hub-tile__text {
    font-size: 0.875rem;
    color: var(--muted);
}

.hub-cta {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: clamp(26px, 4vw, 40px);
    text-align: center;
    background: var(--surface);
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius);
    box-shadow: 0 0 40px rgba(64, 224, 212, 0.25);
    overflow: hidden;
    isolation: isolate;
}

.hub-cta__title {
    margin: 0;
    font-size: clamp(1.3rem, 2.6vw, 1.6rem);
    font-weight: 700;
}

.hub-cta__text {
    max-width: 42ch;
    color: var(--text-soft);
    margin: 0 0 0.5rem;
}

.hub-cta__note {
    margin: 0;
    font-size: 0.875rem;
    color: var(--muted);
}

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

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

/* ============================================
   TOOLTIP TERMS
   ============================================ */
.term {
    position: relative;
    display: inline-block;
}

.term__btn {
    padding: 0;
    font: inherit;
    font-weight: 600;
    color: var(--text);
    background: none;
    border: 0;
    border-bottom: 2px dotted var(--cyan);
    cursor: help;
}

.term__tip {
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    z-index: 30;
    width: max-content;
    max-width: min(280px, 78vw);
    padding: 0.65rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.45;
    color: var(--text);
    background: #0f1236;
    border: 1px solid var(--cyan);
    border-radius: var(--radius-s);
    box-shadow: var(--glow-strong);
    visibility: hidden;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.term:hover .term__tip,
.term__btn:focus-visible + .term__tip,
.term__btn[aria-expanded="true"] + .term__tip {
    visibility: visible;
    opacity: 1;
    transform: none;
}

/* ============================================
   RANK LADDER
   ============================================ */
.ranks {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.ranks::before,
.ranks::after {
    content: "";
    position: absolute;
    left: 25px;
    top: 0;
    width: 3px;
    border-radius: 3px;
}

.ranks::before {
    bottom: 0;
    background: rgba(64, 224, 212, 0.25);
    box-shadow: 0 0 10px rgba(139, 108, 246, 0.5);
}

.ranks::after {
    height: calc(100% * var(--progress, 0));
    background: var(--cyan);
    box-shadow: 0 0 12px rgba(64, 224, 212, 0.9);
}

.ranks__item {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    align-items: center;
    color: var(--rank-color);
}

.ranks__badge {
    width: 52px;
    height: 56px;
    filter: drop-shadow(0 0 8px var(--rank-color));
}

.ranks__name {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
}

@media (min-width: 768px) {
    .ranks {
        grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr));
        column-gap: 0;
    }

    .ranks::before,
    .ranks::after {
        left: 0;
        top: 27px;
        height: 3px;
    }

    .ranks::before {
        right: 0;
        width: auto;
        bottom: auto;
    }

    .ranks::after { width: calc(100% * var(--progress, 0)); }

    .ranks__item {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 8px;
        padding-inline: 4px;
    }

    .ranks__name { font-size: 0.85rem; }
}

/* ============================================
   FLOW / STEP CONNECTOR
   ============================================ */
.flow {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 28px;
}

.flow::before {
    content: "";
    position: absolute;
    left: 27px;
    top: 28px;
    bottom: 28px;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--cyan), var(--violet));
    box-shadow: 0 0 14px rgba(139, 108, 246, 0.8), 0 0 4px rgba(64, 224, 212, 0.9);
}

.flow::after {
    content: "";
    position: absolute;
    left: 23px;
    top: 28px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #e9fffd;
    box-shadow: 0 0 14px 5px rgba(64, 224, 212, 0.75);
    animation: flow-y 3.6s linear infinite;
}

@keyframes flow-y {
    0% { top: 28px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: calc(100% - 39px); opacity: 0; }
}

@keyframes flow-x {
    0% { left: calc(100% / var(--n, 3) / 2); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: calc(100% - 100% / var(--n, 3) / 2 - 11px); opacity: 0; }
}

.flow__step {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
    align-items: start;
}

.flow__node {
    position: relative;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: var(--cyan);
    background: var(--surface-solid);
    border: 1.5px solid var(--cyan);
    box-shadow: 0 0 18px rgba(64, 224, 212, 0.45), inset 0 0 12px rgba(139, 108, 246, 0.35);
}

.flow__num {
    position: absolute;
    top: -6px;
    right: -6px;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--on-cyan);
    background: var(--cyan);
}

.flow__copy {
    display: flex;
    flex-direction: column;
    padding-top: 0.35rem;
}

.flow__title {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text);
}

.flow__text {
    font-size: 0.95rem;
    color: var(--text-soft);
}

@media (min-width: 1024px) {
    .flow {
        grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
        column-gap: 0;
    }

    .flow::before {
        left: calc(100% / var(--n, 3) / 2);
        right: calc(100% / var(--n, 3) / 2);
        top: 27px;
        bottom: auto;
        width: auto;
        height: 3px;
        background: linear-gradient(90deg, var(--cyan), var(--violet));
    }

    .flow::after {
        top: 23px;
        animation-name: flow-x;
    }

    .flow__step {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 12px;
        padding-inline: 12px;
    }

    .flow__copy { padding-top: 0; }
}

/* ============================================
   TABLES, NOTES, TIPS, CHIPS
   ============================================ */
.table-wrap {
    max-width: 100%;
    overflow-x: auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--glow);
}

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

.data-table th,
.data-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    vertical-align: middle;
}

.data-table thead th {
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--text);
    border-bottom: 2px solid var(--cyan);
    box-shadow: 0 6px 12px -8px rgba(64, 224, 212, 0.7);
}

.data-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.035); }

.data-table td { color: var(--text-soft); }

.data-table .num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.data-table--sticky th:first-child,
.data-table--sticky td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--surface-solid);
}

.info-bar {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 1rem 1.15rem;
    background: var(--surface-solid);
    border-left: 3px solid var(--cyan);
    border-radius: var(--radius-s);
    color: var(--text-soft);
}

.info-bar .icon {
    color: var(--cyan);
    margin-top: 0.1rem;
}

.tip-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.5rem;
    border: 1.5px solid transparent;
    border-radius: 28px;
    background:
        linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
        var(--grad-rainbow) border-box;
    box-shadow: 0 0 26px rgba(139, 108, 246, 0.25);
    font-weight: 600;
    color: var(--text);
}

.tip-pill .icon { color: var(--cyan); }

.chip-nav {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding: 4px 2px 10px;
    scrollbar-width: thin;
}

.chip {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.45rem 1.1rem;
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text);
    text-decoration: none;
    background: var(--surface-solid);
    border: 1px solid var(--line);
    border-radius: var(--pill);
}

.chip:hover,
.chip.is-active {
    color: var(--on-cyan);
    background: var(--cyan);
    border-color: var(--cyan);
}

.badge-18 {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border: 2px solid var(--cyan);
    border-radius: 50%;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--cyan);
}

.updated {
    font-size: 0.875rem;
    color: var(--muted);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    position: relative;
    isolation: isolate;
    overflow: clip;
    background: #13143a;
    border-top: 1px solid var(--line-soft);
    padding-top: clamp(44px, 6vw, 64px);
    color: var(--text-soft);
}

.site-footer::before,
.site-footer::after {
    content: "";
    position: absolute;
    top: -40px;
    z-index: -1;
    width: clamp(140px, 18vw, 260px);
    aspect-ratio: 10 / 16;
    background: url("./assets/174d79e8e1434a20a1180a157662fbbb.webp") center top / contain no-repeat;
    opacity: 0.28;
    pointer-events: none;
}

.site-footer::before { left: -40px; }

.site-footer::after {
    right: -40px;
    transform: scaleX(-1);
}

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

.footer-brand p {
    font-size: 0.9375rem;
    max-width: 40ch;
}

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

.site-brand--footer .site-brand__text { font-size: 1.45rem; }

.footer-licence { color: var(--muted); }

.footer-col__title {
    margin: 0 0 0.75rem;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
}

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

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

.footer-col a:hover {
    color: var(--cyan);
    text-decoration: underline;
}

.footer-rg {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.875rem;
    color: var(--muted);
}

.footer-bottom {
    border-top: 1px solid var(--line-soft);
    padding-block: 18px;
}

.footer-bottom__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    font-size: 0.875rem;
    color: var(--muted);
}

.footer-bottom__inner p { margin: 0; }

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

    .footer-brand { grid-column: 1 / -1; }
}

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

    .footer-brand { grid-column: auto; }
}

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

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

/* ============================================
   HOMEPAGE ADDITIONS
   ============================================ */
.inline-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.5rem;
    margin-top: 1.25rem;
}

.rewards-zone .split-card { z-index: 1; }

.wave-zone { overflow: clip; }

/* ============================================
   BONUSSER PAGE
   ============================================ */
.ring-timer {
    display: block;
    width: min(100%, 220px);
    height: auto;
}

.ring-timer__arc {
    transform: rotate(-90deg);
    transform-origin: 80px 80px;
}

.recur-card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: var(--surface-solid);
}

.recur-card__icon {
    width: 72px;
    height: 64px;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 6px rgba(64, 224, 212, 0.4));
}

.rakeback-figure {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    margin: 1.25rem 0;
}

.rakeback-figure__num {
    font-family: var(--font-head);
    font-size: clamp(2.3rem, 6vw, 3.4rem);
    font-weight: 700;
    line-height: 1;
    color: var(--cyan);
    text-shadow: 0 0 18px rgba(64, 224, 212, 0.45);
}

.flow-diagram {
    margin: 2rem 0 0;
    padding: clamp(16px, 3vw, 28px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--glow);
}

.flow-diagram figcaption {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    text-align: center;
}

.diagram {
    display: block;
    margin-inline: auto;
}

.diagram--h { display: none; width: 100%; max-width: 720px; }
.diagram--v { width: 100%; max-width: 280px; }

@media (min-width: 768px) {
    .diagram--h { display: block; }
    .diagram--v { display: none; }
}

.ranks-card { padding-block: clamp(24px, 4vw, 36px); }

.podium {
    display: block;
    width: 200px;
    height: auto;
    margin: 1.5rem auto 0;
}

.terms-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.padlock {
    width: 140px;
    height: auto;
    margin-inline: auto;
    filter: drop-shadow(0 0 14px rgba(139, 108, 246, 0.45));
}

.terms-layout .accordion { align-self: start; }

@media (min-width: 1024px) {
    .terms-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
    .padlock { width: 200px; margin-top: 0.5rem; }
}

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

.glossary-tile {
    padding: 18px 20px;
    background: var(--surface-solid);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
}

.glossary-tile p {
    margin: 0.6rem 0 0;
    font-size: 0.95rem;
    color: var(--text-soft);
}

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

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

@media (prefers-reduced-motion: reduce) {
    .diagram__dot { display: none; }
}

.art-split__body .accordion {
    align-items: stretch;
    margin: 1.5rem 0 1rem;
}

.note-card .tip-pill { margin: 1.25rem 0 0.25rem; }

.licence-badge {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 13%;
    min-width: 34px;
    max-width: 54px;
    aspect-ratio: 1;
    border-radius: 50%;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.licence-badge .icon {
    width: 58%;
    height: 58%;
    stroke-width: 2.6;
}

.licence-badge--x {
    left: 32%;
    top: 64%;
    background: var(--red);
    box-shadow: 0 0 18px rgba(240, 82, 94, 0.75);
}

.licence-badge--ok {
    left: 80%;
    top: 60%;
    background: var(--green);
    box-shadow: 0 0 18px rgba(47, 210, 138, 0.75);
}

.hub-outro {
    max-width: 70ch;
    margin-top: 2rem;
    color: var(--text-soft);
}

/* ============================================
   SPIL PAGE
   ============================================ */
.provider-grid {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.provider-tile {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-height: 76px;
    padding: 14px 16px;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--text);
    background: var(--surface-solid);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.provider-tile:hover {
    border-color: var(--line-strong);
    box-shadow: var(--glow-strong);
}

.provider-tile__emblem {
    flex-shrink: 0;
    width: 38px;
}

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

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

.originals-zone { isolation: isolate; }

.originals-zone .ribbon {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    max-width: none;
    opacity: 0.4;
    pointer-events: none;
}

.steps-title { margin-top: 2rem; }

.steps-list {
    max-width: 74ch;
    margin: 0 0 1.75rem;
    padding-left: 1.4rem;
    display: grid;
    gap: 0.9rem;
    color: var(--text-soft);
}

.steps-list li::marker {
    color: var(--cyan);
    font-weight: 700;
}

.flow + .steps-title { margin-top: 2.5rem; }

.demo-card { max-width: 760px; }

.gap-art {
    display: block;
    width: 100%;
    height: auto;
}

.note-card__media .gap-art { max-width: 360px; margin-inline: auto; }

.faq-more { margin-top: 1.25rem; }

.cta-band { max-width: 760px; margin-inline: auto; }

.cta-band__actions { justify-content: center; margin-top: 0.25rem; }

/* ============================================
   OM OS PAGE
   ============================================ */
.about-prose { max-width: 72ch; }

.about-prose p { color: var(--text-soft); }

.compare-card { margin-top: 1.75rem; }

.compare-table { min-width: 560px; }

.compare-table tbody tr:nth-child(odd) { background: rgba(23, 25, 68, 0.95); }

.compare-table tbody tr:nth-child(even) { background: rgba(14, 16, 48, 0.95); }

.compare-table tbody th {
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--text);
}

.compare-table thead th {
    border-bottom-color: var(--cyan);
    box-shadow: 0 8px 14px -8px rgba(64, 224, 212, 0.85);
}

.cell {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.mark {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: var(--on-cyan);
}

.mark .icon {
    width: 16px;
    height: 16px;
    stroke-width: 2.8;
}

.mark--ok {
    background: var(--green);
    box-shadow: 0 0 10px rgba(47, 210, 138, 0.6);
}

.mark--no {
    background: var(--red);
    box-shadow: 0 0 10px rgba(240, 82, 94, 0.6);
}

.compare-note {
    max-width: 70ch;
    margin-top: 1.25rem;
}

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

.dot-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: var(--text-soft);
}

.dot-list li::before {
    content: "";
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    margin-top: 0.5rem;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 8px rgba(245, 183, 74, 0.7);
}

.globe-art {
    display: block;
    width: 100%;
    max-width: 280px;
    height: auto;
    margin-inline: auto;
    filter: drop-shadow(0 0 18px rgba(240, 82, 94, 0.4));
}

.mini-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mini-card h3 { margin: 0; }

.mini-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-soft);
}

.mini-card__icon {
    display: inline-flex;
    color: var(--cyan);
    filter: drop-shadow(0 0 6px rgba(64, 224, 212, 0.5));
}

.mini-card--warn .mini-card__icon {
    color: var(--red);
    filter: drop-shadow(0 0 6px rgba(240, 82, 94, 0.55));
}

.security-note {
    max-width: 72ch;
    margin-top: 1.75rem;
    color: var(--text-soft);
}

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

.rating-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.rating-card__label {
    margin: 0;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--text);
}

.rating-card__figure {
    margin: 0;
    font-family: var(--font-head);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--cyan);
    text-shadow: 0 0 18px rgba(64, 224, 212, 0.45);
}

.rating-card__meta {
    margin: 0;
    font-size: 0.9rem;
}

.rating-bar {
    width: 100%;
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 0 6px rgba(64, 224, 212, 0.4));
}

@media (min-width: 1024px) {
    .rep-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr); gap: 48px; }
}

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

.ranks-text {
    margin-top: 1.75rem;
}

.ranks-text p { color: var(--text-soft); }

.ranks-text .muted { color: var(--muted); }

.tier-table {
    min-width: 360px;
}

.tier-table tbody + tbody th,
.tier-table tbody + tbody td {
    border-top: 1px solid var(--line);
}

.tier-table tbody tr:nth-child(odd) > * { background: #171944; }

.tier-table tbody tr:nth-child(even) > * { background: #0e1030; }

.tier-table tbody th {
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

.tier-table td {
    color: var(--text);
    font-weight: 500;
}

.tier-table thead th:first-child {
    position: sticky;
    left: 0;
    background: var(--surface-solid);
    z-index: 2;
}

.tier-name {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.tier-hex {
    flex-shrink: 0;
    filter: drop-shadow(0 0 4px currentColor);
}

.thresholds-text {
    margin-top: 1.5rem;
    color: var(--text-soft);
}

.progress-card {
    position: relative;
    isolation: isolate;
    max-width: 760px;
    padding: clamp(22px, 3.5vw, 32px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--glow);
    overflow: hidden;
}

.progress-card__tag {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.2rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--on-cyan);
    background: var(--amber);
    border-radius: var(--pill);
}

.progress-card__title {
    margin: 0 0 1rem;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
}

.progress-track {
    height: 18px;
    background: #0b0d2b;
    border: 1px solid var(--line-soft);
    border-radius: var(--pill);
    overflow: hidden;
}

.progress-fill {
    position: relative;
    width: 38%;
    height: 100%;
    border-radius: var(--pill);
    background: linear-gradient(90deg, var(--cyan), var(--violet));
    box-shadow: 0 0 14px rgba(64, 224, 212, 0.6);
    overflow: hidden;
}

.progress-fill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: shimmer 2.6s ease-in-out infinite;
}

@keyframes shimmer {
    to { transform: translateX(100%); }
}

.progress-card__labels {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.7rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-soft);
}

.curve-art {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    margin-inline: auto;
    filter: drop-shadow(0 0 16px rgba(245, 183, 74, 0.35));
}

.note-card .dot-list { margin-bottom: 1rem; }

.note-card .dot-list a { color: var(--cyan); }

@media (prefers-reduced-motion: reduce) {
    .progress-fill::after { display: none; }
}

/* ============================================
   BETALINGER PAGE
   ============================================ */
.ghost-zone { isolation: isolate; }

.ghost-art {
    position: absolute;
    z-index: -1;
    top: 8%;
    width: clamp(120px, 18vw, 240px);
    height: auto;
    opacity: 0.1;
    pointer-events: none;
}

.ghost-art--l { left: -30px; }

.ghost-art--r {
    right: -30px;
    top: auto;
    bottom: 6%;
}

.coin-row {
    list-style: none;
    margin: 0 0 0.5rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.coin svg {
    display: block;
    filter: drop-shadow(0 0 8px rgba(64, 224, 212, 0.45));
}

.coin-more {
    display: inline-grid;
    place-items: center;
    min-width: 52px;
    height: 36px;
    padding-inline: 0.8rem;
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--cyan);
    border: 1.5px solid var(--cyan);
    border-radius: var(--pill);
    box-shadow: 0 0 12px rgba(64, 224, 212, 0.35);
}

.login-tiles {
    list-style: none;
    margin: 1.75rem 0 1.25rem;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.login-tile {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-height: 92px;
    padding: 18px 20px;
    background: var(--surface-solid);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.login-tile__icon {
    display: inline-flex;
    color: var(--cyan);
    filter: drop-shadow(0 0 5px rgba(64, 224, 212, 0.5));
}

.login-tile__copy {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.login-tile__title {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text);
}

.login-tile__text {
    font-size: 0.875rem;
    color: var(--muted);
}

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

.info-bar p { margin: 0; }

.aurora-zone { isolation: isolate; }

.aurora {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    max-width: none;
    opacity: 0.35;
    filter: blur(14px);
    pointer-events: none;
}

.note-card--violet .note-card__media::before {
    background: radial-gradient(closest-side, rgba(139, 108, 246, 0.4), rgba(64, 224, 212, 0.1) 60%, transparent 85%);
}

.rules-tip { margin-top: 1.75rem; }

.card.mini-card:hover { box-shadow: var(--glow); border-color: var(--line); }

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

.faq-topics { padding-block: 18px 0; }

.faq-topics .chip-nav { padding-bottom: 6px; }

.section--band {
    background: rgba(16, 18, 58, 0.72);
    border-block: 1px solid var(--line-soft);
}

.faq-group__intro {
    max-width: 68ch;
    margin-bottom: 1.5rem;
    color: var(--text-soft);
}

.faq-block { max-width: 860px; }

.faq-gap { margin-top: 2.25rem; }

.faq-more { margin-top: 1.25rem; }

.legal-emblem {
    display: block;
    width: 100%;
    max-width: 340px;
    height: auto;
    margin-inline: auto;
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.faq-aside {
    align-self: start;
}

.faq-aside h3 { margin-bottom: 0.9rem; }

.faq-aside .checklist { margin-bottom: 1rem; }

.faq-aside--diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.faq-aside--diagram p { margin: 0; font-size: 0.9rem; }

.pf-diagram {
    display: block;
    width: 100%;
    max-width: 340px;
    height: auto;
}

.rank-mini {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    margin-top: 1rem;
}

.art-split--hourglass .art-split__media { max-width: 240px; }

.art-split--hourglass .art-split__media::before {
    background: radial-gradient(closest-side, rgba(64, 224, 212, 0.3), rgba(34, 195, 201, 0.1) 60%, transparent 85%);
}

.faq-closing {
    max-width: 70ch;
    margin-top: 2rem;
    color: var(--text-soft);
}

@media (min-width: 1024px) {
    .faq-layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; }

    .art-split--hourglass { grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr); }

    .art-split--hourglass .art-split__media { max-width: 340px; }
}

/* ============================================
   MOTION CONTROL
   ============================================ */
.is-offscreen,
.is-offscreen::before,
.is-offscreen::after,
.is-offscreen *,
.is-doc-hidden *,
.is-doc-hidden *::before,
.is-doc-hidden *::after {
    animation-play-state: paused !important;
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .flow::after { display: none; }

    .accordion__panel { animation: none; }
}