/* Genel Ayarlar ve Sıfırlamalar */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Yatay kaymayı engellemek için */
html {
    overflow-x: hidden; 
    scroll-behavior: smooth;
}

body {
    height: auto !important;
    overflow-x: hidden !important;
}

/* 🚨 YENİ EKLENTİ: GENEL GİZLEME SINIFI */
.hidden { 
    display: none !important; 
} 

/* HTML VE BODY: Kesinlikle 100% Genişlik ve Yükseklik */
html, body {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background-color: #000;
    display: flex; 
    flex-direction: column;
}

/* APP-CONTAINER: Tüm Ekranı Kapla ve İçeriği Yönet */
.app-container {
    background-color: #17181c; 
    width: 100%; 
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    color: #fff;
    overflow-y: auto; 
    overflow-x: hidden;
    max-width: 100%; 
    position: relative;
    /* Mobil cihazlar için maksimum genişlik sınırı */
    max-width: 480px; 
    margin: 0 auto;
}

/* -------------------------------------- */
/* TOAST BİLDİRİM STİLLERİ */
/* -------------------------------------- */

#toast-container {
    position: fixed;
    top: 20px; 
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

.toast {
    background-color: #2d2d31;
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out, visibility 0.5s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    max-width: 300px;
    width: 100%;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.toast i {
    font-size: 19px; /* +1px (18px -> 19px) */
    margin-right: 10px;
}

.toast span {
    font-size: 15px; /* +1px (14px -> 15px) */
    font-weight: 500;
}

/* -------------------------------------- */
/* HEADER STİLLERİ */
/* -------------------------------------- */

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #17181c;
    border-bottom: 1px solid #2d2d31;
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo-section {
    display: flex;
    align-items: center;
}

.flag-icon {
    width: 35px;
    height: 30px;
    margin-right: 10px;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.app-header h1 {
    font-size: 18px; /* +1px (20px -> 21px) */
    font-weight: 700;
    color: #d84344;
}

.icon-section i {
    font-size: 19px; /* +1px (18px -> 19px) */
    color: #888;
    margin-left: 15px;
    cursor: pointer;
    transition: color 0.2s;
}

.icon-section i:hover {
    color: #fff;
}


/* -------------------------------------- */
/* ARAMA ÇUBUĞU STİLLERİ (GÜNCELLENDİ) */
/* -------------------------------------- */

.search-header-compact {
    display: flex;
    align-items: center;
    padding: 8px 15px; 
    background-color: #17181c;
    border-bottom: 1px solid #2d2d31;
    position: sticky;
    top: 0;
    z-index: 10;
}

.search-header-compact.hidden {
    display: none;
}

/* GÜNCELLENDİ: search-back-btn butonu stili */
.search-back-btn {
    background: none;
    border: none;
    color: #d84344; /* Geri butonunu belirgin yap */
    font-size: 22px; /* İkon boyutunu büyüt */
    cursor: pointer;
    padding: 0 10px 0 0; 
    transition: color 0.2s;
    height: 40px; 
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.search-back-btn:hover {
    color: #fff;
}

/* GÜNCELLENDİ: #searchInput stili */
#searchInput {
    flex-grow: 1;
    padding: 10px 15px;
    height: 40px; /* Input yüksekliğini sabitle */
    border: 2px solid #2d2d31; /* Hafif kenarlık ekle */
    border-radius: 20px;
    background-color: #2d2d31; 
    color: #fff;
    font-size: 17px; 
    outline: none;
    margin-left: 5px; 
    transition: border-color 0.2s, background-color 0.2s;
}

/* YENİ: Odaklanma stili */
#searchInput:focus {
    border-color: #d84344; /* Odaklanınca kırmızı kenarlık */
    background-color: #1e1f24; /* Odaklanınca arka planı hafif karart */
}

#searchInput::placeholder {
    color: #888;
}

/* Eski .search-close-btn stili kaldırılmıştır. */

/* -------------------------------------- */
/* SEKME NAVİGASYONU STİLLERİ */
/* -------------------------------------- */

.tabs-nav {
    display: flex;
    overflow-x: auto; /* Yatay kaydırmaya izin ver */
    white-space: nowrap; /* Öğelerin tek satırda kalmasını sağlar */
    padding: 10px 10px;
    border-bottom: 1px solid #2d2d31;
    background-color: #17181c;
    position: sticky;
    top: 54px; /* Header'ın hemen altında başlar */
    z-index: 5;
    /* Kaydırma çubuğunu gizle (isteğe bağlı) */
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.tabs-nav::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.tab-item {
    display: inline-block;
    padding: 4px 8px;
    margin: 0 5px;
    color: #888;
    font-size: 17px; /* +1px (14px -> 15px) */
    font-weight: 600;
    cursor: pointer;
    /*! border-radius: 0px; */
    transition: color 0.2s, background-color 0.2s;
    flex-shrink: 0; /* Küçülmeyi engeller */
    text-decoration: none;
    text-transform: uppercase;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.tab-item:first-child {
    margin-left: 0;
}

.tab-item.active {
    color: #e1e1e1;
    border-bottom: 4px solid #d84344;
    border-radius: 4px;
}


.favorite-icon {
    font-size: 29px; /* +1px (26px -> 27px) */
    color: #979797; 
    cursor: pointer;
    flex-shrink: 0;
    padding: 15px; 
    margin-right: 0px;
    transition: color 0.2s;
}

.fas.fa-home {
    color: #d84344; 
    padding-right: 6px;
}

.fas.fa-th-list {
    color: #d84344; 
    padding-right: 6px;
}

.fas.fa-heart {
    color: #d84344; 
    
}

.fas.fa-history {
    color: #d84344; 
    padding-right: 6px;
}



/* -------------------------------------- */
/* İÇERİK BÖLÜMLERİ VE LİSTE STİLLERİ */
/* -------------------------------------- */

main {
    flex-grow: 1;
    position: relative; 
    min-height: 1px; /* Flexbox hatasını önlemek için */
}

.content-section {
    padding: 2px 0px 15px 0px;
    padding-bottom: 70px; /* Mini player için boşluk */
    position: absolute; 
    width: 100%;
    height: 100%;
    overflow-y: auto; 
    top: 0;
    left: 0;
    transition: opacity 0.3s;
}

.content-section.hidden {
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

.content-section.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2; /* Aktif içeriği öne getir */
}

/* DÜZELTME: Geçmiş ve Kategori detay sayfalarındaki fazla üst boşluğu kaldırır */
#gecmisContainer,
#categoryOverlay {
    
}

#searchContentContainer {
    padding-top: 0; 
}

