/* ============================================
   RAINBET CASINO - DESIGN SYSTEM
   Single dark theme · Neon crypto-rain aesthetic
   Fonts: Space Grotesk (display) + Outfit (body)
   ============================================ */

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
    /* Surfaces */
    --background: #070d1a;
    --foreground: #e7f1ff;
    --card: #101b31;
    --card-foreground: #e7f1ff;
    --popover: #0b1426;
    --popover-foreground: #e7f1ff;

    /* Accents */
    --primary: #22d3ee;
    --primary-foreground: #03141c;
    --secondary: #14243f;
    --secondary-foreground: #e7f1ff;
    --muted: #1c2a45;
    --muted-foreground: #a4b5cf;
    --accent: #7c3aed;
    --accent-foreground: #ffffff;
    --destructive: #ef4444;
    --destructive-foreground: #180405;
    --ring: #22c55e;

    /* Borders & inputs */
    --border: #2c3d5c;
    --input: #0a1324;

    /* Gradients */
    --grad-hero: linear-gradient(135deg, #070d1a 0%, #0d1530 40%, #1a0f3e 100%);
    --grad-cta: linear-gradient(160deg, #070d1a 0%, #111a3a 50%, #1d1248 100%);
    --grad-emerald: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    --grad-cyan-violet: linear-gradient(135deg, #22d3ee 0%, #7c3aed 100%);

    /* Shadows & glows */
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.35);
    --glow-primary: 0 0 20px rgba(34, 211, 238, 0.35);
    --glow-accent: 0 0 20px rgba(124, 58, 237, 0.35);
    --glow-emerald: 0 0 24px rgba(34, 197, 94, 0.4);

    /* Typography */
    --font-display: "Space Grotesk", sans-serif;
    --font-body: "Outfit", sans-serif;

    /* Spacing scale (8px base) */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Layout */
    --content-max: 1180px;
    --header-height: 64px;

    /* Transitions */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --dur-fast: 180ms;
    --dur: 260ms;
}

/* Dark theme tokens identical (single theme) */
.dark {
    --background: #070d1a;
    --foreground: #e7f1ff;
    --card: #101b31;
    --card-foreground: #e7f1ff;
    --popover: #0b1426;
    --popover-foreground: #e7f1ff;
    --primary: #22d3ee;
    --primary-foreground: #03141c;
    --secondary: #14243f;
    --secondary-foreground: #e7f1ff;
    --muted: #1c2a45;
    --muted-foreground: #a4b5cf;
    --accent: #7c3aed;
    --accent-foreground: #ffffff;
    --destructive: #ef4444;
    --destructive-foreground: #180405;
    --border: #2c3d5c;
    --input: #0a1324;
    --ring: #22c55e;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
    min-height: 100vh;
    overflow-x: hidden;
}

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

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--dur-fast) var(--ease);
}

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

ul {
    list-style: none;
}

/* ============================================
   TYPOGRAPHY SYSTEM
   Space Grotesk for headings, Outfit for body
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--foreground);
}

h1 {
    font-size: 30px;
    font-weight: 700;
}

h2 {
    font-size: 26px;
    font-weight: 600;
}

h3 {
    font-size: 20px;
    font-weight: 600;
}

h4 {
    font-size: 17px;
    font-weight: 600;
}

p {
    max-width: 68ch;
}

@media (min-width: 900px) {
    h1 { font-size: 48px; }
    h2 { font-size: 34px; }
    h3 { font-size: 24px; }
}

.section-headline {
    font-family: var(--font-display);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.section-subtext {
    color: var(--muted-foreground);
    max-width: 62ch;
    margin-bottom: var(--space-xl);
}

.neon-number {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 16px rgba(34, 211, 238, 0.4);
}

/* ============================================
   LAYOUT CONTAINERS
   ============================================ */
.container {
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-wide {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: 56px 0;
}

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 13, 26, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

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

/* Brand */
.site-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    color: var(--foreground);
    flex-shrink: 0;
}

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

