: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;
    min-width: 300px;
    max-width: 300px;
    background-color: var(--panel-bg);
    padding: 1.5rem;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* 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) {

    html, body { overflow-x: hidden; max-width: 100%; }
    /* Tighter header */
    .navbar { padding: 0.5rem 1rem; }
    .logo { font-size: 1rem; }
    .user-status { display: none; }

    /* Main layout becomes a column */
    .main-layout { flex-direction: column; overflow-y: auto; gap: 0; padding: 0; }

    /* ---- ROSTER: horizontal scrolling strip ---- */
    .roster-panel {
        width: 100%; min-width: 100%;
        background-color: var(--bg-dark);
        padding: 0.5rem 0.75rem;
        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: stretch; gap: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    /* Hide heading, legal links, GeoTek on mobile */
    .roster-panel h2 { display: none; }
    .legal-links { display: none; }
    .geotek-glow { display: none !important; }

    /* Bot cards — compact vertical card */
    .bot-card {
        display: inline-flex; flex-direction: column;
        align-items: center; justify-content: flex-start;
        min-width: 80px; max-width: 80px;
        padding: 0.5rem 0.4rem; border-radius: 10px;
        margin-bottom: 0; text-align: center;
        white-space: normal; flex-shrink: 0; gap: 0.25rem;
    }

    /* Avatar on mobile */
    .bot-avatar-img { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; }

    /* Sport icon */
    .bot-sport-icon { font-size: 1rem; width: auto; }

    /* Bot name */
    .bot-info h3 { font-size: 0.6rem; margin: 0; line-height: 1.2; white-space: normal; word-break: break-word; }

    /* Hide sport subtitle */
    .bot-info p { display: none; }

    /* Profile button visible on mobile */
    .bot-profile-link {
        font-size: 0.55rem; padding: 0.15rem 0.4rem;
        border-radius: 8px; margin-left: 0;
        display: block; width: 100%; text-align: center; box-sizing: border-box;
    }

    /* ---- ARENA: tight, no wasted space ---- */
    .arena-panel {
        order: 2; width: 100%;
        padding: 0.75rem 1rem; flex: none;
        justify-content: center; gap: 0.5rem;
    }

    /* Shrink status indicator */
    .status-indicator { font-size: 0.75rem; margin-bottom: 0.25rem; }

    /* Hide empty waveform placeholder on mobile */
    .audio-visualizer { display: none; }

    /* Talk button full width */
    #talk-button { width: 100%; max-width: 100%; padding: 1rem; font-size: 1rem; margin: 0; }
    .sub-text { font-size: 0.7rem; margin-top: 0.4rem; }

    /* ---- BETTING RAIL: compact at bottom ---- */
    .betting-rail {
        order: 3; width: 100%; min-width: 100%;
        padding: 0.5rem 0.75rem; 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.8rem; margin: 0 0 0.3rem 0; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
    .promo-card { flex: 1; min-width: 130px; padding: 0.6rem; margin-bottom: 0; }
    .promo-card h4 { margin: 0 0 0.2rem; font-size: 0.8rem; }
    .promo-card p  { margin: 0 0 0.4rem; font-size: 0.72rem; }

    /* Ticker smaller */
    .ticker-item { font-size: 0.75rem; padding: 0 1rem; }

    /* Text input on mobile */
    #text-input-area { max-width: 100% !important; width: 100% !important; }
    #text-input-area input { font-size: 16px !important; } /* prevents iOS zoom */
    #text-question { font-size: 16px !important; padding: 0.6rem 0.75rem !important; }
    #toggle-text-btn { 
        font-size: 0.82rem !important; 
        padding: 0.5rem 1.25rem !important; 
        margin-top: 0.5rem !important;
        display: block !important;
        width: auto !important;
    }

    /* Transcript on mobile */
    #transcript-container { max-width: 100% !important; height: 150px !important; min-height: 150px !important; }

    /* Tighter bot info panel on mobile */
    #bot-info-panel { padding: 0.75rem 1rem !important; margin-bottom: 0.5rem !important; }
    #bot-info-emoji { font-size: 1.8rem !important; margin-bottom: 0.2rem !important; }
    #bot-info-name { font-size: 1.3rem !important; }
    #bot-info-sport { font-size: 0.65rem !important; }
    #bot-info-desc { font-size: 0.72rem !important; }

    /* Arena panel on mobile - allow content to expand */
    .arena-panel { flex: 1 !important; min-height: 0 !important; }
}

/* =========================================
   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);
    }
}gcloud builds submit --config cloudbuild-blog.yaml .