/* ============================================
   CRAZY TIME UK - STYLES
   Design: Dark Gaming (Betify-inspired)
   ============================================ */

/* === CSS VARIABLES === */
:root {
    /* Backgrounds */
    --bg-base: #0a0a0f;
    --bg-card: #12121a;
    --bg-sidebar: #0d0d14;
    --bg-hover: #1a1a28;
    --bg-elevated: #16161f;
    
    /* Primary (Gold) */
    --primary: #ffd700;
    --primary-hover: #ffed4a;
    --primary-muted: rgba(255, 215, 0, 0.15);
    --primary-glow: rgba(255, 215, 0, 0.4);
    
    /* Accents */
    --green: #00ff88;
    --blue: #00d4ff;
    --red: #ff6b6b;
    --purple: #a855f7;
    --orange: #ff9800;
    --pink: #ec4899;
    
    /* Segments */
    --seg-1: #ffd700;
    --seg-2: #3b82f6;
    --seg-5: #a855f7;
    --seg-10: #22c55e;
    --seg-cf: #00d4ff;
    --seg-ch: #ff6b6b;
    --seg-pa: #ff9800;
    --seg-ct: #ec4899;
    
    /* Text */
    --text: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #606070;
    
    /* Borders */
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 215, 0, 0.3);
    
    /* Typography */
    --font-main: 'Sora', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    
    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    /* Layout */
    --sidebar-width: 240px;
    --panel-width: 280px;
    --header-height: 64px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg-base);
    min-height: 100vh;
    overflow-x: hidden;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 255, 136, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-hover); }
img { max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }
ul { list-style: none; }

/* === UTILITIES === */
.gold { color: var(--primary) !important; }
.green { color: var(--green) !important; }
.red { color: var(--red) !important; }

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--orange));
    color: #000;
    box-shadow: 0 0 20px var(--primary-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--primary-glow);
}
.btn-ghost {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}
.btn-ghost:hover {
    background: var(--primary-muted);
}
.btn-text {
    background: none;
    color: var(--text-secondary);
    padding: 8px 12px;
}
.btn-text:hover { color: var(--primary); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* === HEADER === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}
.header-inner {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
}
.logo-icon { font-size: 28px; }
.logo-uk { color: var(--primary); }
.nav-main {
    display: flex;
    gap: var(--space-lg);
}
.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    padding: 8px 0;
    position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}
.live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 0, 0, 0.15);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: #ff4444;
}
.live-dot {
    width: 8px;
    height: 8px;
    background: #ff4444;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: 0.3s;
}

/* === LAYOUT === */
.layout {
    display: grid;
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr) var(--panel-width);
    gap: var(--space-lg);
    max-width: 1800px;
    margin: 0 auto;
    padding: calc(var(--header-height) + var(--space-lg)) var(--space-lg) var(--space-lg);
    min-height: 100vh;
    overflow-x: hidden;
}

/* === SIDEBAR === */
.sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--space-lg));
    height: fit-content;
    max-height: calc(100vh - var(--header-height) - var(--space-2xl));
    overflow-y: auto;
}
.sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}
.sidebar-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 14px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.2s;
}
.sidebar-link:hover {
    background: var(--bg-hover);
    color: var(--text);
}
.sidebar-link.active {
    background: var(--primary-muted);
    color: var(--primary);
}
.sidebar-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    min-height: 120px;
}
.sidebar-box h4,
.sidebar-box-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}
.highlight-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
    min-height: 36px;
    align-items: center;
}
.highlight-item strong {
    min-width: 60px;
    text-align: right;
}
.highlight-item:last-child { border: none; }
.highlight-item span { color: var(--text-muted); }
.sidebar-box.responsible {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-sm);
    font-size: 13px;
    color: var(--text-secondary);
}

/* Sidebar Sections */
.sidebar-section {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border);
}
.sidebar-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.sidebar-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    padding: 8px 14px 6px;
    margin-bottom: var(--space-xs);
}
.sidebar-section .sidebar-link {
    padding: 8px 14px;
    font-size: 13px;
}
.sidebar-section .sidebar-link span {
    font-size: 14px;
    width: 20px;
    text-align: center;
}

/* === MAIN CONTENT === */
.main-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

/* === HERO === */
.hero {
    position: relative;
    padding: var(--space-2xl);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 420px;
    contain: layout style;
}
.hero-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    pointer-events: none;
    will-change: opacity;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px 16px;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: var(--space-lg);
}
.hero-game-logo {
    display: block;
    width: 120px;
    height: 120px;
    margin-bottom: var(--space-md);
    filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.hero-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}
.hero-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: var(--space-lg);
}
.game-rating {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--radius-lg);
    width: fit-content;
}
.game-rating .rating-stars {
    font-size: 18px;
    letter-spacing: -2px;
}
.game-rating .rating-text {
    font-size: 14px;
    color: var(--text-primary);
}
.game-rating .rating-text strong {
    color: var(--accent);
    font-size: 16px;
}
.game-rating .rating-count {
    color: var(--text-muted);
    font-size: 13px;
}
.hero-ctas {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}
.hero-stats {
    display: flex;
    gap: var(--space-xl);
    flex-wrap: wrap;
}
.hero-stat {
    display: flex;
    flex-direction: column;
}
.hero-stat .value {
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}
.hero-stat .label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Hero Bonuses */
.hero-bonuses {
    display: flex;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
    flex-wrap: wrap;
}

.hero-bonus-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.05) 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 140px;
}

.hero-bonus-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
}