.site-brand__droplet {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: var(--grad-cyan-violet);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 C12 2, 19 11, 19 15 C19 19, 15.5 22, 12 22 C8.5 22, 5 19, 5 15 C5 11, 12 2, 12 2 Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 C12 2, 19 11, 19 15 C19 19, 15.5 22, 12 22 C8.5 22, 5 19, 5 15 C5 11, 12 2, 12 2 Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.site-brand__text {
    white-space: nowrap;
}

/* Primary nav - hidden on mobile, shown on desktop */
.primary-nav {
    display: none;
}

@media (min-width: 900px) {
    .primary-nav {
        display: flex;
        align-items: center;
        gap: var(--space-xl);
    }

    .nav-list {
        display: flex;
        align-items: center;
        gap: var(--space-lg);
    }

    .nav-list a {
        font-family: var(--font-body);
        font-weight: 500;
        font-size: 16px;
        color: var(--muted-foreground);
        transition: color var(--dur-fast) var(--ease);
        padding: 8px 0;
        position: relative;
    }

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

    .nav-list a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--grad-cyan-violet);
        transition: width var(--dur) var(--ease);
    }

    .nav-list a:hover::after {
        width: 100%;
    }

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 24px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--dur) var(--ease);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--grad-emerald);
    color: #04200e;
    box-shadow: var(--glow-emerald);
}

.btn-primary:hover {
    color: #04200e;
    transform: translateY(-2px);
    box-shadow: 0 0 32px rgba(34, 197, 94, 0.55);
}

.btn-ghost {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.btn-large {
    min-height: 52px;
    padding: 14px 36px;
    font-size: 18px;
}

/* ============================================
   MOBILE TOGGLE (hamburger)
   ============================================ */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    z-index: 1001;
    padding: 0;
    position: relative;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--foreground);
    margin: 0 auto;
    transition: all var(--dur) var(--ease);
    border-radius: 2px;
}

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

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

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

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

/* ============================================
   MOBILE NAV DRAWER
   ============================================ */
.primary-nav.is-open {
    display: flex;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background);
    z-index: 999;
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-lg);
    overflow-y: auto;
    gap: var(--space-md);
}

.primary-nav.is-open .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.primary-nav.is-open .nav-list li {
    border-bottom: 1px solid var(--border);
}

.primary-nav.is-open .nav-list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    font-size: 18px;
    color: var(--foreground);
    padding: var(--space-sm) 0;
}

.primary-nav.is-open .nav-list a::after {
    display: none;
}

.primary-nav.is-open .nav-actions {
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.primary-nav.is-open .nav-actions .btn {
    width: 100%;
}

/* Disable backdrop-filter on mobile to avoid containing-block trap */
@media (max-width: 899px) {
    .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(7, 13, 26, 0.98);
    }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--popover);
    border-top: 1px solid var(--border);
    padding: var(--space-2xl) var(--space-md) var(--space-lg);
    margin-top: var(--space-3xl);
}

.footer-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 640px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 900px) {
    .footer-inner {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--foreground);
    margin-bottom: var(--space-sm);
}

.footer-license {
    font-size: 14px;
    color: var(--muted-foreground);
    line-height: 1.45;
    max-width: 40ch;
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.footer-links ul,
.footer-compliance ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: var(--foreground);
    font-size: 15px;
}

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

.crypto-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.crypto-badges li {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 13px;
    color: var(--muted-foreground);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
}

.badge-18 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--destructive);
    color: var(--destructive-foreground);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: var(--space-sm);
}

.footer-legal {
    font-size: 13px;
    color: var(--muted-foreground);
    line-height: 1.45;
}

.footer-bottom {
    max-width: var(--content-max);
    margin: var(--space-xl) auto 0;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--muted-foreground);
    margin: 0 auto;
}

/* ============================================
   COMPONENT: info_card
   ============================================ */
.info-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    display: flex;
    flex-direction: column;
    min-width: 0;
    position: relative;
}

/* Diagonal rain-sheen texture */
.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        115deg,
        transparent 0,
        transparent 8px,
        rgba(34, 211, 238, 0.02) 8px,
        rgba(34, 211, 238, 0.02) 9px
    );
    pointer-events: none;
    z-index: 0;
}

.info-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(34, 211, 238, 0.15), 0 0 24px rgba(124, 58, 237, 0.12);
}

