body {
    background-color: #121212;
    color: white;
    font-family: 'Segoe UI', system-ui, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container { text-align: center; }

#draw-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    background-color: #1DB954;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 30px;
}

.card-container {
    width: 320px;
    height: 320px;
    perspective: 1000px;
    margin: 0 auto;
}

.card {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    cursor: pointer;
}

.card.is-flipped { transform: rotateY(180deg); }

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    padding: 20px;
    box-sizing: border-box;
}

.card-front { background: white; color: #333; }

.card-back {
    transform: rotateY(180deg);
    color: white;
    justify-content: space-between;
}

.song-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

#display-year { font-size: 5.5rem; margin: 0; font-weight: 900; }
#display-title { font-size: 1.2rem; margin: 0; text-transform: uppercase; }
#display-artist { font-size: 1rem; margin: 0; opacity: 0.8; }

#display-id {
    font-size: 0.8rem;
    background: rgba(0,0,0,0.3);
    padding: 5px 12px;
    border-radius: 10px;
    align-self: center;
    font-family: monospace;
}