.hero-bonus-card .bonus-casino {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.hero-bonus-card .bonus-offer {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.hero-bonus-card .bonus-terms {
    font-size: 12px;
    color: var(--accent-green);
    margin-top: 2px;
}

/* Hero Trust */
.hero-trust {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-md);
    flex-wrap: wrap;
}

.hero-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

.hero-trust img {
    opacity: 0.7;
}

/* Play Button Enhancement */
.btn-play {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    font-weight: 700;
    animation: pulse-play 2s ease-in-out infinite;
}

.btn-play:hover {
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.btn-play .btn-icon {
    font-size: 1.2em;
}

@keyframes pulse-play {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
}

/* Secondary Button */
.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* === SECTIONS === */
.section {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}
.section-header {
    text-align: center;
}
.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}
.section-header p {
    color: var(--text-secondary);
}
.section-dark {
    background: var(--bg-card);
    margin: 0 calc(-1 * var(--space-lg));
    padding: var(--space-2xl) var(--space-lg);
    border-radius: var(--radius-xl);
}

/* === CARDS === */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: border-color 0.3s;
}
.card:hover {
    border-color: var(--border-hover);
}
.card-featured {
    border-color: var(--border-hover);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border);
}
.card-header h3 {
    font-size: 16px;
    font-weight: 600;
}
.card-meta {
    font-size: 12px;
    color: var(--text-muted);
}
.card-body {
    padding: var(--space-lg);
}
.badge-live {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #ff4444;
    text-transform: uppercase;
}

/* === TRACKER === */
.tracker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}
.tracker-grid .card {
    min-height: 280px;
}
.latest-result {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
    margin-bottom: var(--space-lg);
    min-height: 120px;
}
.result-wheel {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(
        var(--seg-1) 0deg 140deg,
        var(--seg-2) 140deg 230deg,
        var(--seg-5) 230deg 280deg,
        var(--seg-10) 280deg 310deg,
        var(--seg-cf) 310deg 340deg,
        var(--seg-ct) 340deg 360deg
    );
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: spin 0.5s ease-out;
}
@keyframes spin {
    from { transform: rotate(-180deg); }
    to { transform: rotate(0deg); }
}
.wheel-inner {
    width: 80px;
    height: 80px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}
.result-details {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}
.result-row {
    display: flex;
    flex-direction: column;
}
.result-row span {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}
.result-row strong {
    font-family: var(--font-mono);
    font-size: 18px;
}
.next-spin {
    text-align: center;
    padding: var(--space-md);
    background: var(--bg-hover);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-secondary);
}
.next-spin span {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--primary);
}
.chart-container {
    height: 200px;
    position: relative;
}

/* Segments */
.seg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
}
.seg-1, .seg-1 { background: var(--seg-1); color: #000; }
.seg-2, .seg-2 { background: var(--seg-2); color: #fff; }
.seg-5, .seg-5 { background: var(--seg-5); color: #fff; }
.seg-10, .seg-10 { background: var(--seg-10); color: #fff; }
.seg-cf, .seg-CF { background: var(--seg-cf); color: #000; }
.seg-ch, .seg-CH { background: var(--seg-ch); color: #fff; }
.seg-pa, .seg-PA { background: var(--seg-pa); color: #000; }
.seg-ct, .seg-CT { background: var(--seg-ct); color: #fff; }

/* Hot & Cold */
.hot-section, .cold-section {
    margin-bottom: var(--space-md);
}
.hot-section h4, .cold-section h4,
.section-label {
    display: block;
    font-size: 13px;
    margin-bottom: var(--space-sm);
}
.hot { color: var(--orange); }
.cold { color: var(--blue); }
.segment-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-secondary);
}
.disclaimer {
    padding: var(--space-md);
    background: var(--bg-hover);
    border-radius: var(--radius-md);
    font-size: 12px;
    color: var(--text-muted);
}

/* === DATA TABLE === */
.data-table {
    width: 100%;
    border-collapse: collapse;
}
.data-table th, .data-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.data-table th {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}
.data-table td {
    font-size: 14px;
}
.data-table.striped tr:nth-child(even) {
    background: var(--bg-hover);
}
.insight-box {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: var(--primary-muted);
    border-radius: var(--radius-md);
    font-size: 14px;
}

/* === AI ADVISOR === */
.card-ai {
    border-color: var(--purple);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.1);
}
.ai-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}
.control-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
}
.toggle-group {
    display: flex;
    gap: var(--space-xs);
    background: var(--bg-hover);
    padding: 4px;
    border-radius: var(--radius-md);
}
.toggle-btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}
.toggle-btn:hover { color: var(--text); }
.toggle-btn.active {
    background: var(--primary);
    color: #000;
}
.input-group {
    display: flex;
    align-items: center;
    background: var(--bg-hover);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}
.input-prefix {
    padding: 0 12px;
    color: var(--text-muted);
    font-weight: 600;
}
.input-group input {
    flex: 1;
    padding: 10px 12px 10px 0;
    background: none;
    border: none;
    color: var(--text);
    font-size: 16px;
    font-family: var(--font-mono);
}
.input-group input:focus { outline: none; }
.ai-response {
    background: var(--bg-hover);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-top: var(--space-lg);
}
.ai-response-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 600;
    margin-bottom: var(--space-md);
}
.ai-response-content {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    white-space: pre-wrap;
}
.ai-response-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-muted);
}

/* === STEPS === */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}
.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    position: relative;
}
.step-num {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: var(--space-md);
}
.step-card h3 {
    font-size: 16px;
    margin-bottom: var(--space-sm);
}
.step-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* === BONUS CARDS === */
.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-lg);
}
.bonus-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: all 0.3s;
}
.bonus-card:hover {
    transform: translateY(-4px);
}
.bonus-card.coinflip { border-color: var(--seg-cf); }
.bonus-card.cashhunt { border-color: var(--seg-ch); }
.bonus-card.pachinko { border-color: var(--seg-pa); }
.bonus-card.crazytime { border-color: var(--seg-ct); }
.bonus-icon {
    font-size: 48px;
    margin-bottom: var(--space-md);
}
.bonus-card h3 {
    font-size: 18px;
    margin-bottom: var(--space-sm);
}
.bonus-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-bottom: var(--space-md);
}
.bonus-stats span {
    font-size: 11px;
    padding: 4px 8px;
    background: var(--bg-hover);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}
