@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --brand-yellow: #eab308;
    --bg-dark: #050505;
    --card-bg: rgba(255, 255, 255, 0.03);
    --neon-blue: #00f2ff;
    --top-chart-blue: #0ea5e9;
    --blue-gradient: linear-gradient(135deg, #7dd3fc 0%, #0ea5e9 100%);
    --led-white: rgba(255, 255, 255, 0.15);
}

body {
    background: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 50% -10%, rgba(234, 179, 8, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(0, 242, 255, 0.05) 0%, transparent 30%);
    min-height: 100vh;
    color: white;
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.glass-effect {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.channel-card {
    position: relative;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.channel-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--neon-blue);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 242, 255, 0.2);
    background: rgba(255, 255, 255, 0.07);
}

.active-channel {
    background: rgba(0, 242, 255, 0.08) !important;
    border-color: var(--neon-blue) !important;
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.25);
}

.listener-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(20, 20, 20, 0.85));
    backdrop-filter: blur(10px);
    padding: 4px 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.listener-icon {
    font-size: 8px;
    color: #10b981; 
}

.listener-count-text {
    font-size: 9px;
    font-weight: 800;
    color: white;
}

.player-glass {
    background: rgba(8, 8, 8, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 2px solid var(--neon-blue);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 242, 255, 0.3);
}

.category-pill {
    background: rgba(255, 255, 255, 0.03);
    color: #71717a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.category-pill.active {
    background: var(--blue-gradient);
    color: #ffffff;
    font-weight: 700;
    border-color: transparent;
}

#visualizer-canvas {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
    pointer-events: none;
}

.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.volume-range {
    -webkit-appearance: none;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    outline: none;
}

.blue-gradient-text {
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-right: 2px;
}

.chart-number {
    background: var(--blue-gradient);
    color: white;
    position: absolute;
    top: -10px;
    left: -10px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    z-index: 20;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 640px) {
    .hero-title { font-size: 3.5rem; }
    .player-glass { border-radius: 2rem 2rem 0 0; }
}
