/*
 * CASOOLA CASINO - Design System
 * Futuristic arcade-cyberpunk aesthetic with neon bot-town identity
 * Dark theme only (no light/dark switcher per brief)
 */

/* ============================================
   DESIGN TOKENS - Dark theme (site-wide)
   Robotic sci-fi palette: near-black bg,
   electric blue/cyan primary, lime-cyan accent,
   deep violet cards
   ============================================ */
:root {
    /* Background */
    --background: #0a0a12;
    --background-alt: #0f0f1e;
    --foreground: #f8fafc;
    --foreground-muted: #b8c2d0;

    /* Cards */
    --card: #16162b;
    --card-hover: #1c1c38;
    --card-foreground: #f8fafc;

    /* Primary - vivid cyan-blue */
    --primary: #38bdf8;
    --primary-hover: #56ccf9;
    --primary-foreground: #0a0a12;
    --primary-glow: rgba(56, 189, 248, 0.4);

    /* Secondary - deep violet */
    --secondary: #4c1d95;
    --secondary-hover: #5b21b6;
    --secondary-foreground: #f8fafc;

    /* Accent - glowing lime-cyan */
    --accent: #2dd4bf;
    --accent-hover: #5eead4;
    --accent-foreground: #0a0a12;
    --accent-glow: rgba(45, 212, 191, 0.4);

    /* Muted */
    --muted: #1e1e36;
    --muted-foreground: #b8c2d0;

    /* Borders */
    --border: #2a2a4a;
    --border-accent: #2dd4bf;

    /* Destructive */
    --destructive: #ea0d33;
    --destructive-foreground: #ffffff;

    /* Typography */
    --font-display: "Orbitron", sans-serif;
    --font-body: "Exo 2", sans-serif;

    /* Font sizes */
    --fs-h1: clamp(1.75rem, 5vw, 2.625rem);
    --fs-h2: clamp(1.5rem, 4vw, 2rem);
    --fs-h3: clamp(1.25rem, 3vw, 1.5rem);
    --fs-h4: clamp(1.125rem, 2.5vw, 1.25rem);
    --fs-body: 1rem;
    --fs-small: 0.875rem;

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

    /* Layout */
    --container-max: 1200px;
    --header-height: 64px;

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

    /* Transitions */
    --transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-glow-cyan: 0 0 20px rgba(56, 189, 248, 0.3);
    --shadow-glow-accent: 0 0 20px rgba(45, 212, 191, 0.3);
    --shadow-glow-violet: 0 0 30px rgba(76, 29, 149, 0.5);
}

/* Dark theme identical to root (single theme) */
.dark {
    --background: #0a0a12;
    --background-alt: #0f0f1e;
    --foreground: #f8fafc;
    --foreground-muted: #b8c2d0;
    --card: #16162b;
    --card-hover: #1c1c38;
    --card-foreground: #f8fafc;
    --primary: #38bdf8;
    --primary-hover: #56ccf9;
    --primary-foreground: #0a0a12;
    --primary-glow: rgba(56, 189, 248, 0.4);
    --secondary: #4c1d95;
    --secondary-hover: #5b21b6;
    --secondary-foreground: #f8fafc;
    --accent: #2dd4bf;
    --accent-hover: #5eead4;
    --accent-foreground: #0a0a12;
    --accent-glow: rgba(45, 212, 191, 0.4);
    --muted: #1e1e36;
    --muted-foreground: #b8c2d0;
    --border: #2a2a4a;
    --border-accent: #2dd4bf;
    --destructive: #ea0d33;
    --destructive-foreground: #ffffff;
}


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

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

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
    overflow-x: hidden;
}

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(--primary-hover);
}

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

ul, ol {
    list-style: none;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary);
    color: var(--primary-foreground);
    padding: var(--space-sm) var(--space-md);
    z-index: 9999;
    border-radius: 0 0 var(--radius-sm) 0;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}