.info-card__media {
    overflow: hidden;
    aspect-ratio: 5 / 3;
    position: relative;
    z-index: 1;
}

.info-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur) var(--ease);
}

.info-card:hover .info-card__media img {
    transform: scale(1.03);
}

.info-card__body {
    padding: 22px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    flex: 1;
}

@media (min-width: 900px) {
    .info-card__body {
        padding: var(--space-xl);
    }
}

.info-card__title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
}

.info-card__meta {
    font-size: 14px;
    color: var(--muted-foreground);
    font-weight: 500;
}

.info-card__text {
    font-size: 16px;
    color: var(--muted-foreground);
    line-height: 1.6;
    flex: 1;
}

.info-card__cta {
    color: var(--ring);
    font-weight: 600;
    font-size: 15px;
    margin-top: var(--space-sm);
    transition: color var(--dur-fast) var(--ease), text-shadow var(--dur-fast) var(--ease);
}

.info-card__cta:hover {
    color: var(--ring);
    text-shadow: 0 0 12px rgba(34, 197, 94, 0.5);
}

/* Card grids */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

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

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

.card-grid--2 {
    grid-template-columns: 1fr;
}

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

/* ============================================
   COMPONENT: faq_accordion
   ============================================ */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: var(--content-max);
}

.faq-item {
    background: var(--popover);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.faq-item[open] {
    border-color: var(--accent);
    box-shadow: -4px 0 16px rgba(124, 58, 237, 0.15);
}

.faq-item__question {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 17px;
    color: var(--foreground);
    list-style: none;
    min-height: 44px;
    transition: color var(--dur-fast) var(--ease);
}

.faq-item__question::-webkit-details-marker {
    display: none;
}

.faq-item__question:hover {
    color: var(--primary);
}

.faq-droplet {
    display: inline-block;
    width: 12px;
    height: 16px;
    background: var(--primary);
    flex-shrink: 0;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 16'%3E%3Cpath d='M6 0 C6 0, 12 8, 12 11 C12 14, 9 16, 6 16 C3 16, 0 14, 0 11 C0 8, 6 0, 6 0 Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 16'%3E%3Cpath d='M6 0 C6 0, 12 8, 12 11 C12 14, 9 16, 6 16 C3 16, 0 14, 0 11 C0 8, 6 0, 6 0 Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.faq-chevron {
    margin-left: auto;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative;
}

.faq-chevron::before,
.faq-chevron::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 2px;
    background: var(--muted-foreground);
    border-radius: 2px;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: transform var(--dur) var(--ease), background var(--dur-fast) var(--ease);
}

.faq-chevron::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.faq-item[open] .faq-chevron::before {
    transform: translate(-50%, -50%) rotate(135deg);
    background: var(--primary);
}

.faq-item[open] .faq-chevron::after {
    transform: translate(-50%, -50%) rotate(45deg);
    background: var(--primary);
}

.faq-item__answer {
    padding: 0 var(--space-lg) var(--space-lg);
    padding-left: calc(var(--space-lg) + 28px);
}

.faq-item__answer p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--muted-foreground);
}

/* ============================================
   COMPONENT: cta_banner
   ============================================ */
.cta-banner {
    position: relative;
    background: var(--grad-cta);
    overflow: clip;
    padding: 56px 0;
    text-align: center;
}

@media (min-width: 900px) {
    .cta-banner {
        padding: 80px 0;
    }
}

.cta-banner__rainlines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.cta-banner__rainlines span {
    position: absolute;
    top: -20%;
    width: 1px;
    height: 120%;
    background: linear-gradient(to bottom, transparent, rgba(34, 211, 238, 0.3), rgba(124, 58, 237, 0.2), transparent);
    animation: rainline-fall 3s linear infinite;
    opacity: 0.5;
}

