/* ============================================
   DESIGN TOKENS - Casoola Casino Comic-Bot Theme
   Dark-first palette: deep space black, neon
   blue-purple, lime-cyan accents
   ============================================ */

:root {
    /* Backgrounds */
    --background: #0a0a0f;
    --background-alt: #0f0f1a;
    --card: #14141f;
    --card-hover: #1a1a2e;
    --popover: #14141f;

    /* Foreground / Text */
    --foreground: #fef9c3;
    --foreground-muted: #c4c4d4;
    --muted-foreground: #94a3b8;

    /* Brand Colors */
    --primary: #06b6d4;          /* electric cyan */
    --primary-hover: #0891b2;
    --primary-foreground: #0a0a0f;
    --secondary: #8b5cf6;        /* neon blue-purple */
    --secondary-hover: #7c3aed;
    --accent: #a3e635;           /* neon lime */
    --accent-hover: #84cc16;
    --accent-foreground: #0a0a0f;

    /* Semantic */
    --destructive: #f32b4d;
    --destructive-foreground: #ffffff;
    --border: #334155;
    --border-light: #1e293b;
    --input: #1e293b;
    --ring: #06b6d4;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
    --gradient-accent: linear-gradient(135deg, #a3e635 0%, #06b6d4 100%);
    --gradient-hero: radial-gradient(ellipse at 70% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
                     radial-gradient(ellipse at 30% 50%, rgba(6, 182, 212, 0.12) 0%, transparent 60%);

    /* Typography */
    --font-display: "Bungee", "Arial Black", sans-serif;
    --font-body: "Space Grotesk", system-ui, -apple-system, sans-serif;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    --space-3xl: 120px;

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

    /* Shadows */
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-glow-cyan: 0 0 24px rgba(6, 182, 212, 0.3);
    --shadow-glow-purple: 0 0 24px rgba(139, 92, 246, 0.3);
    --shadow-glow-lime: 0 0 24px rgba(163, 230, 53, 0.3);

    /* Transitions */
    --transition-fast: 200ms ease-out;
    --transition-base: 300ms ease-out;
    --transition-slow: 600ms ease-out;

    /* Layout */
    --max-width: 1280px;
    --header-height: 72px;
}

/* Dark theme is the only theme - .dark class on body is always present */
.dark {
    --background: #0a0a0f;
    --background-alt: #0f0f1a;
    --card: #14141f;
    --card-hover: #1a1a2e;
    --popover: #14141f;
    --foreground: #fef9c3;
    --foreground-muted: #c4c4d4;
    --muted-foreground: #94a3b8;
    --primary: #06b6d4;
    --primary-hover: #0891b2;
    --primary-foreground: #0a0a0f;
    --secondary: #8b5cf6;
    --secondary-hover: #7c3aed;
    --accent: #a3e635;
    --accent-hover: #84cc16;
    --accent-foreground: #0a0a0f;
    --destructive: #f32b4d;
    --destructive-foreground: #ffffff;
    --border: #334155;
    --border-light: #1e293b;
    --input: #1e293b;
    --ring: #06b6d4;
}

/* ============================================
   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-muted);
    background: var(--background);
    overflow-x: hidden;
    min-height: 100vh;
}

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

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

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

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

pre, code, .code-block {
    max-width: 100%;
    overflow-x: auto;
}

section {
    overflow: clip;
}

/* ============================================
   TYPOGRAPHY SYSTEM
   Bungee for display headings, Space Grotesk for body
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--foreground);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
    margin-bottom: var(--space-md);
}

h2 {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 400;
    margin-bottom: var(--space-md);
}

h3 {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 400;
    margin-bottom: var(--space-sm);
}

h4 {
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 400;
    margin-bottom: var(--space-sm);
}

p {
    margin-bottom: var(--space-sm);
    max-width: 80ch;
}

strong {
    color: var(--foreground);
    font-weight: 600;
}

/* ============================================
   LAYOUT CONTAINERS
   ============================================ */

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

.section {
    padding: var(--space-2xl) var(--space-sm);
}

.section-lg {
    padding: var(--space-3xl) var(--space-sm);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-lg);
    }
    .section {
        padding: var(--space-3xl) var(--space-lg);
    }
}