/* ============================================
   TYPOGRAPHY SYSTEM
   Orbitron for display headings, Exo 2 for body
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--foreground);
}

h1 {
    font-size: var(--fs-h1);
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-md);
}

h2 {
    font-size: var(--fs-h2);
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: var(--space-md);
}

h3 {
    font-size: var(--fs-h3);
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

h4 {
    font-size: var(--fs-h4);
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

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

body {
    font-size: var(--fs-body);
    line-height: 1.6;
}

@media (min-width: 768px) {
    body {
        font-size: 1.0625rem;
    }
}

@media (min-width: 1024px) {
    body {
        font-size: 1.0625rem;
    }
}


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

.section {
    padding: var(--space-2xl) 0;
    overflow: clip;
}

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

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

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

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

.neon-text {
    text-shadow: 0 0 10px var(--accent-glow), 0 0 20px var(--accent-glow);
}

.neon-text-primary {
    text-shadow: 0 0 10px var(--primary-glow), 0 0 20px var(--primary-glow);
}


/* ============================================
   BUTTONS
   Primary (cyan-blue), Secondary (violet outline)
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    min-height: 44px;
    padding: 12px 28px;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.15), 0 0 15px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: var(--primary-foreground);
    box-shadow: inset 0 0 25px rgba(255, 255, 255, 0.25), 0 0 25px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--accent-foreground);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.0625rem;
    min-height: 52px;
}

.btn-block {
    width: 100%;
}


/* ============================================
   HEADER & NAVIGATION
   Sticky header with logo, nav, CTA buttons
   Mobile drawer below 1024px
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 18, 0.98);
    border-bottom: 1px solid var(--border);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

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

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

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

.brand-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--foreground);
    letter-spacing: 0.02em;
}

.primary-nav {
    display: none;
}

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

.nav-link {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    padding: 8px 4px;
    position: relative;
    transition: color var(--transition);
}

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

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

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

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

.header-cta .btn {
    padding: 8px 20px;
    font-size: 0.8125rem;
    min-height: 40px;
}

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

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: all var(--transition);
    box-shadow: 0 0 6px var(--accent-glow);
}

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

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

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

.nav-cta-mobile {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}

.nav-cta-mobile .btn {
    min-height: 48px;
}

/* Mobile drawer */
@media (max-width: 1023px) {
    .primary-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--background);
        display: none;
        flex-direction: column;
        padding: var(--space-md);
        overflow-y: auto;
        z-index: 999;
    }

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

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

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

    .nav-link {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 12px 8px;
        font-size: 1rem;
    }

    .menu-toggle {
        display: flex;
    }
}

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

    .header-cta {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

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


/* ============================================
   FOOTER
   Four-column: links, payments, license/trust
   ============================================ */
.site-footer {
    background: var(--background-alt);
    border-top: 1px solid var(--border);
    padding: var(--space-2xl) 0 var(--space-lg);
}

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

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

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

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: var(--space-sm);
    letter-spacing: 0.02em;
}

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

.footer-links a {
    color: var(--foreground-muted);
    font-size: 0.9375rem;
    transition: color var(--transition);
}

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

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

.payment-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    color: var(--foreground-muted);
}

.footer-license {
    font-size: 0.875rem;
    color: var(--foreground-muted);
    line-height: 1.5;
    margin-bottom: var(--space-sm);
}

.footer-trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.trust-badge-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 32px;
    padding: 4px 10px;
    background: var(--card);
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
}

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

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

.footer-disclaimer {
    font-size: 0.75rem !important;
    line-height: 1.5;
}


/* ============================================
   HERO SECTION
   Full-bleed with model + Caszilla, neon bot-town
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    padding: var(--space-2xl) 0;
    overflow: clip;
    background: linear-gradient(180deg, var(--background) 0%, var(--background-alt) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(56, 189, 248, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(45, 212, 191, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}

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

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

.hero-content h1 {
    font-size: var(--fs-h1);
    margin-bottom: var(--space-md);
}

.hero-subtext {
    font-size: 1.0625rem;
    color: var(--foreground-muted);
    margin-bottom: var(--space-lg);
    max-width: 50ch;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glow-violet);
}

.hero-overlay-img {
    position: absolute;
    bottom: -20px;
    right: -10px;
    width: 40%;
    max-width: 200px;
    z-index: 3;
}

@media (min-width: 768px) {
    .hero-overlay-img {
        bottom: -30px;
        right: -20px;
    }
}


/* ============================================
   CIRCUIT BOARD BORDER
   Pulsing holographic border for major sections
   ============================================ */
