/* ============================================================
   RAINBET CASINO - DESIGN SYSTEM
   Fixed dark neon theme ("crypto rain" palette).
   No theme switcher: one effective token set in :root.
   Fonts: Space Grotesk (display) + IBM Plex Sans (body).
   Mobile-first: base = 320px, breakpoints 768px / 1024px.
   ============================================================ */

:root {
    /* Color tokens - deep ink navy field with neon rain accents */
    --background: #0a0f1e;
    --foreground: #eef2fb;
    --card: #141b30;
    --card-foreground: #eef2fb;
    --popover: #10162a;
    --popover-foreground: #eef2fb;
    --primary: #2ee97f;
    --primary-foreground: #05130b;
    --secondary: #1d2642;
    --secondary-foreground: #e6ecf8;
    --muted: #232d4a;
    --muted-foreground: #9fb0cf;
    --accent: #22d3ee;
    --accent-foreground: #051017;
    --violet: #a78bfa;
    --destructive: #f5a524;
    --destructive-foreground: #170d00;
    --border: #2c3a5e;
    --input: #161e36;
    --ring: #22d3ee;

    /* Typography */
    --font-display: "Space Grotesk", "Segoe UI", sans-serif;
    --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;

    /* Spacing scale (8px base grid) */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Layout */
    --container: 1180px;
    --header-height: 64px;

    /* Shape & effects */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --glow-cyan: 0 0 24px rgba(34, 211, 238, 0.25);
    --glow-green: 0 0 24px rgba(46, 233, 127, 0.28);
    --transition-fast: 180ms ease-out;
    --transition-med: 260ms ease-out;
    --transition-slow: 420ms ease-out;
}

/* ============================================
   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;
}

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

section {
    overflow: clip;
}

/* ============================================
   BASE - Typography & document defaults
   ============================================ */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: var(--background);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 16.5px;
    line-height: 1.58;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.18;
    letter-spacing: -0.015em;
    margin: 0 0 var(--space-md);
    color: var(--foreground);
}

h1 {
    font-size: clamp(1.875rem, calc(1.4rem + 2.4vw), 2.875rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.625rem, calc(1.3rem + 1.6vw), 2.125rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.313rem, calc(1.15rem + 0.8vw), 1.5rem);
    font-weight: 600;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

p {
    margin: 0 0 var(--space-md);
    max-width: 72ch;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 3px;
    border-radius: 4px;
}

ul, ol {
    padding-left: var(--space-lg);
    margin: 0 0 var(--space-md);
}

li {
    margin-bottom: var(--space-xs);
}

strong {
    color: var(--foreground);
}

small, .micro {
    font-size: 0.875rem;
    line-height: 1.5;
}

hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: var(--space-2xl) 0;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    z-index: 2000;
    padding: var(--space-sm) var(--space-md);
    background: var(--primary);
    color: var(--primary-foreground);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-sm);
}

/* ============================================
   LAYOUT - Container, sections, prose
   ============================================ */

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--space-md);
}

.section {
    padding-block: 56px;
}

.section--tight {
    padding-block: 44px;
}

.section__kicker {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.prose {
    max-width: 72ch;
}

.prose p,
.prose li {
    color: var(--muted-foreground);
}

.prose a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.prose a:hover {
    color: var(--primary);
}

@media (min-width: 768px) {
    .container {
        padding-inline: var(--space-lg);
    }
}

@media (min-width: 1024px) {
    .section {
        padding-block: 96px;
    }

    .section--tight {
        padding-block: 72px;
    }

    .container {
        padding-inline: var(--space-xl);
    }
}

/* ============================================
   RAIN-GRID - Signature luminous rain backdrop
   Fine cyan-to-violet streaks + droplet glints.
   Applied to heroes and CTA bands.
   ============================================ */

.rain-grid {
    position: relative;
    background-color: var(--popover);
    background-image:
        radial-gradient(circle at 22% 18%, rgba(34, 211, 238, 0.10) 0, transparent 32%),
        radial-gradient(circle at 78% 82%, rgba(167, 139, 250, 0.10) 0, transparent 36%),
        repeating-linear-gradient(
            90deg,
            rgba(34, 211, 238, 0.05) 0px,
            rgba(34, 211, 238, 0.05) 1px,
            transparent 1px,
            transparent 56px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(167, 139, 250, 0.04) 0px,
            rgba(167, 139, 250, 0.04) 1px,
            transparent 1px,
            transparent 112px
        );
}

.rain-grid::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(180deg, rgba(34, 211, 238, 0.16), transparent 42%),
        linear-gradient(180deg, rgba(46, 233, 127, 0.10), transparent 38%);
    background-size: 2px 140px, 2px 180px;
    background-repeat: repeat;
    background-position: 18% 0, 64% 40px;
    opacity: 0.5;
    animation: rain-drift 9s linear infinite;
}