.cta-banner__rainlines span:nth-child(1) { left: 8%;  animation-delay: 0s;   animation-duration: 2.8s; }
.cta-banner__rainlines span:nth-child(2) { left: 18%; animation-delay: 0.5s; animation-duration: 3.2s; }
.cta-banner__rainlines span:nth-child(3) { left: 28%; animation-delay: 1.0s; animation-duration: 2.5s; }
.cta-banner__rainlines span:nth-child(4) { left: 38%; animation-delay: 0.3s; animation-duration: 3.5s; }
.cta-banner__rainlines span:nth-child(5) { left: 48%; animation-delay: 1.5s; animation-duration: 2.9s; }
.cta-banner__rainlines span:nth-child(6) { left: 58%; animation-delay: 0.8s; animation-duration: 3.1s; }
.cta-banner__rainlines span:nth-child(7) { left: 68%; animation-delay: 1.2s; animation-duration: 2.7s; }
.cta-banner__rainlines span:nth-child(8) { left: 78%; animation-delay: 0.2s; animation-duration: 3.4s; }
.cta-banner__rainlines span:nth-child(9) { left: 88%; animation-delay: 1.8s; animation-duration: 2.6s; }
.cta-banner__rainlines span:nth-child(10){ left: 94%; animation-delay: 0.6s; animation-duration: 3.0s; }

@keyframes rainline-fall {
    0% { transform: translateY(-100%); opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.5; }
    100% { transform: translateY(100%); opacity: 0; }
}

.cta-banner__inner {
    position: relative;
    z-index: 1;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.cta-banner__headline {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 26px;
    line-height: 1.15;
    max-width: 24ch;
}

@media (min-width: 900px) {
    .cta-banner__headline {
        font-size: 40px;
    }
}

.cta-banner__subtext {
    font-size: 17px;
    color: var(--muted-foreground);
    max-width: 52ch;
    text-align: center;
}

.cta-banner__micro {
    font-size: 14px;
    color: var(--muted-foreground);
    line-height: 1.45;
    max-width: 60ch;
}

/* ============================================
   HERO SECTION (page-level)
   ============================================ */
.hero {
    position: relative;
    background: var(--grad-hero);
    overflow: clip;
    padding: 48px 0 56px;
}

@media (min-width: 900px) {
    .hero {
        padding: 72px 0 80px;
    }
}

.hero__rainlines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero__rainlines span {
    position: absolute;
    top: -20%;
    width: 1px;
    height: 120%;
    background: linear-gradient(to bottom, transparent, rgba(34, 211, 238, 0.25), rgba(124, 58, 237, 0.15), transparent);
    animation: rainline-fall 3s linear infinite;
    opacity: 0.4;
}

.hero__rainlines span:nth-child(1) { left: 5%;  animation-delay: 0s;   animation-duration: 3.0s; }
.hero__rainlines span:nth-child(2) { left: 15%; animation-delay: 0.7s; animation-duration: 2.5s; }
.hero__rainlines span:nth-child(3) { left: 25%; animation-delay: 1.2s; animation-duration: 3.3s; }
.hero__rainlines span:nth-child(4) { left: 35%; animation-delay: 0.4s; animation-duration: 2.8s; }
.hero__rainlines span:nth-child(5) { left: 45%; animation-delay: 1.6s; animation-duration: 3.1s; }
.hero__rainlines span:nth-child(6) { left: 55%; animation-delay: 0.9s; animation-duration: 2.6s; }
.hero__rainlines span:nth-child(7) { left: 65%; animation-delay: 1.3s; animation-duration: 3.4s; }
.hero__rainlines span:nth-child(8) { left: 75%; animation-delay: 0.3s; animation-duration: 2.9s; }
.hero__rainlines span:nth-child(9) { left: 85%; animation-delay: 1.8s; animation-duration: 3.2s; }
.hero__rainlines span:nth-child(10){ left: 95%; animation-delay: 0.6s; animation-duration: 2.7s; }

.hero__inner {
    position: relative;
    z-index: 1;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

@media (min-width: 900px) {
    .hero__inner {
        flex-direction: row;
        align-items: center;
    }
}

.hero__content {
    flex: 1;
    min-width: 0;
}

.hero__visual {
    flex: 1;
    min-width: 0;
    position: relative;
}

.hero__visual img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 30px;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    max-width: 18ch;
}

@media (min-width: 900px) {
    .hero__title {
        font-size: 48px;
    }
}

.hero__subtitle {
    font-size: 17px;
    color: var(--muted-foreground);
    margin-bottom: var(--space-xl);
    max-width: 52ch;
}

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

@media (min-width: 640px) {
    .hero__actions {
        flex-direction: row;
        align-items: center;
    }
}

.hero__micro {
    font-size: 14px;
    color: var(--muted-foreground);
    margin-top: var(--space-sm);
}

/* ============================================
   STAT HIGHLIGHT ROW
   ============================================ */
.stat-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 900px) {
    .stat-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stat-row--4 {
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .stat-row--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .stat-row--4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    min-width: 0;
}

.stat-item__number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 32px;
    color: var(--primary);
    text-shadow: 0 0 16px rgba(34, 211, 238, 0.3);
    display: block;
    margin-bottom: var(--space-xs);
}

