/*
Theme Name: Kaya Medya Radyo
Theme URI: https://kayamedya.com.tr
Author: Kaya Medya
Author URI: https://kayamedya.com.tr
Description: Kaya Medya kurumsal radyo teması. Numaralı slider, canlı yayın player (sayfa geçişlerinde kesilmez), frekans CPT, programcı CPT, istek-mesaj formu, sabit player.
Version: 2.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kaya-medya
Tags: radio, broadcast, music, custom-menu, custom-logo, featured-images, translation-ready
*/

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark) url('assets/hero_bg.png') no-repeat center top fixed;
    background-size: cover;
    color: var(--text-white);
    min-height: 100vh;
    padding-bottom: 130px;
    overflow-x: hidden;
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

:root {
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --primary: #ff4500;
    --live: #00ff66;
    --whatsapp: #25d366;
    --text-white: #ffffff;
    --text-gray: #b3b3b3;
    --glass: rgba(30, 30, 30, 0.75);
    --border: rgba(255, 255, 255, 0.08);
    --header-h: 70px;
    --player-h: 110px;
}

/* ==================== HEADER ==================== */
.radio-header {
    position: sticky; top: 0; z-index: 100;
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 40px;
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    min-height: var(--header-h);
}
.radio-logo { font-size: 24px; font-weight: 800; color: var(--primary); flex: 0 0 auto; display: flex; align-items: center; transition: all .3s; }
.logo-align-left { margin-right: auto; }
.logo-align-center { position: absolute; left: 50%; transform: translateX(-50%); z-index: 10; }
.logo-align-right { margin-left: auto; order: 3; }
.radio-nav { display: flex; gap: 28px; list-style: none; }
.radio-nav a { color: var(--text-white); text-decoration: none; font-weight: 500; font-size: 14px; transition: color .3s; }
.radio-nav a:hover { color: var(--primary); }
.wa-header {
    background: var(--whatsapp) !important; color: white !important;
    padding: 10px 18px; border-radius: 25px;
    font-weight: 600; text-decoration: none; font-size: 13px; transition: transform .2s;
    display: inline-block;
}
.wa-header:hover { transform: scale(1.05); }

/* Hamburger */
.hamburger {
    display: none; background: transparent; border: none;
    color: white; font-size: 28px; cursor: pointer; padding: 0 8px;
    width: 40px; height: 40px; align-items: center; justify-content: center;
}
.mobile-menu {
    display: none; position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--bg-card); z-index: 99; padding: 20px 0;
    border-bottom: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu a {
    display: block; padding: 14px 24px; color: var(--text-white);
    font-weight: 500; border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { background: var(--bg-dark); color: var(--primary); }
.mobile-menu .wa-mobile { margin: 15px 24px 5px; text-align: center; }

/* ==================== FREKANS BARI ==================== */
.freq-bar {
    background: linear-gradient(90deg, #1a1a1a, #222, #1a1a1a);
    padding: 14px 0; overflow: hidden; border-bottom: 1px solid var(--border);
}
.freq-track {
    display: flex; gap: 60px; white-space: nowrap;
    animation: scroll 25s linear infinite; font-weight: 600;
    color: var(--text-gray); font-size: 14px; letter-spacing: 1px; padding-left: 20px;
}
.freq-track .freq-city { color: var(--primary); margin-right: 8px; font-weight: 700; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ==================== CANLI YAYINDA (YAYINCI) ==================== */
.live-broadcaster {
    background: linear-gradient(90deg, rgba(0,255,102,.08), rgba(0,255,102,.02));
    border-bottom: 1px solid rgba(0,255,102,.2);
    padding: 12px 20px; text-align: center;
}
.live-broadcaster .live-text {
    color: var(--live); font-weight: 800; font-size: 15px; letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0,255,102,.5);
    animation: livePulse 1.5s ease-in-out infinite;
    display: inline-flex; align-items: center; gap: 8px;
}
.live-broadcaster .live-dot {
    width: 10px; height: 10px; background: var(--live); border-radius: 50%;
    box-shadow: 0 0 10px var(--live);
    animation: dotPulse 1s ease-in-out infinite;
}
@keyframes livePulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }
@keyframes dotPulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.3); opacity: .6; } }