@keyframes rain-drift {
    from { background-position: 18% -140px, 64% -140px; }
    to   { background-position: 18% 340px, 64% 460px; }
}

.rain-grid > * {
    position: relative;
    z-index: 1;
}

/* ============================================
   BUTTONS - Primary rain-green CTA & ghost
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    min-height: 44px;
    padding: 0.7rem 1.4rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast),
                background-color var(--transition-fast), color var(--transition-fast),
                border-color var(--transition-fast);
}

.btn--primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
    box-shadow: var(--glow-green);
}

.btn--primary:hover {
    color: var(--primary-foreground);
    background-color: #4cf594;
    transform: translateY(-2px) rotate(-1deg);
    box-shadow: 0 0 34px rgba(46, 233, 127, 0.45);
}

.btn--ghost {
    background-color: transparent;
    color: var(--foreground);
    border-color: var(--border);
}

.btn--ghost:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.btn--xl {
    min-height: 52px;
    padding: 0.95rem 2.2rem;
    font-size: 1.125rem;
}

/* ============================================
   HEADER - Sticky glass bar + mobile drawer
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(10, 15, 30, 0.96);
    border-bottom: 1px solid var(--border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    max-width: var(--container);
    margin-inline: auto;
    padding: 0 var(--space-md);
    height: var(--header-height);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--foreground);
    flex-shrink: 0;
}

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

.site-brand__mark {
    filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.6));
}

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

.site-header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.site-header__actions .btn {
    display: none;
    min-height: 40px;
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
}

/* Hamburger toggle */
.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--foreground);
    border-radius: 2px;
    transition: transform var(--transition-med), opacity var(--transition-fast);
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

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

/* Mobile drawer - solid opaque panel below the header */
.primary-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background-color: var(--background);
    background-image:
        radial-gradient(circle at 85% 12%, rgba(167, 139, 250, 0.10) 0, transparent 40%),
        radial-gradient(circle at 10% 85%, rgba(34, 211, 238, 0.08) 0, transparent 42%);
    border-top: 1px solid var(--border);
    overflow-y: auto;
    padding: var(--space-lg) var(--space-md) var(--space-2xl);
}

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

.primary-nav__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-xs);
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-lg);
}

.primary-nav__link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 var(--space-md);
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--foreground);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background-color: var(--card);
    transition: border-color var(--transition-fast), color var(--transition-fast);
}

.primary-nav__link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.primary-nav__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.primary-nav__actions .btn {
    width: 100%;
    min-height: 48px;
}

@media (min-width: 768px) {
    .site-header__actions .btn {
        display: inline-flex;
    }

    .primary-nav__actions {
        flex-direction: row;
    }

    .primary-nav__actions .btn {
        width: auto;
        flex: 1;
    }
}

@media (min-width: 1080px) {
    .site-header {
        background-color: rgba(10, 15, 30, 0.82);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .nav-toggle {
        display: none;
    }

    .primary-nav {
        display: flex;
        position: static;
        flex: 1;
        align-items: center;
        justify-content: flex-end;
        gap: var(--space-lg);
        background: none;
        border: none;
        overflow: visible;
        padding: 0;
    }

    .primary-nav__list {
        flex-direction: row;
        align-items: center;
        gap: 2px;
        margin: 0;
    }

    .primary-nav__link {
        min-height: 40px;
        padding: 0 var(--space-sm);
        font-size: 0.9375rem;
        background: transparent;
        border: 1px solid transparent;
        border-radius: var(--radius-sm);
        white-space: nowrap;
    }

    .primary-nav__link:hover {
        background-color: var(--secondary);
    }

    .primary-nav__actions {
        display: none;
    }
}

/* ============================================
   HERO - Full-bleed banners with model cutout
   ============================================ */

.hero {
    position: relative;
    padding-block: 56px;
}

.hero__inner {
    display: grid;
    gap: var(--space-xl);
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--space-md);
}

.hero__content {
    max-width: 60ch;
}

.hero__title {
    margin-bottom: var(--space-md);
}

