:root {
    --bg-color: #0b0f19;
    --sidebar-bg: #111827;
    --main-bg: #1f2937;
    --player-bg: #111827;
    --accent-color: #f59e0b;
    --accent-hover: #d97706;
    --text-color: #f9fafb;
    --text-muted: #9ca3af;
    --border-color: #374151;
}

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

body {
    font-family: system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 90px;
}

.app-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    flex: 1;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

/* Update this specific block inside your style.css file */
.sidebar {
    /* background-color: var(--sidebar-bg); */
    background-color: #134fcf;
    border-right: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* Height restrictions and scrollbar rules have been completely removed from here */
}


.sidebar-box {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1rem;
}

.sidebar-box h3 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

/* Live Equalizer CSS Visualizer Container Styling */
.css-visualizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 24px;
    width: 30px;
    margin-left: 1rem;
}

.v-bar {
    width: 4px;
    height: 3px;
    background-color: var(--accent-color); /* Matches your amber theme color */
    border-radius: 2px;
    transition: height 0.2s ease;
}

/* Animation triggers controlled by the active play engine state */
.css-visualizer.is-playing .bar1 { animation: dance 0.6s ease-in-out infinite alternate; }
.css-visualizer.is-playing .bar2 { animation: dance 0.9s ease-in-out infinite alternate 0.2s; }
.css-visualizer.is-playing .bar3 { animation: dance 0.7s ease-in-out infinite alternate 0.1s; }
.css-visualizer.is-playing .bar4 { animation: dance 0.8s ease-in-out infinite alternate 0.3s; }

/* Bouncing Equalizer Movement Keyframes */
@keyframes dance {
    0% { height: 4px; }
    100% { height: 24px; }
}


.iframe-container {
    width: 100%;
    min-height: 200px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    border: 1px dashed var(--border-color);
}

.main-content {
    /* background-color: var(--main-bg); */
    background-color: #134fcf;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.branding-hero {
    max-width: 600px;
}

.radio-logo {
    font-size: 5rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: float 4s ease-in-out infinite;
}

.radio-logo.playing {
    animation: pulse 1.5s infinite alternate;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, #eeedff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slogan {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-style: italic;
}

.bottom-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    background-color: var(--glass-player);
    border-top: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 1000;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.4);
}

.player-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 240px;
}
.mini-art {
    width: 45px;
    height: 45px;
    background-color: var(--accent-color);
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.track-info h2 {
    font-size: 1rem;
    font-weight: 600;
}

.track-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.player-center {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 400px;
}

.play-btn {
    background-color: var(--accent-color);
    color: #000;
    border: none;
    padding: 0.75rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.play-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.player-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 240px;
    justify-content: flex-end;
}

.volume-slider {
    width: 100px;
    accent-color: var(--accent-color);
    cursor: pointer;
}

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

@keyframes pulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.4)); }
    100% { transform: scale(1.08); filter: drop-shadow(0 0 15px rgba(245, 158, 11, 0.8)); }
}

@media (max-width: 768px) {
    .app-container { grid-template-columns: 1fr; }
    .sidebar { max-height: none; border-right: none; border-bottom: 1px solid var(--border-color); }
    .bottom-player { padding: 0 1rem; }
    .player-left { display: none; }
}
