/* ============================================================
   CLEOBETRA CASINO - DESIGN SYSTEM
   Dark luxury Egyptian nightclub aesthetic.
   Single dark theme (no toggle). Gold + turquoise accents.
   Fonts: Cinzel (display) / Manrope (body)
   ============================================================ */

/* ============================================
   DESIGN TOKENS
   Dark theme only - :root carries all dark values.
   No .dark class needed.
   ============================================ */
:root {
    /* Core palette */
    --background: #0a0e1a;
    --foreground: #f5e6c8;
    --card: #131826;
    --card-foreground: #f5e6c8;
    --popover: #131826;
    --popover-foreground: #f5e6c8;
    --primary: #14b8a6;
    --primary-foreground: #0a0e1a;
    --secondary: #0f1729;
    --secondary-foreground: #f5e6c8;
    --muted: #1e293b;
    --muted-foreground: #94a3b8;
    --accent: #fbbf24;
    --accent-foreground: #0a0e1a;
    --destructive: #ea1414;
    --destructive-foreground: #ffffff;
    --border: #1e293b;
    --input: #131826;
    --ring: #fbbf24;

    /* Extended brand tokens */
    --gold: #fbbf24;
    --gold-bright: #fcd34d;
    --gold-dim: rgba(251, 191, 36, 0.12);
    --gold-border: rgba(251, 191, 36, 0.25);
    --gold-glow: rgba(251, 191, 36, 0.4);
    --turquoise: #14b8a6;
    --turquoise-bright: #2dd4bf;
    --turquoise-dim: rgba(20, 184, 166, 0.12);
    --turquoise-border: rgba(20, 184, 166, 0.25);
    --turquoise-glow: rgba(20, 184, 166, 0.3);
    --navy: #0f1729;
    --navy-light: #1a2338;

    /* Typography */
    --font-display: "Cinzel", Georgia, serif;
    --font-body: "Manrope", system-ui, -apple-system, sans-serif;

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

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

    /* Transitions */
    --transition: 300ms ease-out;
    --transition-fast: 150ms ease-out;
    --transition-slow: 400ms ease-out;

    /* Shadows */
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-gold: 0 0 20px rgba(251, 191, 36, 0.25);
    --shadow-turquoise: 0 0 20px rgba(20, 184, 166, 0.25);

    /* Radii */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    color-scheme: dark;
}


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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
    overflow-x: clip;
    -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(--turquoise-bright);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--gold-bright);
}

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

ul, ol {
    list-style: none;
}

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

input, textarea, select {
    max-width: 100%;
    font-family: var(--font-body);
}

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

/* Skip link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--gold);
    color: var(--accent-foreground);
    padding: 12px 24px;
    font-weight: 600;
    z-index: 2000;
    border-radius: 0 0 var(--radius-sm) 0;
}

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

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


/* ============================================
   TYPOGRAPHY SYSTEM
   Cinzel for display headings, Manrope for body.
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--foreground);
}

h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.15;
}

h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 600;
    line-height: 1.2;
}

h3 {
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 500;
}

h4 {
    font-size: 18px;
    font-weight: 500;
}

p {
    margin-bottom: 1em;
    max-width: 80ch;
}

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

strong, b {
    font-weight: 700;
    color: var(--gold-bright);
}

/* Text utility classes */
.text-gold { color: var(--gold); }
.text-turquoise { color: var(--turquoise-bright); }
.text-center { text-align: center; }
.text-muted { color: var(--muted-foreground); }


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

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

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

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    scroll-margin-top: 90px;
}

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

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

/* Two-column layout (text + image) */
.two-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
}

@media (min-width: 768px) {
    .two-column {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
}

/* Section accent borders */
.section-turquoise {
    border-top: 1px solid var(--turquoise-border);
    background: linear-gradient(180deg, var(--turquoise-dim), transparent 40%);
}

.section-gold {
    border-top: 1px solid var(--gold-border);
    background: linear-gradient(180deg, var(--gold-dim), transparent 40%);
}


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

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

.site-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

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

.brand-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.02em;
}

/* Primary navigation */
.primary-nav {
    display: none;
    align-items: center;
    gap: var(--space-md);
}

.primary-nav .nav-link {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--foreground);
    padding: 8px 0;
    position: relative;
    transition: color var(--transition-fast);
}

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

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

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

.nav-login {
    padding: 8px 20px !important;
    font-size: 15px;
}

.nav-login::after {
    display: none;
}

.nav-cta {
    padding: 8px 20px !important;
    font-size: 15px;
}

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

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: transform var(--transition), opacity 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);
}

