* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    font-family: 'Poppins', Arial, sans-serif;
    background-color: #fff0db;
    overflow: hidden;
    position: relative;
}

.background {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.container {
    height: 100%;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

h1 {
    font-size: 2.5rem;
    color: #4b2e2e;
    margin-bottom: 30px;
    padding: 0 10px;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

button {
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-width: 120px;
}

#yesButton {
    background-color: #ffb347;
    color: white;
}

#yesButton:hover {
    background-color: #ffa500;
}

#noButton {
    background-color: #ffd6d6;
    color: #b22222;
}

/* Floating hearts style */
.heart {
    position: absolute;
    width: 15px;
    height: 15px;
    background: pink;
    transform: rotate(45deg);
    animation: floatUp linear infinite;
}

.heart::before,
.heart::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: pink;
    border-radius: 50%;
}

.heart::before {
    top: -7.5px;
    left: 0;
}

.heart::after {
    left: -7.5px;
    top: 0;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(45deg) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-120vh) rotate(45deg) scale(0.5);
        opacity: 0;
    }
}

/* ----------- Mobile Optimization ----------- */
@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    button {
        padding: 12px 25px;
        font-size: 1rem;
        min-width: 100px;
    }

    .buttons {
        gap: 15px;
    }
}
