/* Reset básico para que todo empiece igual en todos los navegadores */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fondo mágico y letra general */
body {
  background-color: #0d0b1f; /* Oscuro místico */
  color: #f8f4ff; /* Blanco humo */
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  line-height: 1.6;
  background-image: url('media/stars.gif'); /* Tu fondo de estrellitas o brillo */
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Contenedor general */
.container {
  width: 100%;
  max-width: 700px;
  margin: auto;
  padding: 100px 20px;
}

/* Sección mágica que se va mostrando al bajar */
.section {
  margin-bottom: 120px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed #fff2;
  border-radius: 30px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px #ffffff15, 0 0 40px #a366ff40;
  animation: fadeInUp 1.5s ease both;
}

/* Título inicial */
.title {
  font-family: 'Great Vibes', cursive;
  font-size: 3em;
  color: #fff0f5;
  text-shadow: 0 0 5px #ffb6c1, 0 0 10px #ff69b4, 0 0 15px #ff1493;
  animation: glow 3s ease-in-out infinite;
  text-align: center;
  margin-bottom: 30px;
}


/* Mensaje bonito */
.note {
  font-size: 20px;
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  box-shadow: 0 0 10px #ffffff30;
  margin-bottom: 20px;
  text-align: center;
}

/* Fotos y gifs con brillos */
.magic-photo {
  width: 100%;
  max-width: 400px;
  display: block;
  margin: 20px auto 0;
  border-radius: 20px;
  box-shadow: 0 0 25px #ffdbfb90, 0 0 50px #e0c8ff60;
  transition: transform 0.3s ease;
}
.magic-photo:hover {
  transform: scale(1.05);
}

/* Animación al aparecer */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Móvil responsive */
@media screen and (max-width: 600px) {
  .note {
    font-size: 18px;
  }
  .title {
    font-size: 30px;
  }
}
/* Animación de aparición */
.section {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.5s ease;
}
.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Stickers mágicos --- */
.sticker {
  position: absolute;
  width: 250px; /* más grandes */
  z-index: 1;
  opacity: 0.95;
  pointer-events: none;
}

/* Posiciones personalizadas: algunos a la izquierda, otros a la derecha */
/* Puedes ajustar top para que salgan a diferentes alturas */

.sticker-1 {
  top: 100px;
  left: 10px;
}

.sticker-2 {
  top: 150px;
  left: 80px;
}

.sticker-3 {
  top: 600px;
  left: 20px;
}

.sticker-4 {
  top: 1000px;
  left: 30px;
}

.sticker-5 {
  top: 1400px;
  left: 50px;
}

.sticker-6 {
  top: 200px;
  right: 10px;
}

.sticker-7 {
  top: 700px;
  right: 60px;
}

.sticker-8 {
  top: 1100px;
  right: 15px;
}

.sticker-9 {
  top: 1500px;
  right: 40px;
}

.sticker-10 {
  top: 1900px;
  right: 20px;
}

.sticker-11 {
  top: 2300px;
  right: 50px;
}

.sticker-12 {
  top: 1800px;
  left: 50px;
}
.sticker-13 {
  top: 2300px;
  left: 100px;
}
.sticker-14 {
  top: 2900px;
  left: 70px;
}
.sticker-15 {
  top: 2700px;
  right: 60px;
}
.sticker-16 {
  top: 3200px;
  right: 120px;
}
.sticker-17 {
  top: 3600px;
  right: 1000px;
}
.music-box {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}
.sticker-18 {
  top: 4200px;
  left: 40px;
}

.sticker-19 {
  top: 3800px;
  right: 80px;
}

.sticker-20 {
  top: 4700px;
  left: 90px;
}

.sticker-21 {
  top: 4400px;
  right: 100px;
}

.sticker-22 {
  top: 5100px;
  left: 120px;
}

.sticker-23 {
  top: 4900px;
  right: 60px;
}

.play-button {
  background-color: #fff0ff;
  color: #5f3c88;
  border: 2px solid #caa7e0;
  border-radius: 50px;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 15px #d3b0f0;
  transition: all 0.3s ease;
}

.play-button:hover {
  background-color: #f3e5ff;
  transform: scale(1.05);
}
#magic-sparkles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.sparkle {
  position: absolute;
  font-size: 16px;
  opacity: 0.8;
  color: white;
  animation: float-sparkle linear infinite;
  font-family: 'serif';
  filter: drop-shadow(0 0 2px white);
}

@keyframes float-sparkle {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
  }
  .title {
  animation: pink-glow 2s infinite alternate;
  text-shadow: 0 0 5px #ffc0cb, 0 0 10px #ffc0cb, 0 0 20px #ffc0cb;
}

@keyframes pink-glow {
  0% {
    text-shadow: 0 0 5px #ffc0cb, 0 0 10px #ffb6c1, 0 0 15px #ffb6c1;
  }
  100% {
    text-shadow: 0 0 10px #ff69b4, 0 0 20px #ff1493, 0 0 30px #ff69b4;
  }
}