.list-header-sticky {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: sticky;
    top: 0;
    background-color: #17181c;
    z-index: 3; 
    border-bottom: 1px solid #2d2d31;
    margin-bottom: 10px;
}

.category-list-title {
    font-size: 19px; /* +1px (18px -> 19px) */
    font-weight: 600;
    color: #d84344;
}

.back-to-categories-btn {
    background: none;
    border: 1px solid #d84344;
    color: #d84344;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 15px; /* +1px (14px -> 15px) */
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;
}

.back-to-categories-btn:hover {
    background-color: #d8434433;
}


/* -------------------------------------- */
/* RADYO LİSTESİ ÖĞELERİ (TÜM LİSTELER İÇİN) */
/* -------------------------------------- */

.list-item {
    display: flex;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #2d2d31;
    cursor: pointer;
    transition: background-color 0.1s;
    transition: transform 0.4s ease, opacity 0.3s ease;
}




.list-item:hover {
    background-color: #1e1f24;
}

.action-btns i:hover {
    transform: scale(1.2);
    transition: 0.2s;
}

.list-item.active {
    background: linear-gradient(135deg, #0c0c0c, #1f1f1f);
    
   
    
    z-index: 10;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.list-item.active .station-location{
    color: #fff;
}

/* Ateş tonlarında premium çerçeve – sıcak ve derin */
.list-item.active::before {
    content: '';
    position: absolute;
    inset: 30px;
    background: linear-gradient(45deg, 
        #7c2d12, #ea580c, #fb923c, #fbbf24, #dc2626);
    border-radius: inherit;
    z-index: -2;
    filter: blur(30px);
    opacity: 1;
}

/* Ateş yansıması animasyonu – soldan sağa dalgalı sıcak parlama */
.list-item.active::after {
    content: '';
    position: absolute;
    top: -80%;
    left: -100%;
    width: 70%;
    height: 250%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 147, 0, 0.15) 30%,
        rgba(251, 146, 60, 0.3) 45%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(251, 146, 60, 0.3) 55%,
        rgba(255, 147, 0, 0.15) 70%,
        transparent 100%
    );
    transform: skewX(-15deg);
    animation: fireShine 14s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}


/* Ateş yansıması – sıcak, dalgalı ve premium soldan sağa geçiş */
@keyframes fireShine {
    0% {
        left: -100%;
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0.7;
    }
}

.list-item:last-child {
    border-bottom: none;
}

.logo-container {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    margin-right: 15px;
    margin-left: 12px;
}

.radio-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.station-text-info {
    flex-grow: 1;
    min-width: 0; /* Esnekliği korumak için */
}

.list-item .station-name {
    font-size: 17px; /* +1px (19px -> 20px) */
    font-weight: 600; 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #e1e1e1;
}

.list-item .station-location {
    display: flex;
    align-items: center;
    font-size: 13px;       /* Popüler sekmesi standart boyutu */
    color: #888;           /* Popüler sekmesi standart rengi */
    margin-top: 4px;
}

.station-location i {
    margin-right: 4px;     /* İkon ile yazı arasındaki boşluk */
    color: #d84344;       /* İkonun rengi (Kırmızı tonu) */
    font-size: 9px;       /* İkonun büyüklüğü */
}

/* 🚨 Kategori Etiketleri İYİLEŞTİRME */
.station-group-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px; /* Boşluk biraz arttırıldı */
    margin-top: 5px;
}

.category-tag {
    font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
  
  opacity: 0.6;
  transition: all 0.2s;
  line-height: 1;
  color: #f9f9f9;
  text-shadow: 1px 1px px rgba(0, 0, 0, 0.6);
  border: 1px solid #6e6e6e;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.category-tag:hover {
    opacity: 0.9;
}

/* 🚨 FAVORİ İKONU */
.favorite-icon {
    font-size: 28px; /* +1px (26px -> 27px) */
    color: #979797; 
    cursor: pointer;
    flex-shrink: 0;
    padding: 15px; 
    margin-right: 0px;
    transition: color 0.2s;
}

.favorite-icon.favorited i.fas {
    color: #d84344; 
}


/* -------------------------------------- */
/* KATEGORİ LİSTESİ (Kategori Sekmesi) STİLLERİ */
/* -------------------------------------- */

.category-list {
    display: flex;
    flex-direction: column;
   
}

.category-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px; 
    margin-bottom: 8px; 
    border-radius: 10px; 
    background-color: #24252b; 
    cursor: pointer;
    transition: all 0.2s ease-out;
    border: 1px solid #2d2d31; 
}

.category-list-item:last-child {
    margin-bottom: 0; 
}

.category-list-item:hover {
    background-color: #2d2d31; 
    transform: translateY(-1px); 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); 
}

.category-name-icon {
    font-size: 19px; /* +1px (18px -> 19px) */
    margin-right: 15px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    /* İkon rengi JS'den inline olarak gelir */
}

.category-name-text {
    flex-grow: 1;
    font-size: 17px; /* +1px (16px -> 17px) */
    font-weight: 500; 
    padding-left: 0; 
    color: #fff;
    line-height: 1.2;
}

.category-radio-count {
    background-color: #2d2d31; 
    padding: 4px 10px; 
    border-radius: 10px; 
    font-size: 14px; /* +1px (13px -> 14px) */
    font-weight: 600;
    min-width: 25px;
    text-align: center;
    margin-right: 10px;
    line-height: 1;
    color: #fff; 
    border: 1px solid #3d3e45; 
    flex-shrink: 0;
}

.list-arrow {
    font-size: 15px; /* +1px (14px -> 15px) */
    color: #666; 
}


/* -------------------------------------- */
/* YENİ EKLENTİ: TÜM RADYOLARI GÖRÜNTÜLE LİNKİ STİLLERİ */
/* -------------------------------------- */

#viewAllRadiosLinkContainer {
    padding: 15px 10px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #1c1d22; 
    margin-top: 10px;
    border-radius: 8px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
}

