    body {
            background: #121212;
            color: white;
            font-family: Verdana, Arial, sans-serif;
            margin: 0;
            padding: 0;
touch-action: manipulation;
        }


        /* Normal Büyük Header */
        .playlist-header {
            background: linear-gradient(180deg, #C4145A, #525212);
            padding: 30px;
            transition: all 0.4s ease-in-out;
        }



.play-btn {
    font-size: 30px;


}





        .playlist-title {
            font-size: 2rem;
            font-weight: bold;
            letter-spacing: -2px;
            transition: all 0.4s ease-in-out;
        }

        .playlist-info {
            font-size: 14px;
            margin-top: 10px;
        }

    .home-icon a {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 40px;
            cursor: pointer;
            color:#efefef;
}

@media (max-width: 768px) {
    .home-icon a {
        font-size: 30px; /* Küçük ekranlarda küçült */
        top: 10px;
        right: 10px;
    }
}


  
        /* Sayfa İçeriği */
        .container {
            padding-top: 20px;
        }

    .track-table {
    width: 100%;
    border-collapse: collapse;
}

.track-table th, .track-table td {
    padding: 10px;
    border-bottom: 1px solid #333;
    font-size: 14px;
}

/* 🔢 Numara sütunu genişliği küçültüldü */
.track-table th:first-child,
.track-table td:first-child {
    width: 5%; /* Numara sütunu daha dar */
    text-align: center;
}

/* ⏱ Süre sütunu genişliği küçültüldü */
.track-table th:last-child,
.track-table td:last-child {
    width: 10%; /* Süre sütunu daha dar */
    text-align: center;
}

/* 🎵 Şarkı başlığı ve sanatçı bilgisi için genişleme alanı */
.track-table th:nth-child(2),
.track-table td:nth-child(2) {
    width: 85%; /* Şarkı ismi en geniş alanı kaplasın */
}

/* 🖱 Hover efekti */
.track-table tr:hover {
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}




  .playing {
            background: rgba(228, 208, 255, 0.5) !important;
            font-weight: bold;
        }



:root {
    --scrollbar-width: 17px; /* Windows için varsayılan scrollbar genişliği */
}

.audio-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw; /* Mobil cihazlarda tam genişlik */
    max-width: calc(100vw - var(--scrollbar-width)); /* Masaüstünde scrollbar taşmasını önler */
    height: 80px;
    background: black;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease-in-out;
    z-index: 1000;
    cursor: pointer;
border-top:2px solid #333;
}

/* Mobil cihazlarda scrollbar genişliği sıfır olduğu için override ediyoruz */
@media (max-width: 768px) {
    .audio-player {
        max-width: 100vw; /* iPhone ve Android cihazlarda tam genişlik */
    }
}







        .close-btn {
            position: absolute;
            top: 30px;
            left: 20px;
            font-size: 25px;
            cursor: pointer;
        }

     .dtl-btn {
            position: absolute;
            top: 30px;
            right: 20px;
            font-size: 25px;
            cursor: pointer;
        }



.albumtitleartist {
            align-items: center;
            justify-content: center;
            margin-top: 20px;
            text-align:center;
            font-family: Verdana, Arial, sans-serif;
}






.album-covermini {
    width: 50px;
    height: 50px;
    border-radius: 2px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
   // flex-direction: column;
padding-right:5px;
padding-left:5px;
}


.lato-thin {
  font-family: "Lato", serif;
  font-weight: 100;
  font-style: normal;
}

.lato-light {
  font-family: "Lato", serif;
  font-weight: 300;
  font-style: normal;
}

.lato-regular {
  font-family: "Lato", serif;
  font-weight: 400;
  font-style: normal;
}

.lato-bold {
  font-family: "Lato", serif;
  font-weight: 700;
  font-style: normal;
}

.lato-black {
  font-family: "Lato", serif;
  font-weight: 900;
  font-style: normal;
}

.lato-thin-italic {
  font-family: "Lato", serif;
  font-weight: 100;
  font-style: italic;
}

.lato-light-italic {
  font-family: "Lato", serif;
  font-weight: 300;
  font-style: italic;
}




.lato-regular-italic {
  font-family: "Lato", serif;
  font-weight: 400;
  font-style: italic;
}

.lato-bold-italic {
  font-family: "Lato", serif;
  font-weight: 700;
  font-style: italic;
}

.lato-black-italic {
  font-family: "Lato", serif;
  font-weight: 900;
  font-style: italic;
}

#audioPlayer {
    display: none; /* Sayfa yüklendiğinde gizli olacak */
}

.mini-track-time {
    font-size: 12px;
    color: #bbb;
    min-width: 50px;
    text-align: right;
    padding-right: 15px;
}