.hero__lede {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: var(--space-lg);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

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

.hero__media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero__media img {
    display: block;
    max-height: 420px;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 18px 42px rgba(34, 211, 238, 0.22));
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.4rem 0.9rem;
    margin-bottom: var(--space-md);
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background-color: rgba(46, 233, 127, 0.1);
    border: 1px solid rgba(46, 233, 127, 0.4);
    border-radius: 999px;
}

@media (min-width: 768px) {
    .hero__inner {
        padding-inline: var(--space-lg);
    }
}

@media (min-width: 1024px) {
    .hero {
        padding-block: 96px;
    }

    .hero__inner {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        align-items: center;
        padding-inline: var(--space-xl);
    }

    .hero__media img {
        max-height: 540px;
    }
}

/* ============================================
   CTA BANNER - Component: cta_banner
   Full-bleed conversion band on rain-grid.
   ============================================ */

.cta-banner {
    padding-block: 64px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-banner__inner {
    max-width: 760px;
    margin-inline: auto;
    padding-inline: var(--space-md);
    text-align: center;
}

.cta-banner__headline {
    display: inline-block;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    background-image: linear-gradient(90deg, var(--accent), var(--primary));
    background-repeat: no-repeat;
    background-size: 72px 3px;
    background-position: 50% 100%;
}

.cta-banner__subline {
    color: var(--muted-foreground);
    font-size: 1.0625rem;
    margin-inline: auto;
    margin-bottom: var(--space-xl);
}

.cta-banner__btn {
    margin-bottom: var(--space-md);
}

.cta-banner__micro {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .cta-banner {
        padding-block: 104px;
    }
}

/* ============================================
   GAME CARDS - Component: game_card
   Smoky indigo surface, cyan edge glow on hover.
   Wrap cards in .game-grid (1/2/4 columns).
   ============================================ */

.game-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .game-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-lg);
    }
}

@media (min-width: 1024px) {
    .game-grid {
        gap: var(--space-xl);
    }

    .game-grid--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .game-grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.game-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background-color: var(--card);
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--transition-med), box-shadow var(--transition-med),
                border-color var(--transition-med);
}

.game-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--accent);
    box-shadow: var(--glow-cyan);
}

.game-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    background:
        radial-gradient(circle at 50% 60%, rgba(34, 211, 238, 0.12) 0, transparent 65%),
        var(--popover);
    border-bottom: 1px solid var(--border);
    min-height: 140px;
}

.game-card__media img {
    max-height: 180px;
    width: auto;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
}

.game-card__body {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-md);
    flex: 1;
}

.game-card__tag {
    align-self: flex-start;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 0.2rem 0.6rem;
    border: 1px solid rgba(34, 211, 238, 0.45);
    border-radius: 999px;
    background-color: rgba(34, 211, 238, 0.08);
}

.game-card__title {
    font-size: 1.1875rem;
    margin: 0;
}

.game-card__text {
    font-size: 0.9375rem;
    color: var(--muted-foreground);
    margin: 0;
}

.game-card__link {
    margin-top: auto;
    padding-top: var(--space-xs);
    font-weight: 600;
    font-size: 0.9375rem;
}

@media (min-width: 1024px) {
    .game-card__body {
        padding: var(--space-lg);
    }
}

/* ============================================
   STAT BLOCK - Component: stat_block
   Tabular numerals with neon underline accents.
   ============================================ */

.stat-block {
    position: relative;
    padding: var(--space-lg);
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.stat-block::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.35;
    background-image:
        repeating-linear-gradient(
            100deg,
            rgba(34, 211, 238, 0.05) 0px,
            rgba(34, 211, 238, 0.05) 1px,
            transparent 1px,
            transparent 72px
        );
}

.stat-block__row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-lg);
    margin: 0;
}

.stat-block__item {
    min-width: 0;
}

.stat-block__label {
    order: 2;
    font-size: 0.9375rem;
    color: var(--muted-foreground);
    margin-top: var(--space-xs);
}

.stat-block__number {
    order: 1;
    font-family: var(--font-display);
    font-size: clamp(2.125rem, calc(1.6rem + 2vw), 3.25rem);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    color: var(--primary);
    margin: 0;
    padding-bottom: var(--space-xs);
    background-image: linear-gradient(90deg, var(--accent), transparent);
    background-repeat: no-repeat;
    background-size: 48px 3px;
    background-position: 0 100%;
}

.stat-block__number--cyan {
    color: var(--accent);
}

.stat-block__number--violet {
    color: var(--violet);
}