.bonus-card p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* === STRATEGY === */
.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-lg);
}
.strategy-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}
.strategy-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}
.strategy-header span { font-size: 24px; }
.strategy-header h3 { font-size: 18px; }
.strategy-tags {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}
.tag-low { background: var(--green); color: #000; }
.tag-med { background: var(--orange); color: #000; }
.tag-high { background: var(--red); color: #fff; }
.strategy-tags span {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}
.strategy-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}
.strategy-for {
    font-size: 12px;
    color: var(--text-muted);
}

/* === CASINO === */
.casino-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}
.casino-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}
.casino-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}
.casino-logo {
    font-size: 20px;
    font-weight: 700;
}
.casino-rating {
    font-size: 14px;
    font-weight: 600;
}
.casino-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}
.casino-features span {
    font-size: 13px;
    color: var(--text-secondary);
}
.casino-bonus {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: var(--space-md);
    padding: var(--space-md);
    background: rgba(255, 215, 0, 0.1);
    border-radius: var(--radius-md);
    text-align: center;
}
.casino-bonus .bonus-amount {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
}
.casino-bonus .bonus-terms {
    font-size: 13px;
    color: var(--green);
    font-weight: 600;
}
.trust-notice {
    padding: var(--space-lg);
    background: var(--bg-hover);
    border-radius: var(--radius-md);
    font-size: 14px;
    text-align: center;
    margin-top: var(--space-lg);
}

/* === PROS & CONS === */
.pros-cons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}
.pros-card, .cons-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}
.pros-card { border-color: var(--green); }
.cons-card { border-color: var(--red); }
.pros-card h3, .cons-card h3 {
    font-size: 18px;
    margin-bottom: var(--space-md);
}
.pros-card ul, .cons-card ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}
.pros-card li, .cons-card li {
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: var(--space-md);
    position: relative;
}
.pros-card li::before { content: '✓'; position: absolute; left: 0; color: var(--green); }
.cons-card li::before { content: '✗'; position: absolute; left: 0; color: var(--red); }

/* === REVIEW === */
.review-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
}
.review-block {
    margin-bottom: var(--space-xl);
}
.review-block h3 {
    font-size: 18px;
    margin-bottom: var(--space-md);
}
.review-block p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}
.review-block ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding-left: var(--space-lg);
}
.review-block li {
    font-size: 14px;
    color: var(--text-secondary);
}
.review-verdict {
    padding: var(--space-lg);
    background: var(--primary-muted);
    border-radius: var(--radius-lg);
}
.verdict-rating {
    margin-top: var(--space-md);
    font-size: 24px;
}

/* === TIPS === */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}
.tips-category {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}
.tips-category h4 {
    font-size: 16px;
    margin-bottom: var(--space-md);
    color: var(--primary);
}
.tip {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border);
}
.tip:last-child { border: none; }
.tip span {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}
.tip strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

/* === SAFETY === */
.safety-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
}
.safety-answer {
    margin-bottom: var(--space-xl);
}
.safety-answer h3 {
    font-size: 24px;
    color: var(--green);
    margin-bottom: var(--space-md);
}
.licenses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}
.license-card {
    background: var(--bg-hover);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
}
.license-card span {
    font-size: 32px;
    display: block;
    margin-bottom: var(--space-sm);
}
.license-card h4 {
    font-size: 14px;
    margin-bottom: var(--space-xs);
}
.license-card p {
    font-size: 12px;
    color: var(--text-muted);
}
.trust-rating {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-md);
}
.trust-item {
    display: flex;
    justify-content: space-between;
    padding: var(--space-md);
    background: var(--bg-hover);
    border-radius: var(--radius-md);
    font-size: 14px;
}

/* === TEAM === */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}
.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
}
.team-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin: 0 auto var(--space-md);
}
.team-card h3 {
    font-size: 18px;
    margin-bottom: var(--space-xs);
}
.team-role {
    font-size: 13px;
    color: var(--primary);
    display: block;
    margin-bottom: var(--space-md);
}
.team-card > p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}
.team-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}
.team-stats span {
    font-size: 11px;
    padding: 4px 8px;
    background: var(--bg-hover);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}

/* === FAQ === */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.faq-item summary {
    padding: var(--space-lg);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::after {
    content: '+';
    font-size: 20px;
    color: var(--primary);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
    padding: 0 var(--space-lg) var(--space-lg);
    font-size: 14px;
    color: var(--text-secondary);
}

/* === RESPONSIBLE === */
.responsible-content {
    text-align: center;
}
.responsible-messages {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
}
.msg {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-hover);
    border-radius: var(--radius-full);
    font-size: 14px;
}
.msg span { font-size: 20px; }
.resources {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}
.resource {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-lg);
    background: var(--bg-hover);
    border-radius: var(--radius-lg);
    color: var(--text);
    min-width: 140px;
}
.resource span { font-size: 32px; }
.resource small {
    font-size: 11px;
    color: var(--text-muted);
}

