/* Radio Player Stilleri */
.radio-player {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: linear-gradient(135deg, #1b8bb4, #22c55e);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(27, 139, 180, 0.3);
    margin-top: 10px;
    position: relative;
}

.radio-player .btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.radio-player .btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.radio-station-name {
    flex: 1;
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 80px;
}

/* Digital Clock - Entegre Edilmiş */
.radio-player .digital-clock {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(0, 0, 0, 0.3);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    font-family: 'Orbitron', 'Share Tech Mono', monospace;
    font-weight: 700;
    flex-shrink: 0;
}

.radio-player .time-hours,
.radio-player .time-minutes {
    color: #00ff88;
    font-size: 18px;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.8),
        0 0 20px rgba(0, 255, 136, 0.4);
    letter-spacing: 1px;
}

.radio-player .time-separator {
    color: #00ff88;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0.3;
    }
}

/* Radio Equalizer - Müzik Çubuğu (Her Zaman Görünür) */
.radio-equalizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
    padding: 0 8px;
    flex-shrink: 0;
}

.radio-equalizer .bar {
    width: 3px;
    background: linear-gradient(to top, #00ff88, #00ffff);
    border-radius: 2px;
    box-shadow: 0 0 5px rgba(0, 255, 136, 0.6);
    transition: all 0.3s ease;
}

/* Sabit yükseklikler - radyo durunca bu yüksekliklerde kalır */
.radio-equalizer .bar:nth-child(1) {
    height: 60%;
}

.radio-equalizer .bar:nth-child(2) {
    height: 80%;
}

.radio-equalizer .bar:nth-child(3) {
    height: 100%;
}

.radio-equalizer .bar:nth-child(4) {
    height: 70%;
}

/* Animasyon - sadece radyo çalarken */
.radio-equalizer.active .bar {
    animation: equalize 0.6s ease-in-out infinite;
}

.radio-equalizer.active .bar:nth-child(1) {
    animation-delay: 0s;
}

.radio-equalizer.active .bar:nth-child(2) {
    animation-delay: 0.15s;
}

.radio-equalizer.active .bar:nth-child(3) {
    animation-delay: 0.3s;
}

.radio-equalizer.active .bar:nth-child(4) {
    animation-delay: 0.45s;
}

@keyframes equalize {

    0%,
    100% {
        transform: scaleY(0.3);
    }

    50% {
        transform: scaleY(1);
    }
}

/* Radio Overlay */
.radio-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 9998;
}

.radio-overlay.active {
    display: block;
}

/* Radio Playlist Modal */
.radio-playlist-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 500px;
    max-width: 90%;
    max-height: 80vh;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.radio-playlist-modal.active {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Radio Playlist Header */
.radio-playlist-header {
    background: linear-gradient(135deg, #1b8bb4, #22c55e);
    color: white;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.radio-playlist-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.radio-playlist-header h3 i {
    font-size: 22px;
}

.radio-playlist-close {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-playlist-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Radio Playlist Body */
.radio-playlist-body {
    padding: 15px;
    max-height: 500px;
    overflow-y: auto;
}

/* Custom Scrollbar */
.radio-playlist-body::-webkit-scrollbar {
    width: 8px;
}

.radio-playlist-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.radio-playlist-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1b8bb4, #22c55e);
    border-radius: 10px;
}

.radio-playlist-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #167a9e, #16a34a);
}

/* Radio Station Item */
.radio-station-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.radio-station-item:hover {
    background: linear-gradient(135deg, rgba(27, 139, 180, 0.1), rgba(34, 197, 94, 0.1));
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(27, 139, 180, 0.2);
}

.radio-station-item.active {
    background: linear-gradient(135deg, #1b8bb4, #22c55e);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 20px rgba(27, 139, 180, 0.4);
}

.radio-station-item.active .radio-station-name-text,
.radio-station-item.active .radio-station-frequency {
    color: white;
}

.radio-station-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1b8bb4, #22c55e);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(27, 139, 180, 0.3);
}

.radio-station-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    flex-shrink: 0;
    object-fit: contain;
    box-shadow: 0 4px 12px rgba(27, 139, 180, 0.3);
    background: white;
    padding: 5px;
}

.radio-station-item.active .radio-station-icon {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.radio-station-item.active .radio-station-logo {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.2);
}

.radio-station-info {
    flex: 1;
}

.radio-station-name-text {
    font-weight: 600;
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 4px;
}

.radio-station-frequency {
    font-size: 13px;
    color: #6c757d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .radio-playlist-modal {
        width: 95%;
        max-height: 85vh;
    }

    .radio-playlist-header {
        padding: 15px 20px;
    }

    .radio-playlist-header h3 {
        font-size: 18px;
    }

    .radio-station-item {
        padding: 12px;
        gap: 12px;
    }

    .radio-station-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .radio-station-logo {
        width: 45px;
        height: 45px;
    }

    .radio-station-name-text {
        font-size: 14px;
    }

    .radio-station-frequency {
        font-size: 12px;
    }

    .radio-player {
        gap: 8px;
        padding: 10px 14px;
        flex-wrap: wrap;
    }

    .radio-player .digital-clock {
        padding: 4px 10px;
    }

    .radio-player .time-hours,
    .radio-player .time-minutes {
        font-size: 16px;
    }

    .radio-player .time-separator {
        font-size: 16px;
    }

    .radio-equalizer {
        height: 18px;
        padding: 0 6px;
    }

    .radio-equalizer .bar {
        width: 2.5px;
    }
}

@media (max-width: 480px) {
    .radio-player {
        gap: 6px;
        padding: 8px 12px;
    }

    .radio-player .btn {
        min-width: 36px;
        height: 36px;
    }

    .radio-station-name {
        font-size: 12px;
        min-width: 60px;
    }

    .radio-player .digital-clock {
        padding: 4px 8px;
    }

    .radio-player .time-hours,
    .radio-player .time-minutes {
        font-size: 14px;
    }

    .radio-player .time-separator {
        font-size: 14px;
    }

    .radio-equalizer {
        height: 16px;
        padding: 0 5px;
    }

    .radio-equalizer .bar {
        width: 2px;
    }
}