* { scroll-behavior: smooth; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #1e40af; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #1e3a8a; }

body { background: #020617; }

#page-loader.loaded { opacity: 0; pointer-events: none; }

.gradient-text {
    background: linear-gradient(135deg, #60a5fa, #22c55e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-hover {
    transition: all 0.3s ease;
}
.glass-hover:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.hero-gradient {
    background: linear-gradient(135deg, #020617 0%, #0e1a45 30%, #1e3a8a 60%, #0f172a 100%);
}

.hero-overlay {
    background: radial-gradient(ellipse at center, rgba(30, 64, 175, 0.15) 0%, transparent 70%);
}

.equalizer-bar {
    height: 3px;
    animation: equalizer 1.2s ease-in-out infinite;
}

.stream-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.stream-card:hover {
    transform: translateY(-4px) scale(1.01);
}

.schedule-grid-item {
    transition: all 0.3s ease;
}
.schedule-grid-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}

.show-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.show-card:hover {
    transform: translateY(-6px);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.pulse-dot {
    animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, #60a5fa, #22c55e);
    transition: transform 0.3s ease;
    border-radius: 1px;
}
.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.btn-primary {
    background: linear-gradient(135deg, #1e40af, #22c55e);
    transition: all 0.3s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}
.btn-outline:hover {
    border-color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
    transform: translateY(-2px);
}

.ripple-btn {
    position: relative;
    overflow: hidden;
}
.ripple-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,0.15), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.ripple-btn:hover::after {
    opacity: 1;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
}

.floating-element {
    animation: float-slow 8s ease-in-out infinite;
}

.floating-element-delayed {
    animation: float-slow 10s ease-in-out 2s infinite;
}

.radio-wave {
    position: relative;
}
.radio-wave::before,
.radio-wave::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(96, 165, 250, 0.3);
    animation: wave-expand 2s ease-out infinite;
}
.radio-wave::after {
    animation-delay: 1s;
}
@keyframes wave-expand {
    0% { width: 100%; height: 100%; opacity: 1; }
    100% { width: 200%; height: 200%; opacity: 0; }
}

.country-flag {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    object-fit: cover;
}

.form-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}
.form-input:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

#nowPlayingScroll {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-text 10s linear infinite;
}
@keyframes scroll-text {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.show-image-gradient {
    background: linear-gradient(135deg, #1e3a8a, #0f172a);
}

@media (max-width: 640px) {
    .hero-title { font-size: 2.5rem; }
    .schedule-grid { grid-template-columns: 1fr; }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .schedule-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1025px) {
    .schedule-grid { grid-template-columns: repeat(3, 1fr); }
}