@media (min-width: 900px) {
    .stat-item__number {
        font-size: 40px;
    }
}

.stat-item__label {
    font-size: 14px;
    color: var(--muted-foreground);
    line-height: 1.45;
}

/* ============================================
   SUMMARY / CALLOUT BOX
   ============================================ */
.callout {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
}

.callout--accent {
    border-left-color: var(--accent);
}

.callout--warning {
    border-left-color: var(--ring);
}

.callout__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: var(--space-sm);
}

.callout__text {
    font-size: 16px;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Summary / TL;DR box */
.summary-box {
    background: linear-gradient(135deg, var(--card) 0%, var(--secondary) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-lg) 0;
}

.summary-box__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: var(--space-sm);
    color: var(--primary);
}

.summary-box__text {
    font-size: 16px;
    color: var(--foreground);
    line-height: 1.6;
}

/* ============================================
   PULL QUOTE
   ============================================ */
.pull-quote {
    border-left: 3px solid var(--accent);
    padding: var(--space-md) var(--space-lg);
    margin: var(--space-xl) 0;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--foreground);
    max-width: 60ch;
}

.pull-quote cite {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--muted-foreground);
    margin-top: var(--space-sm);
    font-style: normal;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.table-wrapper {
    overflow-x: auto;
    max-width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 480px;
}

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

.comp-table th {
    background: var(--popover);
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--foreground);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.comp-table tbody tr:last-child td {
    border-bottom: none;
}

.comp-table tbody tr:hover {
    background: var(--secondary);
}

.comp-table .col-highlight {
    background: rgba(34, 211, 238, 0.06);
    border-left: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
}

/* ============================================
   TRUST BADGES ROW
   ============================================ */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: center;
    justify-content: center;
    padding: var(--space-lg) 0;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    font-size: 14px;
    color: var(--muted-foreground);
}

.trust-badge__icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--grad-cyan-violet);
    flex-shrink: 0;
    opacity: 0.8;
}

/* ============================================
   RESPONSIBLE GAMBLING NOTICE
   ============================================ */
.responsible-notice {
    background: var(--popover);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
}

.responsible-notice__badges {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-md);
}

.responsible-notice__text {
    font-size: 15px;
    color: var(--muted-foreground);
    line-height: 1.6;
    max-width: 60ch;
    margin: 0 auto;
}

/* ============================================
   INLINE ANCHOR LINKS (SEO)
   (Buttons inside content keep their own colors)
   ============================================ */
.content-text a:not(.btn) {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 3px;
    transition: text-shadow var(--dur-fast) var(--ease);
}

.content-text a:not(.btn):hover {
    text-shadow: 0 0 12px rgba(34, 211, 238, 0.4);
}

/* ============================================
   VIP LADDER / TIMELINE
   ============================================ */
