/* --- MODERN RADYO PLAYER & PLAYLIST STİLLERİ --- */
.modern-radio-wrapper {
    width: 100%;
    margin: 0px auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    background: #000;
    overflow: hidden; /* Taşmaları gizle */
    position: relative;
    border: 1px solid #333;
}

/* ÜST KISIM: PLAYER */
.player-head {
    padding: 15px;
    background: linear-gradient(135deg, #0a0a0a 0%, #052605 100%);
    position: relative;
    z-index: 5;
}

.radio-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.radio-logo {
    font-size: 22px;
    color: #2ecc71;
    background: rgba(255,255,255,0.05);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.1);
    transition: 0.5s;
}

.radio-logo.playing {
    animation: spin 4s linear infinite;
    box-shadow: 0 0 15px #2ecc71;
    color: #fff;
    background: #2ecc71;
}

.radio-info {
    flex-grow: 1;
    margin-left: 15px;
    overflow: hidden;
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    margin-top: 3px;
}

.marquee-text {
    display: inline-block;
    padding-left: 100%;
    animation: textScroll 12s linear infinite;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
}

/* İlerleme Çubuğu */
.progress-area {
    height: 5px;
    background: #333;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px 0 5px 0;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    width: 0%;
    border-radius: 5px;
    position: relative;
}

/* Top (Daire) Efekti */
.progress-bar::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -3px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 5px #fff;
    opacity: 0;
    transition: opacity 0.2s;
}
.progress-area:hover .progress-bar::after { opacity: 1; }

.time-row {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #888;
}

/* Butonlar */
.controls-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.btn-ctrl {
    background: none;
    border: none;
    color: #aaa;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
    padding: 5px;
}
.btn-ctrl:hover { color: #fff; transform: scale(1.1); }

.btn-play {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 0 10px rgba(255,255,255,0.3);
}
.btn-play:hover { background: #2ecc71; color: #fff; }

.btn-playlist {
    color: #3498db;
    position: relative;
}
.btn-playlist.active { color: #2ecc71; text-shadow: 0 0 8px #2ecc71; }

/* ALT KISIM: PLAYLIST (Açılır/Kapanır) */
.playlist-box {
    max-height: 0; /* Başlangıçta kapalı */
    overflow-y: auto;
    background: #111;
    transition: max-height 0.4s ease-in-out;
    border-top: 1px solid #222;
}
.playlist-box.show {
    max-height: 200px; /* Açılınca yükseklik */
}

/* Scrollbar Tasarımı */
.playlist-box::-webkit-scrollbar { width: 5px; }
.playlist-box::-webkit-scrollbar-track { background: #111; }
.playlist-box::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; }

.playlist-ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.playlist-li {
    padding: 10px 15px;
    border-bottom: 1px solid #222;
    font-size: 12px;
    color: #bbb;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: 0.2s;
}

.playlist-li:hover {
    background: #1a1a1a;
    color: #fff;
    padding-left: 20px; /* Sağa kayma efekti */
}

.playlist-li.active-song {
    background: #0f2912;
    color: #2ecc71;
    font-weight: bold;
    border-left: 4px solid #2ecc71;
}

.playlist-li i { margin-right: 10px; font-size: 10px; }

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes textScroll { 0% { transform: translate(0, 0); } 100% { transform: translate(-100%, 0); } }