/**
 * ═══════════════════════════════════════════════════════════════════════════
 * CRAZY TIME UK — Design System
 * Style: kas.casino dark theme
 * Fonts: Space Grotesk (headings) + Inter (text)
 * ═══════════════════════════════════════════════════════════════════════════
 * 
 * Contents:
 * 1. CSS Variables
 * 2. Reset & Base
 * 3. Typography
 * 4. Layout
 * 5. Components
 *    5.1 Header & Navigation
 *    5.2 Hero Section
 *    5.3 Casino Cards
 *    5.4 Promo Cards
 *    5.5 Live Stats Widget
 *    5.6 Stream Player
 *    5.7 Chatbot Widget
 *    5.8 Buttons
 *    5.9 Tables
 *    5.10 FAQ Accordion
 *    5.11 Footer
 * 6. Effects & Animations
 * 7. Utilities
 * 8. Responsive
 */

/* ═══════════════════════════════════════════════════════════════════════════
   1. CSS VARIABLES
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    /* ─────────────────────────────────────────────────────────────────────────
       Colors — Dark Theme
       ───────────────────────────────────────────────────────────────────────── */
    --color-bg-primary: #0a0a0c;
    --color-bg-secondary: #111114;
    --color-bg-card: #18181c;
    --color-bg-card-hover: #1f1f24;
    --color-bg-elevated: #222228;
    
    /* Accent Colors */
    --color-gold: #d4a843;
    --color-gold-light: #e8c36a;
    --color-gold-dark: #b8922e;
    --color-green: #22c55e;
    --color-green-dark: #16a34a;
    --color-red: #ef4444;
    --color-blue: #3b82f6;
    --color-purple: #8b5cf6;
    
    /* Text Colors */
    --color-text-primary: #ffffff;
    --color-text-secondary: #a1a1aa;
    --color-text-muted: #71717a;
    --color-text-inverse: #0a0a0c;
    
    /* Border Colors */
    --color-border: #27272a;
    --color-border-light: #3f3f46;
    
    /* Status Colors */
    --color-hot: #ef4444;
    --color-cold: #3b82f6;
    --color-live: #ef4444;
    
    /* ─────────────────────────────────────────────────────────────────────────
       Typography
       ───────────────────────────────────────────────────────────────────────── */
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */
    --text-5xl: 3rem;        /* 48px */
    
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    
    /* ─────────────────────────────────────────────────────────────────────────
       Spacing
       ───────────────────────────────────────────────────────────────────────── */
    --space-1: 0.25rem;      /* 4px */
    --space-2: 0.5rem;       /* 8px */
    --space-3: 0.75rem;      /* 12px */
    --space-4: 1rem;         /* 16px */
    --space-5: 1.25rem;      /* 20px */
    --space-6: 1.5rem;       /* 24px */
    --space-8: 2rem;         /* 32px */
    --space-10: 2.5rem;      /* 40px */
    --space-12: 3rem;        /* 48px */
    --space-16: 4rem;        /* 64px */
    --space-20: 5rem;        /* 80px */
    
    /* ─────────────────────────────────────────────────────────────────────────
       Layout
       ───────────────────────────────────────────────────────────────────────── */
    --container-max: 1280px;
    --container-padding: var(--space-4);
    --header-height: 72px;
    
    /* ─────────────────────────────────────────────────────────────────────────
       Effects
       ───────────────────────────────────────────────────────────────────────── */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-glow-gold: 0 0 20px rgba(212, 168, 67, 0.3);
    --shadow-glow-green: 0 0 20px rgba(34, 197, 94, 0.3);
    
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    
    /* Gradient Borders */
    --gradient-gold: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    --gradient-card: linear-gradient(135deg, #d4a843 0%, #18181c 50%, #22c55e 100%);
}


/* ═══════════════════════════════════════════════════════════════════════════
   2. RESET & BASE
   ═══════════════════════════════════════════════════════════════════════════ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

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

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

/* Accessibility: underline links in content for visibility */
p a,
li a,
.content-block a,
.hero-description a,
.section-subtitle a {
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(212, 168, 67, 0.5);
}

p a:hover,
li a:hover,
.content-block a:hover,
.hero-description a:hover,
.section-subtitle a:hover {
    text-decoration-color: var(--color-gold);
}

button, input, select, textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

table {
    border-collapse: collapse;
    width: 100%;
}

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