/* === RIGHT PANEL === */
.right-panel {
    position: sticky;
    top: calc(var(--header-height) + var(--space-lg));
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}
.panel-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    border-bottom: 1px solid var(--border);
}
.panel-header h3 {
    font-size: 14px;
    font-weight: 600;
}
.leaderboard {
    padding: var(--space-md);
}
.leader {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
}
.leader span { font-size: 20px; }
.leader div {
    display: flex;
    flex-direction: column;
}
.leader strong {
    font-size: 14px;
}
.leader small {
    font-size: 12px;
    color: var(--text-muted);
}
.mini-stats {
    padding: var(--space-md);
}
.mini-stats > div {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}
.mini-stats > div:last-child { border: none; }
.mini-stats span { color: var(--text-muted); }
.mini-stats strong { font-family: var(--font-mono); }
.notifications {
    padding: var(--space-md);
    max-height: 200px;
    overflow-y: auto;
}
.notif {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border);
}
.notif:last-child { border: none; }
.notif span { font-size: 16px; }
.notif div {
    display: flex;
    flex-direction: column;
    font-size: 13px;
}
.notif small {
    font-size: 11px;
    color: var(--text-muted);
}
.ai-chat-btn {
    width: 100%;
    padding: var(--space-md);
    background: linear-gradient(135deg, var(--purple), var(--pink));
    border-radius: var(--radius-lg);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}
.ai-chat-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

/* === FOOTER === */
.footer {
    background: var(--bg-sidebar);
    border-top: 1px solid var(--border);
    margin-top: var(--space-2xl);
    padding: var(--space-2xl) var(--space-lg);
}
.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(6, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    .footer-brand {
        grid-column: 1 / -1;
        margin-bottom: var(--space-md);
    }
}
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }
}
@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
.footer-logo {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: var(--space-md);
    display: block;
}
.footer-brand p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}
.footer-links h4,
.footer-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text);
}
.footer-links a {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    padding: 4px 0;
}
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-sm);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-muted);
}
.footer-bottom a { color: var(--text-secondary); }
.footer-bottom a:hover { color: var(--primary); }
.footer-badges {
    display: flex;
    gap: var(--space-sm);
}
.footer-badges span {
    padding: 6px 12px;
    background: var(--bg-hover);
    border-radius: var(--radius-sm);
    font-size: 12px;
}

/* === MOBILE NAV === */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: var(--space-sm);
    z-index: 1000;
}
.mobile-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px;
    font-size: 11px;
    color: var(--text-muted);
}
.mobile-nav a.active { color: var(--primary); }
.mobile-nav span { font-size: 20px; }

/* === TOAST === */
.toast-container {
    position: fixed;
    bottom: 100px;
    left: var(--space-lg);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}
.toast {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    animation: slideIn 0.3s ease;
    max-width: 300px;
}
@keyframes slideIn {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
.toast-icon { font-size: 20px; }
.toast-text { font-size: 13px; }

/* === CHAT MODAL === */
.chat-modal {
    display: none;
    position: fixed;
    bottom: 100px;
    right: var(--space-lg);
    width: 380px;
    max-height: 500px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    z-index: 1002;
    overflow: hidden;
    flex-direction: column;
}
.chat-modal.open { display: flex; }
.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    border-bottom: 1px solid var(--border);
}
.chat-header h3 { font-size: 16px; }
.chat-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-hover);
    border-radius: var(--radius-sm);
    color: var(--text);
}
.chat-messages {
    flex: 1;
    padding: var(--space-md);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}
.chat-msg {
    display: flex;
    gap: var(--space-sm);
    max-width: 90%;
}
.chat-msg.bot { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; flex-direction: row-reverse; }
.chat-msg span { font-size: 24px; }
.chat-msg p {
    background: var(--bg-hover);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 14px;
}
.chat-msg.user p {
    background: var(--primary);
    color: #000;
}
.chat-suggestions {
    display: flex;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    flex-wrap: wrap;
}
.chat-suggestions button {
    padding: 6px 12px;
    background: var(--bg-hover);
    border-radius: var(--radius-full);
    font-size: 12px;
    color: var(--text-secondary);
}
.chat-suggestions button:hover {
    background: var(--primary-muted);
    color: var(--primary);
}
.chat-input-area {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-md);
    border-top: 1px solid var(--border);
}
.chat-input-area input {
    flex: 1;
    padding: 10px 14px;
    background: var(--bg-hover);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
}
.chat-input-area button {
    padding: 10px 20px;
    background: var(--primary);
    color: #000;
    font-weight: 600;
    border-radius: var(--radius-md);
}

/* === COOKIE BANNER === */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    z-index: 1003;
    max-width: 500px;
}
.cookie-banner.show { display: block; }
.cookie-content {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}
.cookie-content p {
    flex: 1;
    font-size: 14px;
    min-width: 200px;
}
.cookie-buttons {
    display: flex;
    gap: var(--space-sm);
}

/* === RESPONSIVE === */

/* Smaller desktop 1200-1500px - hide right panel */
@media (min-width: 1200px) and (max-width: 1500px) {
    .layout {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: var(--space-md);
    }
    .right-panel {
        display: none;
    }
}

/* Large desktop 1500px+ - show all */
@media (min-width: 1500px) {
    .layout {
        grid-template-columns: var(--sidebar-width) minmax(0, 1fr) var(--panel-width);
    }
}

