body {
    margin: 0;
    height: 100vh;
    overflow: hidden;
    font-family: 'Varela Round', sans-serif; /* Applied the cute font */
    background: linear-gradient(135deg, #ffe6e9 0%, #ffc6d0 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.game-container {
    position: relative;
    width: 100%;
    height: 100%;
}

h1 {
    color: #ff4d6d;
    margin-top: 40px;
    font-size: 2rem;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.5);
}

.progress-bar {
    width: 80%;
    max-width: 400px;
    height: 25px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    margin: 20px auto;
    overflow: hidden;
    border: 4px solid #ff9aae;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: #ff4d6d;
    transition: width 0.3s ease;
    border-radius: 50px;
}

.heart {
    position: absolute;
    width: 60px;
    height: 60px;
    background: url('https://img.icons8.com/emoji/96/000000/red-heart.png') no-repeat center/contain;
    cursor: pointer;
    animation: floatUp 4s linear infinite;
    filter: drop-shadow(0 5px 5px rgba(0,0,0,0.1));
}

@keyframes floatUp {
    0% { transform: translateY(110vh) rotate(0deg); opacity: 1; }
    100% { transform: translateY(-10vh) rotate(20deg); opacity: 0.8; }
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px); /* Makes background blurry */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.hidden {
    display: none;
}

.modal-content {
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    text-align: center;
    max-width: 90%;
    width: 400px;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.buttons button {
    padding: 15px 40px;
    margin: 15px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.3rem;
    font-family: 'Varela Round', sans-serif;
    transition: transform 0.2s;
}

#yesBtn {
    background-color: #ff4d6d;
    color: white;
    box-shadow: 0 5px 15px rgba(255, 77, 109, 0.4);
}

#yesBtn:hover {
    transform: scale(1.05);
}

#noBtn {
    background-color: #f0f0f0;
    color: #555;
}

.success-gif {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 20px;
}