.view-all-radios-link {
    display: inline-flex;
    align-items: center;
    color: #3498db; 
    text-decoration: none;
    font-size: 19px; /* 1.1em ≈ 18px -> 19px */
    font-weight: 600;
    transition: color 0.2s;
}

.view-all-radios-link:hover {
    color: #5dade2;
}

.view-all-radios-link i {
    margin-left: 10px;
    font-size: 16px; /* 0.9em ≈ 15px -> 16px */
    transition: transform 0.3s;
}

.view-all-radios-link:hover i {
    transform: translateX(3px);
}


/* -------------------------------------- */
/* MİNİ OYNATICI STİLLERİ */
/* -------------------------------------- */

#player-spacer {
    height: 70px; 
    display: none;
}

#miniPlayer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background-color: #0f0f11;
    border-top: 1px solid #444;
    padding: 10px 15px; 
    display: flex;
    align-items: center;
    z-index: 20;
    transition: transform 0.3s ease-out;
}

#miniPlayer.hidden {
    transform: translate(-50%, 100%);
}

/* =========================================== */
/* MINI PLAYER SPECTRUM (GÖRSELLEŞTİRİCİ) STİLLERİ - KIRMIZI, YUMUŞAK & KALIN SÜRÜM */
/* =========================================== */

/* Radyo adı ve görselleştiriciyi aynı satıra hizalar */
.player-info .station-name-line {
    display: flex;
    align-items: center;
    gap: 6px; 
    min-width: 0;
}

.player-info .station-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.visualizer {
    display: flex;
    align-items: flex-end; 
    width: 16px; 
    height: 16px; 
    opacity: 0.9; /* Kırmızı tonun daha belirgin olması için opaklık artırıldı */
}

.visualizer .bar {
    width: 4px; /* Kalınlık: 4px */
    margin: 0 1px; 
    background-color: #D84344; /* KIRMIZI TONA GÜNCELLENDİ */
    height: 3px; 
    border-radius: 2px; 
    transition: background-color 0.2s; 
}

/* Oynatma Durumunda Animasyon Ayarları */
.visualizer:not(.stopped) .bar {
    animation-duration: 1.0s; 
    animation-timing-function: cubic-bezier(0.4, 0.0, 0.6, 1.0); /* Akışkan zamanlama */
    animation-iteration-count: infinite;
    animation-direction: alternate;
    opacity: 1;
}

/* 3 Bar için Çeşitli Animasyon Gecikmeleri ve Hareketleri */
.visualizer:not(.stopped) .bar-1 {
    animation-name: visualize-A; 
    animation-delay: 0s;
}

.visualizer:not(.stopped) .bar-2 {
    animation-name: visualize-B; 
    animation-delay: 0.15s; 
}

.visualizer:not(.stopped) .bar-3 {
    animation-name: visualize-C; 
    animation-delay: 0.3s; 
}


/* Durmuş Durumda (stopped class'ı varken) */
.visualizer.stopped .bar {
    animation: none; 
    height: 3px; 
    opacity: 0.4; /* Dururken daha soluk */
}

/* Keyframes - Yumuşak Hareketler */

/* Bar A: Yavaşça yüksel ve düş */
@keyframes visualize-A {
    0% { height: 3px; }
    100% { height: 10px; }
}

/* Bar B: Daha geniş aralıkta, yumuşak zıplama */
@keyframes visualize-B {
    0% { height: 3px; }
    50% { height: 16px; } 
    100% { height: 3px; }
}

/* Bar C: Çoklu aşamalı, daha ritmik hareket */
@keyframes visualize-C {
    0% { height: 3px; }
    33% { height: 8px; }
    66% { height: 12px; }
    100% { height: 3px; }
}





.player-content {
    display: flex;
    align-items: center;
    flex-grow: 1;
    overflow: hidden; 
}

.player-logo-container {
    width: 50px; 
    height: 50px; 
    flex-shrink: 0;
    margin-right: 15px;
}

#player-logo {
    border-radius: 6px;
}

.player-info {
    flex-grow: 1;
    min-width: 0;
    overflow: hidden;
}

.player-info .station-name {
    font-size: 18px; /* +1px (17px -> 18px) */
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.current-track-info {
    font-size: 13px; /* +1px (14px -> 15px) */
    color: #c6c6c6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-controls {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: 15px;
}

.control-icon {
    font-size: 25px; /* +1px (24px -> 25px) */
    color: #fff;
    cursor: pointer;
    margin: 0 8px;
    transition: color 0.2s, transform 0.1s;
}

.main-control {
    font-size: 43px; /* +1px (42px -> 43px) */
    color: #d84344;
    margin: 0 10px;
}

.control-icon:active {
    transform: scale(0.95);
}














/* ====================== UYKU ZAMANLAYICISI - TAM CSS ====================== */

/* Modal Arka Plan Overlay */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

/* Modal İçerik Kutusu */
.modal-content {
  /* Daha koyu ve derin bir zemin için gradyan */
  
  
  /* Profesyonel cam efekti */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  
  /* Zarif, içten parlayan ince bir kenarlık */
  border: 1px solid rgba(255, 255, 255, 0.08);
  
  padding: 30px 24px;
  border-radius: 24px; /* Daha yumuşak köşeler */
  width: 90%;
  max-width: 400px;
  text-align: center;
  
  /* Çok katmanlı gölge: Hem derinlik hem de zemine oturuş hissi verir */
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.3),
    0 20px 50px rgba(0, 0, 0, 0.6),
    inset 0 1px 1px rgba(255, 255, 255, 0.05); /* İç parlaklık */
    
  position: relative;
  overflow: hidden;
  transform: scale(0.95);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Modal açıldığında (Eğer JavaScript ile 'active' veya benzeri bir class ekliyorsanız) */
.modal.show .modal-content {
  transform: scale(1);
}

/* Üst kısma hafif bir parıltı efekti (Opsiyonel) */
.modal-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.modal:not(.hidden) .modal-content {
    transform: scale(1);
}

.modal-content h2 {
    color: #d84344;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
}

/* =========================================== */
/* UYKU ZAMANLAYICISI MODAL İPTAL BUTONU STİLİ (Zamanlayıcı Butonlarıyla Uyumlu) */
/* =========================================== */

.modal-cancel-btn {
    /* Genel Görünüm ve Boyutlandırma */
    width: 80%; 
    padding: 10px 15px;
    margin-top: 20px; /* Diğer öğelerden ayırmak için biraz daha boşluk */

    /* Zamanlayıcı butonlarının görünümünü taklit et */
    background-color: #2c2d33; /* Zamanlayıcı seçenekleri ile aynı arka plan */
    color: #fff; 
    border: 1px solid #3c3d44; /* Zamanlayıcı seçenekleri ile aynı çerçeve */

    font-size: 15px; 
    font-weight: 500; 
    cursor: pointer;
    border-radius: 6px; 
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
    text-align: center;
}

.modal-cancel-btn:hover {
    background-color: #d84344; /* Hover'da belirgin kırmızı renge dön */
    border-color: #d84344;
    color: #ffffff;
}

.modal-cancel-btn:active {
    transform: scale(0.98); 
}


/* Hazır Süre Butonları */
.timer-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 25px;
}