/* ============================================
   HEADER & NAVIGATION
   Sticky header with logo, nav, CTA buttons
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.95);
    border-bottom: 1px solid var(--border-light);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

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

@media (min-width: 768px) {
    .header-inner {
        padding: 0 var(--space-lg);
    }
}

.site-brand {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    text-decoration: none;
    flex-shrink: 0;
}

.site-brand .logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
}

.brand-name {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--foreground);
    letter-spacing: -0.02em;
}

.primary-nav {
    display: none;
}

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

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

.nav-link {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--foreground-muted);
    text-decoration: none;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: var(--accent);
    background: var(--card);
}

.nav-cta-mobile {
    display: none;
}

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

.header-login,
.header-register {
    display: none;
}

@media (min-width: 1024px) {
    .header-login,
    .header-register {
        display: inline-flex;
    }
}

/* ============================================
   MOBILE MENU
   Slide-in drawer below 1024px
   ============================================ */

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--foreground);
    border-radius: 2px;
    transition: all var(--transition-base);
}

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

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

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

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

.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.mobile-nav-overlay.is-visible {
    display: block;
    opacity: 1;
}

/* Mobile drawer styles - applied when .is-open on #main-nav */
@media (max-width: 1023px) {
    /* Remove backdrop-filter from header so that position:fixed on
       #main-nav.is-open resolves against the viewport, not the header. */
    .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .header-login,
    .header-register {
        display: none !important;
    }

    .header-actions {
        flex-shrink: 0;
    }

    .header-inner {
        overflow: hidden;
    }

    .primary-nav.is-open {
        display: block;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--background);
        z-index: 999;
        overflow-y: auto;
        padding: var(--space-md);
        animation: slideInRight var(--transition-base);
    }

    .primary-nav.is-open .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-sm);
    }

    .primary-nav.is-open .nav-link {
        min-height: 48px;
        font-size: 18px;
        padding: var(--space-sm);
        border-bottom: 1px solid var(--border-light);
        border-radius: 0;
    }

    .primary-nav.is-open .nav-cta-mobile {
        display: block;
        margin-top: var(--space-md);
    }

    .primary-nav.is-open .nav-cta-mobile .btn {
        width: 100%;
        justify-content: center;
        margin-bottom: var(--space-sm);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* ============================================
   BUTTONS
   Primary (cyan), Outline, sizes
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
    min-height: 44px;
    padding: 12px 24px;
    font-size: 16px;
    line-height: 1;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    color: var(--primary-foreground);
    transform: scale(1.05);
    box-shadow: var(--shadow-glow-cyan);
}

.btn-outline {
    background: transparent;
    color: var(--foreground);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--primary-foreground);
    transform: scale(1.05);
    box-shadow: var(--shadow-glow-cyan);
}

.btn-accent {
    background: var(--accent);
    color: var(--accent-foreground);
}

.btn-accent:hover {
    background: var(--accent-hover);
    color: var(--accent-foreground);
    transform: scale(1.05);
    box-shadow: var(--shadow-glow-lime);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 14px;
    min-height: 40px;
}

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

/* ============================================
   HERO SECTION
   Full-bleed with neon gradient, mascot, model
   ============================================ */

.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: var(--background);
    overflow: clip;
    padding: var(--space-2xl) var(--space-sm);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
}

@media (min-width: 768px) {
    .hero-inner {
        grid-template-columns: 1.2fr 1fr;
    }
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: clamp(32px, 6vw, 48px);
    color: var(--foreground);
    margin-bottom: var(--space-md);
    text-shadow: 0 0 30px rgba(6, 182, 212, 0.3);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--foreground-muted);
    margin-bottom: var(--space-lg);
    max-width: 50ch;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.hero-visual img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.hero-mascot {
    position: absolute;
    left: -20px;
    bottom: -20px;
    width: 180px;
    z-index: 3;
}

@media (min-width: 768px) {
    .hero-mascot {
        width: 220px;
        left: -40px;
    }
}

/* Speech bubbles */
.speech-bubble {
    display: inline-block;
    font-family: var(--font-display);
    font-size: clamp(20px, 3vw, 28px);
    color: var(--accent);
    background: var(--card);
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    border: 3px solid var(--accent);
    box-shadow: var(--shadow-glow-lime);
    position: relative;
    animation: bubblePop var(--transition-base) ease-out;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 30px;
    width: 0;
    height: 0;
    border: 12px solid transparent;
    border-top-color: var(--accent);
    border-bottom: 0;
}