/* Nav backdrop */
.nav-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
}

.nav-backdrop.is-visible {
    display: block;
}

/* Desktop navigation */
@media (min-width: 1024px) {
    :root {
        --header-height: 72px;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .primary-nav {
        display: flex;
    }

    .nav-backdrop {
        display: none !important;
    }
}

/* Mobile navigation drawer */
@media (max-width: 1023px) {
    /* Remove backdrop-filter on mobile so position:fixed on
       .primary-nav.is-open resolves against the viewport, not
       the sticky header (which would trap the drawer). */
    .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .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);
        z-index: 999;
        padding: var(--space-md) 20px;
        overflow-y: auto;
        gap: 0;
    }

    .primary-nav.is-open .nav-link {
        min-height: 48px;
        display: flex;
        align-items: center;
        padding: 12px 0;
        font-size: 18px;
        border-bottom: 1px solid var(--border);
    }

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

    .primary-nav.is-open .nav-login,
    .primary-nav.is-open .nav-cta {
        margin-top: var(--space-sm);
        text-align: center;
        justify-content: center;
        border-bottom: none;
    }
}


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

.btn-gold {
    background: var(--gold);
    color: var(--accent-foreground);
    border-color: var(--gold);
    box-shadow: 0 2px 12px rgba(251, 191, 36, 0.3);
}

.btn-gold:hover {
    background: var(--gold-bright);
    border-color: var(--gold-bright);
    color: var(--accent-foreground);
    box-shadow: 0 0 24px var(--gold-glow), 0 0 48px var(--turquoise-dim);
    transform: translateY(-1px);
}

.btn-turquoise {
    background: var(--turquoise);
    color: var(--primary-foreground);
    border-color: var(--turquoise);
    box-shadow: 0 2px 12px rgba(20, 184, 166, 0.3);
}

.btn-turquoise:hover {
    background: var(--turquoise-bright);
    border-color: var(--turquoise-bright);
    color: var(--primary-foreground);
    box-shadow: 0 0 24px var(--turquoise-glow);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold-border);
}

.btn-outline:hover {
    background: var(--gold-dim);
    color: var(--gold-bright);
    border-color: var(--gold);
}

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

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


/* ============================================
   HERO SECTIONS
   Full-bleed with dark gradient background,
   gold-turquoise radial accents.
   ============================================ */
.hero {
    position: relative;
    padding: var(--space-2xl) 0;
    overflow-x: clip;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(20, 184, 166, 0.1), transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(251, 191, 36, 0.08), transparent 50%),
        var(--background);
}

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

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

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

.hero-text h1 {
    margin-bottom: var(--space-sm);
}

.hero-text h1 .text-gold {
    color: var(--gold);
}

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

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

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

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--card);
    border: 1px solid var(--gold-border);
    border-radius: 999px;
    font-size: 14px;
    color: var(--foreground);
}


/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
    transform: scale(1.03);
    border-color: var(--gold-border);
    box-shadow: var(--shadow-card), var(--shadow-gold);
}

.card-featured {
    border-color: var(--gold-border);
    background: linear-gradient(135deg, var(--card), var(--navy-light));
}

.card-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: var(--space-xs);
    color: var(--gold);
}

.card-body {
    color: var(--foreground);
    font-size: 16px;
}

.card-icon {
    font-size: 32px;
    margin-bottom: var(--space-sm);
}

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

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

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


/* ============================================
   STAT BLOCK
   Grid of large numbers with labels.
   ============================================ */
.stat-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--gold-border);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

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

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

.stat-cell {
    background: var(--card);
    padding: var(--space-md);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.stat-cell:hover {
    transform: scale(1.03);
    box-shadow: inset 0 0 30px var(--turquoise-dim);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    color: var(--gold);
    line-height: 1.1;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--foreground);
    line-height: 1.4;
}

/* Staggered fade-in delays */
.stat-cell:nth-child(1) { transition-delay: 0ms; }
.stat-cell:nth-child(2) { transition-delay: 150ms; }
.stat-cell:nth-child(3) { transition-delay: 300ms; }
.stat-cell:nth-child(4) { transition-delay: 450ms; }


/* ============================================
   FAQ ACCORDION
   Custom JS-driven accordion with grid-rows transition.
   ============================================ */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    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);
}

.faq-item.is-open {
    border-left-color: var(--gold);
    border-color: var(--gold-border);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    text-align: left;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    color: var(--foreground);
    transition: color var(--transition-fast);
    min-height: 48px;
}

.faq-question:hover {
    color: var(--gold);
}

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