/* ═══════════════════════════════════════════════════════════════════════════
   3. TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: var(--leading-tight);
    color: var(--color-text-primary);
}

h1 {
    font-size: var(--text-4xl);
    letter-spacing: -0.02em;
}

h2 {
    font-size: var(--text-3xl);
    letter-spacing: -0.01em;
}

h3 {
    font-size: var(--text-2xl);
}

h4 {
    font-size: var(--text-xl);
}

h5 {
    font-size: var(--text-lg);
}

h6 {
    font-size: var(--text-base);
}

p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-4);
}

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

strong, b {
    font-weight: 600;
    color: var(--color-text-primary);
}

small {
    font-size: var(--text-sm);
}

/* Special Text Styles */
.text-gold {
    color: var(--color-gold);
}

/* Accessibility: underline links that use color only */
a.text-gold,
p a.text-gold {
    text-decoration: underline;
    text-underline-offset: 2px;
}

a.text-gold:hover {
    text-decoration-thickness: 2px;
}

.text-gradient {
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-glow {
    text-shadow: 0 0 20px rgba(212, 168, 67, 0.5);
}


/* ═══════════════════════════════════════════════════════════════════════════
   4. LAYOUT
   ═══════════════════════════════════════════════════════════════════════════ */

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

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

.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-title {
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-6);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Flex Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }


/* ═══════════════════════════════════════════════════════════════════════════
   5. COMPONENTS
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────────
   5.1 Header & Navigation
   ───────────────────────────────────────────────────────────────────────────── */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-text-primary);
}

/* Main Navigation */
.nav-main {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text-primary);
    background: var(--color-bg-card);
}

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

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

/* Live Indicator */
.live-indicator {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-3);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-live);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--color-live);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}


/* ─────────────────────────────────────────────────────────────────────────────
   5.2 Hero Section
   ───────────────────────────────────────────────────────────────────────────── */

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    padding-bottom: var(--space-12);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    margin-bottom: var(--space-8);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 168, 67, 0.2);
}

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

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

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 12, 0.3) 0%,
        rgba(10, 10, 12, 0.8) 60%,
        rgba(10, 10, 12, 1) 100%
    );
}

.hero-content {
    position: relative;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(212, 168, 67, 0.1);
    border: 1px solid rgba(212, 168, 67, 0.3);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-gold);
    margin-bottom: var(--space-6);
}

.hero-title {
    font-size: var(--text-5xl);
    margin-bottom: var(--space-6);
}

.hero-title span {
    display: block;
}

.hero-description {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-8);
    max-width: 550px;
}

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

.hero-stats {
    display: flex;
    gap: var(--space-8);
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-border);
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-gold);
}

.hero-stat-label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}


/* ─────────────────────────────────────────────────────────────────────────────
   5.3 Casino Cards
   ───────────────────────────────────────────────────────────────────────────── */

.casino-card {
    position: relative;
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    transition: all var(--transition-base);
}

/* Gradient Border Effect */
.casino-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, var(--color-gold) 0%, transparent 50%, var(--color-green) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.casino-card:hover {
    transform: translateY(-4px);
    background: var(--color-bg-card-hover);
}

.casino-card:hover::before {
    opacity: 1;
}

.casino-card-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.casino-logo {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-bg-elevated);
    flex-shrink: 0;
}

.casino-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: var(--space-2);
}

.casino-info {
    flex: 1;
}

.casino-name {
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.casino-rating {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.casino-stars {
    display: flex;
    gap: 2px;
    color: var(--color-gold);
}

.casino-stars svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.casino-rating-value {
    font-weight: 600;
    color: var(--color-text-primary);
}

.casino-rating-count {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

/* Casino Bonus */
.casino-bonus {
    background: linear-gradient(135deg, rgba(212, 168, 67, 0.1), rgba(34, 197, 94, 0.1));
    border-radius: var(--radius-md);
    padding: var(--space-4);
    margin-bottom: var(--space-4);
}

.casino-bonus-label {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-1);
}

.casino-bonus-value {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-gold);
}

.casino-bonus-extra {
    font-size: var(--text-sm);
    color: var(--color-green);
    margin-top: var(--space-1);
}

/* Casino Features */
.casino-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.casino-feature {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    padding: var(--space-1) var(--space-2);
    background: var(--color-bg-elevated);
    border-radius: var(--radius-sm);
}

.casino-feature svg {
    width: 12px;
    height: 12px;
    color: var(--color-green);
}

/* Casino Actions */
.casino-actions {
    display: flex;
    gap: var(--space-3);
}

.casino-actions .btn {
    flex: 1;
}

/* Casino Badge (Top Pick, etc) */
.casino-badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    padding: var(--space-1) var(--space-3);
    background: var(--color-gold);
    color: var(--color-text-inverse);
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
}