.timer-options button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #eee;
  padding: 10px 18px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.timer-options button:hover {
  background: #d84344;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(216, 67, 68, 0.4);
}

.timer-options button:active {
    transform: translateY(0);
}

/* Özel Süre Girişi */
.custom-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.custom-timer input {
    padding: 12px 15px;
    border-radius: 12px;
    border: 2px solid #3d3e45;
    background-color: #1e1f24;
    color: #fff;
    font-size: 16px;
    width: 180px;
    text-align: center;
    transition: border-color 0.2s;
}

.custom-timer input:focus {
    outline: none;
    border-color: #d84344;
}

.custom-timer button {
    background-color: #d84344;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.custom-timer button:hover {
    background-color: #e55d5e;
}

/* Kapat Butonu */
#closeModal {
    background-color: #D84344;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Hafif belirgin çerçeve */
    color: #fff;
    padding: 10px 25px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

#closeModal:hover {
    background-color: rgba(255, 255, 255, 0.05); /* Çok hafif arka plan */
    color: #fff; /* Yazı rengi beyazlaşır */
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px); /* Hafif yükselme efekti */
}

#closeModal:active {
    transform: translateY(0); /* Tıklayınca geri basma hissi */
}

/* ====================== HEADER'DAKİ GERİ SAYIM VE İPTAL ====================== */

/* Ana Kapsayıcı (logo ile ikonlar arasında ortalanmış) */
.sleep-countdown {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;        /* Logo ile ikonlar arasında sağa yasla */
   
}

/* Dairesel Progress Çubuğu */
.countdown-circle {
    position: relative;
    width: 52px;
    height: 52px;
}

.progress-ring {
    transform: rotate(-90deg);
    width: 52px;
    height: 52px;
}

.progress-ring__background {
    stroke: #333;
    stroke-width: 5;
    fill: transparent;
}

.progress-ring__progress {
    stroke: #d84344;
    stroke-linecap: round;
    stroke-width: 3;
    fill: transparent;
    stroke-dasharray: 144.5;     /* 2 * π * 23 (r=23 yaklaşık) */
    stroke-dashoffset: 144.5;    /* Başlangıçta tam dolu */
    transition: stroke-dashoffset 0.8s ease-out;
}

/* Ortadaki Süre Metni */
#countdownText {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 13px;
    font-weight: 700;
    color: #d84344;
    pointer-events: none;
}

/* İptal Butonu (X ikonu) */
.cancel-timer-btn {
    margin-top: 15px;
    background: transparent;
    color: #ff4d4d;
    border: 1px solid #ff4d4d;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.cancel-timer-btn:hover {
    background: rgba(255, 77, 77, 0.1);
    box-shadow: 0 0 10px rgba(255, 77, 77, 0.2);
}

/* Kalan süre kutusu içine düzgün yerleşmesi için */
.timer-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.cancel-timer-btn:active {
    transform: scale(0.95);
}

/* Responsive Düzenleme (Geniş ekranlarda daha ferah) */
@media (min-width: 768px) {
    .sleep-countdown {
        margin-right: 20px;
    }
    
    .countdown-circle {
        width: 58px;
        height: 58px;
    }
    
    .progress-ring {
        width: 58px;
        height: 58px;
    }
    
    .progress-ring__background,
    .progress-ring__progress {
        stroke-width: 6;
    }
    
    #countdownText {
        font-size: 14px;
    }
}


@keyframes visualizer {
    0% { transform: scaleY(1); }
    100% { transform: scaleY(3); }
}
.bar {
    transform: scaleY(1);
    transform-origin: bottom;
}





