/* ================================== */
/* ÖZ TÜRKIYEM RADYO - TAM CSS DOSYASI */
/* ================================== */

/* ================================== */
/* YENİ EKLENDİ: YÜKLEME EKRANI */
/* ================================== */

.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Arka planı body ile aynı yap */
    background-color: #121212; 
    background-image: linear-gradient(135deg, #1a1a1a 25%, transparent 25%),
                      linear-gradient(225deg, #1a1a1a 25%, transparent 25%),
                      linear-gradient(45deg, #1a1a1a 25%, transparent 25%),
                      linear-gradient(315deg, #1a1a1a 25%, #121212 25%);
    background-position: 40px 0, 40px 0, 0 0, 0 0;
    background-size: 80px 80px;
    background-repeat: repeat;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 1;
    transition: opacity 0.5s ease-out;
    pointer-events: auto;
}

.loader-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-content h1 {
    font-size: 2rem;
    color: #ffffff;
    /* Ana başlıktaki neon efekti */
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.7), 
                 0 0 20px rgba(0, 229, 255, 0.7);
    margin-top: 20px;
    margin-bottom: 5px;
}
.loader-content p {
    font-size: 1.2rem;
    color: #b0b0b0; /* İkincil yazı rengi */
}
.spinner {
    /* Neon temalı spinner */
    border: 6px solid rgba(255, 255, 255, 0.1);
    border-top: 6px solid #00e5ff; /* Neon Mavi */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1.5s linear infinite;
    margin: 0 auto;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* ================================== */
/* YENİ EKLENDİ: SOL ALT YAZI */
/* ================================== */

.footer-credit {
    position: fixed;
    bottom: 10px;
    left: 15px;
    color: #b0b0b0;
    font-size: 12px;
    opacity: 0.7;
    z-index: 50; /* Diğer her şeyin altında, arka planın üstünde */
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}


/* ================================== */
/* SİZİN CSS KODUNUZUN GERİ KALANI... */
/* ================================== */

/* Genel Ayarlar */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #121212;
    background-image: linear-gradient(135deg, #1a1a1a 25%, transparent 25%),
                      linear-gradient(225deg, #1a1a1a 25%, transparent 25%),
                      linear-gradient(45deg, #1a1a1a 25%, transparent 25%),
                      linear-gradient(315deg, #1a1a1a 25%, #121212 25%);
    background-position: 40px 0, 40px 0, 0 0, 0 0;
    background-size: 80px 80px;
    background-repeat: repeat;
    color: #e0e0e0;
    padding: 20px;
    box-sizing: border-box;
}

/* ANA BAŞLIK STİLİ */
.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.7), 
                 0 0 20px rgba(0, 229, 255, 0.7), 
                 0 0 35px rgba(0, 229, 255, 0.5);
    margin-bottom: 25px;
    text-align: center;
}

/* Ana Oynatıcı Konteyneri (Glassmorphism Etkisi) */
.player-container {
    width: 350px;
    max-width: 100%; /* Mobil uyumluluk */
    padding: 25px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05); /* Camsı arka plan */
    backdrop-filter: blur(15px); /* Arka planı bulanıklaştır */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative; 
    z-index: 10; 
}

/* Albüm Kapağı */
.album-art {
    width: 200px;
    height: 200px;
    margin: 0 auto 25px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.album-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Şarkı Bilgileri */
.track-info {
    margin-bottom: 20px; 
    min-height: 60px; 
}

.track-info h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #ffffff;
    text-shadow: 0 0 5px #fff, 0 0 10px #00e5ff, 0 0 15px #00e5ff;
}

.track-info p {
    font-size: 1rem;
    font-weight: 300;
    color: #b0b0b0;
    margin: 0;
}

/* Yenileme Butonu Stili */
.refresh-button {
    background: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa; 
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: -10px auto 20px auto; 
}

.refresh-button:hover {
    background: rgba(0, 229, 255, 0.1); 
    color: #00e5ff;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.refresh-button .material-icons {
    font-size: 24px;
}

/* Kontrol Butonları (Play/Pause/Ses) */
.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.control-button {
    background: rgba(0, 229, 255, 0.1); 
    border: 1px solid rgba(0, 229, 255, 0.5);
    color: #00e5ff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px #00e5ff;
}

.control-button:hover {
    background: rgba(0, 229, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}

.control-button .material-icons {
    font-size: 36px;
}

/* Ses Kontrolü */
.volume-container {
    display: flex;
    align-items: center;
    flex: 1;
}

.volume-container .material-icons {
    color: #888;
    margin-right: 10px;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #00e5ff;
    border-radius: 50%;
    border: 2px solid #121212;
    box-shadow: 0 0 10px #00e5ff;
    transition: background 0.2s;
}

input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #00e5ff;
    border-radius: 50%;
    border: 2px solid #121212;
    box-shadow: 0 0 10px #00e5ff;
    transition: background 0.2s;
}

/* ================================== */
/* LINK VE İSTEK BUTONLARI */
/* ================================== */

.external-buttons-container {
    text-align: center;
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px; 
    z-index: 10; 
    width: 100%;
    flex-wrap: wrap; 
}

.styled-link-button {
    display: inline-block;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    padding: 12px 25px;
    color: #ccc;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    cursor: pointer; 
    transition: all 0.3s ease;
}

.styled-link-button:hover {
    background: rgba(0, 229, 255, 0.1);
    color: #00e5ff;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.7);
}


/* ================================== */
/* POP-UP (MODAL) STİLLERİ     */
/* ================================== */

.modal-overlay {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); 
    backdrop-filter: blur(8px); 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; 
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none; 
}

.modal-content {
    background: #1a1a1a; 
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    width: 90%; 
    max-width: 600px; 
    height: 85vh; 
    position: relative; 
    display: flex;
    flex-direction: column; 
    padding: 20px;
    padding-top: 40px; 
    box-sizing: border-box; 
}

.modal-close-btn {
    position: absolute;
    top: 5px;
    right: 20px;
    font-size: 2.5rem;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 1001;
}

.modal-close-btn:hover {
    color: #fff;
}

.modal-content iframe {
    width: 100%;
    height: 100%; 
    border: 0;
    border-radius: 5px; 
}


/* ================================== */
/* TEMAYA UYGUN SCROLLBAR */
/* ================================== */

html {
  scrollbar-width: thin; 
  scrollbar-color: #00e5ff #1a1a1a; 
}

body::-webkit-scrollbar {
  width: 10px; 
}

body::-webkit-scrollbar-track {
  background: #1a1a1a; 
  border-radius: 5px;
}

body::-webkit-scrollbar-thumb {
  background-color: #00e5ff; 
  border-radius: 5px;
  border: 2px solid #1a1a1a; 
}

body::-webkit-scrollbar-thumb:hover {
  background-color: #00b8cc; 
  box-shadow: 0 0 10px #00e5ff; 
}