.circuit-border {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.circuit-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    animation: circuit-pulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes circuit-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}


/* ============================================
   STAT BLOCK COMPONENT
   Oversized numbers with neon glow
   ============================================ */
.stat-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

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

.stat-item {
    position: relative;
    background: var(--card);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    text-align: center;
    overflow: hidden;
}

.stat-circuit-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: circuit-flow 3s ease-in-out infinite;
}

@keyframes circuit-flow {
    0%, 100% { opacity: 0.3; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1); }
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 800;
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent-glow), 0 0 30px var(--accent-glow);
    line-height: 1.1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    display: block;
    font-size: var(--fs-body);
    color: var(--foreground-muted);
}


/* ============================================
   GAME CARD GRID COMPONENT
   Responsive grid of game thumbnails
   ============================================ */
.game-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

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

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

.game-card {
    background: var(--card);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: all var(--transition);
    overflow: hidden;
}

.game-card:hover {
    transform: scale(1.04);
    border-color: var(--accent);
    box-shadow: 0 0 25px var(--accent-glow);
}

.game-thumbnail {
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: var(--space-md);
}

.game-thumbnail img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform var(--transition);
}

.game-card:hover .game-thumbnail img {
    transform: scale(1.08);
}

.game-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.game-provider {
    font-size: 0.8125rem;
    color: var(--foreground-muted);
}


/* ============================================
   FAQ ACCORDION COMPONENT
   Expandable cards with lime-cyan accent border
   ============================================ */
.faq-section {
    max-width: var(--container-max);
    margin: 0 auto;
}

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

.faq-item {
    background: var(--card);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent);
    padding: var(--space-md);
    transition: all var(--transition);
    overflow: hidden;
}

.faq-item[open] {
    box-shadow: 0 0 20px var(--accent-glow);
    background: var(--card-hover);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--foreground);
}

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

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

.faq-icon {
    flex-shrink: 0;
    color: var(--accent);
    transition: transform var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
    margin-top: var(--space-md);
}

.faq-answer p {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--foreground-muted);
    margin-bottom: 0;
}


/* ============================================
   CTA BANNER COMPONENT
   Full-width conversion section
   ============================================ */
.cta-banner-section {
    position: relative;
    width: 100%;
    padding: var(--space-2xl) var(--space-md);
    background: var(--background);
    overflow: clip;
    text-align: center;
}

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

.cta-banner-inner {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--card);
}

.cta-border-pulse {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: circuit-pulse 3s ease-in-out infinite;
    pointer-events: none;
}

.cta-headline {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-sm);
    text-shadow: 0 0 15px var(--primary-glow);
}

.cta-subtext {
    font-size: 1.0625rem;
    color: var(--foreground-muted);
    margin-bottom: var(--space-lg);
    max-width: none;
}

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

.cta-micro-copy {
    font-size: 0.8125rem;
    color: var(--foreground-muted);
    margin-bottom: 0;
    max-width: none;
}


/* ============================================
   ENGAGEMENT PATTERNS
   Summary box, callout, pull quote, comparison table
   ============================================ */

/* Summary / TL;DR box */
.summary-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
}

.summary-box h3 {
    color: var(--primary);
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
}

.summary-box p {
    margin-bottom: 0;
    color: var(--foreground-muted);
}

/* Callout / highlight box */
.callout {
    background: var(--card);
    border: 1px solid var(--accent);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
    box-shadow: 0 0 15px var(--accent-glow);
}

.callout-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: var(--space-xs);
}

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

/* Pull quote */
.pull-quote {
    position: relative;
    padding: var(--space-lg) var(--space-xl);
    margin: var(--space-xl) 0;
    border-left: 4px solid var(--accent);
    background: var(--card);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.pull-quote blockquote {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--foreground);
    font-style: italic;
    margin-bottom: var(--space-sm);
}

.pull-quote cite {
    display: block;
    font-size: 0.875rem;
    color: var(--accent);
    font-style: normal;
}

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

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

