* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  width: 100%;
  height: 100%;
  background: #0D1B2A;
  font-family: 'Nunito', sans-serif;
  overflow: hidden;
}

/* ── Estrellas ── */
.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.stars span {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  animation: twinkle linear infinite;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.4);
  }
}

/* ── Hero ── */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  height: 100vh;
  padding: 40px;
  position: relative;
  z-index: 1;
}

/* ── Monstruito ── */
.monster-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.monster-img {
  width: 280px;
  filter: drop-shadow(0 0 30px rgba(199, 125, 255, 0.6));
}

.speech-bubble {
  background: #FFD93D;
  color: #0D1B2A;
  font-family: 'Fredoka One', cursive;
  font-size: 1.3rem;
  padding: 12px 24px;
  border-radius: 30px;
  margin-top: 16px;
  position: relative;
  box-shadow: 0 4px 0 #c9a800;
}

.speech-bubble::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  border: 10px solid transparent;
  border-bottom-color: #FFD93D;
}

/* ── Texto hero ── */
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.title {
  font-family: 'Fredoka One', cursive;
  font-size: 5rem;
  color: #fff;
  line-height: 1;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}

.subtitle {
  font-size: 1.4rem;
  color: #C77DFF;
  font-weight: 700;
}

.btn-play {
  display: inline-block;
  background: #FF6B6B;
  color: #fff;
  font-family: 'Fredoka One', cursive;
  font-size: 2rem;
  padding: 16px 52px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 0 #c94040;
  transition: transform 0.1s, box-shadow 0.1s;
  margin-top: 8px;
}

.btn-play:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 #c94040;
}

.btn-play:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 #c94040;
}

/* ── FIRMA DEL AUTOR - Grande y Colorida ── */
.author-signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  padding: 16px 32px;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 107, 0.2),
    rgba(199, 125, 255, 0.2)
  );
  border: 3px solid #FFD93D;
  border-radius: 50px;
  box-shadow:
    0 8px 0 rgba(255, 217, 61, 0.4),
    0 12px 32px rgba(0, 0, 0, 0.3);
  animation: signaturePulse 2s ease-in-out infinite;
}

.author-by {
  font-family: 'Nunito', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #C77DFF;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.author-name {
  font-family: 'Fredoka One', cursive;
  font-size: 2.2rem;
  background: linear-gradient(
    135deg,
    #FF6B6B,
    #FFD93D,
    #6BCB77,
    #C77DFF
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.2);
  animation: rainbowShift 3s ease-in-out infinite;
}

.author-star {
  font-size: 2rem;
  animation: starSpin 4s linear infinite;
}

@keyframes signaturePulse {
  0%,
  100% {
    transform: scale(1) translateY(0);
    box-shadow:
      0 8px 0 rgba(255, 217, 61, 0.4),
      0 12px 32px rgba(0, 0, 0, 0.3);
  }

  50% {
    transform: scale(1.05) translateY(-4px);
    box-shadow:
      0 12px 0 rgba(255, 217, 61, 0.5),
      0 20px 48px rgba(0, 0, 0, 0.4);
  }
}

@keyframes rainbowShift {
  0%,
  100% {
    filter: hue-rotate(0deg);
  }

  50% {
    filter: hue-rotate(30deg);
  }
}

@keyframes starSpin {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.2);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

/* ── Responsive para móviles ── */
@media (max-width: 700px) {
  .hero {
    flex-direction: column;
    gap: 32px;
  }

  .title {
    font-size: 3rem;
  }

  .monster-img {
    width: 180px;
  }

  .hero-text {
    align-items: center;
    text-align: center;
  }

  .author-signature {
    padding: 12px 24px;
    margin-top: 24px;
  }

  .author-by {
    font-size: 1.1rem;
  }

  .author-name {
    font-size: 1.8rem;
  }

  .author-star {
    font-size: 1.6rem;
  }
}