/* ==================== SLIDER (NUMARALI, TAM EKRAN) ==================== */
.full-slider {
    position: relative; width: 100%; height: 450px;
    overflow: hidden; background: #000;
}
.slider-track { position: relative; width: 100%; height: 100%; }
.slide {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0; transition: opacity 1s ease;
    background-size: cover; background-position: center; background-color: #1a1a1a;
}
.slide.active { opacity: 1; }
.slide::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.3) 50%, transparent 100%);
}
.slide-content {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 8;
    color: white; background: rgba(0, 0, 0, 0.7);
    padding: 20px 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
}
.slide-content h2 { font-size: 24px; font-weight: 700; margin: 0; line-height: 1.2; }
.slide-counter {
    position: absolute; top: 20px; right: 30px; z-index: 10;
    background: rgba(0,0,0,.6); color: white; padding: 8px 16px;
    border-radius: 25px; font-weight: 700; font-size: 16px;
    border: 1px solid var(--border);
}
.slider-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
    background: rgba(0,0,0,.5); color: white; border: 1px solid var(--border);
    width: 50px; height: 50px; border-radius: 50%; font-size: 24px;
    cursor: pointer; transition: all .3s;
}
.slider-arrow:hover { background: var(--primary); border-color: var(--primary); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-dots {
    position: absolute; bottom: 24px; right: 40px; z-index: 10;
    display: flex; gap: 8px;
}
.slider-dots .dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,.4); cursor: pointer; transition: all .3s; border: none;
}
.slider-dots .dot.active { background: var(--primary); width: 30px; border-radius: 5px; }

/* ==================== KAYAN İSTEK/MESAJ ŞERİDİ (HIZLI) ==================== */
.marquee-section {
    background: rgba(255, 69, 0, 0.08); border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border); padding: 14px 0; overflow: hidden;
    margin: 0;
}
.marquee-track {
    display: flex; animation: scroll 18s linear infinite; white-space: nowrap;
    color: var(--text-white); font-size: 15px; padding-left: 20px; font-weight: 500;
}
.marquee-track .msg {
    margin-right: 50px; color: var(--text-white);
    display: inline-flex; align-items: center; gap: 8px;
}
.marquee-track .msg::before { content: '💬'; }
.marquee-track .msg .author { color: var(--primary); font-weight: 700; }

/* ==================== SECTION GENEL ==================== */
.section { padding: 50px 40px; max-width: 1200px; margin: 0 auto; }
.section + .section { padding-top: 15px; }
.section h2 {
    display: table;
    margin: 0 auto 30px auto;
    position: relative;
    background: linear-gradient(90deg, #6b0c0c 0%, #a81c1c 50%, #6b0c0c 100%);
    color: #ffffff;
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 14px 60px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    letter-spacing: 2px;
    z-index: 1;
}
.section h2::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 10px;
    background: #6b0c0c;
    border-radius: 5px;
    box-shadow: 
        10px -14px 0 -2px #750d0d,
        15px 14px 0 -1px #6b0c0c;
    z-index: -1;
}
.section h2::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 10px;
    background: #6b0c0c;
    border-radius: 5px;
    box-shadow: 
        -10px -14px 0 -2px #6b0c0c,
        -15px 14px 0 -1px #750d0d;
    z-index: -1;
}

.prog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
@media (max-width: 1024px) {
    .prog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.prog-card { background: var(--bg-card); border-radius: 16px; overflow: hidden; border: 1px solid var(--border); transition: all .3s; }
.prog-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 10px 30px rgba(255,69,0,.1); }
.prog-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
}
.prog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.prog-info { padding: 20px; text-align: center; }
.prog-info h3 { font-size: 20px; margin-bottom: 8px; }
.prog-info .time { color: var(--primary); font-weight: 600; font-size: 13px; margin-bottom: 15px; display: block; }
.prog-info a { color: var(--text-white); text-decoration: none; font-weight: 600; font-size: 14px; }
.prog-info a:hover { color: var(--primary); }