/* Lyrics Modal Fullscreen */
.lyrics-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.95); /* Hafif transparan koyu arka plan */
    color: #E0E0E0; /* Açık gri, göz yormayan yazı rengi */
    display: none; /* Başlangıçta gizli */
    justify-content: center;
    align-items: center;
    z-index: 3000;
    backdrop-filter: blur(10px); /* Blur efekti */
}

/* İçerik Alanı */
.lyrics-content {
    width: 90%;
    max-width: 600px;
    background: #181818; /* Daha koyu, saf siyah değil */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    text-align: left;
    max-height: 80vh; /* Taşmayı önlemek için */
    overflow-y: auto; /* Scroll bar eklensin */
}

/* Şarkı sözleri */
.lyrics-text {
    font-size: 22px; /* Büyük font */
    line-height: 1.6;
    font-family: 'Lato', sans-serif;
    padding: 10px;
    white-space: pre-wrap; /* Boşlukları ve yeni satırları koru */
}

/* CREDITS kısmı */
.lyrics-credits {
    font-size: 13px;
    line-height: 1.4em;
    color: #ccc;
    font-family: 'Lato', sans-serif;
    // margin-top: 10px;
}


/* Kapatma butonu */
.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 60px;
    cursor: pointer;
    color: #FF5252; /* Hafif kırmızı ton, dikkat çeker */
    transition: 0.3s;
}

.close-modal:hover {
    color: #FF7676;
}

/* Mobilde tam ekran */
@media (max-width: 768px) {
    .lyrics-content {
        width: 100%;
        max-width: none;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
        padding: 10px;
    }
}







.fullscreen-player {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
 transform: translateY(-20px); /* İçeriği 20px yukarı taşı */
    color: white;
    z-index: 2000;
}

.album-cover {
    width: 80%;
    aspect-ratio: 1 / 1;
    border-radius: 5px;
    background-size: cover;
    background-position: center;
    margin-top: 20px;
    border: 4px solid #333;
}

.track-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin-top: 15px;
}

.track-details {
    text-align: left;
}

.track-details h4 {
    margin: 0;
    font-size: 24px;
}

.track-details h6 {
    margin: 0;
    font-size: 17px;
    color: #aaa;
}

.like-button i {
    font-size: 22px;
    cursor: pointer;
    color: #fff;
}

.progress-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    margin-top: 40px;
    font-size: 13px;
    color: white;
    position: relative;
}

.progress-bar {
    width: 100%;
    height: 5px;
    background: #444;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    margin-bottom: 10px;
}

.progress {
    width: 0%;
    height: 100%;
    background: #1DB954;
}

.progress-time {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 12px;
    margin-top: 2px;
}


#fullscreenPlayPause {
    font-size: 30px;
}


/* Mini Player */
.audio-player {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #222;
    padding: 10px;
    border-radius: 10px;
    color: white;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
}

.album-covermini {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    background-size: cover;
    background-position: center;
}

.mini-track-info {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.mini-track-info strong {
    font-size: 14px;
}

.mini-track-info span {
    font-size: 12px;
    color: #bbb;
}

.mini-track-time {
    font-size: 12px;
    margin-left: auto;
}

.fullscreen-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    max-width: 400px;
    margin-top: 20px;
}

.control-btn {
    flex: 1;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    text-align: center;
}

.playpause {
    font-size: 30px;
    flex: 1;
    text-align: center;
}

@media (max-width: 768px) {
    .fullscreen-controls {
        width: 100%;
        max-width: 350px;
    }

    .control-btn {
        font-size: 18px;
    }
}



.nplaylist-container {
    max-width: 800px;
    margin: 10px auto;
    padding: 10px;
    padding-top: 0px;
}

/* Görünüm değiştirme butonları */
.view-toggle {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
    gap: 10px;
}

.view-toggle button {
    background: none;
    border: none;
    color: #bbb;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s ease-in-out;
}

.view-toggle button.active {
    color: #fff;
}



.nplaylist-item {
    width: 45%;
    background: #1d1d1d;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
    text-align: center;
    font-size: 12px;
}

.nplaylist-item a {
    text-decoration: none;
    color: white;
    display: block;
}

.nplaylist-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    width: 100px;
    height: 100px;
    background-size: cover;
    background-position: center;
}

/* ✅ LİSTE GÖRÜNÜMÜ (TABLO YAPISI) */
.nplaylist-grid.list-mode {
    display: flex;
    flex-direction: column;
}

.nplaylist-item.list-view {
    width: 100%;
    background: #1d1d1d;
    border-radius: 5px;
    border-bottom: 1px solid #444;
    padding: 10px;
}

.nplaylist-item.list-view table {
    width: 100%;
    border-collapse: collapse;
}

.nplaylist-item.list-view td {
    vertical-align: middle;
    padding: 10px;
}