/* ─────────────────────────────────────────────────────────────────────────────
   5.4 Promo Cards (Bonus Cards)
   ───────────────────────────────────────────────────────────────────────────── */

.promo-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-bg-card) 0%, var(--color-bg-elevated) 100%);
}

.promo-card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.promo-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.promo-card:hover .promo-card-image img {
    transform: scale(1.05);
}

.promo-card-content {
    padding: var(--space-5);
}

.promo-card-title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

.promo-card-bonus {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: var(--space-3);
}

.promo-card-code {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--color-bg-primary);
    border: 1px dashed var(--color-border-light);
    border-radius: var(--radius-sm);
    font-family: monospace;
    font-size: var(--text-sm);
    color: var(--color-green);
    margin-bottom: var(--space-4);
}

.promo-card-code svg {
    width: 14px;
    height: 14px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.promo-card-code svg:hover {
    opacity: 1;
}


/* ─────────────────────────────────────────────────────────────────────────────
   5.5 Live Stats Widget
   ───────────────────────────────────────────────────────────────────────────── */

.live-stats {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.live-stats-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-5);
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-border);
}

.live-stats-title {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-lg);
    font-weight: 600;
}

.live-stats-updated {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

/* Last Spin Result */
.last-spin {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-5);
    background: linear-gradient(90deg, rgba(212, 168, 67, 0.1), transparent);
    border-bottom: 1px solid var(--color-border);
}

.last-spin-label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.last-spin-result {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.last-spin-segment {
    padding: var(--space-2) var(--space-4);
    background: var(--color-gold);
    color: var(--color-text-inverse);
    font-weight: 700;
    border-radius: var(--radius-md);
}

.last-spin-multiplier {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-green);
}

/* Stats Table */
.stats-table {
    width: 100%;
}

.stats-table th,
.stats-table td {
    padding: var(--space-3) var(--space-5);
    text-align: left;
}

.stats-table th {
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--color-bg-elevated);
}

.stats-table td {
    font-size: var(--text-sm);
    border-bottom: 1px solid var(--color-border);
}

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

.stats-table tr:hover td {
    background: var(--color-bg-card-hover);
}

/* Segment Indicator */
.segment-indicator {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.segment-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.segment-dot.number-1 { background: #fbbf24; }
.segment-dot.number-2 { background: #3b82f6; }
.segment-dot.number-5 { background: #a855f7; }
.segment-dot.number-10 { background: #22c55e; }
.segment-dot.pachinko { background: #f97316; }
.segment-dot.cash-hunt { background: #14b8a6; }
.segment-dot.coin-flip { background: #ec4899; }
.segment-dot.crazy-time { background: #ef4444; }

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-2);
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.status-badge.hot {
    background: rgba(239, 68, 68, 0.1);
    color: var(--color-hot);
}

.status-badge.cold {
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-cold);
}

/* Time Filter Tabs */
.stats-tabs {
    display: flex;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-5);
    border-top: 1px solid var(--color-border);
}

.stats-tab {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-muted);
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.stats-tab:hover {
    color: var(--color-text-primary);
    border-color: var(--color-border-light);
}

.stats-tab.active {
    color: var(--color-gold);
    background: rgba(212, 168, 67, 0.1);
    border-color: var(--color-gold);
}


/* ─────────────────────────────────────────────────────────────────────────────
   5.6 Stream Player
   ───────────────────────────────────────────────────────────────────────────── */

.stream-player {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.stream-video {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--color-bg-primary);
}

.stream-video video,
.stream-video iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stream-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--space-4);
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.7) 100%);
    pointer-events: none;
}

.stream-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-3);
    background: rgba(239, 68, 68, 0.9);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: 600;
    color: white;
    width: fit-content;
}

.stream-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: auto;
}

.stream-volume {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: white;
}

