body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
    font-family: 'Dancing Script', cursive;
    color: #5b2c2c;
    overflow: hidden;
    text-align: center;
}

.container {
    max-width: 800px;
    padding: 20px;
}

h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    opacity: 0;
    animation: fadeIn 2s forwards;
}

/* Animación para los mensajes */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 2s forwards;
}

.fade-out {
    animation: fadeOut 2s forwards;
}

.hidden {
    display: none;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
    margin: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#btn-si {
    background-color: #ff4757;
    color: white;
}

#btn-si:hover {
    transform: scale(1.1);
    background-color: #e04050;
}

#btn-no {
    background-color: #f1f1f1;
    color: #555;
    position: absolute; /* Para que se pueda mover */
}

.final-message {
    font-size: 4rem;
    color: #d63031;
}

/* Para que se vea bien en móviles */
@media (max-width: 600px) {
    h1 {
        font-size: 2.5rem;
    }
    .final-message {
        font-size: 2.8rem;
    }
}