/* ============================================
   VAVADA CASINO - DESIGN SYSTEM
   Dark heist aesthetic: deep purple-blue base,
   neon purple accents, luminous gold highlights.
   Mobile-first. No theme switcher.
   ============================================ */

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root,
.dark {
    /* Backgrounds */
    --background: #0C0A14;
    --background-elevated: #131022;
    --card: #131022;
    --card-foreground: #F8FAFC;
    --popover: #1A1530;
    --popover-foreground: #F8FAFC;

    /* Brand */
    --primary: #A855F7;
    --primary-glow: rgba(168, 85, 247, 0.4);
    --primary-foreground: #FFFFFF;
    --secondary: #1E1B4B;
    --secondary-foreground: #E9D5FF;

    /* Neutral */
    --muted: #1E1B2E;
    --muted-foreground: #A8B5C7;
    --border: #2A2540;

    /* Accent - luminous gold */
    --accent: #FACC15;
    --accent-glow: rgba(250, 204, 21, 0.3);
    --accent-foreground: #0C0A14;

    /* Status */
    --destructive: #F43F5E;
    --destructive-foreground: #000000;

    /* Semantic */
    --foreground: #F8FAFC;
    --foreground-muted: #CBD5E1;
    --input: #131022;
    --ring: #A855F7;

    /* Typography */
    --font-heading: "Unbounded", sans-serif;
    --font-body: "Rubik", sans-serif;

    /* Spacing scale - 8px base */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 48px;
    --space-6: 64px;
    --space-7: 100px;

    /* Section spacing */
    --section-gap: 60px;
    --component-pad: 24px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Transitions */
    --transition: 250ms ease-out;

    /* Shadows */
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px var(--primary-glow);
    --shadow-gold: 0 0 24px var(--accent-glow);

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

/* ============================================
   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: 16px;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

ul, ol {
    list-style: none;
}

section {
    overflow: clip;
}

/* ============================================
   TYPOGRAPHY SYSTEM
   Unbounded headings / Rubik body
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--foreground);
}

h1 {
    font-size: clamp(1.5rem, 5vw, 2.625rem); /* 24px mobile → 42px desktop */
    font-weight: 800;
}

h2 {
    font-size: clamp(1.375rem, 4vw, 2rem); /* 22px mobile → 32px desktop */
    font-weight: 600;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem); /* 20px mobile → 24px desktop */
    font-weight: 500;
}

p {
    margin-bottom: 28px;
    color: var(--foreground-muted);
}

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

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

.section {
    padding: var(--section-gap) 0;
    position: relative;
}

@media (min-width: 1024px) {
    .section {
        padding: var(--space-6) 0;
    }
    :root {
        --component-pad: 32px;
    }
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-4);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

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

.section-header p {
    font-size: 1.0625rem;
    color: #CBD5E1;
}

/* ============================================
   NEON LASER GRID BACKGROUND
   Subtle animated diagonal grid overlay
   ============================================ */
.neon-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent 0,
            transparent 40px,
            rgba(147, 51, 234, 0.05) 40px,
            rgba(147, 51, 234, 0.05) 41px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent 0,
            transparent 40px,
            rgba(250, 204, 21, 0.03) 40px,
            rgba(250, 204, 21, 0.03) 41px
        );
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--background);
    border-bottom: 1px solid var(--border);
}

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

.site-brand {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    color: var(--foreground);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    flex-shrink: 0;
}

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

.logo {
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.brand-name {
    background: linear-gradient(135deg, var(--accent), #F59E0B);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Desktop Navigation */
.primary-nav {
    display: none;
    align-items: center;
    gap: var(--space-4);
}

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

.nav-link {
    color: var(--foreground-muted);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: var(--space-1) 0;
    position: relative;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}

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

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

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

@media (min-width: 1024px) {
    .primary-nav {
        display: flex;
    }
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* ============================================
   MOBILE MENU TOGGLE (Hamburger)
   ============================================ */
.mobile-menu-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;
    padding: 10px;
    z-index: 1001;
    transition: all var(--transition);
}

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

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

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

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

.primary-nav.is-open .nav-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: var(--space-2);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: 1rem;
}

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

.primary-nav.is-open .nav-actions {
    flex-direction: column;
    width: 100%;
    margin-top: var(--space-2);
}

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    min-height: 44px;
    white-space: nowrap;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.0625rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #EAB308);
    color: var(--accent-foreground);
    box-shadow: 0 0 20px var(--accent-glow);
    text-shadow: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 32px var(--accent-glow), 0 4px 16px rgba(0,0,0,0.3);
    color: var(--accent-foreground);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    box-shadow: 0 0 16px var(--primary-glow);
    color: var(--foreground);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0C0A14 0%, #1A0B2E 50%, #0C0A14 100%);
}

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

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

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-5) var(--space-2);
    width: 100%;
}

