body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffe6e6;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    /* Förhindrar scrollbar när knappen flyttas */
}

.container {
    text-align: center;
    position: relative;
    z-index: 1;
}

h1 {
    font-family: 'Dancing Script', cursive;
    color: #ff3366;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.cute-gif {
    width: 200px;
    height: auto;
    margin-bottom: 30px;
    border-radius: 10px;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

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

#yes-btn {
    background-color: #ff3366;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.3);
}

#yes-btn:hover {
    transform: scale(1.1);
    background-color: #ff0040;
}

#no-btn {
    background-color: white;
    color: #ff3366;
    border: 2px solid #ff3366;
    /* Viktigt för att kunna flytta knappen var som helst */
    position: relative;
    /* transition: all 0.3s ease;  <-- Tar bort transition på position för snabbare flytt */
}

/* Flytande hjärtan i bakgrunden */
.hearts-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.heart {
    position: absolute;
    bottom: -10vh;
    font-size: 2rem;
    color: rgba(255, 51, 102, 0.3);
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-120vh) rotate(360deg);
        opacity: 0;
    }
}

/* Klass som läggs på när man klickat ja */
.success-message {
    font-size: 2rem;
    color: #ff3366;
    margin-top: 20px;
    animation: popIn 0.5s ease-out;
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    80% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Confetti */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background-color: #f00;
    top: -10px;
    z-index: 999;
}