/* Generation Y Radio Player Styles */

.radio-player-container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.radio-player-container {
    font-family: 'Roboto', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.radio-player {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(38, 16, 123, 0.15);
    background: white;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.player-main {
    position: relative;
    padding: 32px 24px;
    background: linear-gradient(135deg, rgba(230, 219, 241, 0.9) 0%, rgba(250, 245, 255, 0.9) 100%);
}

.main-current {
    margin-bottom: 32px;
    display: flex;
    align-items: center;
}

.album-art-container {
    position: relative;
    margin-right: 20px;
}

.radio-player-album-art {
    position: relative;
    z-index: 2;
    width: 120px !important;
    height: 120px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
}

.radio-player-album-art::before {
    content: '';
    display: block;
    position: absolute;
    bottom: -10px;
    right: -10px;
    z-index: 1;
    width: 95%;
    height: 80%;
    background: inherit;
    filter: blur(25px);
    opacity: 0.6;
    border-radius: 8px;
}

.radio-player-album-art.playing {
    animation: albumFloat 3s ease-in-out infinite alternate;
}

.radio-player-album-art img {
    width: 120px !important;
    height: 120px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 8px !important;
    display: block !important;
}

.album-placeholder {
    width: 120px !important;
    height: 120px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, rgba(38, 16, 123, 0.1), rgba(38, 16, 123, 0.05)) !important;
    border-radius: 8px;
}

@keyframes albumFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-5px); }
}

.current-info {
    flex: 1;
    padding-left: 4px;
}

.station-name {
    font-size: 24px;
    font-weight: 500;
    color: #26107B;
    margin-bottom: 4px;
    line-height: 1.2;
}

.now-playing {
    font-size: 11px;
    color: #26107B;
    opacity: 0.7;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.track-info {
    font-size: 14px;
    color: #26107B;
    font-weight: 400;
    line-height: 1.3;
    min-height: 18px;
}

.main-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
}

.control-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.play-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #26107B, #4a1fa5);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(38, 16, 123, 0.3);
    position: relative;
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(38, 16, 123, 0.4);
}

.play-btn:active {
    transform: translateY(0px);
}

.play-btn svg {
    width: 20px;
    height: 20px;
    fill: white;
    transition: all 0.2s ease;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.4);
    padding: 8px 12px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.volume-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.volume-btn:hover {
    background: rgba(38, 16, 123, 0.1);
    opacity: 1;
}

.volume-btn svg {
    width: 16px;
    height: 16px;
    fill: #26107B;
}

.radio-player-volume-slider {
    width: 60px !important;
    height: 3px !important;
    background: rgba(38, 16, 123, 0.2) !important;
    border-radius: 20px !important;
    outline: none !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

.radio-player-volume-slider::-webkit-slider-track {
    width: 100% !important;
    height: 3px !important;
    background: rgba(38, 16, 123, 0.2) !important;
    border-radius: 20px !important;
    border: none !important;
}

.radio-player-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: #26107B !important;
    cursor: pointer !important;
    border: none !important;
    transition: all 0.2s ease !important;
}

.radio-player-volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.3) !important;
    box-shadow: 0 0 8px rgba(38, 16, 123, 0.4) !important;
}

.radio-player-volume-slider::-moz-range-track {
    width: 100% !important;
    height: 3px !important;
    background: rgba(38, 16, 123, 0.2) !important;
    border-radius: 20px !important;
    border: none !important;
}

.radio-player-volume-slider::-moz-range-thumb {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: #26107B !important;
    cursor: pointer !important;
    border: none !important;
    transition: all 0.2s ease !important;
}

.status-section {
    background: white;
    padding: 20px 24px;
    text-align: center;
    line-height: 20px;
}

.status {
    font-size: 11px;
    color: #8D8D8D;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 400;
}

.status.loading {
    color: #26107B;
}

.status.playing {
    color: #2ecc71;
}

.status.error {
    color: #e74c3c;
}

.status.stopped {
    color: #8D8D8D;
}

@media (max-width: 480px) {
    .radio-player {
        width: 100%;
        max-width: 350px;
    }
    
    .player-main {
        padding: 24px 20px;
    }
    
    .main-current {
        flex-direction: column;
        text-align: center;
    }
    
    .album-art-container {
        margin-right: 0;
        margin-bottom: 16px;
    }
    
    .station-name {
        font-size: 20px;
    }
    
    .play-btn {
        width: 44px;
        height: 44px;
    }
    
    .radio-player-volume-slider {
        width: 50px !important;
    }
}