.hero h1 {
    margin-bottom: var(--space-2);
    text-shadow: 0 0 30px rgba(147, 51, 234, 0.5);
}

.hero h1 .gold {
    background: linear-gradient(135deg, var(--accent), #F59E0B);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--foreground-muted);
    max-width: 580px;
    margin-bottom: var(--space-4);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

@media (min-width: 768px) {
    .hero {
        min-height: 560px;
    }
    .hero-content {
        padding: var(--space-5) var(--space-2);
    }
}

/* Scroll margin for sticky header offset */
section {
    scroll-margin-top: calc(var(--header-height) + 24px);
}

/* ============================================
   CARDS - Base content containers
   ============================================ */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--component-pad);
    min-width: 0;
}

.card-featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-gold);
}

/* ============================================
   INFO CARD GRID
   Responsive grid of uniform cards
   ============================================ */
.info-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
}

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

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

.info-card {
    background: var(--card);
    border: 1px solid #3A3050;
    border-radius: var(--radius-md);
    overflow: hidden;
    min-width: 0;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

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

.info-card-image {
    overflow: hidden;
    aspect-ratio: 5/3;
}

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

.info-card-body {
    padding: var(--component-pad);
}

.info-card-icon {
    font-size: 1.75rem;
    display: inline-block;
    margin-bottom: var(--space-1);
}

.info-card-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-1);
}

.info-card-desc {
    font-size: 0.9375rem;
    color: #CBD5E1;
    margin-bottom: var(--space-2);
}

.info-card-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-card-link-muted {
    color: var(--muted-foreground);
    opacity: 1;
}

/* ============================================
   STAT BLOCK
   Row of prominent metrics with labels
   ============================================ */
.stat-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--component-pad);
    position: relative;
    overflow: hidden;
}

.stat-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent 0,
        transparent 30px,
        rgba(147, 51, 234, 0.04) 30px,
        rgba(147, 51, 234, 0.04) 31px
    );
    pointer-events: none;
}

.stat-item {
    text-align: center;
    padding: var(--space-2);
    position: relative;
    z-index: 1;
}

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

@media (min-width: 1024px) {
    .stat-block {
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    }
    .stat-item + .stat-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 20%;
        bottom: 20%;
        width: 1px;
        background: var(--border);
    }
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: var(--space-1);
    text-shadow: 0 0 20px var(--accent-glow);
}

.stat-label {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--foreground);
    margin-bottom: var(--space-1);
}

.stat-source {
    font-size: 0.6875rem;
    color: var(--muted-foreground);
}

/* ============================================
   FAQ ACCORDION
   Expandable Q&A cards with chevron toggle
   ============================================ */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    max-width: 760px;
    margin: 0 auto;
}

.faq-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 3px solid transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.faq-card[open] {
    border-left-color: var(--accent);
}

.faq-card:hover {
    box-shadow: var(--shadow-glow);
    transform: scale(1.02);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    padding: var(--component-pad);
    cursor: pointer;
    list-style: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.0625rem;
    color: var(--foreground);
}

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

.faq-question-text {
    flex: 1;
    min-width: 0;
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--muted-foreground);
    transition: transform var(--transition), color var(--transition);
}

.faq-card[open] .faq-chevron {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    padding: 0 var(--component-pad) var(--component-pad);
    animation: faq-slide var(--transition);
}

.faq-answer p {
    color: var(--foreground-muted);
    font-size: 0.9375rem;
}

