* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Comic Neue', cursive;
}

body {
    height: 100vh;
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* TARJETA */
.card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    width: 360px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* TITULO */
h1 {
    color: #ff4d6d;
    margin-bottom: 30px;
}

/* BOTONES */
.buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 80px;
}

button {
    width: 130px;
    padding: 15px 0;
    font-size: 18px;
    border: none;
    border-radius: 12px;
}

#yes {
    background: #ff4d6d;
    color: white;
    cursor: pointer;
    transition: transform 0.3s;
}

#yes:hover {
    transform: scale(1.1);
}

#no {
    background: #999;
    color: white;
    position: absolute;
    right: 0;
}

/* MENSAJE */
.message {
    margin-top: 25px;
    font-size: 22px;
    color: #ff4d6d;
    display: none;
    animation: aparecer 1.2s ease;
}

/* ANIMACIÓN TEXTO */
@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CORAZONES */
.hearts {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.heart {
    position: absolute;
    font-size: 22px;
    animation: floatUp 6s linear forwards;
    opacity: 0.9;
    color: #ff4d6d;
    /* CLAVE */
    text-shadow: 0 0 8px rgba(255, 77, 109, 0.6);
}

@keyframes floatUp {
    from {
        transform: translateY(110vh) scale(1);
        opacity: 1;
    }

    to {
        transform: translateY(-10vh) scale(1.4);
        opacity: 0;
    }
}

/* FOTOS */
.photo {
    position: fixed;
    top: 50%;
    transform: translateY(-50%) scale(0.5);
    width: 220px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: 1s ease;
    z-index: 1;
}

.photo.left {
    left: 50px;
}

.photo.right {
    right: 50px;
}

.photo.show {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.broken {
    position: absolute;
    font-size: 20px;
    animation: floatUpBroken 5s linear forwards;
    opacity: 0.9;
    color: #ff4d6d;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

@keyframes floatUpBroken {
    from {
        transform: translateY(0vh) scale(1);
        opacity: 1;
    }

    to {
        transform: translateY(-80vh) scale(1.2) rotate(30deg);
        opacity: 0;
    }
}