/* Medium screens <1200px - hide both sidebars */
@media (max-width: 1199px) {
    .layout {
        grid-template-columns: 1fr;
    }
    .sidebar, .right-panel {
        display: none;
    }
    .nav-main { display: none; }
    .mobile-menu-btn { display: flex; }
    .mobile-nav { display: flex; }
    body { padding-bottom: 70px; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 28px; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { width: 100%; justify-content: center; }
    .hero-stats { justify-content: space-between; }
    .hero-bonuses { 
        flex-direction: column;
        gap: var(--space-sm);
    }
    .hero-bonus-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        min-width: auto;
        padding: var(--space-sm) var(--space-md);
    }
    .hero-bonus-card .bonus-offer {
        font-size: 16px;
    }
    .hero-trust {
        justify-content: center;
        gap: var(--space-md);
    }
    .tracker-grid { grid-template-columns: 1fr; }
    .latest-result { flex-direction: column; text-align: center; }
    .result-details { justify-items: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .toast-container { left: var(--space-sm); right: var(--space-sm); }
    .toast { max-width: 100%; }
    .chat-modal {
        right: var(--space-sm);
        left: var(--space-sm);
        width: auto;
        bottom: 80px;
    }
}

@media (max-width: 480px) {
    .header-inner { padding: 0 var(--space-md); }
    .section-header h2 { font-size: 22px; }
    .steps-grid, .bonus-grid, .strategy-grid, .casino-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================
   ADDITIONAL STYLES FOR REAL DATA
   ============================================ */

/* Bonus rows in history */
.bonus-row {
    background: rgba(255, 215, 0, 0.08) !important;
}

.bonus-row td {
    border-left: 2px solid var(--primary);
}

.bonus-result {
    color: var(--primary);
    font-weight: 700;
}

/* Matched top slot */
.matched {
    color: var(--accent-green);
    font-weight: 600;
}

/* Win item */
.win-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.win-item:last-child {
    border-bottom: none;
}

.win-item .player {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.win-item .amount {
    font-weight: 700;
    color: var(--accent-green);
}

/* Multiplier item */
.multiplier-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.multiplier-item:last-child {
    border-bottom: none;
}

.multiplier-item .mult {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.multiplier-item .time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Hot/Cold improved */
.segment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
}

.segment-item .diff {
    font-size: 0.85rem;
}

.segment-item .diff.hot {
    color: var(--accent-red);
}

.segment-item .diff.cold {
    color: var(--accent-blue);
}

/* Text muted helper */
.text-muted {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Leaderboard improvements */
.leaderboard-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.leaderboard-item:last-child {
    border-bottom: none;
}

.leaderboard-item .rank {
    font-size: 1.2rem;
    margin-right: 0.75rem;
}

.leaderboard-item .name {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.leaderboard-item .amount {
    font-weight: 700;
    color: var(--accent-green);
}

/* ============================================
   GAME INFO SECTION
   ============================================ */

.game-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 1024px) {
    .game-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Info Tables */
.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.info-table th {
    background: var(--bg-hover);
    font-weight: 600;
    color: var(--text);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-table td:first-child {
    color: var(--text-secondary);
    width: 45%;
}

.info-table td:last-child {
    text-align: right;
}

.info-table tbody tr:hover {
    background: var(--bg-hover);
}

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

/* Wheel table specific */
.wheel-table th,
.wheel-table td {
    text-align: center;
}

.wheel-table td:first-child {
    width: auto;
}

.wheel-table td:last-child {
    text-align: center;
    font-weight: 600;
    color: var(--accent-green);
}

/* Info Note */
.info-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 215, 0, 0.08);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-left: 3px solid var(--primary);
}

.info-note span {
    flex-shrink: 0;
}

/* Top Slot Card */
.top-slot-card {
    margin-top: var(--space-lg);
}

.top-slot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

@media (max-width: 768px) {
    .top-slot-grid {
        grid-template-columns: 1fr;
    }
}

.top-slot-info p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.top-slot-info ul {
    list-style: none;
    padding: 0;
}

.top-slot-info li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.top-slot-info li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

.top-slot-info li strong {
    color: var(--primary);
}

/* Example Box */
.example-box {
    background: var(--bg-hover);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.example-label {
    display: inline-block;
    background: var(--primary);
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.example-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.example-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
}

.example-row span:first-child {
    width: 100px;
    color: var(--text-secondary);
}

.example-result {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--border);
    font-size: 1.1rem;
    text-align: center;
}

.example-result strong {
    font-size: 1.3rem;
}

/* Record Wins Section */
.record-wins {
    margin-top: var(--space-lg);
}

.record-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

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

.record-item {
    background: var(--bg-hover);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.record-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.record-item .seg {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.record-item .value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.record-item .label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Quick Facts */
.quick-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

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

@media (max-width: 480px) {
    .quick-facts {
        grid-template-columns: 1fr;
    }
}

.fact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.fact:hover {
    border-color: var(--primary);
    background: var(--bg-hover);
}

.fact span:first-child {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.fact strong {
    color: var(--text);
    display: block;
    margin-bottom: 0.1rem;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */

.bonus-comparison {
    margin-top: var(--space-xl);
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.comparison-table th,
.comparison-table td {
    padding: 0.875rem 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background: var(--bg-hover);
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

.comparison-table th:first-child {
    text-align: left;
    background: var(--bg-card);
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-card);
    position: sticky;
    left: 0;
}

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

.comparison-table tbody tr:hover td:first-child {
    background: var(--bg-hover);
}

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

.comparison-table .gold {
    color: var(--primary);
    font-weight: 700;
}

/* Responsive scroll hint */
@media (max-width: 768px) {
    .table-responsive::before {
        content: "← Scroll to see all →";
        display: block;
        text-align: center;
        font-size: 0.75rem;
        color: var(--text-muted);
        padding: 0.5rem;
        background: var(--bg-hover);
        border-radius: var(--radius-sm);
        margin-bottom: 0.5rem;
    }
}

/* ============================================
   UK-SPECIFIC STYLES
   ============================================ */

/* Trust Banner */
.uk-trust-banner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    background: linear-gradient(135deg, rgba(0, 128, 0, 0.1), rgba(255, 215, 0, 0.05));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 128, 0, 0.2);
}

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

@media (max-width: 480px) {
    .uk-trust-banner {
        grid-template-columns: 1fr;
    }
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.trust-item span:first-child {
    font-size: 1.25rem;
}

.trust-item strong {
    color: var(--text);
}

/* Casino Card Improvements */
.casino-card {
    position: relative;
}

.casino-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
}

.casino-badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background: var(--primary);
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.casino-badge.gold { background: linear-gradient(135deg, #FFD700, #FFA500); color: #000; }
.casino-badge.green { background: #10B981; color: #fff; }
.casino-badge.mobile { background: #3B82F6; color: #fff; }
.casino-badge.classic { background: #8B5CF6; color: #fff; }

.casino-tagline {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    font-style: italic;
}

.casino-payments {
    display: flex;
    gap: 0.5rem;
    margin: 0.75rem 0;
    flex-wrap: wrap;
}

.casino-payments span {
    background: var(--bg-hover);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.casino-compliance {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

/* Payment Methods Card */
.payment-methods-card {
    margin-top: var(--space-xl);
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

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

@media (max-width: 480px) {
    .payment-grid {
        grid-template-columns: 1fr;
    }
}

.payment-item {
    padding: 1rem;
    background: var(--bg-hover);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    text-align: center;
}

.payment-item.recommended {
    border-color: var(--accent-green);
    background: rgba(0, 255, 136, 0.05);
}

.payment-item .payment-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.payment-item strong {
    display: block;
    margin-bottom: 0.25rem;
}

.payment-item .payment-speed {
    display: inline-block;
    background: var(--accent-green);
    color: #000;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.payment-item p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

.payment-warning {
    margin-top: var(--space-lg);
    padding: 1rem;
    background: rgba(255, 107, 107, 0.1);
    border-left: 3px solid var(--accent-red);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

/* Trust Notice Enhanced */
.trust-notice {
    margin-top: var(--space-lg);
    padding: 1rem 1.25rem;
    background: rgba(0, 128, 0, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 128, 0, 0.2);
    text-align: center;
    font-size: 0.9rem;
}

/* Comparison Section */
.comparison-section {
    margin-top: var(--space-xl);
}

.vs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 768px) {
    .vs-grid {
        grid-template-columns: 1fr;
    }
}

.vs-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

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

.vs-card h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.vs-card h4 .vs {
    color: var(--text-muted);
    font-weight: 400;
}

.vs-comparison-table {
    width: 100%;
    font-size: 0.85rem;
}

.vs-comparison-table td {
    padding: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.vs-comparison-table td:first-child {
    color: var(--text-secondary);
}

.vs-comparison-table td:last-child {
    text-align: right;
    font-weight: 600;
}

.vs-winner {
    color: var(--accent-green);
}

.vs-verdict {
    margin-top: 1rem;
    padding: 0.75rem;
    background: var(--bg-hover);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    text-align: center;
}

.vs-verdict strong {
    color: var(--primary);
}

/* Technical Deep Dive */
.technical-card {
    margin-top: var(--space-xl);
}

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

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

.tech-item {
    padding: 1.25rem;
    background: var(--bg-hover);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.tech-item .tech-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
}

.tech-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.tech-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.tech-item strong {
    color: var(--text);
}

/* Comparison Intro */
.comparison-intro {
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--text-secondary);
}

/* ============================================
   IMAGE INTEGRATION STYLES
   ============================================ */

/* Logo Images */
.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

@media (max-width: 640px) {
    .logo-img {
        height: 36px;
    }
}

/* Hero Background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background-color: var(--bg-card);
    background-image: url('../img/crazy-time-live-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(13, 13, 26, 0.5) 0%, rgba(13, 13, 26, 0.85) 100%);
}

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

.hero-glow {
    z-index: 1;
}

/* Bonus Cards with Images */
.bonus-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.bonus-img {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    margin: -1rem -1rem 1rem -1rem;
    width: calc(100% + 2rem);
}

.bonus-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.bonus-content {
    flex: 1;
}

.bonus-content h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bonus-content h3 img {
    flex-shrink: 0;
}

/* Casino Logo Images */
.casino-logo-img {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

.casino-payments {
    display: flex;
    gap: 0.5rem;
    margin: 0.75rem 0;
    flex-wrap: wrap;
    align-items: center;
}

.casino-payments img {
    height: 24px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.casino-payments img:hover {
    opacity: 1;
}

/* Payment Method Logos */
.payment-item {
    text-align: center;
}

.payment-logo {
    height: 40px;
    width: auto;
    margin-bottom: 0.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Footer Trust Badges */
.footer-logo-img {
    height: 35px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-trust-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.footer-trust-badges img {
    height: 35px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    filter: grayscale(100%);
}

.footer-trust-badges img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Evolution Gaming Logo in Game Info */
.evolution-logo {
    height: 30px;
    width: auto;
    vertical-align: middle;
}

/* ============================================
   MOBILE OPTIMIZATION v34
   Comprehensive mobile UX improvements
   ============================================ */

/* --- Mobile Base Reset --- */
@media (max-width: 1199px) {
    :root {
        --space-lg: 20px;
        --space-xl: 28px;
        --space-2xl: 40px;
    }
    
    body {
        font-size: 14px;
        padding-bottom: 72px;
    }
    
    .layout {
        padding: calc(var(--header-height) + var(--space-md)) var(--space-md) var(--space-md);
        gap: var(--space-md);
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    .main-content {
        max-width: 100%;
        overflow-x: hidden;
    }
}

/* --- Mobile Header Improvements --- */
@media (max-width: 768px) {
    .header {
        height: 56px;
        --header-height: 56px;
    }
    
    .header-inner {
        padding: 0 12px;
    }
    
    .logo-img {
        max-width: 140px;
        height: 32px;
    }
    
    .live-badge {
        padding: 4px 8px;
        font-size: 10px;
    }
    
    .live-dot {
        width: 6px;
        height: 6px;
    }
    
    .header-actions .btn {
        display: none;
    }
    
    .mobile-menu-btn {
        padding: 10px;
        margin-left: auto;
    }
}

/* --- Mobile Hero Section --- */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }
    
    .hero {
        padding: var(--space-lg) var(--space-md);
        margin: 0;
        border-radius: 0;
        overflow: hidden;
    }
    
    .hero-content {
        max-width: 100%;
        overflow: hidden;
    }
    
    .hero-badge {
        font-size: 11px;
        padding: 6px 12px;
        margin-bottom: var(--space-md);
    }
    
    .hero-title {
        font-size: 24px;
        line-height: 1.25;
        margin-bottom: var(--space-sm);
        word-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: var(--space-md);
        max-width: 100%;
    }
    
    .game-rating {
        flex-wrap: wrap;
        padding: var(--space-xs) var(--space-sm);
        font-size: 13px;
        margin-bottom: var(--space-md);
    }
    
    .game-rating .rating-stars {
        font-size: 14px;
    }
    
    .game-rating .rating-text {
        font-size: 12px;
    }
    
    .hero-ctas {
        display: flex;
        flex-direction: column;
        gap: var(--space-sm);
        margin-bottom: var(--space-lg);
        width: 100%;
    }
    
    .hero-ctas .btn {
        width: 100%;
        padding: 14px 16px;
        font-size: 14px;
        text-align: center;
        justify-content: center;
        box-sizing: border-box;
    }
    
    .hero-ctas .btn.btn-ghost {
        background: transparent;
        border: 1px solid rgba(255,255,255,0.2);
    }
    
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
        background: rgba(0,0,0,0.3);
        padding: var(--space-sm);
        border-radius: var(--radius-lg);
        margin-bottom: var(--space-md);
    }
    
    .hero-stat {
        text-align: center;
        padding: var(--space-xs);
    }
    
    .hero-stat .value {
        font-size: 18px;
    }
    
    .hero-stat .label {
        font-size: 10px;
    }
    
    .hero-trust {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-xs);
        text-align: center;
    }
    
    .hero-trust span {
        flex-direction: column;
        font-size: 9px;
        gap: 2px;
    }
    
    .hero-trust img {
        width: 20px;
        height: 20px;
    }
}

/* --- Mobile Sections --- */
@media (max-width: 768px) {
    .section {
        padding: var(--space-lg) 0;
        overflow-x: hidden;
        max-width: 100%;
    }
    
    .section-header {
        margin-bottom: var(--space-md);
    }
    
    .section-header h2 {
        font-size: 20px;
        line-height: 1.3;
    }
    
    .section-header p {
        font-size: 13px;
        margin-top: var(--space-xs);
    }
}

/* --- Mobile Cards & Grids --- */
@media (max-width: 768px) {
    .tracker-grid {
        gap: var(--space-md);
    }
    
    .tracker-card {
        padding: var(--space-md);
        border-radius: var(--radius-md);
    }
    
    .tracker-card h3 {
        font-size: 14px;
        margin-bottom: var(--space-sm);
    }
    
    /* Latest Result Mobile */
    .latest-result {
        padding: var(--space-md);
        gap: var(--space-md);
    }
    
    .result-badge {
        width: 80px;
        height: 80px;
        font-size: 28px;
    }
    
    .result-info h4 {
        font-size: 14px;
    }
    
    .result-info .multiplier {
        font-size: 24px;
    }
    
    .result-details {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }
    
    .result-detail {
        padding: var(--space-xs);
        font-size: 12px;
    }
    
    /* Steps Grid Mobile */
    .steps-grid {
        gap: var(--space-md);
    }
    
    .step-card {
        padding: var(--space-md);
    }
    
    .step-number {
        font-size: 32px;
    }
    
    .step-card h4 {
        font-size: 14px;
    }
    
    /* Casino Cards Mobile */
    .casino-grid {
        gap: var(--space-md);
    }
    
    .casino-card {
        padding: var(--space-md);
    }
    
    .casino-logo {
        height: 32px;
    }
    
    .casino-bonus {
        font-size: 16px;
    }
    
    /* Bonus Cards Mobile */
    .bonus-grid {
        gap: var(--space-md);
    }
    
    .bonus-card {
        padding: var(--space-md);
    }
    
    .bonus-card h4 {
        font-size: 14px;
    }
    
    /* Strategy Cards Mobile */
    .strategy-grid {
        gap: var(--space-md);
    }
    
    .strategy-card {
        padding: var(--space-md);
    }
}

/* --- Mobile Buttons --- */
@media (max-width: 768px) {
    .btn {
        min-height: 44px;
        padding: 12px 20px;
        font-size: 14px;
        border-radius: var(--radius-md);
    }
    
    .btn-lg {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .btn-sm {
        min-height: 36px;
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .btn-play {
        width: 100%;
    }
    
    /* CTA Buttons Group */
    .cta-buttons {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* --- Mobile Tables --- */
@media (max-width: 768px) {
    .history-table {
        font-size: 12px;
    }
    
    .history-table th,
    .history-table td {
        padding: 8px 6px;
    }
    
    .history-table th:nth-child(3),
    .history-table td:nth-child(3) {
        display: none;
    }
}

/* --- Mobile Footer --- */
@media (max-width: 768px) {
    .footer {
        padding: var(--space-xl) var(--space-md);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }
    
    .footer-brand {
        order: -1;
    }
    
    .footer-logo-img {
        margin: 0 auto;
    }
    
    .footer-trust-badges {
        justify-content: center;
        margin-top: var(--space-md);
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    .footer-links h4,
    .footer-title {
        font-size: 13px;
        margin-bottom: var(--space-xs);
    }
    
    .footer-links a {
        font-size: 13px;
        padding: 6px 0;
    }
    
    .footer-bottom {
        margin-top: var(--space-lg);
        padding-top: var(--space-md);
        border-top: 1px solid var(--border);
        font-size: 11px;
        text-align: center;
    }
}

/* --- Mobile Navigation --- */
@media (max-width: 1199px) {
    .mobile-nav {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 64px;
        background: linear-gradient(to top, var(--bg-base), var(--bg-card));
        border-top: 1px solid var(--border);
        padding: 6px 8px;
        z-index: 1000;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    }
    
    .mobile-nav a {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        padding: 6px 4px;
        font-size: 10px;
        font-weight: 500;
        color: var(--text-muted);
        text-decoration: none;
        border-radius: var(--radius-sm);
        transition: all 0.2s ease;
    }
    
    .mobile-nav a:active {
        transform: scale(0.95);
        background: rgba(255,215,0,0.1);
    }
    
    .mobile-nav a.active {
        color: var(--primary);
    }
    
    .mobile-nav span {
        font-size: 22px;
    }
}

/* --- Mobile Toast --- */
@media (max-width: 768px) {
    .toast-container {
        bottom: 80px;
        left: var(--space-sm);
        right: var(--space-sm);
    }
    
    .toast {
        font-size: 12px;
        padding: var(--space-sm) var(--space-md);
        border-radius: var(--radius-md);
    }
}

/* --- Mobile Chat Modal --- */
@media (max-width: 768px) {
    .chat-modal {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 64px;
        width: 100%;
        border-radius: 0;
        max-height: none;
    }
    
    .chat-inner {
        height: 100%;
    }
    
    .chat-header {
        padding: var(--space-md);
    }
    
    .chat-messages {
        flex: 1;
        padding: var(--space-md);
    }
}

/* --- Mobile Cookie Banner --- */
@media (max-width: 768px) {
    .cookie-banner {
        bottom: 72px;
        left: var(--space-sm);
        right: var(--space-sm);
        max-width: none;
        transform: none;
        padding: var(--space-md);
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* --- Small Phone (480px and below) --- */
@media (max-width: 480px) {
    :root {
        --space-md: 12px;
        --space-lg: 16px;
        --space-xl: 24px;
    }
    
    body {
        font-size: 13px;
    }
    
    .header {
        height: 52px;
    }
    
    .logo-img {
        max-width: 120px;
        height: 28px;
    }
    
    .hero-title {
        font-size: 22px;
    }
    
    .hero-subtitle {
        font-size: 13px;
    }
    
    .hero-stats {
        padding: var(--space-sm);
    }
    
    .hero-stat .value {
        font-size: 18px;
    }
    
    .section-header h2 {
        font-size: 18px;
    }
    
    .tracker-card {
        padding: var(--space-sm);
    }
    
    .result-badge {
        width: 64px;
        height: 64px;
        font-size: 24px;
    }
    
    .btn {
        min-height: 40px;
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .footer-grid {
        gap: var(--space-md);
    }
    
    .mobile-nav {
        height: 56px;
        padding: 4px 6px;
    }
    
    .mobile-nav a {
        font-size: 9px;
    }
    
    .mobile-nav span {
        font-size: 18px;
    }
}

/* --- Very Small Screens (400px and below) --- */
@media (max-width: 400px) {
    .layout {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .hero {
        padding: 16px 12px;
    }
    
    .hero-title {
        font-size: 20px;
    }
    
    .hero-subtitle {
        font-size: 12px;
    }
    
    .hero-ctas .btn {
        padding: 12px;
        font-size: 13px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 8px;
    }
    
    .hero-stat .value {
        font-size: 16px;
    }
    
    .game-rating {
        padding: 8px;
        gap: 6px;
    }
    
    .game-rating .rating-stars {
        font-size: 12px;
    }
    
    .section {
        padding: 16px 0;
    }
}

/* --- Touch-friendly Interactions --- */
@media (pointer: coarse) {
    .btn, 
    .casino-card,
    .bonus-card,
    .strategy-card,
    .step-card,
    a {
        -webkit-tap-highlight-color: rgba(255, 215, 0, 0.1);
    }
    
    .sidebar-link,
    .nav-link,
    .footer-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* --- Safe Area for notched devices --- */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .mobile-nav {
        padding-bottom: calc(6px + env(safe-area-inset-bottom));
        height: calc(64px + env(safe-area-inset-bottom));
    }
    
    body {
        padding-bottom: calc(72px + env(safe-area-inset-bottom));
    }
    
    .cookie-banner {
        bottom: calc(72px + env(safe-area-inset-bottom));
    }
}

/* --- Improved Readability --- */
@media (max-width: 768px) {
    p, li {
        line-height: 1.65;
    }
    
    h1, h2, h3, h4 {
        line-height: 1.3;
    }
}

/* --- Scroll Improvements --- */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px;
    }
    
    .section {
        scroll-margin-top: 70px;
    }
}

/* --- Animation Performance --- */
@media (max-width: 768px) {
    .hero-glow {
        display: none;
    }
    
    .hero-bg::after {
        background: linear-gradient(180deg, rgba(13, 13, 26, 0.75) 0%, rgba(13, 13, 26, 0.95) 100%);
    }
    
    * {
        -webkit-overflow-scrolling: touch;
    }
}

/* --- Mobile Menu Overlay --- */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
    overflow-y: auto;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text);
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    border: none;
    cursor: pointer;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 0;
    flex: 1;
    overflow-y: auto;
    max-height: calc(100vh - 180px);
}

.mobile-menu-section {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-section:last-child {
    border-bottom: none;
}

.mobile-menu-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 16px 4px;
    margin-bottom: 4px;
}

.mobile-menu-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a:active {
    background: rgba(255,215,0,0.1);
    color: var(--primary);
}

.mobile-menu-footer {
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.mobile-menu-footer .responsible-link {
    display: block;
    padding: 12px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.mobile-menu-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    opacity: 0.6;
}

.mobile-menu-badges img {
    height: 30px;
    width: auto;
}
