@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Poppins:wght@300;400;600&display=swap');

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: linear-gradient(145deg, #ffd1d1 0%, #ffb6b6 100%);
    font-family: 'Poppins', sans-serif;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Floating hearts background */
body::before {
    content: '❤️';
    position: absolute;
    font-size: 20px;
    color: rgba(255, 77, 77, 0.2);
    animation: float 6s ease-in-out infinite;
    left: 10%;
    top: 20%;
}

body::after {
    content: '❤️';
    position: absolute;
    font-size: 30px;
    color: rgba(255, 77, 77, 0.15);
    animation: float 8s ease-in-out infinite;
    right: 15%;
    bottom: 20%;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

.container {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 40px 50px;
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(255, 107, 107, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 10;
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

h1 {
    font-size: 3em;
    color: #ff4d4d;
    font-family: 'Dancing Script', cursive;
    text-shadow: 3px 3px 0 #ffe3e3;
    margin: 0 0 20px 0;
    letter-spacing: 2px;
}

.buttons {
    margin-top: 30px;
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: center;
}

.yes-button {
    font-size: 1.8em;
    padding: 15px 45px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid white;
}

.yes-button:hover {
    transform: scale(1.15);
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.6);
    background: linear-gradient(45deg, #ff5252, #ff7676);
}

.yes-button:active {
    transform: scale(0.95);
}

.no-button {
    font-size: 1.8em;
    padding: 15px 45px;
    background: linear-gradient(45deg, #a1a1a1, #c9c9c9);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid white;
}

.no-button:hover {
    background: linear-gradient(45deg, #8a8a8a, #a8a8a8);
    transform: scale(0.95);
}

.gif_container {
    margin-top: 35px;
    position: relative;
    display: inline-block;
}

.gif_container img {
    max-width: 350px;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.3);
    border: 5px solid white;
    transition: all 0.5s ease;
    animation: pulse 3s ease infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.gif_container:hover img {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(255, 107, 107, 0.5);
}

/* Multiple floating hearts */
.hearts {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.heart {
    position: absolute;
    font-size: 24px;
    animation: floatHeart 8s linear infinite;
    opacity: 0.6;
}

@keyframes floatHeart {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    50% { opacity: 0.8; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 30px 25px;
        margin: 20px;
    }
    
    h1 {
        font-size: 2.2em;
    }
    
    .buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .yes-button, .no-button {
        font-size: 1.5em;
        padding: 12px 35px;
        width: 200px;
    }
    
    .gif_container img {
        max-width: 280px;
    }
}