/* ==================== REKLAM-SPONSOR TAM EKRAN ==================== */
.sponsor-section {
    background: linear-gradient(135deg, var(--whatsapp) 0%, #128c7e 100%);
    padding: 60px 20px; text-align: center; color: white;
    margin: 0;
}
.sponsor-section h2 { font-size: 36px; font-weight: 800; margin-bottom: 15px; }
.sponsor-section p { font-size: 18px; margin-bottom: 30px; max-width: 700px; margin-left: auto; margin-right: auto; opacity: .95; }
.btn-sponsor {
    display: inline-block; background: white; color: #128c7e;
    padding: 18px 50px; border-radius: 35px; font-weight: 800; font-size: 18px;
    text-decoration: none; transition: all .3s; box-shadow: 0 5px 20px rgba(0,0,0,.2);
}
.btn-sponsor:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(0,0,0,.3); }

/* ==================== İSTEK FORMU ==================== */
.request-section { background: var(--bg-card); border-radius: 16px; padding: 40px; margin: 40px auto; max-width: 800px; border: 1px solid var(--border); }
.request-section h2 { margin-bottom: 25px; }
.request-form { display: grid; gap: 15px; }
.request-form input, .request-form textarea, .request-form select {
    background: var(--bg-dark); border: 1px solid var(--border); color: var(--text-white);
    padding: 14px 18px; border-radius: 8px; font-size: 14px; font-family: inherit; width: 100%;
}
.request-form input:focus, .request-form textarea:focus, .request-form select:focus { outline: none; border-color: var(--primary); }
.request-form textarea { min-height: 100px; resize: vertical; }
.request-form .form-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-submit { background: var(--primary); color: white; border: none; padding: 14px 30px; border-radius: 8px; font-weight: 700; font-size: 15px; cursor: pointer; transition: all .3s; flex: 1; }
.btn-submit:hover { background: #ff5a1f; transform: translateY(-1px); }
.btn-wa-form { background: var(--whatsapp); color: white; text-decoration: none; padding: 14px 30px; border-radius: 8px; font-weight: 700; font-size: 15px; display: inline-block; text-align: center; flex: 1; }
.btn-wa-form:hover { background: #1eb854; }

/* ==================== FOOTER ==================== */
.radio-footer { background: #0a0a0a; border-top: 1px solid var(--border); padding: 50px 40px 20px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto 30px; }
.footer-col h4 { color: var(--primary); margin-bottom: 15px; font-size: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; font-size: 14px; color: var(--text-gray); }
.footer-col a { color: var(--text-gray); text-decoration: none; transition: color .3s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid var(--border); color: var(--text-gray); font-size: 13px; }
.social-icons { display: flex; gap: 12px; margin-top: 10px; }
.social-icons a {
    width: 40px; height: 40px; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-gray); transition: all .3s; font-size: 16px;
}
.social-icons a:hover { background: var(--primary); color: white; border-color: var(--primary); transform: translateY(-3px); }

.wa-floating { display: none; }

/* ==================== PLAYER (BÜYÜK & SABİT) ==================== */
.radio-player {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(0,0,0,.95); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    padding: 16px 30px; min-height: var(--player-h);
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.player-song { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; }
.player-cover {
    width: 70px; height: 70px; border-radius: 12px;
    background: linear-gradient(45deg, var(--primary), #ff8c00);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: white; flex-shrink: 0;
    box-shadow: 0 0 20px rgba(255,69,0,.4);
    animation: coverPulse 2s ease-in-out infinite;
}
@keyframes coverPulse { 0%,100% { box-shadow: 0 0 20px rgba(255,69,0,.4); } 50% { box-shadow: 0 0 30px rgba(255,69,0,.7); } }
.player-info { min-width: 0; overflow: hidden; }
.player-external-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
    flex-shrink: 0;
}
.player-external-links a {
    opacity: 0.7;
    transition: opacity 0.2s, transform 0.2s;
    display: inline-flex;
    align-items: center;
}
.player-external-links a:hover {
    opacity: 1;
    transform: scale(1.15);
}
.player-external-links img {
    height: 24px;
    width: auto;
    object-fit: contain;
    display: block;
}
.player-info h4 { font-size: 16px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
.player-info p { font-size: 13px; color: var(--text-gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-controls { display: flex; gap: 14px; align-items: center; flex-shrink: 0; }
.play-btn-big {
    width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), #ff8c00);
    border: none; color: white; font-size: 24px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: all .2s;
    box-shadow: 0 0 20px rgba(255,69,0,.4);
}
.play-btn-big:hover { transform: scale(1.1); box-shadow: 0 0 30px rgba(255,69,0,.7); }
.btn-wa-player { background: var(--whatsapp); color: white; padding: 12px 22px; border-radius: 30px; text-decoration: none; font-weight: 700; font-size: 14px; white-space: nowrap; transition: all .2s; }
.btn-wa-player:hover { transform: scale(1.05); background: #1eb854; }
.volume-wrap { display: flex; align-items: center; gap: 8px; }
.volume-wrap input[type=range] { width: 100px; accent-color: var(--primary); }
.btn-mute { background: transparent; border: 1px solid var(--border); color: white; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 16px; }
.btn-mute:hover { background: var(--bg-card); }

/* ==================== MOBİL ==================== */
@media (max-width: 768px) {
    :root { --header-h: 60px; --player-h: 130px; }
    body {
        background-attachment: scroll !important;
        background-position: center top !important;
    }
    .mobile-menu {
        top: calc(var(--header-h) + 57px) !important;
    }
    .radio-header { padding: 12px 18px; position: relative; }
    .radio-logo { flex: 1; text-align: center; font-size: 20px; }
    .radio-nav { display: none; }
    .wa-header { display: none; }
    .hamburger { display: flex; }
    .freq-bar { padding: 10px 0; }
    .freq-track { font-size: 12px; gap: 30px; }
    .full-slider { height: 250px; min-height: auto; }
    .slide-content {
        position: absolute; bottom: 0; left: 0; right: 0; z-index: 8;
        color: white; background: rgba(0, 0, 0, 0.75);
        padding: 12px 20px;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    .slide-content h2 { font-size: 16px; padding-right: 80px; text-align: left; }
    .slider-dots { bottom: 16px; right: 20px; z-index: 10; }
    .slide-counter { top: 10px; right: 15px; font-size: 13px; padding: 5px 12px; z-index: 10; }
    .slider-arrow { width: 40px; height: 40px; font-size: 18px; z-index: 10; }
    .slider-prev { left: 10px; } .slider-next { right: 10px; }
    .section { padding: 35px 18px; }
    .section + .section { padding-top: 10px; }
    .section h2 { 
        font-size: 20px; 
        padding: 10px 30px;
        letter-spacing: 1px;
        margin-bottom: 25px;
    }
    .section h2::before {
        left: -12px;
        width: 20px;
        height: 6px;
        box-shadow: 
            6px -10px 0 -1px #750d0d,
            10px 10px 0 -1px #6b0c0c;
    }
    .section h2::after {
        right: -12px;
        width: 20px;
        height: 6px;
        box-shadow: 
            -6px -10px 0 -1px #6b0c0c,
            -10px 10px 0 -1px #750d0d;
    }
    .prog-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 15px !important;
        padding-bottom: 15px !important;
        margin: 0 -18px !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
        scrollbar-width: none !important;
    }
    .prog-grid::-webkit-scrollbar {
        display: none !important;
    }
    .prog-card {
        flex: 0 0 75% !important;
        max-width: 280px !important;
        scroll-snap-align: start !important;
    }
    .prog-img {
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
    }
    .request-section { padding: 25px 18px; margin: 25px 15px; }
    .sponsor-section { padding: 40px 18px; }
    .sponsor-section h2 { font-size: 26px; }
    .btn-sponsor { padding: 14px 35px; font-size: 16px; }
    .radio-footer { padding: 35px 18px 15px; }
    .radio-player { position: fixed; bottom: 0; left: 0; right: 0; width: 100%; padding: 15px; gap: 10px; min-height: auto; flex-wrap: wrap; justify-content: space-between; z-index: 99999; }
    .player-song { width: 100%; justify-content: flex-start; margin-bottom: 5px; order: 1; }
    .player-controls { width: 100%; justify-content: space-between; order: 3; }
    .player-cover { width: 45px; height: 45px; font-size: 18px; }
    .player-info h4 { font-size: 14px; }
    .player-info p { font-size: 12px; }
    .player-external-links { display: none !important; }
    
    .mobile-listening-bar {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: transparent;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding: 15px 10px;
        position: relative;
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 20px;
    }
    .mobile-listening-bar .bar-links {
        display: flex;
        align-items: center;
        justify-content: space-around;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    .mobile-listening-bar .bar-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s, opacity 0.2s;
        flex: 1;
        text-align: center;
    }
    .mobile-listening-bar .bar-links a:hover {
        transform: scale(1.15);
        opacity: 0.9;
    }
    .mobile-listening-bar .bar-links img {
        height: 28px;
        width: auto;
        display: inline-block;
        max-width: 100%;
        object-fit: contain;
    }
    .play-btn-big { width: 45px; height: 45px; font-size: 18px; }
    .btn-wa-player { display: none !important; }
    .volume-wrap { display: flex; flex: 1; margin-left: 10px; justify-content: center; }
    .volume-wrap input[type=range] { width: 100%; max-width: 100px; }
    .wa-floating {
        display: inline-flex !important;
        position: fixed;
        bottom: 120px;
        right: 20px;
        background: var(--whatsapp);
        color: white;
        padding: 10px 18px;
        border-radius: 25px;
        font-weight: 700;
        font-size: 13px;
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
        z-index: 999999;
        align-items: center;
        gap: 6px;
    }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 28px; }
    .slide-content h2 { font-size: 24px; }
}

/* === EKOLAYZIR GÖRSELİ === */
.player-visualizer {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    width: 25px;
    height: 18px;
    margin-left: 12px;
    flex-shrink: 0;
}
.player-visualizer span {
    width: 3px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: height 0.15s ease;
}
/* Oynatılırken animasyon aktif olsun */
.radio-player.playing .player-visualizer span {
    animation: visualizerBounce 0.8s ease infinite alternate;
}
.radio-player.playing .player-visualizer span:nth-child(1) { animation-delay: 0.1s; animation-duration: 0.5s; }
.radio-player.playing .player-visualizer span:nth-child(2) { animation-delay: 0.3s; animation-duration: 0.8s; }
.radio-player.playing .player-visualizer span:nth-child(3) { animation-delay: 0.2s; animation-duration: 0.6s; }
.radio-player.playing .player-visualizer span:nth-child(4) { animation-delay: 0.4s; animation-duration: 0.7s; }
.radio-player.playing .player-visualizer span:nth-child(5) { animation-delay: 0.15s; animation-duration: 0.4s; }

@keyframes visualizerBounce {
    0% { height: 3px; }
    100% { height: 18px; }
}

/* Exit Confirm Modal */
.radio-exit-modal {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 9999999;
    background: rgba(0,0,0,0.85); backdrop-filter: blur(8px);
    display: none; align-items: center; justify-content: center;
    padding: 20px;
}
.radio-exit-modal.active { display: flex; }
.exit-modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    max-width: 450px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    animation: modalSlideUp 0.3s ease-out;
}
@keyframes modalSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.exit-modal-content h3 {
    font-size: 20px; font-weight: 800; margin-bottom: 12px; color: var(--text-white);
}
.exit-modal-content p {
    font-size: 14px; color: var(--text-gray); margin-bottom: 25px;
}
.exit-modal-buttons {
    display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}
.exit-modal-buttons button {
    padding: 12px 24px; border: none; border-radius: 30px; font-weight: 700;
    font-size: 14px; cursor: pointer; transition: all 0.2s; flex: 1; min-width: 100px;
}
.btn-exit-cancel {
    background: #333; color: var(--text-white);
}
.btn-exit-cancel:hover { background: #444; }
.btn-exit-minimize {
    background: var(--primary); color: white;
}
.btn-exit-minimize:hover { transform: scale(1.03); opacity: 0.9; }
.btn-exit-close {
    background: #d9534f; color: white;
}
.btn-exit-close:hover { background: #c9302c; }

/* Player Minimize Rules */
.radio-player {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.radio-player.minimized {
    transform: translateY(calc(100% - 22px));
}
.player-toggle-btn {
    position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
    background: rgba(0,0,0,0.95); border: 1px solid var(--border);
    border-bottom: none; border-radius: 10px 10px 0 0;
    width: 50px; height: 20px; color: var(--text-white); font-size: 10px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    z-index: 10; outline: none; transition: background-color 0.2s;
}
.player-toggle-btn:hover {
    background: var(--bg-card);
}
.radio-player.minimized .player-toggle-btn {
    animation: bounceToggle 2s infinite;
}
@keyframes bounceToggle {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -5px); }
}

/* Mobile Listening Bar - Desktop fallback hide */
.mobile-listening-bar {
    display: none;
}

/* Desktop Listening Bar next to Logo */
.desktop-listening-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
    margin-right: auto;
}
.desktop-listening-bar a {
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s, opacity 0.2s;
}
.desktop-listening-bar a:hover {
    transform: scale(1.15);
    opacity: 0.9;
}
.desktop-listening-bar img {
    height: 22px;
    width: auto;
    display: block;
}
@media (max-width: 768px) {
    .desktop-listening-bar {
        display: none !important;
    }
}

/* Slider Clickable Link Overlay */
.slide-link-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 5;
    cursor: pointer;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #d9534f; /* Kırmızı */
    color: #ffffff; /* Beyaz ok */
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 99999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    outline: none;
}
.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-to-top:hover {
    background-color: #c9302c;
    transform: scale(1.1);
}
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 180px; /* Sit above mobile floating whatsapp button */
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
}

/* ==================== FREKANSLAR BANNER MODÜLÜ ==================== */
.frekans-banner {
    position: relative;
    width: 100%;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #121212 url('assets/eq_bg.png') center center repeat-x;
    background-size: cover;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: visible;
    margin: 30px auto 10px auto;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
.frekans-mic {
    position: absolute;
    left: 40px;
    bottom: -15px;
    height: 160px;
    z-index: 2;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.6));
}
.frekans-mic img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}
.frekans-list {
    display: flex;
    align-items: center;
    gap: 35px;
    margin-left: 170px;
}
.frekans-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.frekans-item .mhz {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.1;
    letter-spacing: -0.5px;
}
.frekans-item .city {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-gray);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.frekans-divider {
    width: 1px;
    height: 45px;
    background: rgba(255,255,255,0.12);
}
.frekans-listele-btn {
    width: 180px;
    height: 100%;
    background: linear-gradient(135deg, #7a0e0e 0%, #a81c1c 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white !important;
    text-decoration: none;
    border-radius: 0 11px 11px 0;
    transition: all 0.3s ease;
    border-left: 1px solid var(--border);
}
.frekans-listele-btn:hover {
    background: linear-gradient(135deg, #a81c1c 0%, #c52424 100%);
}
.frekans-listele-btn .listele-circle {
    width: 42px;
    height: 42px;
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}
.frekans-listele-btn:hover .listele-circle {
    border-color: white;
    background: white;
    color: #a81c1c;
    transform: scale(1.08);
}
.frekans-listele-btn .listele-text {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

@media (max-width: 768px) {
    .frekans-banner {
        flex-direction: row !important;
        height: 105px !important;
        padding: 0 !important;
        margin-top: 20px;
        background-size: cover !important;
        overflow: visible !important;
    }
    .frekans-mic {
        display: block !important;
        left: 10px !important;
        bottom: -10px !important;
        height: 120px !important;
    }
    .frekans-list {
        margin-left: 95px !important;
        margin-right: 5px !important;
        gap: 12px !important;
        width: auto !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        flex: 1;
        justify-content: space-around !important;
    }
    .frekans-item .mhz {
        font-size: 20px !important;
    }
    .frekans-item .city {
        font-size: 9px !important;
        margin-top: 2px !important;
    }
    .frekans-divider {
        height: 25px !important;
    }
    .frekans-listele-btn {
        width: 80px !important;
        height: 100% !important;
        border-radius: 0 11px 11px 0 !important;
        flex-direction: column !important;
        gap: 4px !important;
        border-left: 1px solid var(--border) !important;
        border-top: none !important;
        padding: 0 !important;
    }
    .frekans-listele-btn .listele-circle {
        width: 28px !important;
        height: 28px !important;
        font-size: 12px !important;
    }
    .frekans-listele-btn .listele-text {
        font-size: 9px !important;
        letter-spacing: 0.5px !important;
    }
}

/* ==================== USER AUTHENTICATION & MODAL STYLES ==================== */
.user-auth-wrapper {
    position: relative;
    display: inline-block;
    margin-right: 15px;
}
.user-btn {
    background: transparent !important;
    border: 1px solid var(--border) !important;
    color: var(--text-white) !important;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.user-btn:hover {
    background: rgba(255,255,255,0.08) !important;
    border-color: var(--primary) !important;
    transform: scale(1.03);
}
.user-btn svg {
    margin-right: 6px;
    width: 16px;
    height: 16px;
    vertical-align: middle;
}
.user-dropdown-container {
    position: relative;
}
.user-auth-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    min-width: 160px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 1000;
    overflow: hidden;
    animation: fadeInDropdown 0.2s ease-out;
}
.user-auth-dropdown.open {
    display: block;
}
.user-auth-dropdown a {
    display: block;
    padding: 12px 20px;
    color: var(--text-white);
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    transition: all 0.2s ease;
}
.user-auth-dropdown a:last-child {
    border-bottom: none;
}
.user-auth-dropdown a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--primary);
}

@keyframes fadeInDropdown {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Modal Overlay */
.auth-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.auth-modal-overlay.open {
    display: flex;
    opacity: 1;
}

/* Modal Container */
.auth-modal-container {
    background: #ffffff;
    width: 90%;
    max-width: 440px;
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    color: #333333;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.auth-modal-overlay.open .auth-modal-container {
    transform: scale(1);
}

/* Close Button */
.auth-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 32px;
    color: #999999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.auth-modal-close:hover {
    color: #333333;
}

/* Tabs */
.auth-modal-tabs {
    display: flex;
    justify-content: center;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 30px;
}
.auth-tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 15px 10px;
    font-size: 20px;
    font-weight: 700;
    color: #999999;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    text-align: center;
}
.auth-tab-btn.active {
    color: #ff3d5a;
    border-bottom-color: #ff3d5a;
}
.auth-tab-btn:hover {
    color: #ff3d5a;
}

