/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Background */
body {
  min-height: 100vh;
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #6a003a, #ff4f9a);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* App container */
#app {
  text-align: center;
  color: white;
  z-index: 10;
}

/* Title */
.title {
  font-size: 32px;
  margin-bottom: 20px;
}

/* Video */
.love-video {
  width: 160px;
  aspect-ratio: 9 / 16;
  border-radius: 30px;
  object-fit: cover;
  box-shadow: 0 0 30px rgba(255, 95, 158, 0.9);
  margin-bottom: 30px;
}

/* Buttons wrapper */
.buttons {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 999999;
}

/* Buttons */
#yes, #no {
  padding: 14px 30px;
  font-size: 18px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  z-index: 999999;
}

#yes {
  background: #ff4f9a;
  color: white;
}

#no {
  background: white;
  color: #333;
}

/* Final screen */
.final-screen {
  color: white;
  text-align: center;
}

.final-screen h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.final-screen h2 {
  font-size: 22px;
}
/* =========================
   FLOATING DECORATIONS
   ========================= */

.floating-layer {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 120px;
  pointer-events: none;   /* 🔥 clicks block nahi honge */
  z-index: 1;
  overflow: hidden;
}

.floating-layer.left {
  left: 0;
}

.floating-layer.right {
  right: 0;
}

/* Flowers */
.floating-layer .flower {
  position: absolute;
  top: -10%;
  font-size: 30px;
  opacity: 0.85;
  animation: flowerFall linear infinite;
}

/* Hearts */
.floating-layer .heart {
  position: absolute;
  top: -10%;
  font-size: 26px;
  opacity: 0.85;
  animation: heartFall linear infinite;
}

/* LEFT side positions */
.floating-layer.left .flower:nth-child(1) { left: 20%; animation-duration: 9s; }
.floating-layer.left .flower:nth-child(2) { left: 60%; animation-duration: 11s; }
.floating-layer.left .heart:nth-child(3)  { left: 40%; animation-duration: 7s; }
.floating-layer.left .heart:nth-child(4)  { left: 70%; animation-duration: 6s; }

/* RIGHT side positions */
.floating-layer.right .flower:nth-child(1) { left: 25%; animation-duration: 10s; }
.floating-layer.right .flower:nth-child(2) { left: 65%; animation-duration: 12s; }
.floating-layer.right .heart:nth-child(3)  { left: 35%; animation-duration: 7s; }
.floating-layer.right .heart:nth-child(4)  { left: 75%; animation-duration: 6s; }

/* Animations */
@keyframes flowerFall {
  0% {
    transform: translate(0, -10vh) rotate(0deg);
  }
  50% {
    transform: translate(40px, 60vh) rotate(180deg);
  }
  100% {
    transform: translate(-30px, 120vh) rotate(360deg);
  }
}

@keyframes heartFall {
  0% {
    transform: translate(0, -10vh);
  }
  100% {
    transform: translate(30px, 120vh);
  }
}
.petal {
  position: absolute;
  top: -10%;
  font-size: 28px;
  opacity: 0.9;
  animation: petalFall 6s linear infinite;
}

@keyframes petalFall {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(120vh) rotate(540deg);
  }
}
.stars {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(2px 2px at 20% 30%, white, transparent),
    radial-gradient(2px 2px at 80% 40%, white, transparent),
    radial-gradient(1.5px 1.5px at 50% 70%, white, transparent),
    radial-gradient(1px 1px at 10% 80%, white, transparent);
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
  animation: twinkle 4s infinite alternate;
}

@keyframes twinkle {
  from { opacity: 0.3; }
  to { opacity: 0.6; }
}
#explosion span {
  position: fixed;
  font-size: 28px;
  animation: explode 1.2s ease-out forwards;
}

@keyframes explode {
  0% {
    transform: scale(0) translate(0,0);
    opacity: 1;
  }
  100% {
    transform: scale(1.5) translate(var(--x), var(--y));
    opacity: 0;
  }
}

