:root {
    --bg-color: #ffe4e1; /* Misty Rose (Pink Lembut) */
    --card-color: #ffffff;
    --accent: #ff8da1; /* Hot Pink Soft */
    --text: #5d5d5d;
    --page-back: #fff0f5; /* Lavender Blush */
}

body {
    background: linear-gradient(135deg, #ffe4e1 0%, #ffc0cb 100%);
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    overflow: hidden;
}

.book {
    position: relative;
    width: 320px;
    height: 420px;
    perspective: 1500px;
}

input { display: none; }

.leaf {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-origin: left;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
    z-index: 5;
}

.front, .back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 25px;
    box-sizing: border-box;
    box-shadow: 2px 10px 20px rgba(255, 141, 161, 0.2);
    border-radius: 5px;
}

.front { background-color: var(--card-color); z-index: 2; }
.back { 
    background-color: var(--page-back); 
    transform: rotateY(-180deg); 
    z-index: 1;
}

input:checked + .leaf { transform: rotateY(-180deg); }

#c1:checked ~ #leaf1 { z-index: 1; }
#c2:checked ~ #leaf2 { z-index: 2; }
#c3:checked ~ #leaf3 { z-index: 3; }

.album-art {
    width: 220px;
    height: 220px;
    border-radius: 15px;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

h1 { font-family: 'Montserrat'; font-size: 18px; color: var(--accent); margin: 15px 0 5px; }
.artist { color: #888; font-weight: bold; font-size: 11px; letter-spacing: 2px; }

.text-content {
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
    font-style: italic;
    color: #7a7a7a;
    padding: 10px;
}

.gif-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.click-hint {
    margin-top: 20px;
    font-size: 10px;
    color: var(--accent);
    animation: blink 1.5s infinite;
}

@keyframes blink {
    50% { opacity: 0.3; }
}

label {
    position: absolute;
    width: 100%; height: 100%;
    cursor: pointer; z-index: 10;
}

/* Player Bar Pink Version */
.player-bar {
    position: fixed;
    bottom: 30px;
    width: 280px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    padding: 10px 20px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 141, 161, 0.3);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.play-btn {
    background: var(--accent);
    border: none;
    width: 35px; height: 35px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
}

.track-info { margin-left: 15px; }
.track-name { font-size: 11px; font-weight: bold; color: var(--accent); margin: 0; }
.track-artist { font-size: 9px; color: #aaa; margin: 0; }

.spotify-placeholder {
    margin-top: 20px;
    color: var(--accent);
    font-size: 12px;
}