.stat-block__note {
    order: 3;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: var(--space-xs) 0 0;
}

.stat-block__source {
    position: relative;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: var(--space-lg) 0 0;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}

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

    .stat-block__row--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ============================================
   FAQ ACCORDION - Component: faq_accordion
   Graphite violet rows, cyan dividers, plus→minus icon.
   ============================================ */

.faq {
    background-color: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq__item + .faq__item {
    border-top: 1px solid rgba(34, 211, 238, 0.25);
}

.faq__question {
    margin: 0;
}

.faq__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    width: 100%;
    min-height: 56px;
    padding: var(--space-md) var(--space-lg);
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    text-align: left;
    color: var(--foreground);
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.faq__trigger:hover {
    background-color: rgba(34, 211, 238, 0.06);
    color: var(--accent);
}

.faq__trigger[aria-expanded="true"] {
    color: var(--accent);
}

.faq__icon {
    position: relative;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.faq__icon::before,
.faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
    transition: transform var(--transition-med);
}

.faq__icon::after {
    transform: rotate(90deg);
}

.faq__trigger[aria-expanded="true"] .faq__icon::after {
    transform: rotate(0deg);
}

.faq__panel {
    padding: 0 var(--space-lg) var(--space-lg);
}

.faq__answer {
    font-size: 1.0313rem;
    line-height: 1.58;
    color: var(--muted-foreground);
}

.faq__answer p {
    margin-bottom: var(--space-sm);
}

.faq__answer a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.faq__answer a:hover {
    color: var(--primary);
}

/* ============================================
   ENGAGEMENT PATTERNS
   TL;DR box, callout, pull quote, details/summary,
   comparison table, trust badges.
   ============================================ */

/* TL;DR / key takeaways box near page top */
.tldr-box {
    padding: var(--space-lg);
    background-color: var(--card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xl);
}

.tldr-box__title {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin: 0 0 var(--space-sm);
}

.tldr-box p:last-child,
.tldr-box ul:last-child {
    margin-bottom: 0;
}

/* Callout / highlight box - cyan note, amber warning variants */
.callout {
    padding: var(--space-md) var(--space-lg);
    background-color: var(--popover);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
    margin: var(--space-lg) 0;
}

.callout--warning {
    border-left-color: var(--destructive);
    background-color: rgba(245, 165, 36, 0.07);
}

.callout--success {
    border-left-color: var(--primary);
    background-color: rgba(46, 233, 127, 0.07);
}

.callout__title {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 700;
    margin: 0 0 var(--space-xs);
    color: var(--foreground);
}

.callout--warning .callout__title {
    color: var(--destructive);
}

.callout p:last-child {
    margin-bottom: 0;
}

/* Pull quote - oversized quote with attribution */
.pull-quote {
    margin: var(--space-xl) 0;
    padding: var(--space-lg) var(--space-xl);
    border-left: 4px solid var(--violet);
    background-color: rgba(167, 139, 250, 0.06);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.pull-quote p {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, calc(1.1rem + 0.8vw), 1.5rem);
    font-weight: 500;
    line-height: 1.4;
    color: var(--foreground);
    margin-bottom: var(--space-sm);
}

.pull-quote cite {
    font-style: normal;
    font-size: 0.9375rem;
    color: var(--muted-foreground);
}

/* details/summary - native expandable, styled like accordion */
.details-block {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background-color: var(--card);
    margin-bottom: var(--space-sm);
    overflow: hidden;
}

.details-block summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    min-height: 48px;
    padding: var(--space-sm) var(--space-md);
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    color: var(--foreground);
    list-style: none;
    transition: color var(--transition-fast);
}

.details-block summary::-webkit-details-marker {
    display: none;
}

.details-block summary::after {
    content: "+";
    font-size: 1.25rem;
    line-height: 1;
    color: var(--accent);
    transition: transform var(--transition-med);
}

.details-block[open] summary {
    color: var(--accent);
}

.details-block[open] summary::after {
    transform: rotate(45deg);
}

.details-block__body {
    padding: 0 var(--space-md) var(--space-md);
    color: var(--muted-foreground);
    font-size: 0.9375rem;
}

/* Comparison table - recommended column highlighted */
.table-wrapper {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin: var(--space-lg) 0;
}

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

.compare-table th,
.compare-table td {
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.compare-table thead th {
    font-family: var(--font-display);
    font-size: 0.875rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--foreground);
    background-color: var(--secondary);
}

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