.stream-volume input[type="range"] {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

.stream-volume input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

.stream-info {
    padding: var(--space-4);
    border-top: 1px solid var(--color-border);
}

.stream-title {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.stream-description {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.stream-actions {
    display: flex;
    gap: var(--space-2);
    margin-top: var(--space-3);
}

.stream-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(212, 168, 67, 0.9);
    color: var(--color-text-inverse);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    pointer-events: auto;
}

.stream-play-btn:hover {
    background: var(--color-gold);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: var(--shadow-glow-gold);
}

.stream-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#streamVideo {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

.stream-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-4);
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    display: flex;
    align-items: center;
    gap: var(--space-3);
    pointer-events: none;
}

.stream-result {
    background: var(--color-gold);
    color: var(--color-text-inverse);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: var(--text-sm);
}

.stream-multiplier {
    color: #fff;
    font-weight: 700;
    font-size: var(--text-lg);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}


/* ─────────────────────────────────────────────────────────────────────────────
   5.7 Chatbot Widget
   ───────────────────────────────────────────────────────────────────────────── */

.chatbot {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    z-index: 999;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-gold);
    color: var(--color-text-inverse);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg), var(--shadow-glow-gold);
    transition: transform var(--transition-base);
}

.chatbot-toggle:hover {
    transform: scale(1.05);
}

.chatbot-toggle svg {
    width: 28px;
    height: 28px;
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-height: 500px;
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: none;
}

.chatbot-window.open {
    display: flex;
    flex-direction: column;
}

.chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4);
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-border);
}

.chatbot-title {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-weight: 600;
}

.chatbot-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-close {
    padding: var(--space-1);
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

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

.chatbot-messages {
    flex: 1;
    padding: var(--space-4);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    max-height: 320px;
}

.chat-message {
    max-width: 85%;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

.chat-message.bot {
    align-self: flex-start;
    background: var(--color-bg-elevated);
    border-bottom-left-radius: var(--radius-sm);
}

.chat-message.user {
    align-self: flex-end;
    background: var(--color-gold);
    color: var(--color-text-inverse);
    border-bottom-right-radius: var(--radius-sm);
}

.chatbot-input {
    display: flex;
    gap: var(--space-2);
    padding: var(--space-4);
    border-top: 1px solid var(--color-border);
}

.chatbot-input input {
    flex: 1;
    padding: var(--space-3) var(--space-4);
    background: var(--color-bg-primary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
}

.chatbot-input input::placeholder {
    color: var(--color-text-muted);
}

.chatbot-input input:focus {
    outline: none;
    border-color: var(--color-gold);
}

.chatbot-send {
    padding: var(--space-3);
    background: var(--color-gold);
    color: var(--color-text-inverse);
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.chatbot-send:hover {
    background: var(--color-gold-light);
}


/* ─────────────────────────────────────────────────────────────────────────────
   5.8 Buttons
   ───────────────────────────────────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
}

/* Primary Button - Gold */
.btn-primary {
    background: var(--gradient-gold);
    color: var(--color-text-inverse);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--color-gold-light);
    box-shadow: var(--shadow-glow-gold);
    transform: translateY(-1px);
}

/* Secondary Button - Outline */
.btn-secondary {
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border-light);
}

.btn-secondary:hover {
    background: var(--color-bg-card);
    border-color: var(--color-gold);
    color: var(--color-gold);
}

/* Green CTA Button */
.btn-cta {
    background: var(--color-green);
    color: white;
}

.btn-cta:hover {
    background: var(--color-green-dark);
    box-shadow: var(--shadow-glow-green);
}

/* Ghost Button */
.btn-ghost {
    background: transparent;
    color: var(--color-text-secondary);
}

.btn-ghost:hover {
    background: var(--color-bg-card);
    color: var(--color-text-primary);
}

/* Button Sizes */
.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
}

/* Full Width */
.btn-full {
    width: 100%;
}


/* ─────────────────────────────────────────────────────────────────────────────
   5.9 Tables (General)
   ───────────────────────────────────────────────────────────────────────────── */

.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: var(--space-4);
    text-align: left;
}

.table th {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-muted);
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-border);
}

.table td {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    background: var(--color-bg-card);
    border-bottom: 1px solid var(--color-border);
}

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

.table tbody tr:hover td {
    background: var(--color-bg-card-hover);
}


/* ─────────────────────────────────────────────────────────────────────────────
   5.10 FAQ Accordion
   ───────────────────────────────────────────────────────────────────────────── */

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

