:root {
    --primary-pink: #ff4d6d;
    --secondary-pink: #ffccd5;
    --dark-pink: #c9184a;
}

body {
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, #fff0f3 0%, #ffccd5 100%);
    font-family: 'Segoe UI', sans-serif;
    overflow: hidden;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 450px;
    width: 90%;
    z-index: 10;
    transition: all 0.5s ease;
}

.hidden { display: none; }

#status-gif {
    width: 150px;
    border-radius: 15px;
    margin-bottom: 20px;
}

h1 { color: var(--dark-pink); margin-bottom: 10px; }

.story-text {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    min-height: 60px;
    align-items: center;
    position: relative;
}

button {
    padding: 12px 25px;
    border: none;
    border-radius: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

#yes-btn {
    background: var(--primary-pink);
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 77, 109, 0.3);
}

#no-btn {
    background: #eee;
    color: #888;
    position: relative; /* On s'assure qu'il est visible au début */
}

/* Les petits coeurs qui tombent */
.heart {
    position: absolute;
    color: var(--primary-pink);
    font-size: 20px;
    user-select: none;
    pointer-events: none;
    animation: fall linear forwards;
}

@keyframes fall {
    to { transform: translateY(100vh) rotate(360deg); }
}


/* Adaptations pour écrans de moins de 600px (téléphones) */
@media (max-width: 600px) {
    .card {
        padding: 20px;
        width: 85%;
    }

    h1 {
        font-size: 1.5rem;
    }

    .story-text {
        font-size: 0.85rem;
    }

    #status-gif {
        width: 120px;
    }

    /* On s'assure que le bouton "Non" ne s'enfuit pas HORS de l'écran du tel */
    #no-btn {
        transition: all 0.1s ease; /* Plus réactif sur mobile */
    }
}