.analog-timer-box { text-align: center; user-select: none; }
.analog-header { font-size: 50px; font-weight: bold; color: #D84344; margin-bottom: 15px; }
.time-unit { cursor: pointer; padding: 0 5px; opacity: 0.5; }
.active-unit { opacity: 1; border-bottom: 2px solid #D84344; }
.clock-wrapper { display: flex; justify-content: center; margin: 10px 0; }
.clock-face { 
    width: 240px; height: 240px; background: #111; border-radius: 50%; 
    position: relative; border: 4px solid #222; touch-action: none;
}
.clock-center { 
    position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; 
    background: #D84344; border-radius: 50%; transform: translate(-50%, -50%); z-index: 10;
}
.clock-hand { 
    position: absolute; bottom: 50%; left: 50%; width: 4px; height: 90px; 
    background: #D84344; transform-origin: bottom center; z-index: 5; border-radius: 4px;
}
.clock-number { 
    position: absolute; width: 30px; height: 30px; display: flex; 
    justify-content: center; align-items: center; font-size: 14px; font-weight: bold; color: #777;
}
.clock-number.inner { font-size: 11px; color: #D84344; opacity: 0.6; }
.clock-controls { display: flex; justify-content: center; gap: 10px; margin-top: 15px; }
.mode-btn { background: #222; border: none; color: #fff; padding: 10px 20px; border-radius: 10px; cursor: pointer; }
.mode-btn.active { background: #D84344; }
.analog-confirm-btn { 
    width: 100%; margin-top: 20px; padding: 15px; background: #D84344; 
    color: #fff; border: none; border-radius: 12px; font-weight: bold; font-size: 16px;
}
/* Rakamların genel stili ve tıklanabilir olduğunu belirten imleç */
.time-unit {
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-block;
}

/* Üzerine gelince (Hover) yapılacak görsel değişiklik */
.time-unit:hover {
    background-color: rgba(216, 67, 68, 0.2); /* Temadaki kırmızı tonu */
    color: #d84344;
    transform: scale(1.1);
}

/* Şu an hangi mod seçiliyse (Saat veya Dakika) onun altını çiz veya vurgula */
.time-unit.active-unit {
    color: #d84344;
    text-shadow: 0 0 10px rgba(216, 67, 68, 0.3);
    font-weight: bold;
}

/* Ayırıcı iki nokta üst üste işareti için */
.sep {
    margin: 0 5px;
    font-weight: bold;
    opacity: 0.7;
}

/* Analog saatin rakamları için ek stil (varsa çakışmayı önler) */
.clock-number {
    user-select: none; /* Rakamların seçilmesini engeller */
}

/* Özel Giriş Modalı */
.custom-modal {
    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: 9999;
    animation: fadeIn 0.2s ease;
}

.custom-modal-content {
    background: #1e1f24;
    border: 1px solid #333;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 320px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.custom-modal-content h3 {
    margin-bottom: 20px;
    font-size: 18px;
    color: #eee;
}

.custom-modal-content input {
    width: 100%;
    background: #111;
    border: 2px solid #d84344;
    border-radius: 12px;
    color: #d84344;
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    margin-bottom: 25px;
    outline: none;
}

.custom-modal-buttons {
    display: flex;
    gap: 10px;
}

.custom-modal-buttons button {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

#cancelManualBtn { background: #333; color: #ccc; }
#saveManualBtn { background: #d84344; color: #fff; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.timer-countdown {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(216, 67, 68, 0.08);
    border-radius: 15px;
    border: 1px dashed rgba(216, 67, 68, 0.3);
}

.countdown-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 8px;
}

.countdown-digits {
    font-family: 'Monaco', 'Consolas', monospace; /* Sabit genişlikli font rakamların titremesini önler */
    font-size: 24px;
    font-weight: bold;
    color: #d84344;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dot-sep {
    margin: 0 8px; /* İki nokta üst üste işaretinin yan boşlukları */
    opacity: 0.5;
    animation: blink 1s infinite; /* İki noktanın yanıp sönme efekti */
}

@keyframes blink {
    50% { opacity: 0.1; }
}

/* Rakam kutucukları (isteğe bağlı, daha şık durur) */
.countdown-digits span:not(.dot-sep) {
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 8px;
    border-radius: 6px;
    min-width: 40px;
    display: inline-block;
}

.target-info {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 5px;
    font-weight: 400;
}

/* Zamanlayıcı aktifken gizlenecek alanlar için */
.timer-settings-wrapper {
    transition: all 0.3s ease;
}

/* Analog saati ve mod butonlarını yumuşakça gizlemek için */
.timer-settings-wrapper.hidden-fade {
    display: none !important;
}

/* İkonun temel yapısı */
/* Temel ikon yapısı */
#sleepTimerIcon {
    position: relative;
    transition: all 0.3s ease;
}

/* Aktif olduğunda ikonun rengini değiştir */
#sleepTimerIcon.active {
    color: #d84344 !important;
}

/* Aktif olduğunda kırmızı nokta ve nabız efekti */
#sleepTimerIcon.active::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -4px;
    width: 10px;
    height: 10px;
    background-color: #d84344;
    border: 2px solid #1a1b1f; /* Arka plan renginizle uyumlu */
    border-radius: 50%;
    z-index: 10;
    /* Hem beliriş animasyonu hem de sonsuz nabız efekti */
    animation: bounceIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
               pulseWave 2s infinite;
}

/* Noktanın etrafında yayılan dalga efekti */
@keyframes pulseWave {
    0% {
        box-shadow: 0 0 0 0 rgba(216, 67, 68, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(216, 67, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(216, 67, 68, 0);
    }
}

/* İlk açılış zıplama efekti */
@keyframes bounceIn {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

#clock-face {
  /* Fare hareketlerini optimize et */
  touch-action: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Sayıların (Rakamların) Genel Stili */
.clock-number {
  position: absolute;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #888;
  transition: all 0.3s ease;
  z-index: 2;
}

/* Seçili olan rakamın parlaması */
.clock-number.active {
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Akrep ve Yelkovan Stili */
.hand {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom center;
  /* Donanım hızlandırmasını (GPU) zorla kullan */
  will-change: transform;
  pointer-events: none;
}

/* Yelkovan (Dakika) */
.hand.minute {
  width: 4px;
  height: 90px;
  background: #d84344;
  margin-left: -2px; /* Genişliğin yarısı kadar sola kaydırarak ortalar */
}

/* Akrep (Saat) */
.hand.hour {
  width: 6px;
  height: 60px;
  background: #fff;
  margin-left: -3px;
}

/* Saat Merkezi (Mil) */
#clock-face::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: #d84344;
  border: 2px solid #1a1a1d;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}





/* FULL SCREEN PLAYER MODAL */
/* ============================================= */
/* FULL PLAYER MODAL – TAM OPAK VE PREMIUM BLUR ARKA PLAN (ALTT AKİ SAYFA GÖRÜNMEZ) */
.full-player-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 9999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.5s ease, visibility 0.5s ease !important;
    overflow: hidden !important;
    background-color: #000 !important; /* Tam siyah fallback – alttaki sayfayı tamamen gizler */
    background-size: cover
}

.full-player-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit;                   /* JS'den gelen albüm/radyo resmi */
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    filter: blur(30px);                          /* Daha güçlü blur için 30px – premium derinlik hissi */
    opacity: 1.1;                                /* Yüksek opaklık – albüm kapağı belirgin olsun */
    transform: scale(1.1);                      /* Hafif zoom – kenarlara taşma ile daha immersive */
    z-index: -1;
}

.full-player-modal.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Opsiyonel: İçerik katmanını hafif karart (daha premium kontrast için) */
.full-player-content {
    position: relative;
    z-index: 1; /* Blur katmanının üstünde */
    
    
    padding: 40px 20px; /* Daha ferah iç boşluk */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.full-player-modal.active ~ #errorReportModal,
#errorReportModal {
    z-index: 11000 !important;
}

/* İçerik */
.full-player-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    color: #fff;
    text-align: center;
}

/* Kapat Butonu */
.close-full-player {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 34px;
    cursor: pointer;
    z-index: 10;
    opacity: 0.8;
    transition: all 0.3s;
}

.close-full-player:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Logo */
.full-player-logo-container {
width: 75vw;
  
  
  border-radius: 8%;
  overflow: hidden;
  border: 1px solid #aaa;
}

.full-player-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Radyo ve Şarkı Bilgisi */
.full-player-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
}

/* Şarkı adının kayacağı 'pencere' */
.full-track-window {
    width: 100%;
    max-width: 320px; 
    overflow: hidden; /* Dışarı çıkan yazıyı gizle */
    white-space: nowrap;
    position: relative;
    height: 30px;
    display: flex;
    justify-content: center; /* Kısa yazıları ortalar */
}

#full-player-status {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    position: relative;
    will-change: transform;
}

