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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 50%, #fbc2eb 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Floating hearts background */
.hearts-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.heart {
    position: absolute;
    font-size: 30px;
    animation: float 15s infinite;
    opacity: 0.6;
}

.heart:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.heart:nth-child(2) {
    left: 30%;
    animation-delay: 2s;
    animation-duration: 15s;
}

.heart:nth-child(3) {
    left: 50%;
    animation-delay: 4s;
    animation-duration: 13s;
}

.heart:nth-child(4) {
    left: 70%;
    animation-delay: 6s;
    animation-duration: 14s;
}

.heart:nth-child(5) {
    left: 90%;
    animation-delay: 8s;
    animation-duration: 16s;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
    }
}

/* Main container */
.container {
    background: rgba(255, 255, 255, 0.95);
    padding: 60px 40px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 500px;
    width: 90%;
    z-index: 10;
    position: relative;
}

.title {
    font-size: 42px;
    color: #ff69b4;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.question {
    font-size: 28px;
    color: #e91e63;
    margin-bottom: 40px;
    font-weight: 600;
}

.buttons-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    font-size: 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-yes {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
}

.btn-yes:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
}

.btn-no {
    background: linear-gradient(135deg, #a8a8a8, #8a8a8a);
    color: white;
    transition: all 0.3s ease;
}

.btn-no:hover {
    background: linear-gradient(135deg, #8a8a8a, #6a6a6a);
}

.message {
    font-size: 22px;
    color: #e91e63;
    font-weight: 600;
    min-height: 30px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success screen */
.success-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6b9d 0%, #c06c84 50%, #ffa69e 100%);
    z-index: 100;
    overflow: hidden;
}

.success-content {
    position: relative;
    z-index: 101;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px;
}

.success-title {
    font-size: 56px;
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    animation: bounceIn 1s ease;
}

.success-subtitle {
    font-size: 42px;
    color: #ffe4e1;
    margin-bottom: 30px;
    animation: bounceIn 1.2s ease;
}

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

.heart-animation {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.pulse-heart {
    font-size: 48px;
    animation: pulse 1.5s ease infinite;
}

.pulse-heart:nth-child(2) {
    animation-delay: 0.2s;
}

.pulse-heart:nth-child(3) {
    animation-delay: 0.4s;
}

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

.success-message {
    font-size: 24px;
    color: white;
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 30px;
    animation: fadeIn 2s ease;
}

.celebration-image {
    animation: fadeIn 2.5s ease;
}

.celebration-image img {
    max-width: 400px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Confetti */
.confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -10px;
    animation: fall linear forwards;
}

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive design */
@media (max-width: 600px) {
    .container {
        padding: 40px 30px;
    }

    .title {
        font-size: 32px;
    }

    .question {
        font-size: 22px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 18px;
    }

    .message {
        font-size: 18px;
    }

    .success-title {
        font-size: 40px;
    }

    .success-subtitle {
        font-size: 32px;
    }

    .pulse-heart {
        font-size: 36px;
    }

    .success-message {
        font-size: 20px;
    }
}
