/* ===== GLOBAL ===== */
* {
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #F8C8DC, #FFD1E8);
    overflow: hidden;
}

/* ===== CONTAINER ===== */
.container {
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

/* ===== HEADERS ===== */
.header_text {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin: 10px 0;
    text-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.sub_text {
    font-size: 22px;
    color: #fff;
    margin-bottom: 15px;
    opacity: 0.95;
}

/* ===== LOVE NOTES ===== */
.love_note,
.final_message {
    color: white;
    font-size: 16px;
    margin: 20px auto;        /* centers horizontally */
    opacity: 0.95;
    text-align: center;      /* better for love notes 💕 */
    width: 50%;
    line-height: 1.6;
}

/* ===== GIF ===== */
.gif_container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.gif_container img {
    max-width: 280px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ===== BUTTONS ===== */
.buttons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.btn {
    background: linear-gradient(135deg, #FF9EBB, #FF6FA5);
    color: white;
    padding: 14px 36px;
    font-size: 16px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 15px rgba(255,105,180,0.35);
}

.btn:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 20px rgba(255,105,180,0.45);
}

#yesButton {
    position: relative;
}

#noButton {
    position: absolute;
    transition: 0.4s ease;
}
.float-photo {
    position: absolute;
    width: 160px;
    height: 200px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    opacity: 0;
    animation: floatCycle 8s ease-in-out infinite;
}

/* float in → stay → fade out */
@keyframes floatCycle {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.8);
    }
    20% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    60% {
        opacity: 1;
        transform: translateY(-40px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-80px) scale(0.9);
    }
}
/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 480px) {
    .header_text {
        font-size: 28px;
    }

    .sub_text {
        font-size: 18px;
    }

    .gif_container img {
        max-width: 220px;
    }

    .btn {
        padding: 12px 26px;
        font-size: 14px;
    }

    .buttons {
        gap: 20px;
    }
    @media (max-width: 480px) {
    .love_note,
    .final_message {
        width: 85%;
        font-size: 15px;
    }
}
}