/* =================================================MA
   SNUCRE SPOTIFY WIDGET - FULL CSS (iOS 26 Concept)
   ================================================== */

/* --- ANA KAPSAYICI --- */
#snucre-player {
    position: relative;
    border-radius: 28px;
    color: white;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100% !important;
    max-width: 420px;
    margin: 20px auto;
    box-sizing: border-box;
    display: block;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- ARKA PLAN VE BLUR (Normal Tasarımlar İçin) --- */
.snucre-blur-bg {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-size: cover;
    background-position: center;
    filter: blur(40px) brightness(0.5);
    transform: scale(1.1);
    z-index: 1;
}

/* --- MODERN GLASSMORPHISM (iOS 26 CONCEPT) --- */
.snucre-glass {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(35px) saturate(210%) brightness(1.1) !important;
    -webkit-backdrop-filter: blur(35px) saturate(210%) brightness(1.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
}

.snucre-glass .snucre-blur-bg {
    display: none; /* iOS cam efektinde görsel arka planı kapatıyoruz */
}

.snucre-glass .snucre-content {
    background: rgba(0, 0, 0, 0.15); /* Okunabilirlik için hafif katman */
    padding: 24px !important;
    border-radius: 28px;
}

/* Glass Yazı Renkleri */
.snucre-glass .inner-title, 
.snucre-glass .snucre-artist,
.snucre-glass #snucre-cur-time,
.snucre-glass #snucre-dur-time {
    color: #ffffff !important;
    text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

/* --- İÇERİK YAPISI --- */
.snucre-body, .snucre-content {
    position: relative;
    z-index: 5;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* --- TASARIM VARYASYONLARI --- */
.snucre-dikey .snucre-content { flex-direction: column; text-align: center; }
.snucre-yatay .snucre-content, .snucre-glass .snucre-content { flex-direction: row; }

/* Artwork */
img.snucre-art {
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 12px 24px rgba(0,0,0,0.4);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.snucre-dikey img.snucre-art { width: 220px !important; height: 220px !important; margin: 0 auto; }
.snucre-yatay img.snucre-art, .snucre-glass img.snucre-art { width: 90px !important; height: 90px !important; flex-shrink: 0; }

/* --- METİN VE BİLGİ ALANI --- */
.snucre-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.snucre-badge {
    align-self: flex-start;
    font-size: 9px;
    font-weight: 800;
    background: var(--accent);
    color: #000 !important;
    padding: 4px 12px;
    border-radius: 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.snucre-dikey .snucre-badge { align-self: center; }

.inner-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    white-space: nowrap;
    letter-spacing: -0.5px;
}

.snucre-scrolling-title { width: 100%; overflow: hidden; }

.snucre-artist {
    opacity: 0.7;
    font-size: 15px;
    margin: 3px 0 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- PROGRESS BAR (iOS Neon) --- */
.snucre-progress-area {
    width: 100%;
    margin-top: 15px;
}

.snucre-bar-bg {
    width: 100%;
    height: 5px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    overflow: hidden;
}

#snucre-fill {
    height: 100%;
    background: #ffffff !important;
    box-shadow: 0 0 12px rgba(255,255,255,0.6), 0 0 4px var(--accent);
    width: 0%;
    transition: 1s linear;
}

.snucre-time {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    opacity: 0.5;
    margin-top: 7px;
    font-weight: 600;
}

/* --- EQUALIZER --- */
.snucre-eq {
    position: absolute;
    bottom: 12px;
    right: 15px;
    display: flex;
    gap: 3px;
    align-items: flex-end;
    height: 14px;
    background: rgba(0,0,0,0.3);
    padding: 6px;
    border-radius: 8px;
}

.snucre-eq span {
    width: 3px;
    background: var(--accent);
    border-radius: 2px;
    animation: eq 0.8s infinite ease-in-out;
}

@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }

/* --- HOVER EFEKTLERİ --- */
#snucre-player:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.snucre-glass:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
}

#snucre-player:hover img.snucre-art {
    transform: rotate(2deg) scale(1.06);
}

/* --- RESPONSIVE --- */
@media (max-width: 450px) {
    #snucre-player { max-width: 92%; }
    .snucre-dikey img.snucre-art { width: 190px !important; height: 190px !important; }
}

@media (max-width: 350px) {
    .snucre-content { padding: 15px; gap: 15px; }
    .snucre-yatay img.snucre-art, .snucre-glass img.snucre-art { width: 75px !important; height: 75px !important; }
}