.faq-item {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: border-color var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--color-border-light);
}

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

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-5);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-text-primary);
    text-align: left;
    cursor: pointer;
    transition: color var(--transition-fast);
}

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

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--color-text-muted);
    transition: transform var(--transition-base);
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
    color: var(--color-gold);
}

.faq-answer {
    display: none;
    padding: 0 var(--space-5) var(--space-5);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
}

.faq-item.open .faq-answer {
    display: block;
}


/* ─────────────────────────────────────────────────────────────────────────────
   5.11 Footer
   ───────────────────────────────────────────────────────────────────────────── */

.footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-brand {
    max-width: 300px;
}

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

.footer-logo img {
    height: 36px;
}

.footer-description {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-6);
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.footer-badge {
    height: 32px;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.footer-badge:hover {
    opacity: 1;
}

.footer-column h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.footer-link {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.3);
    text-underline-offset: 2px;
}

.footer-link:hover {
    color: var(--color-gold);
    text-decoration-color: var(--color-gold);
}

/* Footer Bottom */
.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-border);
}

.footer-legal {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
}

.footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-copyright {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.footer-copyright a,
.footer-legal a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-copyright a:hover,
.footer-legal a:hover {
    color: var(--color-gold);
}

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

.footer-payment-icon {
    height: 24px;
    opacity: 0.6;
}

/* Age Restriction Badge */
.age-badge {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-red);
}


/* ═══════════════════════════════════════════════════════════════════════════
   6. EFFECTS & ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */

/* Gradient Border Mixin */
.gradient-border {
    position: relative;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--gradient-card);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* Glow Effect */
.glow-gold {
    box-shadow: var(--shadow-glow-gold);
}

.glow-green {
    box-shadow: var(--shadow-glow-green);
}

/* Hover Lift */
.hover-lift {
    transition: transform var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-4px);
}

/* Fade In Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Spin Animation (for loading) */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spinner {
    animation: spin 1s linear infinite;
}

/* Shimmer Loading Effect */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: linear-gradient(
        90deg,
        var(--color-bg-card) 25%,
        var(--color-bg-elevated) 50%,
        var(--color-bg-card) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-md);
}


/* ═══════════════════════════════════════════════════════════════════════════
   7. UTILITIES
   ═══════════════════════════════════════════════════════════════════════════ */

/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Display */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

/* Spacing */
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }

/* Width */
.w-full { width: 100%; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

/* Visibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}


/* ─────────────────────────────────────────────────────────────────────────────
   7.5 Testimonials
   ───────────────────────────────────────────────────────────────────────────── */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-10);
}

.testimonial-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    position: relative;
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    border-color: rgba(212, 168, 67, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    color: var(--color-gold);
    font-size: var(--text-lg);
    margin-bottom: var(--space-4);
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-5);
    font-style: italic;
}

.testimonial-text::before {
    content: '"';
    font-size: var(--text-3xl);
    color: var(--color-gold);
    opacity: 0.3;
    position: absolute;
    top: var(--space-3);
    right: var(--space-4);
    font-family: Georgia, serif;
}

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

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold) 0%, #c9a227 100%);
    color: var(--color-text-inverse);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: var(--text-sm);
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: 600;
    color: var(--color-text-primary);
    font-size: var(--text-sm);
}

