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

:root {
    --bg-main: #060608;
    --bg-gradient: radial-gradient(circle at top right, #15151e 0%, #060608 100%);
    --brand-primary: #a191ea;
    --brand-primary-hover: #bcabed;
    --brand-secondary: #c0e9fd;
    --brand-secondary-hover: #d5f2ff;
    --brand-accent: #bcabed;
    --text-white: #ffffff;
    --text-muted: #a0a0b5;
    --glass-bg: rgba(20, 20, 30, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.6);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-main);
    background-image: var(--bg-gradient);
    color: var(--text-white);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-white);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.text-muted { color: var(--text-muted) !important; }
.text-brand { color: var(--brand-primary) !important; }
.bg-brand { background-color: var(--brand-primary) !important; }

/* Glassmorphism */
.glassmorphism {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* Animations */
@keyframes spinVinyl { 100% { transform: rotate(360deg); } }
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(161, 145, 234, 0.4); transform: scale(1); }
    70% { box-shadow: 0 0 0 25px rgba(161, 145, 234, 0); transform: scale(1.05); }
    100% { box-shadow: 0 0 0 0 rgba(161, 145, 234, 0); transform: scale(1); }
}
@keyframes pulseGlowSecondary {
    0% { box-shadow: 0 0 0 0 rgba(192, 233, 253, 0.4); }
    70% { box-shadow: 0 0 0 25px rgba(192, 233, 253, 0); }
    100% { box-shadow: 0 0 0 0 rgba(192, 233, 253, 0); }
}
@keyframes neonPulse {
    0%, 100% { text-shadow: 0 0 10px var(--brand-primary), 0 0 20px var(--brand-primary); }
    50% { text-shadow: 0 0 20px var(--brand-primary), 0 0 40px var(--brand-primary); }
}
@keyframes floatingIcon {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.05); }
}
@keyframes movingGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes slideUpPlayer {
    from { transform: translateY(120%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.fade-in-up { animation: fadeInUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }

/* Footer */
.main-footer { background: transparent; }
.navbar-nav .nav-link { font-weight: 600; font-size: 0.95rem; padding: 0.5rem 1.2rem !important; opacity: 0.8; transition: var(--transition-smooth); position: relative; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { opacity: 1; color: var(--text-white) !important; }
.navbar-nav .nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 0; height: 3px; background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
    transition: var(--transition-smooth); border-radius: 10px;
}
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after { width: 30px; }

/* Hero */
.hero-section { position: relative; padding-top: 20px; padding-bottom: 20px; min-height: 100vh; display: flex; align-items: center; }
.hero-bg-blur {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    filter: blur(80px) brightness(0.25); z-index: -1; transform: scale(1.1); transition: background-image 1.5s ease;
}

/* Background Waves */
.waves-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
}

.wave {
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    border-radius: 40%;
    opacity: 0.3;
    filter: blur(40px);
}

#wave1 { animation: rotateWave 15s linear infinite; }
#wave2 { animation: rotateWave 20s linear infinite; opacity: 0.2; }
#wave3 { animation: rotateWave 25s linear infinite; opacity: 0.1; }

@keyframes rotateWave {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Vinyl */
.vinyl-container { position: relative; width: 100%; max-width: 320px; aspect-ratio: 1/1; margin: 0 auto; transition: var(--transition-smooth); }
.playing .vinyl-container { transform: scale(1.02); }
.vinyl-record {
    width: 100%; height: 100%; border-radius: 50%; background: #050505; border: 12px solid #111;
    box-shadow: inset 0 0 40px #000, 0 30px 60px rgba(0,0,0,0.6);
    position: relative; display: flex; align-items: center; justify-content: center;
}
.album-cover-center {
    width: 42%; height: 42%; border-radius: 50%; background: #222; z-index: 5;
    box-shadow: 0 0 20px rgba(0,0,0,0.8); border: 3px solid #111; position: relative; overflow: hidden;
}
#sonic_art img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.playing .vinyl-record { animation: spinVinyl 6s linear infinite; }

/* Buttons */
.btn-play-giant {
    width: 80px; height: 80px; border-radius: 50%; 
    background: linear-gradient(45deg, var(--brand-primary), var(--brand-secondary), var(--brand-primary));
    background-size: 200% 200%;
    animation: movingGlow 3s linear infinite;
    color: #fff;
    border: 3px solid rgba(255,255,255,0.1); font-size: 2.5rem; display: flex; align-items: center; justify-content: center;
    transition: var(--transition-smooth); box-shadow: 0 15px 35px rgba(161, 145, 234, 0.3);
    position: relative; overflow: hidden;
}
.btn-play-giant i { transform: scale(1); transition: var(--transition-smooth); }
.btn-play-giant:hover { transform: scale(1.05); box-shadow: 0 25px 60px rgba(161, 145, 234, 0.5); }
.playing .btn-play-giant { border-color: rgba(255,255,255,0.3); }

.btn-circle {
    width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1); color: var(--text-white);
    display: flex; align-items: center; justify-content: center; transition: var(--transition-smooth);
}
.btn-circle:hover { background: var(--brand-primary); color: #fff; transform: translateY(-3px); }

/* HD Streaming */
.video-container { position: relative; width: 100%; border-radius: 20px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.video-placeholder {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://images.unsplash.com/photo-1598488035139-bdbb2231ce04?auto=format&fit=crop&q=80&w=1200') center/cover;
    display: flex; align-items: center; justify-content: center;
}
.video-placeholder::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); backdrop-filter: blur(2px); }
.btn-youtube-play {
    position: relative; z-index: 2; font-size: 4rem; color: var(--text-white);
    background: var(--brand-secondary); width: 85px; height: 85px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; border: none;
    transition: var(--transition-smooth); animation: pulseGlowSecondary 2s infinite;
}

/* Program Cards */
.program-card .card-img-wrapper { width: 100%; height: 200px; border-radius: 20px; overflow: hidden; margin-bottom: 1.5rem; background: rgba(255,255,255,0.05); }
.program-card img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-smooth); }
.program-card:hover img { transform: scale(1.1); }
.program-card .badge { background: rgba(122, 61, 191, 0.1) !important; color: var(--brand-primary); border: 1px solid rgba(122, 61, 191, 0.2); font-weight: 700; padding: 6px 12px; border-radius: 8px; }