.nplaylist-item.list-view .nplaylist-image {
    width: 100px;
    height: 100px;
    border-radius: 5px;
    background-size: cover;
    background-position: center;
}

.nplaylist-item.list-view .nplaylist-text {
    text-align: left;
}

.nplaylist-item.list-view .nplaylist-name {
    font-size: 18px;
    font-weight: bold;
}

.nplaylist-item.list-view .nplaylist-description {
    font-size: 11px;
    color: #aaa;
    margin-top: 5px;
}


.list-mode {
  width: 100%;
}

.nplaylist-item.list-view {
  background: #1d1d1d;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 8px;
}

.nplaylist-list-inner {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
}

.nplaylist-text {
  flex: 1;
  color: #fff;
  font-size: 0.95rem;
}

.nplaylist-name {
  font-weight: bold;
  margin-bottom: 4px;
}

.nplaylist-description {
  color: #ccc;
  font-size: 0.85rem;
}








.playlist-section-header {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5x;
  background-color: #111;

}

.playlist-section-logo {
  width: 80px;
  height: 80px;

}

.playlist-section-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.playlist-section-title-top {
  font-size: 1.4rem;
  font-weight: bold;
  font-family: 'Anton', sans-serif;
  line-height: 1;
  color: #1db954;
}

.playlist-section-title-bottom {
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 1px;
  color: #ccc;
}



.modal-slide-down .modal-dialog {
  transform: translateY(-100%);
  transition: transform 0.5s ease-out;
}

.modal.fade.show .modal-dialog.modal-slide-down {
  transform: translateY(0);
}



@media (min-width: 768px) {
  .masonry-grid {
    column-count: 2;
  }
}

@media (min-width: 1024px) {
  .masonry-grid {
    column-count: 2;
  }
}


.list-mode .nplaylist-item {
    margin: 10px 0;
    padding: 8px;
    border-bottom: 1px solid #eee;
}


.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.masonry-item {
  background: #111;
  border-radius: 10px;
  padding: 10px;
  color: white;
  display: flex;
  flex-direction: column;
  break-inside: avoid;

}


 /* Scroll to Top Button */
#scrollToTopBtn {
    position: fixed;
    bottom: 70px;
    right: 20px;
    background-color: #1da1f2;
    color: white;
    border: none;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: none;
    display: flex; /* Flexbox ile ikon ortalanır */
    justify-content: center; /* Yatayda ortalama */
    align-items: center; /* Dikeyde ortalama */
    font-size: 22px;
    cursor: pointer;
    z-index: 1000;
}


.list-view {
    margin: 10px 0;
    padding: 10px;
    border-radius: 10px;
    background-color: #111;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #333;
    transition: background 0.3s;
}

.list-view:hover {
    background-color: #1a1a1a;
}


.nplaylist-item {
    background-color: #111;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 8px;
}

.nplaylist-item a {
    display: flex;
    align-items: center; /* DİKEY ORTALAMA */
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.nplaylist-thumb {
    width: 60px;
    height: 60px;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    flex-shrink: 0;
}

.nplaylist-meta {
    display: flex;
    flex-direction: column;
    justify-content: center; /* YAZILARI ORTALA */
    line-height: 1.2;
}




.album-cover {
    width: 80vw;
    max-width: 400px; /* geniş ekranlarda daha fazla büyümesini engeller */
    height: 80vw;
    max-height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    margin-bottom: 20px;
}

.fullscreen-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .fullscreen-player {
        padding: 40px;
    }

    .album-cover {
        width: 300px;
        height: 300px;
    }

    .track-info, .progress-container, .fullscreen-controls {
        width: 100%;
        max-width: 500px;
    }
}


.nplaylist-image-with-text {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.nplaylist-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    padding: 12px 14px;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}

.nplaylist-overlay .nplaylist-name {
    font-weight: bold;
    font-size: 1.7rem;
    line-height: 1.2; /* Sıkılaştırır */
    margin-bottom: 0.1rem; /* Varsa çok küçük bir boşluk */
}

.nplaylist-overlay .nplaylist-description {
    font-size: 1.2rem;
    opacity: 0.85;
    line-height: 1.1; /* Aynı şekilde sıkılaştırır */
    margin-top: 0; /* Ekstra boşluk varsa engeller */
}


.playlist-meta-top-left,
.playlist-meta-top-right {
    position: absolute;
    top: 8px;
    background: rgba(0,0,0,0.6);
    padding: 4px 8px;
    font-size: 12px;
    color: #fff;
    font-family: 'Lato', sans-serif;
    border-radius: 5px;
    z-index: 2;
    max-width: 70%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.playlist-meta-top-left {
    left: 8px;
}

.playlist-meta-top-right {
    right: 8px;
}