/* Tab Content */
.auth-tab-content {
    display: none;
}
.auth-tab-content.active {
    display: block;
}

/* Form Elements */
.auth-form-group {
    margin-bottom: 20px;
}
.auth-form-group input {
    width: 100%;
    padding: 16px 20px;
    border: 1.5px solid #eeeeee;
    border-radius: 14px;
    font-size: 15px;
    color: #333333;
    background: #fafafa;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}
.auth-form-group input::placeholder {
    color: #b3b3b3;
}
.auth-form-group input:focus {
    border-color: #ff3d5a;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 61, 90, 0.1);
}

/* Submit Button */
.auth-submit-btn {
    width: 100%;
    padding: 16px;
    background: #ff3d5a;
    color: #ffffff;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 61, 90, 0.3);
}
.auth-submit-btn:hover {
    background: #e62e49;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 61, 90, 0.4);
}
.auth-submit-btn:active {
    transform: translateY(0);
}

/* Links */
.auth-links {
    text-align: center;
    margin-top: 20px;
}
.auth-forgot-link {
    color: #888888;
    font-size: 14px;
    text-decoration: underline;
    transition: color 0.2s;
}
.auth-forgot-link:hover {
    color: #ff3d5a;
}

/* Divider */
.auth-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}
.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #eeeeee;
    z-index: 1;
}
.auth-divider span {
    background: #ffffff;
    padding: 0 15px;
    color: #aaaaaa;
    font-size: 12px;
    font-weight: 600;
    position: relative;
    z-index: 2;
    letter-spacing: 1px;
}