.compare-table td {
    color: var(--muted-foreground);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
    border-bottom: none;
}

.compare-table .is-recommended {
    background-color: rgba(46, 233, 127, 0.08);
    color: var(--foreground);
}

.compare-table thead .is-recommended {
    color: var(--primary);
}

/* Trust badges row - muted crypto / fairness chips */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
    padding: var(--space-md) 0;
    margin: 0;
    list-style: none;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.45rem 0.95rem;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--muted-foreground);
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 999px;
}

.trust-badge--cyan {
    color: var(--accent);
    border-color: rgba(34, 211, 238, 0.4);
}

.trust-badge--green {
    color: var(--primary);
    border-color: rgba(46, 233, 127, 0.4);
}

.trust-badge--amber {
    color: var(--destructive);
    border-color: rgba(245, 165, 36, 0.45);
}

/* ============================================
   FEATURE / INFO CARDS - generic split blocks
   ============================================ */

.split {
    display: grid;
    gap: var(--space-xl);
    align-items: center;
}

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

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

.split__media {
    display: flex;
    justify-content: center;
}

.split__media img {
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.split__media img.is-cutout {
    border: none;
    border-radius: 0;
    filter: drop-shadow(0 16px 36px rgba(34, 211, 238, 0.2));
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-md);
}

.check-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: var(--space-sm);
    color: var(--muted-foreground);
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(46, 233, 127, 0.15);
    border: 1px solid var(--primary);
}

.check-list li::after {
    content: "";
    position: absolute;
    left: 4px;
    top: calc(0.35em + 3px);
    width: 6px;
    height: 3px;
    border-left: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(-45deg);
}

.check-list strong {
    color: var(--foreground);
}

/* Chip row - horizontal scrollable market/tag chips */
.chip-row {
    display: flex;
    gap: var(--space-sm);
    overflow-x: auto;
    padding: var(--space-xs) 2px var(--space-sm);
    margin: 0;
    list-style: none;
    scrollbar-width: thin;
}

.chip-row li {
    flex-shrink: 0;
    margin: 0;
}

.chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.4rem 1rem;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary-foreground);
    background-color: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 999px;
    white-space: nowrap;
}

/* Coin cluster - floating crypto coins in split media */
.coin-cluster {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding: var(--space-md) 0;
}

.coin-cluster img {
    width: clamp(96px, 26vw, 160px);
    height: auto;
    filter: drop-shadow(0 14px 30px rgba(34, 211, 238, 0.25));
}

.coin-cluster img:nth-child(2) {
    transform: translateY(-20px);
}

@media (min-width: 1024px) {
    .coin-cluster {
        gap: var(--space-lg);
    }
}

/* ============================================
   FOOTER - 4 columns, crypto badges, 18+
   ============================================ */

.site-footer {
    background-color: var(--popover);
    border-top: 1px solid var(--border);
    margin-top: var(--space-3xl);
}

.site-footer__inner {
    max-width: var(--container);
    margin-inline: auto;
    padding: var(--space-2xl) var(--space-md) var(--space-lg);
}

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

.site-footer__heading {
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--foreground);
    margin-bottom: var(--space-md);
}

.site-footer__text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: var(--space-sm);
}

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

.site-footer__list li {
    margin-bottom: var(--space-xs);
}

.site-footer__link {
    font-size: 0.9375rem;
    color: var(--muted-foreground);
    transition: color var(--transition-fast);
}

.site-footer__link:hover {
    color: var(--accent);
}

.crypto-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-md);
}

.crypto-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    min-height: 34px;
    padding: 0.3rem 0.7rem;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background-color: var(--card);
}