@keyframes faq-slide {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   HOW TO STEPS
   Numbered sequential process guide
   ============================================ */
.how-to-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

@media (min-width: 1024px) {
    .how-to-steps {
        flex-direction: row;
    }
}

.step-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--component-pad);
    position: relative;
    flex: 1;
    min-width: 0;
    transition: transform var(--transition), box-shadow var(--transition);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: var(--space-2);
    text-shadow: 0 0 16px var(--accent-glow);
}

.step-connector {
    display: none;
}

@media (min-width: 1024px) {
    .step-card:not(:last-child) .step-connector {
        display: block;
        position: absolute;
        top: 50%;
        right: calc(-1 * var(--space-3) + 1px);
        width: var(--space-3);
        height: 2px;
        background: linear-gradient(90deg, var(--primary), transparent);
    }
}

.step-icon {
    font-size: 1.5rem;
    display: inline-block;
    margin-bottom: var(--space-1);
    color: var(--primary);
}

.step-title {
    font-size: 1.125rem;
    margin-bottom: var(--space-1);
}

.step-desc {
    font-size: 0.9375rem;
    color: var(--muted-foreground);
}

/* ============================================
   CTA BANNER
   Full-width conversion section
   ============================================ */
.cta-banner {
    position: relative;
    padding: var(--section-gap) var(--space-2);
    background: linear-gradient(135deg, #1A0B2E 0%, #0C0A14 50%, #1A0B2E 100%);
    overflow: hidden;
    text-align: center;
}

.cta-banner-bg {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent 0, transparent 35px, rgba(147,51,234,0.06) 35px, rgba(147,51,234,0.06) 36px),
        repeating-linear-gradient(-45deg, transparent 0, transparent 35px, rgba(250,204,21,0.04) 35px, rgba(250,204,21,0.04) 36px);
    pointer-events: none;
}

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

.cta-banner-headline {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    color: var(--foreground);
    text-shadow: 0 0 30px rgba(147, 51, 234, 0.6);
    margin-bottom: var(--space-2);
}

.cta-banner-subtext {
    font-size: 1.0625rem;
    color: var(--muted-foreground);
    margin-bottom: var(--space-4);
}

.cta-banner-btn {
    margin-bottom: var(--space-2);
}

.cta-banner-micro {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted-foreground);
    font-weight: 500;
}

@media (min-width: 1024px) {
    .cta-banner {
        padding: 100px var(--space-2);
    }
}

/* ============================================
   ENGAGEMENT PATTERNS
   ============================================ */

/* TL;DR / Summary box */
.tldr-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-md);
    padding: var(--component-pad);
    margin: var(--space-3) 0;
}

.tldr-box-title {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: var(--space-1);
}

.tldr-box p a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
    font-weight: 600;
}

.tldr-box p a:hover {
    color: var(--primary);
}

/* Callout / highlight box */
.callout {
    background: rgba(147, 51, 234, 0.08);
    border: 1px solid var(--primary);
    border-radius: var(--radius-md);
    padding: var(--space-3);
    margin: var(--space-3) 0;
    display: flex;
    gap: var(--space-2);
    align-items: flex-start;
}

.callout-icon {
    flex-shrink: 0;
    font-size: 1.25rem;
    color: var(--accent);
}

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

.callout-body p {
    margin-bottom: 0;
    color: var(--foreground);
}

/* Pull quote */
.pull-quote {
    border-left: 4px solid var(--accent);
    padding: var(--space-2) 0 var(--space-2) var(--space-4);
    margin: var(--space-4) 0;
    font-size: 1.25rem;
    font-style: italic;
    color: var(--foreground);
    line-height: 1.5;
}

.pull-quote cite {
    display: block;
    margin-top: var(--space-2);
    font-size: 0.875rem;
    font-style: normal;
    color: var(--muted-foreground);
}

