body {
    margin: 0;
    padding: 0;
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(135deg, #ffe6eb 0%, #ffd1dc 100%);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.heart-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ff8fa3" width="24px" height="24px"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/></svg>');
    opacity: 0.1;
    animation: floatingHearts 20s linear infinite;
}

/* Add more random hearts via pseudo-elements or JS if desired, but simple pattern is good for now. */

@keyframes floatingHearts {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

.container {
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255, 105, 135, 0.2);
    z-index: 1;
    max-width: 90%;
    width: 500px;
    position: relative;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.title {
    font-family: 'Pacifico', cursive;
    color: #ff477e;
    font-size: 3rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative; /* Essential for absolute positioning of the 'No' button */
    min-height: 60px; /* Reserve space */
}

button {
    padding: 15px 30px;
    font-size: 1.2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
}

#yes-btn {
    background-color: #ff477e;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 71, 126, 0.3);
}

#yes-btn:hover {
    transform: scale(1.05);
    background-color: #ff2e63;
    box-shadow: 0 6px 20px rgba(255, 71, 126, 0.4);
}

#no-btn {
    background-color: #f0f0f0;
    color: #555;
    position: absolute; /* Allows it to move freely */
    /* Initial position logic is handled in CSS/JS to keep it centered initially */
    left: 50%;
    transform: translateX(50%); /* Start next to the Yes button */
}

/* Adjust initial position to be side-by-side */
.buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}

#no-btn {
    position: static; /* Start static so flexbox works */
}

#no-btn.moving {
    position: fixed; /* Switch to fixed when it starts moving so it can go anywhere */
}

.hidden {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.poem {
    color: #555;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.back-btn {
    background-color: transparent;
    border: 2px solid #ff477e;
    color: #ff477e;
}

.back-btn:hover {
    background-color: #ff477e;
    color: white;
}
