:root {
    --primary-color: #ff4d6d;
    --bg-color: #ffe5ec;
    --text-color: #590d22;
    --btn-yes-bg: #2b9348;
    --btn-no-bg: #c9184a;
}

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #fff0f3 0%, #ffccd5 100%);
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    /* Prevent scrolling when button moves out */
}

.container {
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(255, 77, 109, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 10;
    /* Keep content above hearts */
    position: relative;
}

h1 {
    font-family: 'Pacifico', cursive;
    color: var(--primary-color);
    font-size: 3.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}

.buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    position: relative;
    /* Context for button positioning if needed */
}

button {
    font-size: 1.5rem;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

#yesBtn {
    background-color: var(--btn-yes-bg);
    color: white;
    box-shadow: 0 4px 15px rgba(43, 147, 72, 0.3);
}

#yesBtn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(43, 147, 72, 0.4);
}

#noBtn {
    background-color: var(--btn-no-bg);
    color: white;
    box-shadow: 0 4px 15px rgba(201, 24, 74, 0.3);
    position: relative;
    transition: transform 0.3s ease-out, box-shadow 0.2s;
    /* Smooth movement */
    z-index: 100;
    /* Ensure it floats above if needed */
}

.hidden {
    display: none;
}

#message {
    margin-top: 2rem;
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fall {
    0% {
        transform: translateY(-10vh) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0;
    }
}

.heart {
    position: fixed;
    top: -10vh;
    z-index: 1;
    pointer-events: none;
}