/* Animasyon */
@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    15% { transform: translateX(0); }
    85% { transform: translateX(var(--scroll-dist)); }
    100% { transform: translateX(0); }
}

.animate-marquee {
    animation: marquee-scroll 15s linear infinite alternate !important;
}

.full-track-info {
    font-size: 20px;
  color: #fff;
  text-shadow: 0px 1px 1px rgb(0, 0, 0);
  
  font-style: normal;
}


/* Ana Kontroller */
/* Full player ana kontroller - FLEX ile simetrik ve KAYMA YOK */
.full-player-main-controls {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Sol-orta-sağ otomatik dağılım */
    width: 100%;
    max-width: 580px;
    margin: 30px auto;
    padding: 0 20px; /* Yan boşluklar */
    position: relative;
}

/* Sol ve sağ butonlar için ortak kapsayıcı */
.side-buttons-wrapper {
    display: flex;
    align-items: center;
    width: 60px; /* Sabit genişlik */
    height: 60px;
}

/* Favori ve Rastgele butonları - FLEX ile sabit konum */
#fullFavoriteBtn,
#randomRadioBtnFull {
    font-size: 32px;
    color: #fff;
    opacity: 0.9;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.4s ease, transform 0.4s ease;
    transform-origin: center center;
}

/* Hover - Sadece renk ve büyüme, kayma yok */
#fullFavoriteBtn:hover,
#randomRadioBtnFull:hover {
    opacity: 1;
    color: #d84344;
    transform: scale(1.18);
}

/* Orta kontroller (önceki, play, sonraki) */
.middle-controls {
    display: flex;
    align-items: center;
    gap: 40px;
}

.control-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    transition: color 0.4s ease, transform 0.4s ease;
}

.control-btn:hover {
    color: #d84344;
    transform: scale(1.15);
}

.main-play-pause {
    font-size: 60px !important;
    color: #d84344 !important;
}

/* Favori aktifken */
#fullFavoriteBtn.favorited {
    color: #d84344 !important;
    opacity: 1;
}

#fullFavoriteBtn.favorited i {
    font-weight: 900;
    animation: heartBeat 1.2s ease-in-out infinite;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Mobil uyum */
@media (max-width: 600px) {
    .full-player-main-controls {
        padding: 0 10px;
        gap: 20px;
    }
    .control-btn, #fullFavoriteBtn, #randomRadioBtnFull {
        font-size: 28px;
    }
    .main-play-pause {
        font-size: 48px !important;
    }
    .side-buttons-wrapper {
        width: 50px;
        height: 50px;
    }
}






/* Ses Kontrolü */
.full-volume-control {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
    width: 85%;
    max-width: 420px;
}

.full-volume-control i {
    font-size: 28px;
    color: #ccc;
}

.volume-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 9px;
    background: #444;
    outline: none;
    border-radius: 5px;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: #d84344;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(216, 67, 68, 0.5);
}

/* Ek Butonlar */
.full-player-extra-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.extra-btn {
    background: rgba(43, 43, 43, 0);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 26px;
  cursor: pointer;
  transition: all 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0px 1px 1px rgb(0, 0, 0);
}

.extra-btn:hover {
    background: #d84344;
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 12px 25px rgba(216, 67, 68, 0.45);
}

/* Header'daki zamanlayıcı efekti full modal'a taşındı (kırmızı nokta + dalga) */
#fullSleepTimerBtn.timer-active {
    color: #d84344 !important;
    position: relative;
}

#fullSleepTimerBtn.timer-active::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -4px;
    width: 10px;
    height: 10px;
    background-color: #d84344;
    border: 2px solid #1a1b1f;
    border-radius: 50%;
    z-index: 10;
    animation: bounceIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
               pulseWave 2s infinite;
}

@keyframes pulseWave {
    0% {
        box-shadow: 0 0 0 0 rgba(216, 67, 68, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(216, 67, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(216, 67, 68, 0);
    }
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

/* Toast container full modal üstünde görünsün */
#toast-container {
    z-index: 10001 !important;
}

/* Zamanlayıcı modalı full player üstünde görünsün */
#sleepTimerModal {
    z-index: 10000 !important;
}

#sleepTimerModal .modal-content {
    position: relative;
    z-index: 10001;
}



.recording-blink {
    animation: blinker 1.5s linear infinite;
}
@keyframes blinker {
    50% { opacity: 0.3; }
}




/* MANUEL ZAMAN GİRİŞ MODALI - FULL PLAYER ÜSTÜNDE GÖRÜNSÜN */
#manualTimeModal {
    z-index: 10002 !important; /* Full player (9999) ve uyku modalından (10000) daha yüksek */
}

.custom-modal-backdrop {
    z-index: 10001 !important; /* Arka plan karartması da üstte olsun */
}

/* Opsiyonel: Daha iyi odak için blur ekle */
#manualTimeModal.active {
    animation: fadeIn 0.3s ease;
}



/* HATA BİLDİR MODAL STİLLERİ */
#errorReportModal .error-option-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #24252b;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 11000 !important;
}

#errorReportModal .error-option-label:hover {
    background: #2d2d31;
}

#errorReportModal .error-option-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #d84344;
}

#errorReportModal .error-option-label span {
    font-size: 16px;
    color: #eee;
}



/* Kayıtlarım bölümündeki düzenle/indir/sil butonlarını küçült ve güzelleştir */
/* Kayıtlarım bölümü kapsayıcı */
#kayitlarimContainer {
    
}

