/* Floating Radio Modal Styles */

/* Radio player animations */
@keyframes pulse {

    0%,
    100% {
        height: 20%;
    }

    50% {
        height: 100%;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Floating Radio Button */
.radio-button {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7b00, #ff9933);
    border: none;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 123, 0, 0.5);
    z-index: 999;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radio-button svg {
    width: 28px;
    height: 28px;
}

.radio-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 123, 0, 0.7);
}

/* Radio Modal */
.radio-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.radio-modal.active {
    display: flex;
}

.radio-modal-content {
    position: relative;
    max-width: 500px;
    width: 90%;
    animation: slideIn 0.3s ease;
}

.radio-modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.radio-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.custom-radio-player {
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.98), rgba(30, 30, 45, 0.98));
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

/* Volume slider styling */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ff7b00;
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ff7b00;
    cursor: pointer;
    border: none;
}

/* Button hover effects */
#radioPlayBtn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 123, 0, 0.6);
}

#radioStopBtn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}