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

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #ff6b95 0%, #ff8a80 25%, #ea80fc 50%, #ff6090 75%, #ff4081 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    position: relative;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

.floating-heart {
    position: absolute;
    font-size: 20px;
    animation: floatUp 6s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Main Card */
.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 50px 60px;
    text-align: center;
    box-shadow: 
        0 25px 80px rgba(255, 64, 129, 0.4),
        0 10px 30px rgba(0, 0, 0, 0.1),
        inset 0 -5px 20px rgba(255, 182, 193, 0.3);
    z-index: 1;
    position: relative;
    max-width: 500px;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.5);
    animation: cardFloat 3s ease-in-out infinite;
}

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

.card-content {
    position: relative;
}

.heart-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: heartbeat 1.2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
    75% { transform: scale(1.15); }
}

h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: #e91e63;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(233, 30, 99, 0.2);
}

.question {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Buttons */
.buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    min-height: 80px;
}

.btn {
    padding: 15px 40px;
    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.yes-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(233, 30, 99, 0.5);
}

.yes-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.yes-btn:hover::before {
    left: 100%;
}

.no-btn {
    background: linear-gradient(135deg, #9e9e9e, #757575);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.no-btn:hover {
    background: linear-gradient(135deg, #757575, #616161);
}

/* Success Card */
.success-card {
    display: none;
    text-align: center;
    z-index: 1;
    animation: successPop 0.6s ease-out;
}

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

.success-card .celebration {
    font-size: 100px;
    animation: bounce 0.8s ease infinite;
}

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

.success-card h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    margin: 20px 0;
}

.success-card p {
    font-size: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.success-card .big-heart {
    font-size: 150px;
    animation: heartbeat 1s ease-in-out infinite;
    margin: 30px 0;
}

.success-card .date-text {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-block;
}

/* Confetti */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background: #ff4081;
    animation: confettiFall 3s ease-in-out forwards;
    z-index: 100;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 600px) {
    .card {
        padding: 30px 25px;
        margin: 20px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .question {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .heart-icon {
        font-size: 60px;
    }
}
