* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
    max-width: 500px;
    width: 90%;
    z-index: 10;
}

.main-image {
    width: 250px;
    margin-bottom: 20px;
    border-radius: 12px;
    animation: float 3s ease-in-out infinite;
    /* Soft shadow for the image */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.question {
    font-family: 'Fredoka One', cursive;
    color: #ff4b72;
    font-size: 28px;
    margin-bottom: 30px;
    line-height: 1.4;
}

.buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.btn {
    padding: 15px 35px;
    font-size: 20px;
    font-family: 'Nunito', sans-serif;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.yes-btn {
    background: #ff4b72;
    color: white;
}

.yes-btn:hover {
    background: #ff2a55;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 75, 114, 0.4);
}

.no-btn {
    background: #f1f1f1;
    color: #555;
    position: relative;
    z-index: 100;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes popIn {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

.yay-animation {
    animation: popIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Floating Hearts Elements for Yay state */
@keyframes heartFloat {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-100vh) scale(1.5); opacity: 0; }
}

.heart {
    position: absolute;
    color: #ff4b72;
    user-select: none;
    pointer-events: none;
    z-index: 1;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
  .card {
    padding: 20px;
    width: 95%;
  }

  .main-image {
    width: 180px;
    margin-bottom: 15px;
  }

  .question {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 16px;
  }

  .buttons {
    gap: 10px;
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    max-width: 250px;
  }
}