/* radio.css */
@import 'colors.css';

/* === HERO SPECIFIC === */
.hero-radio {
    background: url('../../../assets/img/hero.jpg') no-repeat center center/cover;
    height: 60vh;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center content for radio */
    text-align: center;
}

.hero-radio .hero-overlay {
    background: linear-gradient(180deg, rgba(6, 26, 35, 0.6) 0%, var(--bg-color) 100%);
}

/* === RADIO PLAYER === */
.radio-player-container {
    margin-top: -100px;
    /* Overlap hero */
    position: relative;
    z-index: 5;
    margin-bottom: 4rem;
}

.radio-player-card {
    background: rgba(10, 25, 35, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Decorative glow */
.radio-player-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 210, 214, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.live-badge {
    background: var(--accent-red);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(255, 77, 77, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(255, 77, 77, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 25px rgba(255, 77, 77, 0.6);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(255, 77, 77, 0.4);
    }
}

.play-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.play-btn-large {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: var(--text-dark);
    font-size: 2.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 210, 214, 0.3);
}

.play-btn-large:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 210, 214, 0.5);
    background: white;
}

/* Equalizer Animation */
.equalizer-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
    height: 50px;
}

.eq-bar {
    width: 6px;
    background: var(--secondary-color);
    border-radius: 3px;
    animation: equalize 1s infinite alternate ease-in-out;
}

.playing .eq-bar {
    animation-play-state: running;
}

.paused .eq-bar {
    animation-play-state: paused;
    height: 5px !important;
    /* Collapse when paused */
    transition: height 0.3s ease;
}


@keyframes equalize {
    0% {
        height: 10%;
        background: var(--secondary-color);
    }

    50% {
        height: 100%;
        background: var(--primary-color);
    }

    100% {
        height: 40%;
        background: var(--secondary-color);
    }
}

/* Schedule Cards specific tweaks */
.schedule-card {
    border-left: 4px solid transparent;
}

.schedule-card.active {
    border-left-color: var(--primary-color);
    background: linear-gradient(90deg, rgba(0, 210, 214, 0.05) 0%, transparent 100%);
}

.schedule-time {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    display: block;
}