/* Boş durum - daha premium ve dikkat çekici */
#kayitliSeslerListesi > p,
.recording-empty-card {
    background: rgba(30, 30, 36, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(216, 67, 68, 0.15);
    border-radius: 18px;
    margin: 30px 12px;
    padding: 60px 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    text-align: center;
    color: #bbb;
    font-size: 17px;
    line-height: 1.5;
}

/* ★ Premium Recording Card - Daha belirgin cam efekti ve kontrast ★ */
/* Kayıt menüsü wrapper */
.recording-menu-wrapper {
    position: relative;
    margin-left: auto; /* sağa yasla */
}

/* Üç nokta butonu */
.recording-menu-btn {
    background: none;
    border: none;
    color: #aaa;
    font-size: 20px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 50%;
    transition: all 0.2s;
}

.recording-menu-btn:hover {
    color: #d84344;
    background: rgba(216, 67, 68, 0.15);
}

/* Açılır menü */
.recording-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #1e1f24;
    border: 1px solid #444;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
    min-width: 160px;
    z-index: 15;
    overflow: hidden;
    margin-top: 4px;
}

.recording-menu-dropdown.hidden {
    display: none;
}

/* Menü öğeleri */
.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 16px;
    background: none;
    border: none;
    text-align: left;
    color: #ddd;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.menu-item:hover {
    background: #2d2d31;
}

.menu-item i {
    width: 18px;
    text-align: center;
}

.edit-btn { color: #ffca28; }
.download-btn { color: #00ff88; }
.delete-btn { color: #ff4d4d; }



/* Full player favori butonu temel stil */
#fullFavoriteBtn {
    font-size: 30px;
    color: #fff;
    opacity: 0.9;
    transition: all 0.3s ease;
}

#fullFavoriteBtn:hover {
    opacity: 1;
    transform: scale(1.2);
    color: #d84344;
}

/* Favoriye eklendiğinde dolu kırmızı kalp + animasyon */
#fullFavoriteBtn.favorited {
    color: #d84344 !important;
}

#fullFavoriteBtn.favorited i {
    font-weight: 900; /* far → fas (dolu kalp) */
    animation: heartBeat 0.6s ease-in-out;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    20% { transform: scale(1.3); }
    40% { transform: scale(1); }
    60% { transform: scale(1.2); }
    80% { transform: scale(1); }
    100% { transform: scale(1); }
}



/* MOBİL CİHAZLARDA HOVER STUCK SORUNUNU ÇÖZER - SADECE DOKUNMATİK EKRANLAR İÇİN */
@media (hover: none) and (pointer: coarse) {
    /* Ana kontrol butonları (önceki, oynat, sonraki, favori, rastgele) */
    .control-btn:hover,
    .side-control-btn:hover,
    #fullFavoriteBtn:hover,
    #randomRadioBtnFull:hover {
        color: inherit !important;
        transform: none !important;
    }

    /* Ekstra butonlar (paylaş, zamanlayıcı, alarm, kayıt, hata bildir) */
    .extra-btn:hover {
        background: transparent !important;
        transform: none !important;
        box-shadow: none !important;
    }
}

/* Dokunma anında güzel bir efekt (isteğe bağlı ama önerilir) */
.control-btn:active,
.side-control-btn:active,
.extra-btn:active {
    opacity: 0.7;
    transform: scale(0.95);
    transition: all 0.1s ease;
}

#radioListContent {
    display: flex;
    flex-direction: column;
    transition: all 0.5s ease; /* Yer değiştirmeler yumuşak olsun */
}







/* Arka plan bulanıklaştırma */
.blur-bg { filter: blur(8px); transition: filter 0.4s ease; pointer-events: none; }
#global-loader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8); display: flex; flex-direction: column;
    justify-content: center; align-items: center; z-index: 1000000; backdrop-filter: blur(10px);
}
.spinner {
    width: 50px; height: 50px; border: 5px solid rgba(216, 67, 68, 0.2);
    border-top: 5px solid #d84344; border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 15px;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
#loader-text { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }

#loader-text {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}





/* Dolu kısım - renk JS'den dinamik gelecek */
#volumeSlider::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 50px;
    background: linear-gradient(to right,
        var(--fill-color, #fff) 0%,
        var(--fill-color, #fff) var(--volume-value),
        #333 var(--volume-value),
        #333 100%
    );
}

#volumeSlider::-moz-range-track {
    height: 6px;
    border-radius: 50px;
    border: none;
    background: linear-gradient(to right,
        var(--fill-color, #fff) 0%,
        var(--fill-color, #fff) var(--volume-value),
        #333 var(--volume-value),
        #333 100%
    );
}

#volumeSlider::-moz-range-progress {
    background: var(--fill-color, #fff);
    border-radius: 50px 0 0 50px;
    height: 6px;
}

/* Thumb'ı dikeyde tam ortaya hizala */
#volumeSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--fill-color, #fff);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: -7px; /* BU SATIR ÇOK ÖNEMLİ! Thumb'ı ortaya getirir */
}

#volumeSlider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--fill-color, #fff);
    border-radius: 50%;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: -7px; /* Firefox için de aynı hizalama */
}

/* Track yüksekliğini biraz artırarak daha dengeli durmasını sağla */
#volumeSlider {
    height: 6px; /* zaten 6px ise koru */
    margin: 14px 0; /* Üst ve alt boşluk ekle ki thumb rahat otursun */
}






/* Ülkeler Listesi için Özel Stil */
#ulkelerContainer .country-list-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 14px 18px;
    margin-bottom: 8px;
    border-radius: 12px;
    background-color: #24252b;
    cursor: pointer;
    margin-left: 10px;
  margin-right: 10px;
    transition: all 0.3s ease;
    border: 1px solid #2d2d31;
}

#ulkelerContainer .country-list-item:hover {
    background: #2d2d31;
    
    
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

#ulkelerContainer .country-flag {
    width: 48px;
    height: 36px;
    border-radius: 6px;
    margin-right: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}

#ulkelerContainer .country-name {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.country-radio-count {
    margin-left: auto;
    background-color: #d84344;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 16px;
    min-width: 54px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    transition: all 0.2s;
}

/* Çok radyo varsa daha dikkat çekici */
.country-radio-count[data-count^="1"] {
    background-color: #e67e22;          /* turuncu - 1000+ */
}

/* 5000+ için kırmızı ton */
.country-radio-count[data-count^="5"],
.country-radio-count[data-count^="6"],
.country-radio-count[data-count^="7"],
.country-radio-count[data-count^="8"],
.country-radio-count[data-count^="9"] {
    background-color: #c0392b;
}

