:root {
    --color-royal-blue: #0A1B4B;
    --color-dark-navy: #030A1F;
    --color-gold: #FFD700;
    --color-gold-hover: #FFED4A;
    --color-white: #FFFFFF;
    --color-text-muted: #A0B0D0;
    --glass-bg: rgba(10, 27, 75, 0.65);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --font-main: 'Montserrat', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); color: var(--color-white); background-color: var(--color-dark-navy); min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
.background-wrapper { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; background: url('../assets/background.jpg') center/cover no-repeat; background-attachment: fixed; }
.background-wrapper::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(3, 10, 31, 0.4) 0%, rgba(3, 10, 31, 0.9) 100%); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); }
.ambient-light { position: absolute; top: 20%; left: 50%; transform: translate(-50%, -50%); width: 60vw; height: 60vh; background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, transparent 70%); animation: ambientPulse 8s infinite alternate ease-in-out; }
.watermark { position: absolute; bottom: -10%; right: -5%; width: 50vw; height: 50vw; background: url('../assets/logo.png') center/contain no-repeat; opacity: 0.05; filter: grayscale(100%); pointer-events: none; }
@keyframes ambientPulse { 0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; } 100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; } }
.text-center { text-align: center; } .hidden { display: none !important; }
.main-header { display: flex; justify-content: space-between; align-items: center; padding: 2rem 5%; width: 100%; max-width: 1400px; margin: 0 auto; }
.logo-container .header-logo { height: 60px; width: auto; }
.header-titles { text-align: center; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.header-titles h1 { font-size: 2.2rem; font-weight: 800; color: var(--color-gold); letter-spacing: 1px; }
.header-titles h2 { font-size: 1.2rem; font-weight: 600; margin: 0.2rem 0; }
.header-titles p { font-size: 0.9rem; color: var(--color-text-muted); }
.live-btn { background: var(--glass-bg); border: 1px solid var(--glass-border); padding: 0.6rem 1.2rem; border-radius: 30px; font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; gap: 8px; box-shadow: var(--glass-shadow); }
.pulse-dot { width: 10px; height: 10px; background-color: #FF3B30; border-radius: 50%; box-shadow: 0 0 10px #FF3B30; animation: pulseRed 1.5s infinite; }
@keyframes pulseRed { 0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(255, 59, 48, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); } }
.player-container { display: grid; grid-template-columns: 1fr 380px; gap: 24px; max-width: 1400px; margin: 2rem auto; padding: 0 5%; flex: 1; align-items: stretch; }
.card { background: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--glass-border); border-radius: 20px; box-shadow: var(--glass-shadow); padding: 2rem; position: relative; overflow: hidden; }
.player-card { display: flex; flex-direction: column; justify-content: space-between; }
.time-badge { position: absolute; top: 1.5rem; right: 1.5rem; background: var(--color-gold); color: var(--color-dark-navy); padding: 0.4rem 1rem; border-radius: 12px; font-size: 0.8rem; font-weight: 700; }
.player-top { display: flex; align-items: center; gap: 2rem; margin-top: 1rem; }
.artwork-container { width: 160px; height: 160px; border-radius: 50%; padding: 5px; background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0)); box-shadow: 0 0 30px rgba(0, 102, 255, 0.3), inset 0 0 20px rgba(255,255,255,0.1); position: relative; }
.artwork-container::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 50%; box-shadow: inset 0 2px 10px rgba(255,255,255,0.3); pointer-events: none; }
.artwork { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 10px 20px rgba(0,0,0,0.5); transition: transform 0.3s ease; }
.is-playing .artwork { animation: rotateArtwork 12s linear infinite, breatheArtwork 4s ease-in-out infinite alternate; }
@keyframes rotateArtwork { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes breatheArtwork { from { filter: drop-shadow(0 0 15px rgba(0,102,255,0.4)); } to { filter: drop-shadow(0 0 25px rgba(255,215,0,0.6)); } }
.status-label { font-size: 0.75rem; font-weight: 700; color: var(--color-text-muted); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 0.5rem; }
.program-title { font-size: 2.2rem; font-weight: 800; margin-bottom: 0.2rem; line-height: 1.1; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.program-host { font-size: 1.1rem; color: var(--color-white); opacity: 0.9; }
.visualizer-container { width: 100%; height: 100px; margin: 2rem 0; position: relative; }
#visualizer { width: 100%; height: 100%; display: block; }
.controls-container { display: flex; align-items: center; gap: 1.5rem; width: 100%; }
.play-btn { width: 56px; height: 56px; border-radius: 50%; background: var(--color-gold); border: none; color: var(--color-dark-navy); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4); transition: all 0.3s ease; flex-shrink: 0; }
.play-btn:hover { transform: scale(1.05); background: var(--color-gold-hover); box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6); }
.play-btn svg { width: 28px; height: 28px; }
.volume-container { display: flex; align-items: center; gap: 10px; flex: 1; }
.volume-slider { -webkit-appearance: none; width: 100%; height: 4px; background: rgba(255, 255, 255, 0.2); border-radius: 2px; outline: none; }
.volume-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--color-gold); cursor: pointer; box-shadow: 0 0 10px rgba(255, 215, 0, 0.5); transition: transform 0.2s; }
.volume-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.live-indicator { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 700; color: #4CD964; }
.live-dot { width: 8px; height: 8px; background: #4CD964; border-radius: 50%; }
.signal-bars { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.signal-bars span { display: block; width: 3px; background: #4CD964; border-radius: 1px; }
.is-playing .signal-bars span:nth-child(1) { animation: signalBounce 1s infinite; }
.is-playing .signal-bars span:nth-child(2) { animation: signalBounce 1.2s infinite 0.2s; }
.is-playing .signal-bars span:nth-child(3) { animation: signalBounce 0.9s infinite 0.4s; }
@keyframes signalBounce { 0%, 100% { height: 4px; } 50% { height: 14px; } }
.info-sidebar { display: flex; flex-direction: column; gap: 16px; }
.info-sidebar .card { padding: 1.5rem; }
.info-card h3 { font-size: 1.1rem; margin-bottom: 0.8rem; }
.info-card p { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.4; margin-bottom: 1rem; }
.stats-row { display: flex; justify-content: space-between; text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem; }
.stat-value { display: block; font-size: 1.1rem; font-weight: 800; color: var(--color-gold); }
.stat-label { display: block; font-size: 0.65rem; color: var(--color-text-muted); text-transform: uppercase; margin-top: 4px; }
.next-program-card h4 { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.2rem; }
.next-program-card p { font-size: 0.85rem; color: var(--color-text-muted); }
.next-time { position: absolute; bottom: 0; right: 0; background: rgba(0,0,0,0.4); padding: 0.4rem 0.8rem; border-top-left-radius: 12px; font-size: 0.75rem; font-weight: 600; }
.social-card { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.social-links { display: flex; gap: 1rem; margin: 1rem 0; }
.social-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: var(--color-gold); transition: all 0.3s ease; }
.social-icon svg { width: 20px; height: 20px; }
.social-icon:hover { background: var(--color-gold); color: var(--color-dark-navy); transform: translateY(-3px); }
.social-handle { font-size: 0.85rem; font-weight: 600; }
.main-footer { text-align: center; padding: 2rem; margin-top: auto; }
.main-footer a { color: var(--color-white); text-decoration: none; font-weight: 700; font-size: 1.1rem; transition: color 0.3s; }
.main-footer a:hover { color: var(--color-gold); }
.main-footer p { font-size: 0.75rem; color: var(--color-text-muted); margin-top: 0.5rem; }
@media (max-width: 1024px) { .player-container { grid-template-columns: 1fr; } .header-titles h1 { font-size: 1.8rem; } }
@media (max-width: 768px) { .main-header { flex-direction: column; gap: 1rem; text-align: center; } .player-top { flex-direction: column; text-align: center; margin-top: 2rem; } .time-badge { position: relative; top: 0; right: 0; display: inline-block; margin: 0 auto 1rem auto; align-self: center; } .controls-container { flex-wrap: wrap; justify-content: center; } .volume-container { min-width: 200px; order: 3; margin-top: 1rem; } }