.comparison-table thead {
    background: var(--secondary);
}

.comparison-table th {
    padding: var(--space-md);
    text-align: left;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary-foreground);
    letter-spacing: 0.02em;
    border-bottom: 2px solid var(--accent);
}

.comparison-table td {
    padding: var(--space-md);
    color: var(--foreground);
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
}

.comparison-table tbody tr {
    background: var(--card);
    transition: background var(--transition);
}

.comparison-table tbody tr:hover {
    background: var(--card-hover);
}

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

.comparison-table .row-highlight {
    background: var(--secondary);
}

.comparison-table .row-highlight td {
    color: var(--secondary-foreground);
    font-weight: 600;
}


/* ============================================
   TRUST BADGES ROW
   Horizontal arrangement of trust icons
   ============================================ */
.trust-badges-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

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

.trust-badge-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    transition: all var(--transition);
}

.trust-badge-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}

.trust-badge-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--accent);
}

.trust-badge-label {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
}


/* ============================================
   TWO-COLUMN CONTENT BLOCK
   Text + visual side-by-side
   ============================================ */
.two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}

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

.two-col-text h2 {
    margin-bottom: var(--space-md);
}

.two-col-text ul {
    list-style: none;
    margin: var(--space-md) 0;
}

.two-col-text ul li {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: var(--foreground-muted);
}

.two-col-text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-glow);
}

.two-col-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glow-violet);
}


/* ============================================
   CATEGORY CARDS GRID
   2x2 on tablet, 4-column on desktop
   ============================================ */
.category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

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

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

.category-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    transition: all var(--transition);
}

.category-card:hover {
    transform: scale(1.04);
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.category-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-sm);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
}

.category-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.category-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

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

.category-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--secondary);
    color: var(--accent);
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
}


/* ============================================
   PROVIDERS STRIP
   Horizontal logo strip, scrollable on mobile
   ============================================ */
.providers-strip {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    padding: var(--space-sm) 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--card);
}

.provider-logo {
    flex-shrink: 0;
    min-width: 140px;
    height: 64px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm);
}

.provider-logo img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}


/* ============================================
   STEP FLOW (withdrawal process)
   Horizontal connected steps
   ============================================ */
.step-flow {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

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

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

@media (min-width: 768px) {
    .step-card:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 50%;
        right: calc(var(--space-md) * -1);
        width: var(--space-md);
        height: 2px;
        background: var(--accent);
        box-shadow: 0 0 8px var(--accent-glow);
    }
}

.step-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--secondary);
}

.step-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.step-desc {
    font-size: 0.875rem;
    color: var(--foreground-muted);
    margin-bottom: 0;
}


/* ============================================
   MOBILE NOTE / DEVICE MOCKUP
   Two-column with phone/laptop visual
   ============================================ */
.device-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-mockup img {
    max-width: 280px;
    border-radius: var(--radius-lg);
}


/* ============================================
   SITEMAP PAGE
   Vertical list of page descriptions
   ============================================ */
.sitemap-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: var(--container-max);
    margin: 0 auto;
}

.sitemap-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-md);
    padding: var(--space-md);
}

.sitemap-item h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

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

.sitemap-item h2 a:hover {
    color: var(--accent);
}

.sitemap-item p {
    font-size: 0.9375rem;
    color: var(--foreground);
    margin-bottom: 0;
}


/* ============================================
   SCROLL ANIMATIONS
   Fade-in slide-up triggered by IntersectionObserver
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: calc(var(--stagger, 0) * 80ms);
}

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

@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .circuit-border::before,
    .stat-circuit-accent,
    .cta-border-pulse {
        animation: none;
    }
}


/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 767px) {
    .hero {
        padding-top: var(--space-xl);
    }

    .hero-overlay-img {
        display: none;
    }
}

@media (min-width: 1280px) {
    .container,
    .hero-inner,
    .footer-inner,
    .footer-bottom {
        max-width: var(--container-max);
    }
}


/* ============================================
   ACCESSIBILITY
   Focus states
   ============================================ */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

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

/* Screen reader only */
.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;
}

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