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

body {
  height: 100vh;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #ff9a9e, #fad0c4);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: blur(6px);
  opacity: 0;
  transition: all 1.2s ease;
}

body.loaded {
  filter: blur(0);
  opacity: 1;
}

.container {
  padding: 20px;
}

.card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 20px;
  padding: 40px 30px;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  animation: fadeIn 1.5s ease, float 6s ease-in-out infinite;
}

.heart-container {
  position: relative;
  height: 110px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.heart {
  font-size: 50px;
  animation: pulse 1.5s infinite;
}

.her-photo-top {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  display: none;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  margin: 20px 0;
  color: #d6336c;
}

.her-name {
  color: #ff4d6d;
  font-weight: 700;
  animation: glow 2.5s ease-in-out infinite;
}

p {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 25px;
  white-space: pre-line;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

button {
  padding: 12px 25px;
  font-size: 16px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  border-radius: 50%;
  transition: transform 0.4s ease;
}

button:active::after {
  transform: scale(2);
}

button:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.yes-btn {
  background: #d6336c;
  color: #fff;
}

.no-btn {
  background: #eee;
  color: #555;
}

.name {
  font-size: 14px;
  color: #999;
  font-style: italic;
}

/* Her photo below buttons */
.her-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 20px auto 0;
  display: block;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.her-photo.show {
  opacity: 1;
  transform: scale(1);
}

/* Signature with your photo */
.signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.your-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Floating hearts */
.heart-float {
  position: fixed;
  font-size: 18px;
  animation: rise 2s ease forwards;
}

/* Animations */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes glow {
  0% { text-shadow: 0 0 5px rgba(255, 77, 109, 0.4); }
  50% { text-shadow: 0 0 12px rgba(255, 77, 109, 0.8); }
  100% { text-shadow: 0 0 5px rgba(255, 77, 109, 0.4); }
}

@keyframes rise {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-120px); }
}

@media (max-width: 480px) {
  h1 { font-size: 26px; }
}