* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", system-ui, sans-serif;
}

body {
  background: #020814;
  color: #eaf2ff;
  height: 100vh;
  overflow: hidden;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  width: 100%;
  text-align: center;
  padding: 14px;
  z-index: 10;
  backdrop-filter: blur(6px);
}

header h1 {
  font-size: 1.1rem;
  text-shadow: 0 0 18px rgba(140,180,255,.4);
}

/* FOOTER */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 16px;
  display: flex;
  justify-content: center;
  z-index: 10;
  backdrop-filter: blur(6px);
}

footer button {
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid rgba(160,200,255,.35);
  background: rgba(80,120,255,.35);
  color: white;
  font-weight: 600;
  cursor: pointer;
}

/* SCENE */
#scene {
  position: relative;
  height: 100vh;
  padding-top: 60px;
  padding-bottom: 80px;
}

/* SKY */
#sky {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, #7fc9ff, #1f3c88);
  transition: background 1.2s;
}

#sky.night {
  background: radial-gradient(circle at top, #0b1f46, #020814);
}

#sun, #moon {
  position: absolute;
  top: 70px;
  right: 20px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 1s;
}

#sun {
  background: radial-gradient(circle, #fff6b0, #ffcc55);
  box-shadow: 0 0 40px rgba(255,220,120,.6);
}

#moon {
  background: radial-gradient(circle, #ffffff, #bcd9ff);
  box-shadow: 0 0 30px rgba(180,210,255,.4);
}

#sky.day #sun { opacity: 1; }
#sky.night #moon { opacity: 1; }

/* CLOUDS */
#clouds {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cloud {
  position: absolute;
  top: 15%;
  width: 160px;
  height: 60px;
  background: rgba(255,255,255,.4);
  border-radius: 999px;
  filter: blur(1px);
  animation: drift 40s linear infinite;
}

@keyframes drift {
  from { transform: translateX(-200px); }
  to { transform: translateX(110vw); }
}

/* RAIN */
#rain {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.drop {
  position: absolute;
  width: 2px;
  height: 16px;
  background: rgba(190,220,255,.7);
  animation: fall linear infinite;
}

@keyframes fall {
  to { transform: translateY(120vh); opacity: 0; }
}

/* GRASS */
#grass {
  position: absolute;
  bottom: 0;
  height: 40%;
  width: 100%;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.1), transparent 40%),
    linear-gradient(#0f6b3d, #063d22);
}

/* MESSAGE */
.message {
  position: absolute;
  top: 90px;
  width: 100%;
  text-align: center;
  z-index: 5;
  font-size: 1rem;
  line-height: 1.45;
  background: rgba(10,26,58,.45);
  padding: 14px 20px;
  border-radius: 16px;
  margin: auto;
  width: fit-content;
  left: 50%;
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
}

/* ROSES */
#garden {
  position: absolute;
  inset: 0;
}

.rose {
  position: absolute;
  transform-origin: bottom center;
  animation: sway 6s ease-in-out infinite;
}

@keyframes sway {
  0% { transform: rotate(-1deg); }
  50% { transform: rotate(1.5deg); }
  100% { transform: rotate(-1deg); }
}

.bloom {
  animation: bloom 1.8s ease-out forwards;
}

@keyframes bloom {
  from { transform: scale(0) rotate(0deg); }
  to { transform: scale(1) rotate(0deg); }
}
/* FAUNA */
#night-fauna, #day-fauna {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

/* 🦉 BÚHO */
.owl {
  position: absolute;
  top: 25%;
  font-size: 42px;
  opacity: 0.9;
  animation: owlFly 18s linear infinite;
}

@keyframes owlFly {
  from { transform: translateX(-80px); }
  to { transform: translateX(110vw); }
}

/* 🦋 MARIPOSAS */
.butterfly, .bee {
  position: absolute;
  font-size: 26px;
  animation: flutter 6s ease-in-out infinite;
}

@keyframes flutter {
  0%   { transform: translate(0,0) rotate(0deg); }
  50%  { transform: translate(20px,-20px) rotate(10deg); }
  100% { transform: translate(0,0) rotate(0deg); }
}
/* 🌌 ESTRELLAS */
#stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 1s;
}

#sky.night #stars {
  opacity: 1;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0.8;
}

/* ☄️ ESTRELLAS FUGACES */
#shooting-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.shooting-star {
  position: absolute;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, white, transparent);
  opacity: 0.9;
  animation: shoot 1.2s ease-out forwards;
}

@keyframes shoot {
  from {
    transform: translate(0,0);
    opacity: 1;
  }
  to {
    transform: translate(-400px,300px);
    opacity: 0;
  }
}
/* ✨ LUCIÉRNAGAS */
.firefly {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 180, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 255, 180, 0.9);
  pointer-events: none;
  animation:
    fly 7s ease-in-out infinite,
    blink 2.6s ease-in-out infinite;
}

@keyframes fly {
  0%   { transform: translate(0,0); }
  50%  { transform: translate(30px,-35px); }
  100% { transform: translate(0,0); }
}

@keyframes blink {
  0%,100% { opacity: 0.2; }
  50%     { opacity: 1; }
}

/* BOTÓN MIXTAPE */
.mixtape-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;

  background: linear-gradient(
    135deg,
    rgba(120,160,255,0.55),
    rgba(80,120,255,0.35)
  );

  border: 1px solid rgba(180,210,255,0.45);
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.3px;
  text-decoration: none;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.35),
    inset 0 0 12px rgba(255,255,255,0.15);

  transition: all 0.35s ease;
  backdrop-filter: blur(6px);
}

/* Hover suave */
.mixtape-link:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 40px rgba(0,0,0,0.45),
    inset 0 0 16px rgba(255,255,255,0.25);
}

/* Click */
.mixtape-link:active {
  transform: translateY(0);
  box-shadow:
    0 8px 20px rgba(0,0,0,0.4),
    inset 0 0 10px rgba(255,255,255,0.2);
}

