body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: url('background.jpg') no-repeat center center fixed; 
    background-size: cover;
    font-family: 'Poppins', sans-serif;
    overflow: hidden; 
}

.container {
    text-align: center;
    position: relative;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.85); 
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    max-width: 90%;
}

.gif-style {
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    margin-bottom: 20px;
}

h1 {
    font-family: 'Pacifico', cursive;
    color: #d32f2f;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap; 
    position: relative;
}

button {
    padding: 15px 30px;
    font-size: 1.2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

#yes-btn {
    background-color: #4caf50; 
    color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease; 
    z-index: 20; 
}

#yes-btn:hover {
    background-color: #45a049;
}

#no-btn {
    background-color: #f44336; 
    color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    
    /* Important for text visibility */
    min-width: 150px; 
    white-space: nowrap;
    
    position: relative; 
    z-index: 15;
    /* Transition is handled in JS now */
}

/* Background Hearts */
.hearts-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.heart {
    position: absolute;
    bottom: -10px;
    color: #ff4d79;
    animation: floatUp linear infinite;
    opacity: 0.8;
}

@keyframes floatUp {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

.footer {
    position: fixed;
    bottom: 10px;
    width: 100%;
    text-align: center;
    font-size: 10px;
    color: #555;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 5px 0;
    z-index: 5;
    pointer-events: none; 
}