.crypto-badge--btc { color: #f7931a; border-color: rgba(247, 147, 26, 0.45); }
.crypto-badge--eth { color: #9db4f5; border-color: rgba(157, 180, 245, 0.45); }
.crypto-badge--usdt { color: #4fd1a5; border-color: rgba(79, 209, 165, 0.45); }
.crypto-badge--sol { color: #a78bfa; border-color: rgba(167, 139, 250, 0.45); }
.crypto-badge--ltc { color: #b8c4d8; border-color: rgba(184, 196, 216, 0.45); }
.crypto-badge--doge { color: #e3c76a; border-color: rgba(227, 199, 106, 0.45); }

.site-footer__age {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--destructive-foreground);
    background-color: var(--destructive);
    border-radius: 50%;
}

.site-footer__bottom {
    margin-top: var(--space-2xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
}

.site-footer__bottom p {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    margin: 0;
}

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

@media (min-width: 1080px) {
    .site-footer__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: var(--space-2xl);
    }
}

/* ============================================
   SITEMAP PAGE - simple page list
   ============================================ */

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

.page-list__item {
    padding: var(--space-lg);
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.page-list__item:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.page-list__link {
    display: block;
    font-family: var(--font-display);
    font-size: 1.1875rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: var(--space-xs);
}

.page-list__link:hover {
    color: var(--accent);
}

.page-list__desc {
    font-size: 0.9375rem;
    color: var(--muted-foreground);
    margin: 0;
}

/* ============================================
   WILLKOMMENSBONUS - Promo code & mode cards
   ============================================ */

.promo-code {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-xs) var(--space-sm);
    padding: 0.75rem 1.25rem;
    margin: 0 0 var(--space-lg);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    font-variant-numeric: tabular-nums;
    color: var(--primary);
    background-color: rgba(46, 233, 127, 0.08);
    border: 1px dashed rgba(46, 233, 127, 0.6);
    border-radius: var(--radius-sm);
    box-shadow: var(--glow-green);
}

.promo-code__label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-foreground);
}

.mode-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.mode-card {
    padding: var(--space-lg);
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.mode-card--lock {
    border-top: 3px solid var(--accent);
}

.mode-card--nolock {
    border-top: 3px solid var(--primary);
    background-color: rgba(46, 233, 127, 0.05);
}

.mode-card__title {
    margin-bottom: var(--space-xs);
}

.mode-card__tagline {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 var(--space-md);
}

.mode-card--lock .mode-card__tagline {
    color: var(--accent);
}

.mode-card--nolock .mode-card__tagline {
    color: var(--primary);
}

.mode-card p,
.mode-card li {
    color: var(--muted-foreground);
    font-size: 0.9688rem;
}

.mode-card .formula {
    display: block;
    padding: var(--space-sm) var(--space-md);
    margin: var(--space-sm) 0 var(--space-md);
    font-family: var(--font-display);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--foreground);
    background-color: var(--popover);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow-x: auto;
}

@media (min-width: 820px) {
    .mode-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-xl);
    }

    .mode-card {
        padding: var(--space-xl);
    }
}

/* ============================================
   VIP CLUB - Tier progression cards
   7-level ladder from Bronze to Infernal Diamond.
   ============================================ */

.tier-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.tier-card {
    padding: var(--space-lg);
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
    transition: transform var(--transition-med), border-color var(--transition-med),
                box-shadow var(--transition-med);
}

.tier-card:hover {
    transform: translateY(-4px);
    border-color: var(--violet);
    box-shadow: 0 0 24px rgba(167, 139, 250, 0.22);
}

.tier-card__badge {
    display: block;
    width: 96px;
    height: auto;
    margin: 0 auto var(--space-sm);
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

.tier-card__level {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--violet);
    margin: 0 0 var(--space-xs);
}

.tier-card__name {
    font-size: 1.1875rem;
    margin-bottom: var(--space-xs);
}

.tier-card__text {
    font-size: 0.9375rem;
    color: var(--muted-foreground);
    margin: 0;
}

.tier-card--top {
    border-color: rgba(167, 139, 250, 0.55);
    background: linear-gradient(160deg, rgba(167, 139, 250, 0.14), var(--card) 55%);
}

.tier-card--top .tier-card__name {
    color: var(--violet);
}

@media (min-width: 640px) {
    .tier-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-lg);
    }

    .tier-card--top {
        grid-column: span 2;
    }
}

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

    .tier-card {
        padding: var(--space-xl);
    }

    .tier-card--top {
        grid-column: span 3;
        max-width: 560px;
        margin-inline: auto;
        width: 100%;
    }
}

/* ============================================
   ANIMATIONS - Scroll reveals, staggered cards
   ============================================ */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.game-grid .game-card:nth-child(2) { transition-delay: 60ms; }
.game-grid .game-card:nth-child(3) { transition-delay: 120ms; }
.game-grid .game-card:nth-child(4) { transition-delay: 180ms; }
.game-grid .game-card:nth-child(5) { transition-delay: 240ms; }

@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;
    }

    .rain-grid::before {
        animation: none;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* a11y-autofix: link-in-text-block */
/* axe link-in-text-block: inline links inside body copy must be
   distinguishable without relying on color. Scope to text containers so
   nav/button/card links (already visually distinct) keep their styling. */
:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
  a:not([class]) {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
