:root {
    --bg-dark: #0f172a;
    --panel-bg: #1e293b;
    --accent-blue: #38bdf8;
    --accent-red: #ef4444;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.navbar {
    background-color: #020617;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid var(--panel-bg);
}

.logo { font-weight: 900; font-size: 1.5rem; letter-spacing: 1px; color: var(--accent-blue); }

/* Main Layout Grid */
.main-layout {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Sidebars */
.roster-panel, .betting-rail {
    width: 300px;
    background-color: var(--panel-bg);
    padding: 1.5rem;
    overflow-y: auto;
}

/* Bot Cards */
.bot-card {
    display: flex;
    align-items: center;
    background-color: var(--bg-dark);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
}

.bot-card.active { border-color: var(--accent-blue); }
.bot-card.disabled { opacity: 0.5; cursor: not-allowed; }
.bot-icon { font-size: 2rem; margin-right: 1rem; }
.bot-info h3 { margin: 0 0 0.2rem 0; font-size: 1.1rem; }
.bot-info p { margin: 0; font-size: 0.8rem; color: var(--text-muted); }

/* Center Arena */
.arena-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.action-btn {
    background-color: var(--accent-red);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
    transition: transform 0.1s;
}

.action-btn:active { transform: scale(0.95); }

/* Right Rail Promos */
.promo-card {
    background-color: var(--bg-dark);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
}
.bet-btn {
    background-color: #22c55e;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

/* Bottom Ticker Animation */
.ticker-container {
    background-color: #020617;
    border-top: 1px solid var(--accent-blue);
    padding: 0.5rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-scroll {
    display: inline-block;
    animation: scroll-left 30s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 2rem;
    font-weight: bold;
    color: var(--accent-blue);
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
/* =========================================
   MOBILE RESPONSIVENESS OVERRIDES
   ========================================= */
@media (max-width: 768px) {

    /* Tighter header */
    .navbar {
        padding: 0.6rem 1rem;
    }
    .logo { font-size: 1.1rem; }
    .user-status { font-size: 0.75rem; color: var(--text-muted); }

    /* Main layout becomes a column with no overflow clipping */
    .main-layout {
        flex-direction: column;
        overflow-y: auto;
        gap: 0;
        padding: 0;
    }

    /* ---- ROSTER: horizontal scrolling pill strip ---- */
    .roster-panel {
        width: 100%;
        min-width: 100%;
        background-color: var(--bg-dark);
        padding: 0.75rem 0.75rem 0.5rem;
        border-bottom: 1px solid var(--panel-bg);
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        order: 1;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }

    /* Hide the "Select Analyst" heading on mobile */
    .roster-panel h2 { display: none; }

    /* Bot cards become compact horizontal pills */
    .bot-card {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-width: 72px;
        padding: 0.5rem 0.6rem;
        border-radius: 12px;
        margin-bottom: 0;
        text-align: center;
        white-space: normal;
        flex-shrink: 0;
    }

    .bot-icon {
        font-size: 1.5rem;
        margin-right: 0;
        margin-bottom: 0.2rem;
    }

    .bot-info h3 {
        font-size: 0.65rem;
        margin: 0;
        line-height: 1.2;
    }

    /* Hide the sport subtitle on mobile to save space */
    .bot-info p { display: none; }

    /* Hide GeoTek branding on mobile */
    .geotek-glow { display: none !important; }

    /* ---- ARENA: takes remaining space, centered ---- */
    .arena-panel {
        order: 2;
        width: 100%;
        padding: 2rem 1.5rem;
        flex: 1;
        justify-content: center;
    }

    /* Big thumb-friendly talk button */
    #talk-button {
        width: 100%;
        max-width: 340px;
        padding: 1.1rem 1rem;
        font-size: 1rem;
    }

    /* ---- BETTING RAIL: compact strip at bottom ---- */
    .betting-rail {
        order: 3;
        width: 100%;
        min-width: 100%;
        padding: 0.75rem 1rem;
        border-top: 1px solid var(--panel-bg);
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .betting-rail h2 {
        width: 100%;
        font-size: 0.9rem;
        margin: 0 0 0.5rem 0;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    /* Promo cards side by side on mobile */
    .promo-card {
        flex: 1;
        min-width: 140px;
        padding: 0.75rem;
        margin-bottom: 0;
    }

    .promo-card h4 { margin: 0 0 0.25rem; font-size: 0.85rem; }
    .promo-card p  { margin: 0 0 0.5rem;  font-size: 0.75rem; }

    /* Ticker slightly smaller on mobile */
    .ticker-item {
        font-size: 0.8rem;
        padding: 0 1rem;
    }
}
/* =========================================
   GEOTEK SYSTEMS POWERED GLOW EFFECT
   ========================================= */

/* 1. Define the pulsing animation */
@keyframes geotek-pulse {
  0% {
    text-shadow: 0 0 4px rgba(34, 197, 94, 0.4); /* Green glow starts soft */
  }
  50% {
    text-shadow: 0 0 12px rgba(34, 197, 94, 0.8), 0 0 20px rgba(34, 197, 94, 0.4); /* Glow peaks */
  }
  100% {
    text-shadow: 0 0 4px rgba(34, 197, 94, 0.4); /* Glow fades back */
  }
}

/* 2. Apply the styles and animation to the class */
.geotek-glow {
    color: #22c55e !important;
    font-weight: 900;
    letter-spacing: 3px;
    text-align: center;
    margin-top: auto;
    padding: 30px 10px;
    /* High-intensity green glow */
    text-shadow: 0 0 10px #22c55e, 0 0 20px #16a34a;
    animation: neon-pulse 1.5s infinite alternate;
}

@keyframes neon-pulse {
    from {
        text-shadow: 0 0 5px #22c55e, 0 0 10px #22c55e;
        transform: scale(1);
    }
    to {
        text-shadow: 0 0 20px #22c55e, 0 0 40px #16a34a, 0 0 60px #15803d;
        transform: scale(1.05);
    }
}