* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fdf6f9 0%, #f0e6ef 50%, #e8dff0 100%);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    margin-bottom: 2rem;
    text-align: center;
}

h1 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    color: #c77daa;
    text-shadow: 2px 2px 4px rgba(199, 125, 170, 0.2);
}

h1::before {
    content: "✨ ";
}

h1::after {
    content: " ✨";
}

p {
    color: #a88b9d;
    font-weight: 600;
    text-align: center;
}

#streak {
    color: #c77daa;
    font-weight: 800;
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

#streak::before {
    content: "💎 ";
}

#streak::after {
    content: " 💎";
}

#letters {
    display: flex;
    gap: 0;
    margin-top: 1.5rem;
    justify-content: center;
    position: relative;
}

#lyrics {
    color: #a88b9d;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1rem;
    text-align: center;
    height: 1.76rem;
    visibility: hidden;
}

#letters::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 4px;
    background: #333;
    border-radius: 2px;
    z-index: -1;
}

.letter {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #fff 0%, #f8e8f8 50%, #e8d0e8 100%);
    color: #333;
    font-family: 'Nunito', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 50%;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.8),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1),
        0 0 10px rgba(199, 125, 170, 0.3);
    border: 2px solid #e8a4c9;
    animation: float 3s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * 0.1s);
}

.letter:nth-child(odd) {
    animation-delay: 0s;
}

.letter:nth-child(even) {
    animation-delay: 0.5s;
}

#answers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 400px;
}

.answer-btn {
    padding: 0.75rem 1rem;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    background: linear-gradient(135deg, #e8a4c9 0%, #c77daa 100%);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(199, 125, 170, 0.3);
    transition: all 0.2s ease;
}

.answer-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #d68fb8 0%, #b56a97 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(199, 125, 170, 0.4);
}

.answer-btn:disabled {
    cursor: default;
    opacity: 0.7;
}

.answer-btn .album {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    margin-top: 0.2rem;
}

.answer-btn {
    position: relative;
}

.answer-btn.correct {
    background: linear-gradient(135deg, #7dca7d 0%, #4caf50 100%);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3), 0 0 20px rgba(76, 175, 80, 0.4);
}

.answer-btn.correct::after {
    content: "⭐";
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 1.2rem;
}

.answer-btn.wrong {
    background: linear-gradient(135deg, #e88a8a 0%, #d32f2f 100%);
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.answer-btn.wrong::after {
    content: "💔";
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 1.2rem;
}

#next-btn {
    visibility: hidden;
    margin-top: 1.5rem;
    padding: 0.75rem 2rem;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #e8a4c9 0%, #c77daa 100%);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(199, 125, 170, 0.3);
    transition: all 0.2s ease;
}

#next-btn:hover {
    background: linear-gradient(135deg, #d68fb8 0%, #b56a97 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(199, 125, 170, 0.4);
}