.vip-ladder {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.vip-step {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.vip-step:hover {
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.vip-step__level {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    color: var(--primary);
    min-width: 48px;
    text-align: center;
    flex-shrink: 0;
}

.vip-step__info {
    flex: 1;
    min-width: 0;
}

.vip-step__name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 17px;
    margin-bottom: 2px;
}

.vip-step__desc {
    font-size: 14px;
    color: var(--muted-foreground);
}

/* ============================================
   CHECKLIST
   ============================================ */
.checklist {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.checklist-marker {
    flex-shrink: 0;
    width: 16px;
    height: 20px;
    background: var(--primary);
    margin-top: 2px;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20'%3E%3Cpath d='M8 0 C8 0, 16 10, 16 14 C16 17.5, 12.5 20, 8 20 C3.5 20, 0 17.5, 0 14 C0 10, 8 0, 8 0 Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20'%3E%3Cpath d='M8 0 C8 0, 16 10, 16 14 C16 17.5, 12.5 20, 8 20 C3.5 20, 0 17.5, 0 14 C0 10, 8 0, 8 0 Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.checklist-text {
    font-size: 16px;
    color: var(--muted-foreground);
    line-height: 1.6;
    flex: 1;
    min-width: 0;
}

/* ============================================
   STEP-BY-STEP GUIDE
   ============================================ */
.step-guide {
    counter-reset: step;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.step-guide__item {
    counter-increment: step;
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.step-guide__number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--grad-cyan-violet);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-foreground);
}

.step-guide__number::before {
    content: counter(step);
}

.step-guide__content {
    flex: 1;
    min-width: 0;
    padding-top: 4px;
}

.step-guide__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 17px;
    margin-bottom: var(--space-xs);
}

.step-guide__text {
    font-size: 16px;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

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

/* Staggered delay for grid children */
.card-grid .animate-on-scroll:nth-child(1) { transition-delay: 0ms; }
.card-grid .animate-on-scroll:nth-child(2) { transition-delay: 80ms; }
.card-grid .animate-on-scroll:nth-child(3) { transition-delay: 160ms; }
.card-grid .animate-on-scroll:nth-child(4) { transition-delay: 240ms; }
.card-grid .animate-on-scroll:nth-child(5) { transition-delay: 320ms; }
.card-grid .animate-on-scroll:nth-child(6) { transition-delay: 400ms; }

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .cta-banner__rainlines span,
    .hero__rainlines span {
        display: none;
    }

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

/* ============================================
   FOCUS STATES (Accessibility)
   ============================================ */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.btn:focus-visible {
    outline-offset: 4px;
}

/* ============================================
   CONTENT TEXT BLOCKS
   ============================================ */
.content-section {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.prose {
    max-width: 68ch;
}

.prose p {
    margin-bottom: var(--space-md);
    font-size: 17px;
    line-height: 1.6;
    color: var(--foreground);
}

.prose h2 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.prose h3 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
}

.prose ul.bullet-list {
    list-style: none;
    margin-bottom: var(--space-md);
}

.prose ul.bullet-list li {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: var(--muted-foreground);
}

.prose ul.bullet-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 12px;
    background: var(--primary);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 12'%3E%3Cpath d='M4 0 C4 0, 8 6, 8 8.5 C8 10.5, 6.5 12, 4 12 C1.5 12, 0 10.5, 0 8.5 C0 6, 4 0, 4 0 Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 12'%3E%3Cpath d='M4 0 C4 0, 8 6, 8 8.5 C8 10.5, 6.5 12, 4 12 C1.5 12, 0 10.5, 0 8.5 C0 6, 4 0, 4 0 Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ============================================
   PAYMENT STRIP
   ============================================ */
.payment-strip {
    background: var(--popover);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: var(--space-xl) 0;
}

.payment-strip__inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
    text-align: center;
}

.payment-strip__badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-lg);
}

.payment-strip__badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    color: var(--muted-foreground);
    min-width: 0;
}

/* ============================================
   SITEMAP PAGE
   ============================================ */
.sitemap-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.sitemap-entry {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: border-color var(--dur) var(--ease);
}

.sitemap-entry:hover {
    border-color: var(--primary);
}

.sitemap-entry__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: var(--space-sm);
}

.sitemap-entry__title a {
    color: var(--foreground);
}

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

.sitemap-entry__desc {
    font-size: 15px;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* ============================================
   WIN.HTML STUB
   ============================================ */
.stub-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background);
}

/* ============================================
   MEDIA SPLIT (text + image, 2-col on desktop)
   ============================================ */
.media-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}

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

.media-split__image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card), 0 0 32px rgba(124, 58, 237, 0.12);
    border: 1px solid var(--border);
}

/* ============================================
   COIN ICONS IN PAYMENT TABLE
   ============================================ */
.coin-cell {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    white-space: nowrap;
}

.coin-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.35));
}

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