* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.card {
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 40px 60px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 10;
    max-width: 400px;
}

h1 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
}

p {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

img {
    width: 250px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    height: 50px;
    position: relative;
    /* Add this to anchor absolute children if needed */
}

button {
    padding: 12px 25px;
    font-size: 1.1rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
}

#yes {
    background: #ff4d6d;
    color: white;
    transition: 0.2s;
}

#yes:hover {
    transform: scale(1.1);
}

#no {
    background: white;
    color: #ff4d6d;
    z-index: 100;
    transition: left 0.15s ease-out, top 0.15s ease-out;
    position: relative;
    /* Start as relative to stay in flow initially */
}

.heart {
    position: absolute;
    color: #ff4d6d;
    font-size: 24px;
    bottom: -10%;
    pointer-events: none;
    animation: float linear forwards;
}

@keyframes float {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(-110vh);
        opacity: 0;
    }
}