.testimonial-location {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

.testimonial-badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: rgba(46, 204, 113, 0.15);
    color: var(--color-green);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.testimonials-summary {
    display: flex;
    justify-content: center;
    gap: var(--space-12);
    padding: var(--space-8);
    background: var(--color-bg-elevated);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

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

.summary-value {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: var(--space-1);
}

.summary-label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-summary {
        flex-direction: column;
        gap: var(--space-6);
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   8. RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

/* Tablet (max 1024px) */
@media (max-width: 1024px) {
    :root {
        --text-5xl: 2.5rem;
        --text-4xl: 2rem;
        --text-3xl: 1.5rem;
    }
    
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-6);
    }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
    :root {
        --container-padding: var(--space-4);
        --header-height: 64px;
    }
    
    /* Header Mobile */
    .nav-main {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        flex-direction: column;
        padding: var(--space-4);
        background: var(--color-bg-secondary);
        border-bottom: 1px solid var(--color-border);
    }
    
    .nav-main.open {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .header-cta .btn {
        display: none;
    }
    
    /* Hero Mobile */
    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + var(--space-8));
        padding-bottom: var(--space-12);
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .hero-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: var(--text-3xl);
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-4);
    }
    
    /* Grids Mobile */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    /* Casino Card Mobile */
    .casino-card-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .casino-actions {
        flex-direction: column;
    }
    
    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .footer-brand {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-badges {
        justify-content: center;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-bottom-row {
        flex-direction: column;
        text-align: center;
    }
    
    /* Chatbot Mobile */
    .chatbot {
        bottom: var(--space-4);
        right: var(--space-4);
    }
    
    .chatbot-window {
        width: calc(100vw - var(--space-8));
        right: calc(-1 * var(--space-4));
    }
    
    /* Section Spacing */
    .section {
        padding: var(--space-12) 0;
    }
}

/* Small Mobile (max 480px) */
@media (max-width: 480px) {
    :root {
        --text-5xl: 2rem;
        --text-4xl: 1.75rem;
        --text-3xl: 1.375rem;
    }
    
    .hero-badge {
        font-size: var(--text-xs);
    }
    
    .casino-logo {
        width: 64px;
        height: 64px;
    }
    
    .live-stats-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
    }
    
    .stats-tabs {
        flex-wrap: wrap;
    }
}

/* Desktop Large (min 1440px) */
@media (min-width: 1440px) {
    :root {
        --container-max: 1400px;
    }
}

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

/* Print Styles */
@media print {
    .header,
    .chatbot,
    .btn-primary,
    .btn-cta {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   STATISTICS PAGE STYLES
   ═══════════════════════════════════════════════════════════════════════════ */

/* Hero Compact */
.hero-compact {
    padding: var(--space-12) 0 var(--space-8);
}

.hero-compact .hero-title {
    font-size: var(--text-4xl);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
    justify-content: center;
}

.breadcrumb a {
    color: var(--color-gold);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Stats Highlight Widget */
.stats-highlight {
    background: linear-gradient(135deg, var(--color-bg-secondary) 0%, var(--color-bg-tertiary) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    margin-bottom: var(--space-8);
}

.stats-highlight-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
    flex-wrap: wrap;
}

.last-spin-display {
    text-align: center;
    flex: 0 0 auto;
}

.last-spin-label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-2);
}

.last-spin-result {
    font-size: var(--text-5xl);
    font-weight: 800;
    color: var(--color-gold);
    line-height: 1;
}

.last-spin-result.bonus-crazytime {
    color: #9333ea;
}

.last-spin-result.bonus-pachinko {
    color: #22c55e;
}

.last-spin-result.bonus-cashhunt {
    color: #f59e0b;
}

.last-spin-result.bonus-coinflip {
    color: #3b82f6;
}

.last-spin-multiplier {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-top: var(--space-1);
}

.last-spin-time {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    margin-top: var(--space-2);
}

.stats-quick-info {
    display: flex;
    gap: var(--space-8);
    flex: 1;
    justify-content: center;
}

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

.quick-stat-value {
    display: block;
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-text-primary);
}

.quick-stat-label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

/* Filter Bar */
.filter-bar {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--space-2) var(--space-4);
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover {
    border-color: var(--color-gold);
    color: var(--color-text-primary);
}

.filter-btn.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-text-inverse);
}

/* Results Table */
.results-table-container {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: var(--color-bg-secondary);
}

.results-table {
    width: 100%;
    border-collapse: collapse;
}