@keyframes bubblePop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    60% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Coin confetti animation */
.coin-confetti {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.coin-confetti span {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    animation: confettiFall 3s linear infinite;
    opacity: 0;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(600px) rotate(360deg);
        opacity: 0;
    }
}

/* ============================================
   INFO CARD GRID
   Responsive cards for categories, providers, etc.
   ============================================ */

.info-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

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

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

.info-card {
    background: var(--card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.info-card:hover {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow-purple);
}

.info-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 3;
    overflow: hidden;
    background: var(--background-alt);
}

.info-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-card-badge {
    position: absolute;
    top: var(--space-xs);
    right: var(--space-xs);
    background: var(--accent);
    color: var(--accent-foreground);
    font-family: var(--font-display);
    font-size: 12px;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
}

.info-card-body {
    padding: var(--space-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.info-card-title {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--foreground);
    margin-bottom: var(--space-xs);
}

.info-card-desc {
    font-size: 15px;
    color: var(--muted-foreground);
    line-height: 1.5;
    flex: 1;
}

/* ============================================
   STAT BLOCK
   Large metric numbers with labels
   ============================================ */

.stat-block-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    padding: var(--space-2xl) var(--space-sm);
    text-align: center;
}

@media (min-width: 768px) {
    .stat-block-container {
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        gap: var(--space-xl);
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    min-width: 0;
}

@media (min-width: 768px) {
    .stat-item {
        border-right: 1px solid var(--border-light);
        padding-right: var(--space-xl);
    }
    .stat-item:last-child {
        border-right: none;
        padding-right: 0;
    }
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 42px);
    color: var(--accent);
    text-shadow: 0 0 20px rgba(163, 230, 53, 0.4);
    line-height: 1;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted-foreground);
}

/* ============================================
   CTA BANNER
   Full-width conversion section
   ============================================ */

.cta-banner {
    position: relative;
    background: var(--background);
    padding: var(--space-2xl) var(--space-sm);
    text-align: center;
    overflow: clip;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    z-index: 0;
}

@media (min-width: 768px) {
    .cta-banner {
        padding: var(--space-3xl) var(--space-lg);
    }
}

.cta-banner-inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-bubble {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--accent);
    background: var(--card);
    padding: 8px 20px;
    border-radius: var(--radius-lg);
    border: 3px solid var(--accent);
    box-shadow: var(--shadow-glow-lime);
    margin-bottom: var(--space-md);
    animation: bubblePop var(--transition-base) ease-out;
}

.cta-headline {
    font-family: var(--font-display);
    font-size: clamp(26px, 4vw, 36px);
    color: var(--foreground);
    margin-bottom: var(--space-sm);
}

.cta-subtext {
    font-size: 17px;
    color: var(--muted-foreground);
    margin-bottom: var(--space-lg);
}

.cta-button {
    margin-top: var(--space-sm);
}

/* ============================================
   FAQ ACCORDION
   Collapsible panels with neon accent border
   ============================================ */

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-md);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    min-height: 44px;
    transition: background var(--transition-fast);
}

.faq-toggle:hover {
    background: var(--card-hover);
}

.faq-question {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--foreground);
    flex: 1;
    padding-right: var(--space-sm);
}

.faq-icon {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--accent);
    border-radius: 2px;
    transition: transform var(--transition-base);
}

.faq-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    transform: translateY(-50%);
}

.faq-icon::after {
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    transform: translateX(-50%);
}

.faq-toggle[aria-expanded="true"] .faq-icon::after {
    transform: translateX(-50%) scaleY(0);
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-toggle[aria-expanded="true"] + .faq-panel {
    max-height: 500px;
}

.faq-answer {
    padding: 0 var(--space-md) var(--space-md);
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground-muted);
}

/* ============================================
   BONUS STEP CARDS
   Connected comic-style deposit stages
   ============================================ */

.bonus-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .bonus-steps {
        grid-template-columns: repeat(4, 1fr);
    }
}

.bonus-step {
    background: var(--card);
    border: 1px solid var(--border-light);
    border-top: 3px solid var(--primary);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: center;
    position: relative;
}

.bonus-step-number {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: var(--space-xs);
}