.faq-chevron {
    flex-shrink: 0;
    color: var(--gold);
    transition: transform 250ms ease-out;
}

.faq-item.is-open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 250ms ease-out;
}

.faq-item.is-open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
    padding: 0 var(--space-md);
}

.faq-item.is-open .faq-answer-inner {
    padding-bottom: var(--space-md);
}

.faq-answer-inner p {
    color: var(--foreground);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 0.5em;
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

.faq-answer-inner a {
    color: var(--turquoise-bright);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.faq-answer-inner a:hover {
    color: var(--gold-bright);
}


/* ============================================
   CTA BANNER
   Full-width conversion section with neon border.
   ============================================ */
.cta-banner {
    position: relative;
    padding: var(--space-2xl) 20px;
    text-align: center;
    background:
        radial-gradient(ellipse at center, rgba(251, 191, 36, 0.06), transparent 60%),
        var(--background);
    overflow-x: clip;
}

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

.cta-banner-inner {
    max-width: 700px;
    margin: 0 auto;
}

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

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

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

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

/* Neon hieroglyphic border */
.neon-border::before,
.neon-border::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        var(--gold),
        var(--turquoise),
        var(--gold),
        transparent
    );
    box-shadow: 0 0 8px var(--gold-glow), 0 0 16px var(--turquoise-dim);
    animation: neon-pulse 4s ease-in-out infinite;
}

.neon-border::before { top: 0; }
.neon-border::after { bottom: 0; }

@keyframes neon-pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}


/* ============================================
   TABLES
   ============================================ */
.table-wrapper {
    max-width: 100%;
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--gold-border);
    -webkit-overflow-scrolling: touch;
}

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

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

.comparison-table th {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--gold);
    text-align: left;
    padding: var(--space-sm) var(--space-md);
    border-bottom: 2px solid var(--gold-border);
    white-space: nowrap;
}

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

.comparison-table tbody tr:nth-child(even) {
    background: rgba(30, 41, 59, 0.4);
}

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

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

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


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

.callout-gold {
    border-left-color: var(--gold);
    background: linear-gradient(135deg, var(--card), rgba(251, 191, 36, 0.05));
}

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

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


/* ============================================
   PULL QUOTE
   ============================================ */
.pull-quote {
    font-family: var(--font-display);
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 500;
    color: var(--gold);
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    margin: var(--space-lg) auto;
    max-width: 700px;
    border-top: 1px solid var(--gold-border);
    border-bottom: 1px solid var(--gold-border);
    line-height: 1.4;
}

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


/* ============================================
   TRUST BADGES
   ============================================ */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    margin: var(--space-lg) 0;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: var(--space-md);
    background: var(--card);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-md);
    min-width: 120px;
    text-align: center;
    transition: transform var(--transition);
}

.trust-badge:hover {
    transform: translateY(-2px);
}

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

.trust-badge-label {
    font-size: 14px;
    color: var(--muted-foreground);
    font-weight: 500;
}


/* ============================================
   VIP TIERS
   Horizontal progression with connecting line.
   ============================================ */
.vip-tiers {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .vip-tiers {
        flex-direction: row;
        align-items: stretch;
        gap: 0;
    }
}

.vip-tier {
    flex: 1;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: center;
    position: relative;
    transition: transform var(--transition), border-color var(--transition);
}

.vip-tier:hover {
    transform: translateY(-4px);
    border-color: var(--gold-border);
}

.vip-tier-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: var(--space-xs);
}

.vip-tier-cashback {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--turquoise-bright);
    margin-bottom: 4px;
}

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

@media (min-width: 768px) {
    .vip-tier:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -8px;
        width: 16px;
        height: 2px;
        background: linear-gradient(90deg, var(--gold), var(--turquoise));
        z-index: 1;
    }
}


/* ============================================
   PROCESS STEPS
   Horizontal numbered steps with connecting line.
   ============================================ */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .process-steps {
        flex-direction: row;
        align-items: flex-start;
        gap: var(--space-md);
    }
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.process-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--card);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--gold);
    margin: 0 auto var(--space-sm);
    position: relative;
    z-index: 1;
}

.process-step-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 8px;
}

.process-step-desc {
    font-size: 15px;
    color: var(--muted-foreground);
}

@media (min-width: 768px) {
    .process-step:not(:last-child) .process-step-number::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 100%;
        width: calc(100% + var(--space-md) - 48px);
        height: 2px;
        background: linear-gradient(90deg, var(--gold), var(--turquoise));
    }
}


/* ============================================
   GAME / BONUS / CRYPTO GRIDS
   ============================================ */
