/* Extracted from index.php for caching/performance */
:root {
    --bg-base: #050505;
    --bg-surface: #111113;
    --bg-surface-solid: rgba(10, 10, 12, 0.85);
    --bg-surface-light: rgba(255, 255, 255, 0.03);
    --accent-primary: #10b981;
    --accent-secondary: #059669;
    --text-main: #f8fafc;
    --text-muted: #8b96a5;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(16, 185, 129, 0.5);
    --player-bg: #000000;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 30px -5px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.25);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 9999px;
}

body.light-mode {
    --bg-base: #f1f5f9;
    --bg-surface: #ffffff;
    --bg-surface-solid: rgba(255, 255, 255, 0.95);
    --bg-surface-light: rgba(0, 0, 0, 0.03);
    --accent-primary: #059669;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-highlight: rgba(5, 150, 105, 0.4);
    --player-bg: #e2e8f0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    background-attachment: fixed;
    overflow-x: hidden;
}
.mono { font-family: 'Space Mono', monospace; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-base); border-left: 1px solid var(--border-color); }
::-webkit-scrollbar-thumb { background: var(--bg-surface-light); border: 1px solid var(--border-color); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-primary); }

/* --- HEADER --- */
header {
    background-color: var(--bg-surface-solid);
    border-bottom: 1px solid var(--border-color);
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}
.header-inner {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
    padding: 0.5rem 1.5rem;
    gap: 1rem;
}
.logo-container { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-image-placeholder {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background-color: rgba(16, 185, 129, 0.05);
    border: 1px dashed rgba(16, 185, 129, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.logo-image-placeholder img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo-text {
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--text-main);
    text-transform: uppercase;
    white-space: nowrap;
}
.logo-text span {
    color: var(--accent-primary);
    font-weight: 500;
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-left: 2px;
}
.desktop-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
    padding: 0.5rem 0;
}
.nav-link:hover { color: var(--text-main); }
.header-controls { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.5px;
    background: var(--bg-surface-light);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-color);
    white-space: nowrap;
}
.pulse-dot { width: 8px; height: 8px; background-color: var(--accent-primary); border-radius: 50%; position: relative; }
.pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--accent-primary);
    border-radius: 50%;
    animation: ripple 2s infinite ease-out;
    z-index: -1;
}
@keyframes ripple {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3.5); opacity: 0; }
}

/* NOTE: Remaining styles still in index.php for now.
   Next step: extract full CSS (hero, cards, modals, responsive) here too. */