/* Google Sign-in Button */
.google-auth-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px;
    background: #ffffff;
    border: 1.5px solid #dddddd;
    border-radius: 14px;
    color: #555555;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}
.google-auth-btn:hover {
    background: #f7f7f7;
    border-color: #b3b3b3;
    transform: translateY(-1px);
}
.google-auth-btn img {
    width: 22px;
    height: 22px;
}
.google-signin-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Messages */
.auth-modal-message {
    margin-top: 20px;
    padding: 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    display: none;
}
.auth-modal-message.success {
    display: block;
    background: rgba(37, 211, 102, 0.1);
    color: #128c7e;
    border: 1px solid rgba(37, 211, 102, 0.2);
}
.auth-modal-message.error {
    display: block;
    background: rgba(255, 61, 90, 0.1);
    color: #e62e49;
    border: 1px solid rgba(255, 61, 90, 0.2);
}

@media (max-width: 768px) {
    .user-auth-wrapper {
        display: inline-block !important;
        margin-right: 0;
        order: 3;
    }
    .user-btn {
        padding: 8px !important;
        border-radius: 50% !important;
        width: 38px;
        height: 38px;
        justify-content: center;
        display: flex !important;
        align-items: center;
    }
    .user-btn span {
        display: none !important;
    }
    .user-btn svg {
        margin-right: 0 !important;
        width: 20px;
        height: 20px;
    }
    .user-auth-dropdown {
        right: 0;
        left: auto;
    }
    .radio-logo {
        flex: 1;
        max-width: calc(100% - 90px);
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 18px !important;
    }
    .logo-align-center {
        position: relative !important;
        left: auto !important;
        transform: none !important;
    }
}

/* ==================== MODULAR PACKAGE DASHBOARD STYLES ==================== */
.quota-card {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.quota-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary) !important;
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.15);
}
.panel-tab-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-gray);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.panel-tab-btn:hover {
    color: var(--text-white);
    border-color: rgba(255,255,255,0.2);
}
.panel-tab-btn.active {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}
.panel-tab-content {
    display: none;
    animation: panelFadeIn 0.4s ease forwards;
}
.panel-tab-content.active {
    display: block;
}
#panelFormAlert.success {
    background: rgba(37, 211, 102, 0.1) !important;
    color: #00ff66 !important;
    border: 1px solid rgba(37, 211, 102, 0.2) !important;
}
#panelFormAlert.error {
    background: rgba(255, 61, 90, 0.1) !important;
    color: #ff3d5a !important;
    border: 1px solid rgba(255, 61, 90, 0.2) !important;
}
#panelFormAlert.info {
    background: rgba(66, 133, 244, 0.1) !important;
    color: #4285f4 !important;
    border: 1px solid rgba(66, 133, 244, 0.2) !important;
}
@keyframes panelFadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}


