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

:root {
    --bg-main: #0a0a0c;
    --bg-gradient: radial-gradient(circle at top right, #1a1a24 0%, #0a0a0c 100%);
    --brand-primary: #7a3dbf;
    --brand-primary-hover: #8f4bde;
    --brand-secondary: #cc31cc;
    --brand-secondary-hover: #e637e6;
    --brand-accent: #4857b8;
    --text-white: #ffffff;
    --text-muted: #b0b0c5;
    --glass-bg: rgba(25, 25, 35, 0.7);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --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(122, 61, 191, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(122, 61, 191, 0); }
    100% { box-shadow: 0 0 0 0 rgba(122, 61, 191, 0); }
}
@keyframes pulseGlowSecondary {
    0% { box-shadow: 0 0 0 0 rgba(204, 49, 204, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(204, 49, 204, 0); }
    100% { box-shadow: 0 0 0 0 rgba(204, 49, 204, 0); }
}
@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; }

/* Header */
.main-header { transition: var(--transition-smooth); z-index: 1050; padding: 1.5rem 0; }
.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: 160px; padding-bottom: 100px; min-height: 100vh; display: flex; align-items: center; }
.hero-bg-blur {
    position: absolute; 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;
}

/* Vinyl */
.vinyl-container { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1/1; margin: 0 auto; }
.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: 90px; height: 90px; border-radius: 50%; background: var(--text-white); color: #000;
    border: none; font-size: 2.5rem; display: flex; align-items: center; justify-content: center;
    transition: var(--transition-smooth); box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}
.btn-play-giant:hover { background: var(--brand-primary); color: #fff; transform: scale(1.1); animation: pulseGlow 2s infinite; }

.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); }

/* 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) { .sticky-player-volume { display: none; } .sticky-player-info { width: 60%; } .sticky-player-controls { width: 40%; justify-content: flex-end; } }
@media (max-width: 576px) { .sticky-player { bottom: 15px; left: 10px; right: 10px; border-radius: 25px; padding: 10px 15px; } }