.game-grid,
.bonus-grid,
.crypto-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

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

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

.game-card,
.bonus-card,
.crypto-tile {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: center;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    min-width: 0;
}

.game-card:hover,
.bonus-card:hover,
.crypto-tile:hover {
    transform: scale(1.03);
    border-color: var(--gold-border);
    box-shadow: var(--shadow-gold);
}

.game-card img,
.bonus-card img,
.crypto-tile img {
    width: 100%;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
}

.game-card-title,
.bonus-card-title,
.crypto-tile-name {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 4px;
}

.game-card-provider,
.bonus-card-desc,
.crypto-tile-tag {
    font-size: 14px;
    color: var(--muted-foreground);
}

.bonus-card-amount {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--turquoise-bright);
    margin: var(--space-xs) 0;
}

.bonus-card-spins {
    font-size: 15px;
    color: var(--foreground);
    margin-bottom: var(--space-xs);
}

.bonus-card-deposit {
    font-size: 14px;
    color: var(--muted-foreground);
    padding-top: var(--space-xs);
    border-top: 1px solid var(--border);
}


/* ============================================
   SUMMARY / TL;DR BOX
   ============================================ */
.summary-box {
    background: var(--card);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
}

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

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

.summary-list li {
    padding-left: 24px;
    position: relative;
    color: var(--foreground);
    font-size: 16px;
}

.summary-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 12px;
    top: 4px;
}


/* ============================================
   DETAILS / SUMMARY (native expandable)
   ============================================ */
details {
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-md);
    padding: 0;
    margin-bottom: var(--space-sm);
    background: var(--card);
    overflow: hidden;
}

summary {
    padding: var(--space-md);
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    color: var(--foreground);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--transition-fast);
}

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

summary:hover {
    color: var(--gold);
}

summary::after {
    content: '+';
    font-size: 24px;
    color: var(--gold);
    transition: transform var(--transition);
    line-height: 1;
}

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

details > *:not(summary) {
    padding: 0 var(--space-md) var(--space-md);
    color: var(--foreground);
}


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

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: var(--space-sm);
}

.footer-logo .logo {
    height: 36px;
    width: 36px;
    border-radius: var(--radius-sm);
}

.footer-logo .brand-name {
    font-size: 18px;
}

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

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

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

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

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

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.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: 13px;
    color: var(--muted-foreground);
    font-weight: 500;
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.trust-item {
    font-size: 14px;
    color: var(--muted-foreground);
    padding: 4px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
}

.age-notice {
    color: var(--gold) !important;
    font-weight: 700;
    border-color: var(--gold-border) !important;
}

.footer-legal {
    font-size: 13px;
    color: var(--muted-foreground);
    margin-bottom: var(--space-xs);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.footer-copyright {
    font-size: 13px;
    color: var(--muted-foreground);
}


/* ============================================
   ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms ease-out, transform 600ms ease-out;
}

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

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

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


/* ============================================
   UTILITY CLASSES
   ============================================ */
.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

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

.full-width { width: 100%; }
.hidden { display: none; }

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
}

.badge-turquoise {
    background: var(--turquoise-dim);
    border-color: var(--turquoise-border);
    color: var(--turquoise-bright);
}

/* Divider */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
    margin: var(--space-lg) 0;
    border: none;
}

/* Image wrapper for inline photos */
.inline-photo {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--gold-border);
    box-shadow: var(--shadow-card);
}

.inline-photo img {
    width: 100%;
    height: auto;
}

/* Icon grid (for transparent icon images) */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

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

.icon-grid-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    text-align: center;
    transition: transform var(--transition), border-color var(--transition);
}

.icon-grid-item:hover {
    transform: scale(1.05);
    border-color: var(--gold-border);
}

.icon-grid-item img {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-xs);
    object-fit: contain;
}

.icon-grid-item-label {
    font-size: 14px;
    color: var(--muted-foreground);
    font-weight: 500;
}


/* ============================================
   SITEMAP LIST
   ============================================ */
.sitemap-list {
    display: flex;
    flex-direction: column;
}

.sitemap-entry {
    padding: var(--space-md);
    border-bottom: 1px solid var(--gold-border);
    transition: background var(--transition-fast);
}

.sitemap-entry:last-child {
    border-bottom: none;
}

.sitemap-entry:hover {
    background: var(--gold-dim);
}

.sitemap-entry h2 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.sitemap-entry h2 a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.sitemap-entry h2 a:hover {
    color: var(--gold-bright);
}

.sitemap-entry p {
    color: var(--foreground);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 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;
}