/* Comparison table */
.table-wrapper {
    max-width: 100%;
    overflow-x: auto;
    margin: var(--space-3) 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

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

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

.comparison-table th,
.comparison-table td {
    padding: var(--space-2) var(--space-3);
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
}

.comparison-table th {
    background: var(--muted);
    color: var(--foreground);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

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

.comparison-table .col-highlight {
    background: rgba(250, 204, 21, 0.05);
    border-left: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
}

.comparison-table .col-highlight th {
    color: var(--accent);
}

/* Table scroll hint on mobile */
.table-scroll-hint {
    display: none;
    text-align: center;
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-bottom: var(--space-1);
    letter-spacing: 0.05em;
}

@media (max-width: 767px) {
    .table-scroll-hint {
        display: block;
    }
    .table-wrapper {
        position: relative;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--primary) var(--border);
    }
    .table-wrapper::-webkit-scrollbar {
        height: 6px;
    }
    .table-wrapper::-webkit-scrollbar-track {
        background: var(--border);
        border-radius: 3px;
    }
    .table-wrapper::-webkit-scrollbar-thumb {
        background: var(--primary);
        border-radius: 3px;
    }
    .comparison-table {
        font-size: 0.875rem;
    }
    .comparison-table th,
    .comparison-table td {
        padding: var(--space-1) var(--space-2);
        white-space: nowrap;
    }
}

/* Social proof / testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
}

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

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

.testimonial-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--component-pad);
}

.testimonial-stars {
    color: var(--accent);
    font-size: 1.125rem;
    margin-bottom: var(--space-1);
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.9375rem;
    color: var(--foreground-muted);
    margin-bottom: var(--space-2);
    font-style: italic;
}

.testimonial-author {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
}

/* Trust badges row */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    align-items: center;
    justify-content: center;
    padding: var(--space-3) 0;
}

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

/* ============================================
   CONTENT PATTERNS
   ============================================ */
.prose {
    max-width: 720px;
    margin: 0 auto;
}

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

.prose h3 {
    margin-top: var(--space-4);
    margin-bottom: var(--space-2);
}

.prose p {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.prose ul, .prose ol {
    margin-bottom: 28px;
    padding-left: var(--space-3);
}

.prose li {
    list-style: disc;
    margin-bottom: var(--space-1);
    color: var(--foreground-muted);
    line-height: 1.6;
}

.prose ol li {
    list-style: decimal;
}

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

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

.prose blockquote {
    border-left: 3px solid var(--primary);
    padding-left: var(--space-3);
    margin: var(--space-3) 0;
    font-style: italic;
    color: var(--foreground);
}

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

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

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    margin-bottom: var(--space-2);
}

.footer-brand .brand-name {
    font-family: var(--font-heading);
    font-size: 1.125rem;
}

.footer-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--foreground);
    margin-bottom: var(--space-2);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.footer-links a {
    color: var(--muted-foreground);
    font-size: 0.9375rem;
    transition: color var(--transition);
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 4px 0;
}

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

.payment-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: var(--space-2);
}

.pay-badge {
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--foreground-muted);
}

.footer-license {
    display: flex;
    gap: var(--space-1);
    flex-wrap: wrap;
}

.license-badge {
    background: rgba(250, 204, 21, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: var(--radius-sm);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.age-badge {
    background: var(--destructive);
    color: var(--destructive-foreground);
    border-radius: var(--radius-sm);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

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

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    margin-bottom: var(--space-1);
}

.footer-bottom a {
    color: var(--muted-foreground);
    text-decoration: underline;
    padding: 4px 8px;
    display: inline-block;
    min-height: 44px;
    line-height: 36px;
}

.footer-warning {
    color: var(--destructive) !important;
    font-weight: 500;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: var(--space-3);
    right: var(--space-3);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: var(--primary-foreground);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition), background var(--transition);
    z-index: 998;
    box-shadow: var(--shadow-glow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent);
    color: var(--accent-foreground);
}

/* ============================================
   SCROLL ANIMATIONS
   Fade-in slide-up as elements enter viewport
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* Fallback: if JS hasn't run within 2s, reveal everything */
html.no-js-fallback .animate-on-scroll {
    opacity: 1;
    transform: none;
}

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

/* Staggered children */
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

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

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

@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;
    }
    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (min-width: 768px) {
    :root {
        --section-gap: 60px;
    }
    body {
        font-size: 17px;
    }
}

@media (min-width: 1024px) {
    :root {
        --section-gap: 64px;
    }
}

/* ============================================
   HOMEPAGE - FEATURED BONUS CARDS
   ============================================ */
.info-card.card-featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-gold);
    position: relative;
}

.info-card.card-featured::before {
    content: 'TOP ANGEBOT';
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent);
    color: var(--accent-foreground);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    z-index: 2;
}