/* ---------------- GENERAL ---------------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
  background: black;
}

/* ---------------- SLIDESHOW ---------------- */

.slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

/* Cinematic overlay */
.slideshow::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  z-index: 2;
}

.slide {
  position: absolute;
  width: 110%;
  height: 110%;
  object-fit: cover;
  opacity: 0;
  filter: blur(8px) brightness(0.8);
  transform: scale(1.1);
}

/* ---------------- CONTENT ---------------- */

.container {
  position: relative;
  z-index: 3;
  max-width: 750px;
  padding: 20px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  opacity: 0;
}

p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  opacity: 0;
  white-space: pre-line;
}

.buttons {
  margin-top: 25px;
  display: none;
}

button {
  padding: 12px 28px;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  margin: 10px;
  border: none;
  transition: 0.3s ease;
}

.yes {
  background: white;
  color: #ff2e63;
  font-weight: bold;
}

.no {
  background: transparent;
  border: 2px solid white;
  color: white;
}

/* ---------------- HEARTS ---------------- */

.heart {
  position: absolute;
  width: 18px;
  height: 18px;
  background: #ff4d6d;
  transform: rotate(45deg);
  animation: float 10s infinite linear;
  z-index: 2;
}

.heart::before,
.heart::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: #ff4d6d;
  border-radius: 50%;
}

.heart::before { top: -9px; left: 0; }
.heart::after { left: -9px; top: 0; }

@keyframes float {
  0% { transform: translateY(100vh) rotate(45deg); opacity: 1; }
  100% { transform: translateY(-10vh) rotate(45deg); opacity: 0; }
}

/* ---------------- MUSIC BUTTON ---------------- */

.music-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: white;
  color: #ff2e63;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-weight: bold;
  cursor: pointer;
  z-index: 5;
}

/* Confetti */
.confetti {
  position: absolute;
  width: 8px;
  height: 8px;
  z-index: 10;
}

/* ---------------- START OVERLAY ---------------- */

#startOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.8s ease;
}

#startOverlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.overlay-content {
  text-align: center;
  color: white;
}

.overlay-content p {
  font-size: 1.2rem;
  opacity: 0.8;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.overlay-heart {
  font-size: 4rem;
  animation: pulse 1.5s ease-in-out infinite;
  margin-bottom: 16px;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}
