* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("bg.jpeg") center/cover no-repeat;
  color: white;
}

#fireworks {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 20px;
}

.card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  padding: 30px;
  border-radius: 25px;
  text-align: center;
  max-width: 650px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Photo Slider */
.slider {
  position: relative;
  width: 220px;
  height: 220px;
  margin: auto;
  margin-bottom: 15px;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid white;
  opacity: 0;
  transition: 1s;
}

.slide.active {
  opacity: 1;
}

.glow {
  font-size: 2rem;
  text-shadow:
    0 0 10px #fff,
    0 0 20px #ff00ff;
}

#typing {
  margin: 15px 0;
  min-height: 50px;
}

#countdown {
  margin: 15px 0;
  color: #ffd700;
}

button {
  margin: 8px;
  padding: 12px 22px;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px white;
}

/* Popup */
.popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 5;
}

.popup-content {
  background: white;
  color: #333;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
}

footer {
  position: fixed;
  bottom: 10px;
  width: 100%;
  text-align: center;
}

@media (max-width: 600px) {
  .slider {
    width: 160px;
    height: 160px;
  }
  .glow {
    font-size: 1.4rem;
  }
}
