body {
    background-color: #ffdae0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: 'Arial', sans-serif;
    overflow: hidden;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    /* Format rectangle horizontal */
    width: 600px; 
    height: 350px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#mainGif {
    width: 130px;
    margin-bottom: 10px;
}

h1 {
    color: #333;
    font-size: 28px;
    margin-bottom: 30px;
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 50px;
    width: 100%;
}

button {
    padding: 15px 35px;
    font-size: 20px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    z-index: 10;
}

#yesBtn {
    background-color: #ff4d6d;
    color: white;
}

#noBtn {
    background-color: #fb6f92;
    color: white;
    transition: 0.1s;
}

#heart-explosion {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: 20px;
}

#heart-explosion h2 {
    font-size: 3em;
    color: #ff4d6d;
    z-index: 20;
}

.heart {
    position: absolute;
    font-size: 2em;
    animation: floatUp 2.5s forwards ease-out;
    opacity: 0;
}

@keyframes floatUp {
    0% { transform: translateY(0) scale(0); opacity: 0; }
    20% { transform: translateY(0) scale(1.2); opacity: 1; }
    100% { transform: translateY(-300px) scale(0.5); opacity: 0; }
}