:root {
    --bg-base: #121212;
    --bg-highlight: #1a1a1a;
    --text-main: #ffffff;
    --text-sub: #a7a7a7;
    --spotify-green: #1db954;
    --nav-bg: rgba(0, 0, 0, 0.85);
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; -webkit-tap-highlight-color: transparent; }

body { background-color: var(--bg-base); color: var(--text-main); overflow-x: hidden; padding-bottom: 140px; }

/* ===== SPLASH SCREEN ===== */
#splash-screen { position: fixed; inset: 0; background: radial-gradient(circle at center, #081b4a, #050816); z-index: 99999; display: flex; justify-content: center; align-items: center; overflow: hidden; font-family: system-ui, sans-serif; transition: opacity 0.5s ease; }
.flash { position: absolute; inset: 0; background: white; opacity: 0; animation: flashIn .3s ease; pointer-events: none; }
.container-splash { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; width: 100vw; height: 100dvh; position: relative; animation: fadeOutSplash 1s ease 6.5s forwards; }
.logo-area { position: relative; width: 240px; height: 240px; display: flex; align-items: center; justify-content: center; }
.tech { position: absolute; width: 320px; height: 320px; border-radius: 50%; border: 1px dashed rgba(29,185,84,0.2); animation: rotateTech 12s linear infinite; }
.tech::before, .tech::after { content: ""; position: absolute; inset: -20px; border-radius: 50%; border: 1px solid rgba(29,92,255,0.15); animation: rotateTechReverse 18s linear infinite; }
.tech::after { inset: 25px; border-style: dashed; animation-duration: 8s; }
.ring { position: absolute; width: 100%; height: 100%; border-radius: 50%; border: 2px solid rgba(29,185,84,0.18); animation: pulseSplash 2.4s infinite; }
.ring:nth-child(2) { animation-delay: .8s; }
.ring:nth-child(3) { animation-delay: 1.6s; }
.logo-wrap { width: 190px; height: 190px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #000; box-shadow: 0 0 0 2px var(--spotify-green), 0 0 25px rgba(29,185,84,0.25); transform: scale(0.2); animation: zoomInSplash 1s cubic-bezier(.2,1.3,.4,1) forwards; overflow: hidden; }
#splash-screen .logo { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; opacity: 0; transform: scale(0.6); animation: logoPopSplash .8s ease .6s forwards; filter: drop-shadow(0 0 10px rgba(29,185,84,0.25)); }
#splash-screen h1 { margin: 32px 0 6px; font-size: 32px; letter-spacing: 2px; opacity: 0; animation: textRevealSplash .9s ease 1.4s forwards; }
.soundi { color: var(--spotify-green); text-shadow: 0 0 6px rgba(29,185,84,0.35); }
.fy { color: #ffffff; }
#splash-screen p { margin: 0; font-size: 14px; color: rgba(255,255,255,0.7); opacity: 0; animation: fadeUpSplash .8s ease 1.8s forwards; }
.footer-splash { position: absolute; bottom: 30px; left: 0; right: 0; margin: auto; font-size: 11px; color: rgba(255,255,255,0.5); text-align: center; line-height: 1.4; opacity: 0; animation: fadeUpSplash .8s ease 2.4s forwards; }

@keyframes flashIn { 0% { opacity: .6; } 100% { opacity: 0; } }
@keyframes zoomInSplash { 0% { transform: scale(0.1); opacity: 0; } 60% { transform: scale(1.15); } 100% { transform: scale(1); opacity: 1; } }
@keyframes logoPopSplash { 0% { opacity: 0; transform: scale(0.5); } 60% { transform: scale(1.1); } 100% { opacity: 1; transform: scale(1); } }
@keyframes textRevealSplash { 0% { opacity: 0; letter-spacing: 10px; transform: translateY(10px); } 100% { opacity: 1; letter-spacing: 2px; transform: translateY(0); } }
@keyframes fadeUpSplash { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulseSplash { 0% { transform: scale(0.85); opacity: 0.5; } 100% { transform: scale(1.45); opacity: 0; } }
@keyframes rotateTech { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes rotateTechReverse { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }
@keyframes fadeOutSplash { to { opacity: 0; transform: scale(1.05); } }

.view-section { display: none; animation: fadeIn 0.2s ease; }
.view-section.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.home-header { padding: 16px 20px; display: flex; align-items: center; gap: 14px; position: sticky; top: 0; background: var(--bg-base); z-index: 50; border-bottom: 1px solid #1a1a1a; }
.profile-icon { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; cursor: pointer; }
.profile-icon-search { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; cursor: pointer; }

.pill { background-color: #2a2a2a; color: white; padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: 500; cursor: pointer; }
.pill.active { background-color: var(--spotify-green); color: black; }

.section-container { margin-bottom: 32px; }
.section-title { font-size: 22px; font-weight: 700; margin: 0 16px 16px 16px; letter-spacing: -0.5px; }

.vertical-list { padding: 0 16px; display: flex; flex-direction: column; gap: 16px; }

.v-item { display: flex; align-items: center; gap: 12px; padding: 6px 8px; margin: 0 -8px; border-radius: 8px; cursor: pointer; transition: background 0.2s; position: relative; }
.v-item:active { background: rgba(255,255,255,0.05); }

.v-checkbox { display: none; width: 20px; height: 20px; accent-color: #e8115b; cursor: pointer; flex-shrink: 0; margin-right: 4px; }
.v-item.editing .v-checkbox { display: block; }
.v-item.editing .dots-container { display: none; }

.v-img { width: 48px; height: 48px; object-fit: cover; border-radius: 4px; background: #282828; flex-shrink: 0; }
.v-info { flex: 1; min-width: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.v-title { font-size: 16px; font-weight: 400; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
.v-sub { font-size: 13px; color: var(--text-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dots-container { width: 40px; height: 40px; flex-shrink: 0; display: flex; justify-content: center; align-items: center; border-radius: 50%; }
.dots-container:active { background: rgba(255,255,255,0.1); }
.dots-icon { fill: var(--text-sub); width: 20px; height: 20px; }

.horizontal-scroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding: 0 16px; }
.horizontal-scroll::-webkit-scrollbar { display: none; }
.horizontal-scroll::after { content: ''; flex: 0 0 1px; }

.h-card { width: 140px; flex-shrink: 0; scroll-snap-align: start; cursor: pointer; transition: transform 0.2s; }
.h-card:active { transform: scale(0.95); }
.h-img { width: 140px; height: 140px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; background: #282828; box-shadow: 0 8px 24px rgba(0,0,0,0.5); }
.h-img.artist-img { border-radius: 50%; }
.h-title { font-size: 13px; font-weight: 600; line-height: 1.2; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.h-sub { font-size: 12px; color: var(--text-sub); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.search-header-container { padding: 40px 16px 16px; display: flex; align-items: center; gap: 12px; }
.search-header-container h1 { font-size: 24px; font-weight: 700; }
.search-box-wrapper { margin: 0 16px 20px; position: relative; }
.search-icon-input { position: absolute; left: 12px; top: 12px; width: 24px; height: 24px; fill: #121212; }
.search-box { width: 100%; padding: 14px 14px 14px 44px; border-radius: 4px; border: none; font-size: 15px; font-weight: 500; background: white; color: black; outline: none; }

.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 0 16px; margin-bottom: 30px; }
.category-card { border-radius: 8px; padding: 12px 12px 0 12px; height: 95px; position: relative; overflow: hidden; cursor: pointer; }
.category-title { font-size: 16px; font-weight: 700; color: white; z-index: 2; position: relative; line-height: 1.2; }
.category-img { position: absolute; right: -15px; bottom: -5px; width: 65px; height: 65px; transform: rotate(25deg); border-radius: 4px; box-shadow: -4px 4px 10px rgba(0,0,0,0.3); object-fit: cover; }

.lib-header { padding: 40px 16px 16px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: var(--bg-base); z-index: 50; }
.lib-header-left { display: flex; align-items: center; gap: 16px; }
.lib-title { font-size: 24px; font-weight: 700; }
.lib-actions { display: flex; gap: 20px; align-items: center; }
.lib-actions svg { width: 24px; height: 24px; fill: white; cursor: pointer; }
.lib-filters { padding: 0 16px 16px; border-bottom: 1px solid #282828; display: flex; gap: 12px; }
.lib-list { padding: 0 16px; display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }

.lib-item { display: flex; align-items: center; gap: 16px; cursor: pointer; padding: 8px; border-radius: 8px; transition: background 0.2s; margin: 0 -8px; }
.lib-item:active { background: rgba(255,255,255,0.05); }
.lib-item-img { width: 64px; height: 64px; border-radius: 4px; object-fit: cover; display: flex; justify-content: center; align-items: center; flex-shrink: 0; }
.lib-item-img.circle { border-radius: 50%; }
.lib-item-img.liked { background: linear-gradient(135deg, #450af5, #c4efd9); }
.lib-item-img.fav { background: linear-gradient(135deg, #e1118c, #f5a623); }
.lib-item-img.hist { background: linear-gradient(135deg, #1e3264, #477d95); }
.lib-item-img.off { background: linear-gradient(135deg, #2a2a2a, #535353); }
.lib-item-info { flex: 1; overflow: hidden; min-width: 0; }
.lib-item-title { font-size: 16px; font-weight: 400; color: var(--text-main); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lib-item-sub { font-size: 13px; color: var(--text-sub); display: flex; align-items: center; gap: 6px; }
.pin-icon { fill: var(--spotify-green); width: 12px; height: 12px; transform: rotate(45deg); }

.playlist-cover-box { width: 240px; height: 240px; border-radius: 8px; display: flex; justify-content: center; align-items: center; box-shadow: 0 12px 30px rgba(0,0,0,0.6); overflow: hidden; }

.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(18, 18, 18, 0.85); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border-top: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-around; padding: 12px 0 15px; z-index: 1000; }
.nav-item { color: var(--text-sub); text-decoration: none; font-size: 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; transition: color 0.2s; }
.nav-item.active { color: var(--text-main); }
.nav-item svg { width: 22px; height: 22px; fill: currentColor; }

.mini-player { position: fixed; bottom: 65px; left: 8px; right: 8px; background: rgba(30,30,30,0.9); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border-radius: 8px; display: flex; flex-direction: column; z-index: 900; box-shadow: 0 4px 16px rgba(0,0,0,0.6); cursor: pointer; overflow: hidden; animation: slideUpMini 0.3s ease; border: 1px solid rgba(255,255,255,0.1); }
@keyframes slideUpMini { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.mini-player-content { padding: 8px 12px; display: flex; align-items: center; gap: 12px; }
.mini-player img { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; box-shadow: 0 4px 10px rgba(0,0,0,0.3); flex-shrink: 0; }
.mini-player-info { flex: 1; min-width: 0; overflow: hidden; }
.mini-player-title { font-size: 14px; font-weight: 700; color: white; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
.mini-player-artist { font-size: 12px; color: var(--text-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-player-controls { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.mini-player-controls svg { fill: white; width: 26px; height: 26px; cursor: pointer; }
.mini-progress-track { width: 100%; height: 3px; background: rgba(255,255,255,0.1); }
.mini-progress-fill { height: 100%; background: var(--spotify-green); width: 0%; transition: width 0.1s linear; border-radius: 0 2px 2px 0; }
.play-pause-btn-mini { display: flex; align-items: center; justify-content: center; }

/* ===== PERSISTENT MINI PLAYER (FLOATING) ===== */
#persistentMiniPlayer {
    position: fixed;
    bottom: 70px;
    left: 12px;
    right: 12px;
    background: rgba(28, 28, 30, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 14px;
    padding: 10px 14px;
    display: none;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.85), 0 0 0 0.5px rgba(255,255,255,0.06);
    z-index: 9999;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(255,255,255,0.08);
}

#persistentMiniPlayer:active { transform: scale(0.97); }
.mini-cover { width: 48px; height: 48px; border-radius: 8px; flex-shrink: 0; background: #333; object-fit: cover; box-shadow: 0 4px 12px rgba(0,0,0,0.4); }
.mini-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mini-title { font-size: 14px; font-weight: 600; color: white; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-artist { font-size: 12px; color: #b3b3b3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-controls { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.mini-controls svg { fill: white; width: 20px; height: 20px; cursor: pointer; transition: transform 0.15s, opacity 0.15s; }
.mini-controls svg:active { transform: scale(0.85); opacity: 0.7; }
.mini-play-btn { background: white; border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 0.15s; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.mini-play-btn:active { transform: scale(0.88); }
.mini-play-btn svg { fill: black; width: 16px; height: 16px; }
.mini-progress-track { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,0.12); border-radius: 0 0 14px 14px; overflow: hidden; }
.mini-progress-fill { height: 100%; width: 0%; background: #1ed760; border-radius: 0 0 14px 14px; transition: width 0.15s linear; }

/* ===== FULLSCREEN PLAYER MODAL (GAYA IPHONE) ===== */
#fullscreenPlayerModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.94);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    z-index: 10000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 20px 40px;
    animation: fadeInUp 0.35s cubic-bezier(0.1, 0.9, 0.2, 1);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

#fullscreenPlayerModal .fs-cover {
    width: 75%;
    max-width: 320px;
    aspect-ratio: 1/1;
    border-radius: 16px;
    background: #222;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 0 0.5px rgba(255,255,255,0.05);
    object-fit: cover;
    margin-bottom: 24px;
}

#fullscreenPlayerModal .fs-info {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
    max-width: 380px;
}

#fullscreenPlayerModal .fs-title {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#fullscreenPlayerModal .fs-artist {
    font-size: 16px;
    color: #b3b3b3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#fullscreenPlayerModal .fs-progress { width: 100%; max-width: 380px; margin: 8px 0 4px; }
#fullscreenPlayerModal input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.2);
    outline: none;
    transition: background 0.1s;
    accent-color: #1ed760;
    cursor: pointer;
}
#fullscreenPlayerModal input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
#fullscreenPlayerModal input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    border: none;
}

#fullscreenPlayerModal .fs-time {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 380px;
    font-size: 12px;
    color: #b3b3b3;
    font-variant-numeric: tabular-nums;
    margin-top: 4px;
}

#fullscreenPlayerModal .fs-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-top: 20px;
    width: 100%;
    max-width: 380px;
}

#fullscreenPlayerModal .fs-controls svg {
    fill: white;
    width: 28px;
    height: 28px;
    cursor: pointer;
    transition: transform 0.15s, opacity 0.15s;
}
#fullscreenPlayerModal .fs-controls svg:active { transform: scale(0.85); opacity: 0.7; }

#fullscreenPlayerModal .fs-play-btn {
    background: white;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

#fullscreenPlayerModal .fs-play-btn:active { transform: scale(0.92); }
#fullscreenPlayerModal .fs-play-btn svg { fill: black; width: 32px; height: 32px; }

#fullscreenPlayerModal .fs-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    color: white;
    font-size: 20px;
    transition: background 0.2s;
    backdrop-filter: blur(10px);
}
#fullscreenPlayerModal .fs-close:active { background: rgba(255,255,255,0.18); }

.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 2000; display: none; flex-direction: column; animation: slideUp 0.3s cubic-bezier(0.1, 0.9, 0.2, 1); background-color: #121212; overflow: hidden; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
#playerBg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1; filter: blur(40px) brightness(0.3); background-size: cover; background-position: center; transform: scale(1.2); transition: background 0.5s ease; }
.player-content-wrapper { position: relative; z-index: 2; display: flex; flex-direction: column; height: 100%; justify-content: space-between; }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 40px 24px 10px; }
.player-art-container { padding: 0 24px; display: flex; justify-content: center; align-items: center; flex: 1; margin-bottom: 10px; }
.player-art-container img { width: 100%; aspect-ratio: 1/1; max-width: 350px; object-fit: cover; border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,0.6); display: block; }

.player-track-info { display: flex; justify-content: space-between; align-items: center; padding: 0 24px; margin-bottom: 16px; }
.player-title { font-size: 22px; font-weight: 800; color: white; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; text-align: left; }
.player-artist { font-size: 16px; color: rgba(255,255,255,0.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.progress-container { padding: 0 24px; margin-bottom: 10px; }
.progress-bar { -webkit-appearance: none; width: 100%; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.2); outline: none; transition: background 0.1s; }
.progress-bar::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: white; cursor: pointer; display: none; }
.progress-container:hover .progress-bar::-webkit-slider-thumb { display: block; }
.time-info { display: flex; justify-content: space-between; font-size: 11px; color: rgba(255,255,255,0.7); margin-top: 8px; font-variant-numeric: tabular-nums; }
.playback-controls { display: flex; justify-content: space-between; align-items: center; padding: 0 24px 10px; position: relative; }

.menu-item { padding: 16px 0; font-size: 16px; font-weight: 500; color: white; border-bottom: 1px solid rgba(255,255,255,0.05); cursor: pointer; }
.menu-item:last-child { border-bottom: none; }

#createPlaylistModal .modal-overlay { background: rgba(0,0,0,0.9); justify-content: center; align-items: center; padding: 20px; }
.cp-box { background: #282828; width: 100%; max-width: 350px; border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 16px; align-items: center; z-index: 10; }
.cp-title { font-size: 18px; font-weight: 700; }
.cp-input { width: 100%; background: transparent; border: none; border-bottom: 1px solid #a7a7a7; color: white; font-size: 20px; padding: 8px 0; outline: none; text-align: center; }
.cp-img-preview { width: 120px; height: 120px; background: #3e3e3e; border-radius: 4px; display: flex; justify-content: center; align-items: center; cursor: pointer; object-fit: cover; }
.cp-btn-row { display: flex; gap: 16px; width: 100%; margin-top: 10px; }
.cp-btn { flex: 1; padding: 12px; border-radius: 20px; border: none; font-weight: 700; cursor: pointer; font-size: 14px; }
.cp-btn.cancel { background: transparent; color: white; }
.cp-btn.save { background: var(--spotify-green); color: black; }

.toast-notification { position: fixed; bottom: -100px; left: 50%; transform: translateX(-50%); background-color: var(--spotify-green); color: #000; padding: 12px 24px; border-radius: 8px; font-size: 14px; font-weight: 700; box-shadow: 0 4px 12px rgba(0,0,0,0.5); z-index: 3000; transition: bottom 0.3s cubic-bezier(0.1, 0.9, 0.2, 1); white-space: nowrap; text-align: center; }
.toast-notification.show { bottom: 90px; }

.dev-hero { background: linear-gradient(180deg, #1e3264 0%, var(--bg-base) 100%); padding: 60px 16px 30px; text-align: center; position: relative; border-bottom: 1px solid #1a1a1a; }
.dev-card { background: #181818; border-radius: 12px; padding: 20px; margin-bottom: 16px; border: 1px solid rgba(255,255,255,0.05); }
.dev-card-title { font-size: 16px; font-weight: 700; color: white; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.dev-card-title svg { fill: var(--text-sub); width: 20px; height: 20px; }
.dev-cta-btn { display: flex; justify-content: center; align-items: center; gap: 8px; background: white; color: black; padding: 14px 24px; border-radius: 24px; text-decoration: none; font-weight: 700; font-size: 15px; width: 100%; margin-top: 10px; transition: transform 0.2s; border: none; cursor: pointer; }
.dev-cta-btn:active { transform: scale(0.98); }
.install-pwa-btn { background: var(--spotify-green); color: black; display: none; margin-bottom: 16px; } 
.social-icon { width: 44px; height: 44px; background: #282828; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.social-icon:active { background: #3e3e3e; }
.dev-list { list-style: none; padding: 0; margin: 0; }
.dev-list li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.dev-list li:last-child { border-bottom: none; padding-bottom: 0; }
.dev-list span.label { color: var(--text-sub); }
.dev-list span.value { color: white; font-weight: 600; text-align: right; }

@media (max-width: 480px) {
    #persistentMiniPlayer { bottom: 68px; left: 10px; right: 10px; padding: 8px 12px; border-radius: 12px; }
    .mini-cover { width: 40px; height: 40px; border-radius: 6px; }
    .mini-title { font-size: 13px; }
    .mini-artist { font-size: 11px; }
    .mini-controls { gap: 8px; }
    .mini-controls svg { width: 18px; height: 18px; }
    .mini-play-btn { width: 28px; height: 28px; }
    .mini-play-btn svg { width: 14px; height: 14px; }
    #fullscreenPlayerModal .fs-cover { width: 80%; max-width: 280px; }
    #fullscreenPlayerModal .fs-title { font-size: 19px; }
    #fullscreenPlayerModal .fs-artist { font-size: 14px; }
    #fullscreenPlayerModal .fs-controls { gap: 20px; }
    #fullscreenPlayerModal .fs-play-btn { width: 56px; height: 56px; }
    #fullscreenPlayerModal .fs-play-btn svg { width: 28px; height: 28px; }
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--spotify-green); border-radius: 4px; }
