body {
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
    font-family: 'Comic Sans MS', cursive, sans-serif;
    overflow-x: hidden;
    overflow-y: hidden;
}

h1.message {
    position: absolute;
    top: 20px;
    width: 100%;
    text-align: center;
    font-size: 2rem;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    display: none;
    animation: fadeIn 2s ease-in-out;
}

.box {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    text-align: center;
    position: absolute;
    transition: left 0.3s ease, top 0.3s ease, box-shadow 0.3s, transform 0.3s;
    width: 80%;
    max-width: 350px;
}

.box:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.4), 0 0 20px #ff4d6d;
    transform: scale(1.02);
}

button {
    margin: 10px;
    padding: 15px 30px;
    font-size: 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
}

button:hover {
    transform: scale(1.1);
}

#yesBtn {
    background: linear-gradient(45deg, #ff4d6d, #ff80a0);
    color: white;
    font-weight: bold;
}

#noBtn {
    background: linear-gradient(45deg, #eee, #ccc);
    color: black;
}

.heart {
    position: fixed;
    top: -20px;
    font-size: 28px;
    animation: fall 4s linear forwards;
    pointer-events: none;
}

@keyframes fall {
    to {
      transform: translateY(110vh);
      opacity: 0;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 600px) {
    .box {
      padding: 15px 20px;
      transition: left 0.15s ease, top 0.15s ease, box-shadow 0.3s, transform 0.3s;
    }
    button {
      padding: 12px 20px;
      font-size: 18px;
    }
    h1.message {
      font-size: 1.5rem;
    }
    .heart {
      font-size: 24px;
      animation-duration: 3s;
    }
}