/* YouTube CTA */
.cta-banner {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    border-radius: 30px; padding: 3.5rem 3rem; position: relative; overflow: hidden;
    box-shadow: 0 20px 40px rgba(255, 0, 0, 0.2);
}
.btn-subscribe { background: var(--text-white); color: #ff0000; font-weight: 800; padding: 1rem 2.5rem; border-radius: 100px; border: none; }

/* Contact Form */
.contact-section { position: relative; overflow: hidden; }
.contact-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(122, 61, 191, 0.15) 0%, transparent 70%); z-index: -1; pointer-events: none; }
.form-label-custom { font-size: 0.75rem; font-weight: 700; color: var(--brand-primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; margin-left: 5px; display: block; }
.form-control-dark { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); color: var(--text-white); border-radius: 18px; padding: 1.1rem 1.4rem; transition: var(--transition-smooth); font-weight: 500; }
.form-control-dark:focus { background: rgba(255, 255, 255, 0.07); border-color: var(--brand-primary); box-shadow: 0 0 0 4px rgba(122, 61, 191, 0.15); color: var(--text-white); transform: translateY(-2px); }
select.form-control-dark { appearance: none; -webkit-appearance: none; -moz-appearance: none; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%237a3dbf' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 1.5rem center; background-size: 14px; }
select.form-control-dark option { background: #111118; color: #fff; padding: 15px; }
.btn-submit-premium { background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary)); color: var(--text-white); font-weight: 800; padding: 1.3rem; border-radius: 20px; border: none; text-transform: uppercase; letter-spacing: 2px; transition: var(--transition-smooth); box-shadow: 0 10px 25px rgba(122, 61, 191, 0.2); }

/* Volume Slider Animation */
.volume-container-animated input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: rgba(255,255,255,0.05);
    height: 6px;
    border-radius: 10px;
    outline: none;
    background-image: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary), var(--brand-primary));
    background-size: 200% 100%;
    animation: movingGlow 4s linear infinite;
}

.volume-container-animated input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px var(--brand-primary);
    transition: var(--transition-smooth);
}

.volume-container-animated input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px var(--brand-primary);
}

/* Player Info Enhancements */
.player-info-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.2rem 1.5rem;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.live-badge {
    background: rgba(161, 145, 234, 0.15);
    color: var(--brand-primary);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    border: 1px solid rgba(161, 145, 234, 0.3);
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.hero-title {
    font-size: 1.6rem;
    line-height: 1.1;
    margin-bottom: 0.8rem;
    background: linear-gradient(to right, #fff, var(--brand-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* STICKY PLAYER */
.sticky-player { position: fixed; bottom: 25px; left: 20px; right: 20px; margin: 0 auto; max-width: 1100px; z-index: 2000; border-radius: 100px; padding: 12px 25px; background: rgba(15, 15, 20, 0.85); backdrop-filter: blur(30px); border: 1px solid rgba(255, 255, 255, 0.15); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); display: flex; align-items: center; justify-content: space-between; animation: slideUpPlayer 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }

.sticky-player-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    overflow: hidden;
}

.sticky-player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex: 1;
}

.sticky-player-volume {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 1;
}

.sticky-thumb { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; flex-shrink: 0; }
.btn-play-mini { width: 48px; height: 48px; border-radius: 50%; background: var(--brand-primary); color: var(--text-white); border: none; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; transition: var(--transition-smooth); }

/* RECENTLY PLAYED BEAUTIFIED */
.sonic_history_row {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    margin-bottom: 12px;
    border-left: 3px solid transparent;
}

.sonic_history_row:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(10px);
    border-left-color: var(--brand-primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.sonic_history_number {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--brand-primary);
    opacity: 0.5;
    margin-right: 20px;
    width: 25px;
    text-align: center;
}

.sonic_history_info {
    flex-grow: 1;
    overflow: hidden;
}

.sonic_history_title {
    font-weight: 700;
    color: var(--text-white);
    font-size: 0.95rem;
    margin-bottom: 2px;
    text-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sonic_history_artist {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 991px) { 
    .hero-section { padding-top: 80px; padding-bottom: 40px; }
    .hero-title { font-size: 2.2rem; text-align: center; }
    .player-info-card { padding: 1.5rem; text-align: center; }
    .live-badge { justify-content: center; width: 100%; }
    .vinyl-container { max-width: 280px; margin-bottom: 2rem; }
    .btn-play-giant { width: 90px; height: 90px; font-size: 2.8rem; margin: 0 auto; }
    .volume-control { width: 100%; margin-top: 1rem; }
    .player-controls-secondary { width: 100%; justify-content: center; margin-top: 2rem; }
    .sticky-player-volume { display: none; } 
    .sticky-player-info { width: 60%; } 
    .sticky-player-controls { width: 40%; justify-content: flex-end; } 
}

@media (max-width: 576px) { 
    .hero-title { font-size: 1.8rem; }
    .btn-play-giant { width: 80px; height: 80px; font-size: 2.5rem; }
    .player-info-card { border-radius: 25px; }
    .sticky-player { bottom: 15px; left: 10px; right: 10px; border-radius: 25px; padding: 10px 15px; } 
}
