/* ============================================
   Şarkı Kartları Stilleri
   ============================================ */

/* Şarkı Kartları Container */
#songs-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Şarkı Kartı */
.song-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    cursor: pointer;
}

.song-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Kapak Görseli */
.song-cover {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
}

.song-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.song-card:hover .song-cover img {
    transform: scale(1.1);
}

/* Şarkı Bilgileri */
.song-info {
    padding: 20px;
}

.song-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    line-height: 1.3;
}

.song-meta {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.song-description {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Platform Linkleri */
.platform-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.platform-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.platform-link:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.platform-link.spotify:hover {
    background: #1DB954;
    border-color: #1DB954;
}

.platform-link.apple:hover {
    background: #FA243C;
    border-color: #FA243C;
}

.platform-link.deezer:hover {
    background: #FF0092;
    border-color: #FF0092;
}

.platform-link.youtube:hover {
    background: #FF0000;
    border-color: #FF0000;
}

/* Yakında Badge */
.upcoming-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(240, 147, 251, 0.4);
}

/* Upcoming Şarkı Efekti */
.song-card.upcoming {
    opacity: 0.85;
}

.song-card.upcoming:hover {
    opacity: 1;
}

.song-card.upcoming::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.1) 0%, rgba(245, 87, 108, 0.1) 100%);
    pointer-events: none;
    border-radius: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    #songs-container {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
        padding: 30px 15px;
    }
    
    .song-title {
        font-size: 1.1rem;
    }
    
    .platform-link {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    #songs-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ============================================
   Şarkı Dinleme Player Modal
   ============================================ */

/* Play Overlay (Kapak üzerinde) */
.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.song-card:hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    font-size: 60px;
    color: white;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.play-overlay:hover i {
    transform: scale(1.1);
}

/* Dinle Butonu */
.platform-link.play-btn {
    width: auto;
    padding: 0 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, #1DB954, #1ed760);
    border: none;
    color: white;
    font-weight: 600;
    font-size: 14px;
    gap: 8px;
    cursor: pointer;
}

.platform-link.play-btn:hover {
    background: linear-gradient(135deg, #1ed760, #1DB954);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(29, 185, 84, 0.4);
}

/* Player Modal */
.player-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.player-modal.active {
    opacity: 1;
    pointer-events: all;
}

.player-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.player-modal-content {
    position: relative;
    background: rgba(20, 20, 30, 0.95);
    border-radius: 24px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.player-modal.active .player-modal-content {
    transform: scale(1);
}

.player-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    text-align: center;
}

.player-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.player-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.player-container {
    min-height: 352px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Player Modal */
@media (max-width: 768px) {
    .player-modal-content {
        padding: 30px 20px;
        max-width: 95%;
    }
    
    .player-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .player-modal-content {
        padding: 25px 15px;
    }
    
    .player-close {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}