body{
    font-family: Arial, sans-serif;
    background-color:#1d1d1d;
    color:#fff;
    margin:0;
    padding:0;
    text-align:center;
}
.library-container{
    padding:20px;
    max-width:1200px;
    margin:0 auto;
}

.cd-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-top:20px;
}
@media (max-width:768px){
    .cd-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:480px){
    .cd-grid{ grid-template-columns:1fr; }
}

.cd-item{
    cursor:pointer;
    background:#222;
    padding:10px;
    border-radius:10px;
    text-align:center;
    box-shadow:0 4px 15px rgba(0,0,0,.5);
    transition:transform .2s ease, box-shadow .2s ease;
    opacity:0;
    animation:fadeIn 0.6s forwards;
}
@keyframes fadeIn{
    from{ opacity:0; transform:translateY(12px); }
    to{ opacity:1; transform:translateY(0); }
}
.cd-item:hover{
    transform:scale(1.03);
    box-shadow:0 6px 20px rgba(0,0,0,.8);
}
.cd-item img{
    width:100%;
    max-height:150px;
    object-fit:cover;
    border-radius:10px;
}
.cd-item p{
    margin:10px 0 0;
}

.lyrics-display{
    margin-top:30px;
    background:rgba(255,255,255,.08);
    padding:20px;
    border-radius:10px;
    box-shadow:0 4px 10px rgba(0,0,0,.3);
    text-align:left;
}
#cdAudio{
    width:100%;
    margin-top:10px;
}
#videoError{
    color:#ff4d4d;
    font-size:1.1rem;
    margin-top:15px;
    font-weight:bold;
}
#cdLyrics{
    font-size:1.05rem;
    line-height:1.6;
    white-space:pre-wrap;
    margin-top:15px;
    color:#fff;
    background:rgba(0,0,0,.55);
    padding:15px;
    border-radius:10px;
    opacity:0;
    transform:translateY(10px);
    transition:opacity .3s ease, transform .3s ease;
}
#cdLyrics.show{
    opacity:1;
    transform:translateY(0);
}

#secretBtn{
    position:fixed;
    right:10px;
    bottom:10px;
    width:18px;
    height:18px;
    opacity:0.08;
    border:none;
    background:#fff;
    border-radius:999px;
    cursor:pointer;
}
#secretBtn:hover{ opacity:0.25; }