.bonus-step-amount {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--accent);
    margin-bottom: var(--space-xs);
}

.bonus-step-detail {
    font-size: 14px;
    color: var(--muted-foreground);
}

/* ============================================
   VIP STEPPER
   Horizontal level progression
   ============================================ */

.vip-stepper {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .vip-stepper {
        flex-direction: row;
        align-items: stretch;
        justify-content: space-between;
    }
}

.vip-level {
    background: var(--card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: center;
    flex: 1;
    position: relative;
    min-width: 0;
}

.vip-level-badge {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-sm);
    border-radius: 50%;
    overflow: hidden;
}

.vip-level-name {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--foreground);
    margin-bottom: var(--space-xs);
}

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

/* ============================================
   TABLES
   Comparison and data tables
   ============================================ */

.table-wrapper {
    max-width: 100%;
    overflow-x: auto;
    min-width: 0;
    border-radius: var(--radius-md);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

thead th {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--accent-foreground);
    background: var(--accent);
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    white-space: nowrap;
}

tbody td {
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid var(--border-light);
    color: var(--foreground-muted);
    font-size: 15px;
}

tbody tr:nth-child(even) {
    background: var(--card);
}

tbody tr:nth-child(odd) {
    background: var(--background-alt);
}

.table-highlight {
    border-left: 4px solid var(--accent);
}

/* ============================================
   SPLIT LAYOUT
   Two-column content + visual
   ============================================ */

.split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
}

@media (min-width: 768px) {
    .split-layout {
        grid-template-columns: 1fr 1fr;
    }
}

.split-text h3 {
    margin-bottom: var(--space-sm);
}

.split-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* ============================================
   TRUST BADGES
   License and security badges row
   ============================================ */

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    align-items: center;
    padding: var(--space-lg) var(--space-sm);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    text-align: center;
    min-width: 100px;
}

.trust-badge img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.trust-badge-label {
    font-size: 13px;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   CALLOUT / HIGHLIGHT BOX
   ============================================ */

.callout {
    background: var(--card);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin: var(--space-md) 0;
}

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

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

.callout-title {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--foreground);
    margin-bottom: var(--space-xs);
}

.callout p {
    margin-bottom: 0;
}

/* ============================================
   SUMMARY / TL;DR BOX
   ============================================ */

.summary-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
}

.summary-box h3 {
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.summary-box ul {
    list-style: none;
    padding: 0;
}

.summary-box li {
    padding: var(--space-xs) 0;
    padding-left: var(--space-lg);
    position: relative;
    color: var(--foreground-muted);
}

.summary-box li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 12px;
}

/* ============================================
   PULL QUOTE
   ============================================ */

.pull-quote {
    font-family: var(--font-display);
    font-size: clamp(20px, 3vw, 28px);
    color: var(--foreground);
    line-height: 1.4;
    border-left: 4px solid var(--secondary);
    padding: var(--space-md) var(--space-lg);
    margin: var(--space-lg) 0;
    background: var(--card);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

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

/* ============================================
   JACKPOT TICKER
   ============================================ */

.jackpot-section {
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    text-align: center;
    padding: var(--space-2xl) var(--space-sm);
}

.jackpot-ticker {
    font-family: var(--font-display);
    font-size: clamp(36px, 8vw, 64px);
    color: var(--accent);
    text-shadow: 0 0 40px rgba(163, 230, 53, 0.5);
    margin: var(--space-md) 0;
}

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

.site-footer {
    background: var(--background-alt);
    border-top: 1px solid var(--border-light);
    padding: var(--space-2xl) var(--space-sm) var(--space-md);
}

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

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

@media (min-width: 1024px) {
    .footer-inner {
        grid-template-columns: repeat(4, 1fr);
    }
    .site-footer {
        padding: var(--space-2xl) var(--space-lg) var(--space-md);
    }
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--foreground);
    margin-bottom: var(--space-sm);
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: var(--muted-foreground);
    font-size: 15px;
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.payment-badge {
    background: var(--card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    font-size: 13px;
    color: var(--muted-foreground);
}

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

.license-badge {
    background: var(--card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    font-size: 13px;
    color: var(--accent);
}

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

.age-restriction {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.age-badge {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--destructive);
    border: 2px solid var(--destructive);
    border-radius: var(--radius-sm);
    padding: 4px 12px;
    flex-shrink: 0;
}

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

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

/* ============================================
   ANIMATIONS - Scroll reveal
   ============================================ */

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

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

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--accent);
}

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.bg-card {
    background: var(--card);
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }

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

/* ============================================
   PROVIDER LOGO STRIP
   ============================================ */

.provider-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

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

.provider-card {
    background: var(--card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: center;
    transition: all var(--transition-fast);
    min-width: 0;
}

.provider-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow-cyan);
    transform: scale(1.05);
}

