@font-face { font-family: 'font4'; src: url('https://file.garden/aXUfWdPgtglShqRb/fonts/SF-Pro.ttf')}


:root {
    --baby-pink: #fff0f3;
    --soft-rose: #ffccd5;
    --accent-rose: #fb6f92;
    --dusty-mauve: #8d7b7e;
}

body {
    background-color: var(--baby-pink);
    background-image: url(https://i.pinimg.com/originals/c5/67/bc/c567bca989776b77aa0fa213b6437bca.gif);
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover; 
    background-attachment: fixed;
    color: #c3939bc9;
    font-family: 'font4', sans-serif;
    margin: 0;
    padding: 60px 20px;
    overflow-x: hidden;
}

header { text-align: center; margin-bottom: 80px; }
.ribbon { font-size: 2.5rem; margin-bottom: 10px; }
h1 { font-family: 'font4', serif; font-size: 3.5rem; font-weight: 400; font-style: italic; margin: 0; }

.playlist-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 60px 30px;
    max-width: 1600px;
    margin: 0 auto;
}

.month-card { display: flex; flex-direction: column; align-items: center; width: 100%; }

/* --- CD VISUALS --- */
.cd-box {
    position: relative;
    width: 200px; height: 170px;
    display: flex; align-items: center; justify-content: flex-start;
}

.case-cover {
    position: absolute;
    left: 0; width: 165px; height: 165px;
    background-size: cover; background-position: center;
    z-index: 10; border-radius: 2px;
    box-shadow: 4px 0 15px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.6);
}

.cd-slide {
    position: absolute; left: 10px; z-index: 5;
    transition: transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cd-disc {
    width: 155px; height: 155px; border-radius: 50%;
    background-size: cover; background-position: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    animation: spin 6s linear infinite;
    animation-play-state: paused;
}

.cd-slide.is-out { transform: translateX(45px); }
.cd-slide.is-out .cd-disc { animation-play-state: running; }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.cd-reflection {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 25%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.4) 75%, rgba(255,255,255,0) 100%);
    mix-blend-mode: overlay; pointer-events: none;
}

.cd-hole {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 35px; height: 35px; background: var(--baby-pink); border-radius: 50%;
}

/* --- TEXT & CENTERED CONTROLS --- */
.month-name { font-family: 'font4', serif; font-style: italic; font-size: 1.4rem; margin: 20px 0 5px 0; color: #dfcace; }

.tracklist {
    list-style: none; padding: 0; margin-bottom: 20px;
    font-size: 0.7rem; text-align: center; height: 60px; overflow-y: auto; width: 100%; color: pink;
}
.tracklist li { padding: 3px 0; opacity: 0.5; cursor: pointer; transition: 0.3s; }
.tracklist li.active { color: rgba(255, 255, 255, 0.82); font-weight: bold; opacity: 1; }

/* Centering the controls */
.controls {
    display: flex;
    justify-content: center; /* Centers the row */
    align-items: center;
    gap: 20px; /* Space between simple symbols */
    width: 100%;
    margin-bottom: 10px;
}

.icon-only-btn {
    background: none;
    border: none;
    padding: 0;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, opacity 0.2s;
    opacity: 0.7;
}

.icon-only-btn:hover {
    transform: scale(1.1);
    opacity: 1;
}

.icon-only-btn svg {
    fill: currentColor;
}

.play-btn svg { width: 22px; height: 22px; }
.skip-btn svg { width: 18px; height: 18px; }

/* Progress Bar centered under icons */
.progress-container {
    width: 100%;
    max-width: 140px;
    height: 2px;
    background: rgba(0,0,0,0.05);
    border-radius: 2px;
    cursor: pointer;
}
.progress-bar { height: 100%; background: var(--soft-rose); width: 0%; border-radius: 2px; }

@media (max-width: 1200px) { .playlist-grid { grid-template-columns: repeat(3, 1fr); } }