* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
}

.container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    max-width: 90%;
}

h1 {
    margin-bottom: 25px;
    font-size: 26px;
}

.attempts {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #ff4d6d;
    font-size: 14px;
}

.attempts .label {
    font-weight: 600;
    letter-spacing: 0.3px;
}

.attempts .hearts {
    display: flex;
    gap: 4px;
    font-size: 18px;
}

.buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

button {
    padding: 12px 22px;
    font-size: 16px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

#yesBtn {
    background: #ff4d6d;
    color: white;
}

#yesBtn:hover {
    transform: scale(1.1);
    background: #ff1f47;
}

#noBtn {
    background: #c084a8;
    color: white;
    transition: all 0.3s ease;
}

#noBtn:hover {
    background: #b06b97;
}

button:active {
    transform: scale(0.95);
}

/* Confetti animations - multiple keyframes for variety */
@keyframes confetti-fall-1 {
    0% {
        transform: translateY(-10px) translateX(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) translateX(100px) rotate(720deg);
        opacity: 0;
    }
}

@keyframes confetti-fall-2 {
    0% {
        transform: translateY(-10px) translateX(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) translateX(-100px) rotate(-720deg);
        opacity: 0;
    }
}

@keyframes confetti-fall-3 {
    0% {
        transform: translateY(-10px) translateX(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes confetti-spin {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

.confetti {
    position: fixed;
    pointer-events: none;
    animation-duration: 3s;
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation-fill-mode: forwards;
}

.confetti-1 { animation-name: confetti-fall-1; }
.confetti-2 { animation-name: confetti-fall-2; }
.confetti-3 { animation-name: confetti-fall-3; }

/* Floating hearts animation */
@keyframes float-up {
    to {
        transform: translateY(-100vh) rotate(10deg);
        opacity: 0;
    }
}

.heart {
    position: fixed;
    font-size: 30px;
    pointer-events: none;
    animation: float-up 4s ease-in forwards;
}
