:root {
    /* Dark theme - Vibrant Neon */
    --bg-primary: #0d0f12;
    --bg-secondary: #141820;
    --bg-tertiary: #111318;
    --bg-gradient: linear-gradient(180deg, #0d0f12 0%, #141820 50%, #111318 100%);
    --text-primary: #e8eaed;
    --text-secondary: #9aa0a6;
    --text-muted: #5f6368;
    --border-color: #2a2f38;
    --card-bg: #141820;
    --input-bg: #1a1f28;
    /* Vibrant accent colors */
    --accent-green: #B6F609;
    --accent-green-dark: #9ad307;
    --accent-green-light: #c8ff3d;
    --accent-blue: #09B6F6;
    --accent-blue-dark: #0899cc;
    --accent-blue-light: #3dc8ff;
    --accent-pink: #F609B6;
    --accent-pink-dark: #cc0899;
    --accent-pink-light: #ff3dc8;
    --accent-gray: #5f6368;
    --accent-purple: #F609B6;
    --accent-orange: #F6B609;
    --shadow: rgba(0, 0, 0, 0.5);
    --disclaimer-bg: rgba(182, 246, 9, 0.08);
    --disclaimer-border: #B6F609;
    /* Glow effects */
    --glow-green: 0 0 20px rgba(182, 246, 9, 0.2), 0 0 40px rgba(182, 246, 9, 0.08);
    --glow-green-hover: 0 0 25px rgba(182, 246, 9, 0.35), 0 0 50px rgba(182, 246, 9, 0.15);
    --glow-blue: 0 0 20px rgba(9, 182, 246, 0.2), 0 0 40px rgba(9, 182, 246, 0.08);
    --glow-pink: 0 0 20px rgba(246, 9, 182, 0.2), 0 0 40px rgba(246, 9, 182, 0.08);
}

[data-theme="light"] {
    /* Light theme - Vibrant */
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f3f4;
    --bg-gradient: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
    --text-primary: #1a1a1a;
    --text-secondary: #5f6368;
    --text-muted: #80868b;
    --border-color: #dadce0;
    --card-bg: #ffffff;
    --input-bg: #f1f3f4;
    --accent-green: #8BC500;
    --accent-green-dark: #6fa000;
    --accent-green-light: #a8e000;
    --accent-blue: #0099cc;
    --accent-blue-dark: #007aa3;
    --accent-blue-light: #00b8f5;
    --accent-pink: #cc0099;
    --accent-pink-dark: #a3007a;
    --accent-pink-light: #f500b8;
    --accent-gray: #5f6368;
    --accent-purple: #cc0099;
    --accent-orange: #cc9900;
    --shadow: rgba(0, 0, 0, 0.1);
    --disclaimer-bg: rgba(139, 197, 0, 0.08);
    --disclaimer-border: #8BC500;
    --glow-green: 0 0 15px rgba(139, 197, 0, 0.2), 0 0 30px rgba(139, 197, 0, 0.1);
    --glow-green-hover: 0 0 20px rgba(139, 197, 0, 0.35), 0 0 40px rgba(139, 197, 0, 0.15);
    --glow-blue: 0 0 15px rgba(0, 153, 204, 0.2), 0 0 30px rgba(0, 153, 204, 0.1);
    --glow-pink: 0 0 15px rgba(204, 0, 153, 0.2), 0 0 30px rgba(204, 0, 153, 0.1);
}

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

html, body {
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

/* Header */
.header {
    background: rgba(22, 27, 25, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme="light"] .header {
    background: rgba(245, 247, 246, 0.95);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text h1 {
    font-size: 22px;
    font-weight: bold;
    color: var(--text-primary);
    line-height: 28px;
}

.bets-gradient {
    background: linear-gradient(135deg, #3da35d 0%, #5cb87a 50%, #7fd19a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 16px;
}

.nav {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Theme Toggle */
.theme-toggle {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
    border-color: var(--accent-blue);
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

[data-theme="light"] .theme-toggle .sun-icon {
    display: block;
}

[data-theme="light"] .theme-toggle .moon-icon {
    display: none;
}

.login-btn {
    background: var(--accent-blue);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.4);
}

.login-btn.google {
    background: #050505;
    color: #ffffff;
    border: 1px solid var(--border-color);
}

.login-btn.google:hover {
    background: #f8f8f8;
}

/* User Profile */
.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-blue);
}

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

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.user-domain {
    font-size: 11px;
    color: var(--accent-blue);
    font-weight: 500;
}

.logout-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

@media (max-width: 600px) {
    .user-info {
        display: none;
    }
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero */
.hero {
    text-align: center;
    padding: 60px 16px 40px;
    flex-shrink: 0;
}

.hero-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 24px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero h1 {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: bold;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 .bets-gradient {
    background: linear-gradient(135deg, #3da35d 0%, #5cb87a 50%, #7fd19a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    background: linear-gradient(135deg, #3da35d 0%, #5cb87a 100%);
    color: #141e1a;
    border: none;
    padding: 16px 40px;
    border-radius: 9999px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(61, 163, 93, 0.25);
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(61, 163, 93, 0.35);
}

/* Content Grid - 2x2 Layout */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 580px 380px;
    gap: 24px;
    flex: 1;
    padding-bottom: 40px;
}

.grid-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--glow-green);
    transition: box-shadow 0.3s ease;
}

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

.box-header {
    text-align: center;
    margin-bottom: 16px;
}

.box-header h2 {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.box-header p {
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
}

/* Chat Box - within grid */
.chat-box {
    padding: 0;
    overflow: hidden;
}

.chat-box .chat-container {
    flex: 1;
    height: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}

.chat-box .chat-messages {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.chat-box .chat-header {
    border-radius: 16px 16px 0 0;
}

.chat-box .chat-input-container {
    margin-top: auto;
}

/* Chat Container */
.chat-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px var(--shadow);
    display: flex;
    flex-direction: column;
    height: 380px;
    transition: all 0.3s ease;
}

.chat-header {
    background: linear-gradient(135deg, #2d8a4a 0%, #3da35d 50%, #5cb87a 100%);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 50%;
}

.chat-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.chat-info p {
    font-size: 12px;
    color: white;
    opacity: 0.9;
}

.chat-messages {
    background: #1a1a1a;
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    transition: background 0.3s ease;
}

.message {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.message.user {
    align-items: flex-end;
}

.message-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    max-width: 80%;
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-line;
}

.message.user .message-bubble {
    background: #1da1f2;
    color: white;
    border-bottom-right-radius: 6px;
}

.message.assistant .message-bubble {
    background: #2d2d2d;
    border: 1px solid #404040;
    color: #d1d5dc;
    border-top-left-radius: 6px;
}

.chat-input-container {
    background: #2d2d2d;
    border-top: 1px solid #404040;
    padding: 16px;
    flex-shrink: 0;
}

.chat-input-wrapper {
    display: flex;
    gap: 8px;
}

.chat-input {
    flex: 1;
    background: #3d3d3d;
    border: 1px solid #404040;
    border-radius: 9999px;
    padding: 12px 20px;
    color: #fafafa;
    font-size: 14px;
    transition: all 0.3s ease;
}

.chat-input::placeholder {
    color: #9ca3af;
}

.chat-input:focus {
    outline: none;
    border-color: #1da1f2;
}

.send-btn {
    background: #1da1f2;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 9999px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.send-btn:not(:disabled) {
    opacity: 1;
}

.send-btn:not(:disabled):hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.4);
}

.send-btn:disabled {
    cursor: not-allowed;
}

.send-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.signin-link {
    text-align: center;
    margin-top: 8px;
    font-size: 12px;
    color: #9ca3af;
}

.signin-link a {
    color: #1da1f2;
    text-decoration: none;
    font-weight: 600;
}

.signin-link a:hover {
    text-decoration: underline;
}

/* Stats Box - within grid */
.stats-box .stats-grid {
    margin-bottom: 16px;
}

.stats-box .features-list {
    flex: 1;
    margin-bottom: 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 16px 12px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow);
}

.stat-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 22px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 2px;
}

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

/* Features */
.features-list {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.feature-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-item:first-child {
    padding-top: 0;
}

.feature-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.feature-text p {
    font-size: 12px;
    color: var(--text-muted);
}

/* Disclaimer */
.disclaimer {
    background: var(--disclaimer-bg);
    border: 1px solid var(--disclaimer-border);
    border-radius: 10px;
    padding: 12px;
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 24px;
    text-align: center;
    background: var(--bg-secondary);
    transition: all 0.3s ease;
}

.footer p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header {
        padding: 12px 16px;
    }

    .logo-text h1 {
        font-size: 18px;
    }

    .logo-text p {
        display: none;
    }

    .hero {
        padding: 40px 16px 30px;
    }

    .hero-icon {
        width: 70px;
        height: 70px;
    }

    .main-content {
        padding: 0 16px;
    }

    .content-grid {
        gap: 24px;
    }

    .chat-container {
        height: 450px;
    }

    .stats-grid {
        gap: 12px;
    }

    .stat-card {
        padding: 16px 12px;
    }

    .stat-value {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .nav {
        gap: 8px;
    }

    .theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .login-btn {
        padding: 8px 16px;
        font-size: 14px;
    }

    .cta-btn {
        padding: 14px 32px;
        font-size: 16px;
    }

    .chat-container {
        height: 400px;
    }

    .message-bubble {
        max-width: 90%;
    }
}

/* Demo Section */
.demo-section {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 16px;
}

.demo-header {
    text-align: center;
    margin-bottom: 24px;
}

.demo-header h2 {
    font-size: clamp(20px, 3vw, 26px);
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.demo-header p {
    color: var(--text-muted);
    font-size: 14px;
}

.demo-games {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.demo-games .game-tile {
    flex: 0 0 300px;
    cursor: default;
}

.demo-games .game-tile:hover {
    transform: none;
    border-color: var(--border-color);
    box-shadow: none;
}

.demo-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 14px;
}

.demo-empty-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.demo-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.demo-loading-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Game Tile Styles */
.game-tile {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.game-tile:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.game-tile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.game-tile-sport {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-blue);
    text-transform: uppercase;
}

.game-tile-time {
    font-size: 11px;
    color: var(--text-muted);
}

.game-tile-teams {
    margin-bottom: 8px;
}

.game-tile-team {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.game-tile-team-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 8px;
}

.game-tile-team-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.game-tile-team-odds {
    font-size: 13px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--bg-secondary);
}

.game-tile-team-odds.favorite {
    color: var(--accent-green);
}

.game-tile-team-odds.underdog {
    color: var(--accent-orange);
}

.game-tile-risk {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px;
    letter-spacing: -0.5px;
}

.game-tile-risk.risk-extreme {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.game-tile-risk.risk-high {
    background: rgba(249, 115, 22, 0.2);
    color: #f97316;
}

.game-tile-risk.risk-medium {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.game-tile-risk.risk-low {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.game-tile-spread {
    display: flex;
    justify-content: space-between;
    padding-top: 6px;
    border-top: 1px solid var(--border-color);
    font-size: 12px;
    color: var(--text-muted);
}

.game-tile-spread-label {
    font-weight: 500;
}

/* Scrollbar Styling */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ========== DEMO CHAT TILES ========== */
.tile-bubble {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

.demo-chat-tile {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px 12px;
    min-width: 260px;
    max-width: 320px;
}

.demo-tile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.demo-tile-sport {
    font-size: 11px;
    font-weight: 600;
    color: #1da1f2;
    text-transform: uppercase;
}

.demo-tile-time {
    font-size: 10px;
    color: var(--text-muted);
}

.demo-tile-teams {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.demo-tile-team {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 6px;
    border-radius: 6px;
    transition: background 0.2s;
}

.demo-tile-team.picked {
    background: rgba(29, 161, 242, 0.1);
    border-left: 3px solid #1da1f2;
}

.demo-tile-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.demo-tile-team.picked .demo-tile-name {
    color: #1da1f2;
}

.demo-tile-stats {
    display: flex;
    align-items: center;
    gap: 4px;
}

.demo-tile-risk {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 4px;
    border-radius: 3px;
}

.demo-tile-odds {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 5px;
    border-radius: 3px;
    background: var(--input-bg);
}

.demo-tile-odds.fav {
    color: var(--accent-green);
}

.demo-tile-odds.dog {
    color: var(--accent-orange);
}

.demo-tile-payout {
    font-size: 10px;
    font-weight: 600;
    color: var(--accent-green);
    padding: 2px 4px;
    border-radius: 3px;
    background: rgba(34, 197, 94, 0.15);
}

/* ========== DEMO PARLAY TILES ========== */
.demo-parlay-tile {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px;
    min-width: 260px;
    max-width: 320px;
}

.demo-parlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.demo-parlay-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.demo-parlay-risk {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px;
}

.demo-parlay-legs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.demo-parlay-leg {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    background: var(--input-bg);
    border-radius: 6px;
}

.demo-parlay-leg-sport {
    font-size: 14px;
}

.demo-parlay-leg-team {
    flex: 1;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.demo-parlay-leg-odds {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 2px 6px;
    background: var(--card-bg);
    border-radius: 4px;
}

.demo-parlay-footer {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}

.demo-parlay-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.demo-parlay-stat-label {
    font-size: 9px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.demo-parlay-stat-value {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
}

.demo-payout {
    color: var(--accent-green) !important;
}

/* Risk colors for demo */
.risk-low {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.risk-medium {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.risk-high {
    background: rgba(249, 115, 22, 0.2);
    color: #f97316;
}

/* ========== SIMULATOR BOX - within grid ========== */
.simulator-box .simulator-demo-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.simulator-demo-selections {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.sim-demo-selection {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: var(--input-bg);
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.sim-demo-sport {
    font-size: 16px;
}

.sim-demo-team {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.sim-demo-odds {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-green);
    padding: 3px 6px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 4px;
}

.simulator-demo-amounts {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
}

.sim-amount-btn {
    padding: 6px 12px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.sim-amount-btn.active {
    background: #1da1f2;
    border-color: #1da1f2;
    color: white;
}

.simulator-demo-results {
    background: var(--bg-tertiary);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
}

.sim-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid var(--border-color);
}

.sim-result-row:last-child {
    border-bottom: none;
}

.sim-result-label {
    font-size: 12px;
    color: var(--text-muted);
}

.sim-result-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.sim-result-value.payout-value {
    color: #1da1f2;
}

.sim-result-value.profit-value {
    color: #5cb87a;
}

.simulator-demo-cta {
    text-align: center;
}

.sim-demo-btn {
    background: #1da1f2;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sim-demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.4);
}

/* ========== FAQ BOX - within grid ========== */
.faq-box .faq-list {
    flex: 1;
    margin-bottom: 16px;
}

.faq-box .disclaimer {
    margin-top: auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.faq-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.faq-item summary {
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

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

.faq-item summary::after {
    content: '+';
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item summary:hover {
    background: var(--input-bg);
}

.faq-item p {
    padding: 0 12px 10px;
    font-size: 11px;
    line-height: 1.4;
    color: var(--text-secondary);
}