/* Sıfır veya bilinmeyen */
.country-radio-count[data-count="0"] {
    background-color: #555;
    color: #ddd;
}



/* HEADER İKONLARI DÜZENİ - TAM ORTALI VE DÜZGÜN HİZALAMA */
.icon-section {
    display: flex;
    align-items: center;
    gap: 18px; /* İkonlar arası boşluk sabit ve düzenli */
    justify-content: flex-end;
}

.icon-section i {
    font-size: 19px;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.icon-section i:hover {
    color: #fff;
    transform: scale(1.1);
}

/* BİLDİRİM ÇANI ÖZEL STİLLERİ */
.notification-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#notificationIcon {
    font-size: 19px;
    color: #888;
    transition: all 0.4s ease;
    z-index: 1;
}

/* Yeni mesaj geldiğinde uyarı efekti */
#notificationIcon.has-unread {
    color: #d84344 !important;
    animation: ring 1.8s ease-in-out infinite, pulse 1.5s ease-in-out infinite;
}

/* Zil çalma animasyonu */
@keyframes ring {
    0% { transform: rotate(0); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-10deg); }
    30% { transform: rotate(10deg); }
    40% { transform: rotate(-8deg); }
    50% { transform: rotate(8deg); }
    60% { transform: rotate(0); }
    100% { transform: rotate(0); }
}

/* Nabız gibi renk parlaması */
@keyframes pulse {
    0% { text-shadow: 0 0 8px rgba(216, 67, 68, 0); }
    50% { text-shadow: 0 0 20px rgba(216, 67, 68, 0.8); }
    100% { text-shadow: 0 0 8px rgba(216, 67, 68, 0); }
}

/* Badge (okunmamış sayısı) */
.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #d84344;
    color: white;
    font-size: 11px;
    font-weight: bold;
    min-width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.6);
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 2;
}

.notification-badge.visible {
    opacity: 1;
    transform: scale(1);
}

/* Mobil cihazlarda daha iyi görünüm */
@media (max-width: 480px) {
    .icon-section {
        gap: 6px;
    }
    #notificationIcon {
        font-size: 18px;
    }
    .notification-badge {
        font-size: 10px;
        min-width: 15px;
        height: 15px;
        top: -6px;
        right: -6px;
    }
}


/* HAMBURGER MENÜ İKONU - DAHA BÜYÜK VE ŞIK */
#menuIcon {
    font-size: 22px !important;
    color: #888;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
}

#menuIcon:hover {
    color: #d84344;
    background: rgba(216, 67, 68, 0.15);
    transform: scale(1.1);
}
.menu-item {
    padding:14px 16px;
    color:#fff;
    cursor:pointer;
    transition:0.2s;
    border-bottom:1px solid #333;
}

.menu-item:hover {
    background:#2d2d31;
}

.menu-item:last-child {
    border-bottom:none;
}












/* === ALT SEKME DÜZELTMELERİ - ZORUNLU === */
#categoryOverlay {
    padding-top: 0 !important;
}

.sub-tabs {
    display: flex !important;
    background: #1e1f24;
    border-bottom: 1px solid #2d2d31;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 10 !important;          /* ← önemli! */
    box-shadow: 0 3px 12px rgba(0,0,0,0.5);
}

.sub-tab {
    flex: 1;
    padding: 14px 0;
    text-align: center;
    background: transparent;
    border: none;
    color: #999;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
}

.sub-tab:hover {
    color: #ddd;
}

.sub-tab.active {
    color: #ffffff !important;
}

.sub-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: #d84344;
    border-radius: 4px 4px 0 0;
}

.subtab-content {
    display: none !important;
}

.subtab-content.active {
    display: block !important;
}

/* Liste düzgün görünsün diye */
#categoryOverlay .category-list,
#categoryOverlay .subtab-content .category-list {
    
}
.favorite-icon:hover {
    color: #d84344;
    
}



.premium-badge-wrapper {
    display: flex;
    justify-content: center;
    
}






/* ====================== KALİTE SEÇENEK BUTONLARI ====================== */
.quality-buttons-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px; /* Şarkı adından biraz boşluk */
    padding: 0 20px;
}

.quality-btn {
    background: rgba(40, 40, 44, 0.8);
    color: #ccc;
    border: 2px solid #555;
    padding: 10px 6px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    min-width: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quality-btn:hover {
    background: rgba(216, 67, 68, 0.3);
    color: #fff;
    border-color: #d84344;
}

.quality-btn.active {
    background: #d84344;
    color: #fff;
    border-color: #d84344;
    box-shadow: 0 0 18px rgba(216, 67, 68, 0.7);
}
/* ====================================== */
/* MASAÜSTÜ/GENİŞ EKRAN İYİLEŞTİRMELER */
/* ====================================== */
@media (min-width: 768px) {
    /* Mobil simülasyonu kaldırıp tam ekran deneyimine geçiliyor */
    body {
        justify-content: flex-start;
        align-items: flex-start;
        background-color: #1e1f24; 
    }
    
    .app-container {
        /* Tarayıcı penceresinin tamamını kapla */
        max-width: 100%; 
        width: 100%;
        height: 100vh;
        min-height: 100vh;
        border-radius: 0;
        box-shadow: none;
        margin: 0;
    }

    /* Toast'ın çok geniş olmasını engelle, merkezde tut */
    #toast-container {
        top: 20px;
        max-width: 420px; 
        width: 90%;
    }

    /* Mini player'ın tam genişlikte olmasını ve altta kalmasını sağla */
    #miniPlayer {
        max-width: 100%;
        left: 0;
        transform: translateY(0);
    }

    #miniPlayer.hidden {
        transform: translateY(70px);
    }

    /* Sekmelerin başlangıçta görünürlüğünü sağla (masaüstü deneyimi) */
    .tabs-nav {
        justify-content: center;
        max-width: 100%;
    }
    
    /* İçeriğin tam genişlikte olmasını sağla */
    .content-section {
        max-width: 100%;
        padding: 15px 50px; /* Daha geniş yan boşluklar */
        padding-bottom: 70px; 
    }
    
    .category-list, .radio-list-content, .search-results-list {
       
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .list-item {
        padding: 15px 0;
    }
    
    .category-list {
        padding: 0; 
    }
 
 
 

}