/* Remove default spacing */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;  /* Prevent scrolling */
}

/* Background image */
body {
    background-image: url('hearts2.png');
    background-size: 100% auto;       /* Full width, height adjusts automatically */
    background-position: top center;  /* Align to top */
    background-repeat: no-repeat;
    background-color: rgb(226, 161, 182);
    min-height: 100vh;
    touch-action: none;
    position: relative; /* keep your layout normal initially */
    background-size:cover;
}

        body::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.053);
            z-index: 0;
        }

/*
        body {
            margin: 0;
            padding: 0;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            background-image: url('hearts.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            font-family: 'Arial', sans-serif;
            overflow: hidden;
        }
*/

.container {
    text-align: center;
    color: white;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

#noButton {
    position: absolute;
    padding: 15px 40px;
    font-size: 1.2em;
    font-weight: bold;
    color: white;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.1s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    left: 52%;
    top: 60%;
}

#noButton:hover {
    transform: scale(1.05);
}

#noButton:active {
    transform: scale(0.95);
}

.yesbutton {
    position: absolute;
    padding: 15px 40px;
    font-size: 1.2em;
    font-weight: bold;
    color: white;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.1s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    right: 52%;
    top: 60%;
}

.yesbutton:hover {
    transform: scale(1.05);
}

.click-count {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.2);
    padding: 15px 25px;
    border-radius: 15px;
    color: white;
    font-size: 1.1em;
    backdrop-filter: blur(10px);
}




body.modal-open {
    position: fixed; /* lock scroll */
    width: 100%;     /* prevent horizontal shift */
    overflow: hidden; /* ensure no scrolling */
}

        /* Cloud Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 100;
            justify-content: center;
            align-items: center;
        }

        .modal.show {
            display: flex;
        }

        .cloud-modal {
            position: relative;
            background-color: rgb(255, 240, 245);
            width: 300px;
            height: 200px;
            border-radius: 100px;
            padding: 40px 30px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        /* Cloud puffs */
        .cloud-modal::before {
            content: '';
            position: absolute;
            background-color: rgb(255, 240, 245);
            width: 110px;
            height: 170px;
            border-radius: 50%;
            top: -50px;
            left: 30px;
        }

        .cloud-modal::after {
            content: '';
            position: absolute;
            background-color: rgb(255, 240, 245);
            width: 110px;
            height: 170px;
            border-radius: 50%;
            top: -60px;
            right: 30px;
        }

        .cloud-content {
            position: relative;
            z-index: 10;
            color: rgb(150, 100, 120);
        }

        .cloud-content h2 {
            margin: 0 0 15px 0;
            font-size: 24px;
        }

        .cloud-content p {
            margin: 0 0 20px 0;
            font-size: 16px;
        }

        .close-btn {
            background-color: rgb(255, 182, 193);
            color: white;
            border: 2px solid rgb(217, 150, 172);
            border-radius: 15px;
            padding: 10px 25px;
            cursor: pointer;
            font-weight: bold;
            font-size: 14px;
            transition: all 0.3s ease;
            border: none;
            position: absolute;
            top: 120px;
            left: 50%;
            transform: translateX(-50%);
        }
