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

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fce4ec, #f8bbd0, #f48fb1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    position: relative;
}

/* Floating hearts background */
.hearts-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.heart {
    position: absolute;
    bottom: -20px;
    font-size: 20px;
    animation: floatUp linear infinite;
    opacity: 0.6;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }
    100% {
        transform: translateY(-110vh) rotate(360deg);
        opacity: 0;
    }
}

/* Main container */
.container {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
}

.container.hidden {
    display: none;
}

.gif {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    border-radius: 12px;
}

h1 {
    color: #c2185b;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    line-height: 1.3;
    min-height: 2.6em;
    transition: all 0.3s ease;
}

.subtitle {
    color: #e91e63;
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* Buttons */
.buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn {
    border: none;
    padding: 14px 32px;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-yes {
    background: linear-gradient(135deg, #e91e63, #c2185b);
    color: white;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}

.btn-yes:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.6);
}

.btn-no {
    background: #f5f5f5;
    color: #777;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-no:hover {
    background: #eee;
}

/* Success screen celebration hearts */
.celebration-heart {
    position: fixed;
    font-size: 30px;
    animation: celebrate 1.5s ease-out forwards;
    pointer-events: none;
    z-index: 10;
}

@keyframes celebrate {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1.5) rotate(360deg) translateY(-300px);
        opacity: 0;
    }
}

/* Success screen animation */
#successScreen h1 {
    animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#successScreen .gif {
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.4rem;
    }
    .gif {
        width: 150px;
        height: 150px;
    }
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
}