.results-table th,
.results-table td {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.results-table th {
    background: var(--color-bg-tertiary);
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.results-table td {
    font-size: var(--text-sm);
}

.results-table tbody tr:hover {
    background: var(--color-bg-tertiary);
}

.result-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: var(--text-xs);
}

.result-badge.number-1,
.result-badge.number-2,
.result-badge.number-5,
.result-badge.number-10 {
    background: var(--color-bg-tertiary);
    color: var(--color-text-primary);
}

.result-badge.bonus-coinflip {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.result-badge.bonus-cashhunt {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.result-badge.bonus-pachinko {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.result-badge.bonus-crazytime {
    background: rgba(147, 51, 234, 0.2);
    color: #9333ea;
}

.loading-cell,
.no-data {
    text-align: center;
    color: var(--color-text-muted);
    padding: var(--space-8) !important;
}

.table-footer {
    text-align: center;
    padding: var(--space-4);
}

.table-note {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

/* Segment Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.segment-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    text-align: center;
    transition: all 0.2s;
}

.segment-card:hover {
    border-color: var(--color-gold);
}

.segment-card.hot {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.segment-card.cold {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
}

.segment-name {
    font-weight: 700;
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

.segment-count {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--color-gold);
}

.segment-percent {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.segment-status {
    margin-top: var(--space-2);
}

.segment-lastseen {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    margin-top: var(--space-2);
}

.status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: 600;
}

.status-badge.hot {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.status-badge.cold {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.status-badge.normal {
    color: var(--color-text-muted);
}

/* Stats Table */
.stats-table-wrapper {
    overflow-x: auto;
}

.subsection-title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.stats-table th,
.stats-table td {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.stats-table th {
    background: var(--color-bg-tertiary);
    font-weight: 600;
    font-size: var(--text-sm);
}

/* Bonus Stats Grid */
.bonus-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.bonus-stat-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    transition: all 0.3s;
}

.bonus-stat-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-2px);
}

.bonus-stat-card.featured {
    border-color: var(--color-gold);
    background: linear-gradient(135deg, var(--color-bg-secondary) 0%, rgba(212, 175, 55, 0.1) 100%);
}

.bonus-stat-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.bonus-stat-header img {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
}

.bonus-stat-header h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    flex: 1;
}

.featured-badge {
    background: var(--color-gold);
    color: var(--color-text-inverse);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: 600;
}

.bonus-stat-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.bonus-metric {
    display: flex;
    flex-direction: column;
}

.metric-label {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

.metric-value {
    font-size: var(--text-lg);
    font-weight: 700;
}

.metric-value.highlight {
    color: var(--color-gold);
}

.bonus-description {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Multipliers Grid */
.multipliers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: var(--space-4);
}

.multiplier-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    text-align: center;
    position: relative;
}

.multiplier-card.rank-1 {
    border-color: var(--color-gold);
    background: linear-gradient(135deg, var(--color-bg-secondary) 0%, rgba(212, 175, 55, 0.15) 100%);
}

.multiplier-card.rank-2 {
    border-color: #c0c0c0;
}

.multiplier-card.rank-3 {
    border-color: #cd7f32;
}

.multiplier-rank {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-gold);
    color: var(--color-text-inverse);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
}

.multiplier-value {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--color-gold);
    margin-top: var(--space-2);
}

.multiplier-game {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-top: var(--space-1);
}

/* Video Player Wrapper */
.video-player-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* Content Block */
.content-block {
    max-width: 800px;
    margin: 0 auto;
}

.content-block h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
}

.content-block h3 {
    font-size: var(--text-xl);
    margin-top: var(--space-6);
    margin-bottom: var(--space-3);
}

.content-block p {
    margin-bottom: var(--space-4);
    line-height: 1.7;
    color: var(--color-text-secondary);
}

.warning-box {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    margin-top: var(--space-6);
}

.warning-box strong {
    color: #f59e0b;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-bg-secondary) 0%, var(--color-bg-tertiary) 100%);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
}

.cta-content p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-6);
}

/* Loading Placeholder */
.loading-placeholder {
    text-align: center;
    padding: var(--space-8);
    color: var(--color-text-muted);
}

/* Responsive Statistics */
@media (max-width: 768px) {
    .stats-highlight-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .stats-quick-info {
        flex-wrap: wrap;
        gap: var(--space-4);
    }
    
    .quick-stat {
        flex: 1 0 30%;
    }
    
    .bonus-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .multipliers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.feature-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: var(--space-3);
}

.feature-card h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.feature-card p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Casinos Table */
.casinos-table-wrapper {
    overflow-x: auto;
}

.casinos-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.casinos-table th,
.casinos-table td {
    padding: var(--space-4);
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.casinos-table th {
    background: var(--color-bg-tertiary);
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.casinos-table td {
    vertical-align: middle;
}

.casinos-table .rating {
    color: var(--color-gold);
    font-weight: 700;
}

.casinos-table tbody tr:hover {
    background: var(--color-bg-tertiary);
}

/* Author Box */
.author-box {
    display: flex;
    align-items: flex-start;
    gap: var(--space-6);
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    max-width: 700px;
    margin: 0 auto;
}

.author-avatar {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-xl);
    color: var(--color-text-inverse);
}

.author-info h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
    color: var(--color-text-muted);
}

.author-name {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

.author-bio {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

@media (max-width: 640px) {
    .author-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}