.provider-card img {
    width: 100%;
    max-width: 120px;
    margin: 0 auto var(--space-xs);
}

.provider-name {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--foreground);
}

/* ============================================
   DETAILS / SUMMARY (native accordion)
   ============================================ */

details {
    background: var(--card);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-xs);
}

details summary {
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--foreground);
    list-style: none;
    min-height: 44px;
    display: flex;
    align-items: center;
}

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

details summary::after {
    content: '+';
    margin-left: auto;
    color: var(--accent);
    font-size: 24px;
    font-weight: 400;
}

details[open] summary::after {
    content: '−';
}

details p {
    margin-top: var(--space-sm);
    margin-bottom: 0;
    color: var(--foreground-muted);
}

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

@media (max-width: 639px) {
    .hero {
        min-height: 500px;
    }
    .hero-visual {
        min-height: 200px;
    }
    .hero-mascot {
        width: 120px;
    }
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   SECTION HEADER
   Centered header with subtitle for content sections
   ============================================ */

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.section-header p {
    color: var(--muted-foreground);
    font-size: 17px;
    margin: 0;
}

/* ============================================
   GAMIFICATION VISUAL
   Dashboard image with Caszilla overlay
   ============================================ */

.gamification-visual {
    position: relative;
}

.gamification-visual .dashboard-img {
    width: 100%;
    border-radius: var(--radius-lg);
}

.gamification-visual .caszilla-overlay {
    position: absolute;
    top: -50px;
    right: -10px;
    width: 120px;
    z-index: 2;
}

@media (min-width: 768px) {
    .gamification-visual .caszilla-overlay {
        width: 160px;
        top: -70px;
        right: -30px;
    }
}

/* ============================================
   VIP BADGE CIRCLE (text-based, no image)
   ============================================ */

.vip-badge-circle {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-sm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 28px;
    border: 3px solid var(--border);
    background: var(--card);
    transition: all var(--transition-base);
}

.vip-badge-circle.l1 { border-color: #78716c; color: #a8a29e; }
.vip-badge-circle.l2 { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow-glow-cyan); }
.vip-badge-circle.l3 { border-color: var(--secondary); color: var(--secondary); box-shadow: var(--shadow-glow-purple); }
.vip-badge-circle.l4 { border-color: var(--accent); color: var(--accent); box-shadow: var(--shadow-glow-lime); }
.vip-badge-circle.l5 { border-color: var(--accent); background: var(--gradient-primary); color: var(--foreground); box-shadow: var(--shadow-glow-lime); }

.vip-level:hover .vip-badge-circle {
    transform: scale(1.1);
}

/* ============================================
   TRUST BADGE TEXT VARIANT
   Text-based badges (no image required)
   ============================================ */

.trust-badge-icon {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--accent);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    min-width: 64px;
    text-align: center;
    background: var(--card);
    transition: all var(--transition-fast);
}

.trust-badge:hover .trust-badge-icon {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow-lime);
}

.trust-badge-icon.danger {
    color: var(--destructive);
    border-color: var(--destructive);
}

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

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

.sitemap-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sitemap-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--card);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-base);
    min-width: 0;
}

.sitemap-row:hover {
    background: var(--card-hover);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow-purple);
    transform: scale(1.02);
}

.sitemap-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.sitemap-row-body {
    flex: 1;
    min-width: 0;
}

.sitemap-row-title {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--foreground);
    margin-bottom: 8px;
    transition: color var(--transition-fast);
}

.sitemap-row:hover .sitemap-row-title {
    color: var(--accent);
}

.sitemap-row-desc {
    font-size: 15px;
    color: var(--muted-foreground);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 639px) {
    .sitemap-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    .sitemap-icon {
        width: 56px;
        height: 56px;
    }
}
