:root {
    --primary-color: #ff4b6e;
    --secondary-color: #ff8fa3;
    --text-color: #4a4a4a;
    --white-glass: rgba(255, 255, 255, 0.7);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    position: relative;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.background-hearts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.heart {
    position: absolute;
    color: rgba(255, 255, 255, 0.5);
    animation: float 6s linear infinite;
    font-size: 24px;
}

@keyframes float {
    0% {
        transform: translateY(110vh) scale(0);
        opacity: 0;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

.container {
    position: relative;
    z-index: 10;
    padding: 20px;
    width: 100%;
    max-width: 500px;
}

.glass-card {
    background: var(--white-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.title {
    font-family: 'Pacifico', cursive;
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 30px;
}

.gif-container {
    margin-bottom: 20px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cute-gif {
    max-height: 100%;
    max-width: 100%;
    border-radius: 12px;
}

.buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    min-height: 60px;
    /* Space for moving button */
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.yes-btn {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 75, 110, 0.4);
}

.yes-btn:hover {
    transform: scale(1.05);
    background: #ff2e56;
}

.no-btn {
    background: white;
    color: var(--text-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Success State */
.hidden {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.glass-card.fade-out {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}

.glass-card.fade-in {
    opacity: 1;
    transform: scale(1);
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2.2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
}