@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Comforter&family=Gasoek+One&family=Oi&family=Sigmar&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton+SC&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Grand+Hotel&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Belanosima&family=Rubik+Vinyl&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Grand+Hotel&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap');

/* --- Estilos extraídos del HTML --- */
.video-container {
  position: relative;
  padding-top: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-container iframe,
.video-container video,
.video-container .plyr__video-embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  font-family: "Poppins", sans-serif;
  /* background-image: linear-gradient(to right, #6a11cb 0%, #2575fc 100%); */
  overflow-x: hidden;

}

/* Estilo personalizado para la navbar estilo Hot Planet */
/* Centrar el contenido de la navbar */
/* Mantenemos deshabilitada la fuente para evitar error 404 de red */
/*
@font-face {
  font-family: 'Spot';
  src: url('fonts/Spot.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
*/

.hotplanet-navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
  height: 90px;
}

.hotplanet-navbar li {
  display: flex;
  align-items: center;
}

.hotplanet-navbar li a {
  font-family: 'Spot', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #ffcc00;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}

.hotplanet-navbar li:first-child a {
  color: white;
}

.hotplanet-navbar .reservar {

  padding: 8px 12px;
  border-radius: 8px;
  color: #fff !important;
}



.spectacledcoder-navbar {
  position: fixed;
  width: 100%;
  height: 116px;
  display: flex;
  justify-content: center;
  z-index: 100;
  backdrop-filter: blur(20px);
  transition: top 0.3s ease-in-out;
  top: 0;
  /* visible por defecto */
}

/* Solo lo ocultas al inicio en móviles */
@media only screen and (max-width: 1000px) {
  .spectacledcoder-navbar {
    top: -120px;
  }

  .spectacledcoder-navbar.visible {
    top: 0;
  }
}


.spectacledcoder-navbar .brand {
  margin: auto;
  width: fit-content;
  height: 60px;
  margin-left: 20px;
  margin-top: 5px;
  display: flex;

}

.spectacledcoder-navbar .brand h1 {
  font-family: "Comforter", cursive;
  margin: auto;
  color: rgb(0, 0, 0);
}

.spectacledcoder-navbar ul {
  width: 50%;
  height: 100%;
  margin: auto;
  margin-left: 0px;
  display: flex;


}

.spectacledcoder-navbar ul li {
  margin: auto;
  margin-left: 0px;
  list-style: none;
  font-weight: 400;
}

.rect {
  margin: auto;
  margin-left: 0px;
  width: 0%;
  height: 2px;
  background-color: rgb(255, 255, 255);
}

.spectacledcoder-navbar ul li:hover .rect {
  width: 100%;
  transition: all 0.5s;
}

.spectacledcoder-navbar ul li a {
  font-family: "Poppins", sans-serif;
  font-size: smaller;
  text-decoration: none;
  color: rgb(255, 255, 255);
}

.spectacledcoder-navbar .navbar-toggler {
  margin: auto;
  width: 50px;
  height: 40%;
  display: none;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.5s;
  margin-right: 20px;

}

.spectacledcoder-navbar .navbar-toggler .line1,
.spectacledcoder-navbar .navbar-toggler .line2 {
  margin: auto;
  width: 20px;
  height: 1px;
  background-color: rgb(255, 255, 255);

}

.overlay-dropdown {
  display: none;
}

.overlay-dropdown ul li {
  display: none;
}


#intro-div,
#about-div,
.contenedor,
#services-div,
#careers-div,
#contact-div {
  margin: auto;
  width: 100%;
  height: 100vh;
  display: flex;
}

#intro-div h2,
#about-div h2,
#services-div h2,
#careers-div h2,
#contact-div h2 {
  margin: auto;
  font-size: 3vw;
  color: rgb(255, 255, 255);
}

#contact-div {
  position: relative;
  width: 100%;
  height: 120vh;
  background-image: url('images/prueba por partes (1).webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  z-index: 0;
  /* 🔥 Centro vertical y horizontal */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.starfall-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

/* ⭐ Estrellas titilantes */
.twinkle-star {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: white;
  animation: twinkle 2s infinite ease-in-out alternate;
  opacity: 0.3;
}

@keyframes twinkle {
  0% {
    opacity: 0.2;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.3);
  }

  100% {
    opacity: 0.1;
    transform: scale(0.9);
  }
}

/* 🌠 Estrella fugaz */
.shooting-star {
  position: absolute;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, white, transparent);
  opacity: 1;
  transform: rotate(315deg);
  animation: shoot 1.2s ease-out forwards;
  pointer-events: none;
}

@keyframes shoot {
  0% {
    transform: translateX(0) translateY(0) rotate(315deg);
    opacity: 1;
  }

  100% {
    transform: translateX(-600px) translateY(300px) rotate(315deg);
    opacity: 0;
  }
}


#about-div {
  justify-content: center;
  align-items: center;
  background-color: #81006e;
  padding: 20px;
}

@media only screen and (max-width: 768px) {
  #about-div {
    height: auto;
    flex-direction: column;
    /* opcional si el contenido se apila */
    padding: 20px 0;
    /* espacio interno si lo necesitas */
  }
}

/* Contenedor de video responsivo usando aspect ratio */
.video-wrapper {
  width: 80%;
  aspect-ratio: 16 / 9;
  /* Mantiene proporción de video */
  position: relative;
}

/* Plyr o iframe ocupando todo el contenedor */
.video-wrapper>div,
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.contenedor {
  justify-content: center;
  align-items: center;
  background-color: #42239d;
}

.tama {
  height: 175vh !important;
}

#intro-div {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#intro-div img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-width: 100%;
  display: block;
}

#services-div {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.background-img {
  width: 100%;
  height: auto;
  display: block;
}

.overlay-content {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  pointer-events: none;
}

.overlay-img {
  position: absolute;
  width: 90%;
  height: auto;
  max-width: 1000px;
  z-index: 1;
}

.text-box {
  width: 70%;
  max-width: 800px;
  text-align: center;
  color: white;
  padding: 2rem;
  font-family: 'Poppins', sans-serif;
  z-index: 2;
}

.text-box h2 {
  font-family: 'Spot', sans-serif;
  font-size: clamp(1.2rem, 3vw, 2.5rem);
  color: white;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.text-box p {
  font-family: monospace;
  font-size: clamp(0.9rem, 2.2vw, 1.2rem);
  color: white;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .text-box h2 {
    font-size: 1.4rem;
  }

  .text-box p {
    font-size: 0.7rem;
  }
}



/* CONTENEDOR BASE */
.responsive-image-container {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.responsive-image-container img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  object-fit: contain;
}

/* CAPAS SUPERPUESTAS */
.overlay-group {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.overlay-group .background-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Todas las imágenes superpuestas */
.overlay-group .foreground-img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 84%;
  height: auto;
  pointer-events: none;
}

/* Capas separadas por clase si necesitas animar o ajustar individualmente */
.layer-1 {
  width: 90% !important;
  top: 69%;
  transform-style: preserve-3d;
}

.layer-2 {
  width: 20% !important;
  left: 18% !important;
  top: 30% !important;
  transform-style: preserve-3d;
}

.logo-img {
  top: 20%;
  width: 40% !important;
  max-width: 60%;
  left: 0 !important;
  right: 0 !important;
  margin: 0 auto;
  transform: none !important;
}

/* TEXTO */
.text-content {
  position: absolute;
  bottom: 10%;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: 50%;
  width: 50%;
  max-width: 50%;
  color: white;
  font-family: monospace;
  font-size: 2.3rem;
  text-align: center;
  line-height: 1;
  padding: 1rem;
}

@media only screen and (max-width: 768px) {
  .text-content {
    font-size: 0.8rem;
    left: 10%;
    width: 80%;
    max-width: 80%;
  }
}

.image-wrapper {
  width: 98%;
  min-height: 100vh;
  /* altura mínima visible */
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  overflow: hidden;
  background-image: url("images/fondo2.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.flip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

@media (max-width: 1024px) {
  .flip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .flip-grid {
    grid-template-columns: 1fr;
  }
}

.card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  padding: 10px;
  background: transparent;
  border-radius: 20px;
  min-height: 500px;
  /* fuerza altura uniforme */
}

.flip-container {
  width: 100%;
  aspect-ratio: 3/4;
  /* o puedes usar width + height en % */
  perspective: 1000px;
  border-radius: 20px;
  overflow: hidden;
}


.card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s;
}

.flip-container:hover .card {
  transform: rotateY(-180deg);
}

.front,
.back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  overflow: hidden;
}

.front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.front img,
.back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.back {
  transform: rotateY(180deg);
}

.description {
  margin-top: 10px;
  flex-grow: 1;
  /* empuja el botón hacia abajo */
  color: white;
  font-family: monospace;
  font-size: 0.9rem;
  max-width: 90%;
  text-align: center;
}

.location-btn {
  margin-top: auto;
  /* asegura que esté siempre al final */
  padding: 10px 20px;
  font-weight: bold;
  border: none;
  border-radius: 20px;
  background: linear-gradient(90deg, #1d004e, #ef2ec3);
  color: yellow;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: 0.3s;
}

.location-btn:hover {
  filter: brightness(1.1);
}

.double-image {
  position: relative;
}

.double-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* Imagen superior o adicional */
.double-image .top-icon {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 40px;
  height: 40px;
  object-fit: contain;
  z-index: 2;
}

/* Mobile menu default hidden */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 116px;
  /* debajo del navbar */
  left: 0;
  width: 100%;
  backdrop-filter: blur(20px);
  z-index: 99;
  padding: 20px 0;
  margin: 0;
}

.mobile-menu li {
  text-align: center;
  margin: 15px 0;
  list-style: none;
}

.mobile-menu li a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  font-family: "Poppins", sans-serif;
}

.mobile-menu.show {
  display: flex;
}

/* Oculta el menú móvil en pantallas grandes */
@media (min-width: 1001px) {
  .mobile-menu {
    display: none !important;
  }
}


@media only screen and (max-width: 1000px) {

  .desktop-menu {
    display: none;
  }

  .navbar-toggler {
    display: flex;
  }

  .mobile-menu.show {
    display: flex;
  }

  .spectacledcoder-navbar ul {
    display: none;
  }

  .spectacledcoder-navbar .navbar-toggler {
    display: flex;
  }

  .overlay-dropdown {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: auto;
    display: none;
    flex-direction: column;
    background-color: rgb(255, 255, 255);
  }

  .overlay-dropdown .brand {
    margin: auto;
    height: 60px;
    margin-left: 20px;
    margin-top: 12px;
  }

  .overlay-dropdown .brand h1 {
    font-family: "Comforter", cursive;
    margin: auto;
  }

  .overlay-dropdown ul {
    width: 50%;
    height: 60%;
    margin: auto;
    display: flex;
    flex-direction: column;
    margin-left: -16px;
    margin-top: 20px;
  }

  .overlay-dropdown ul li {
    display: flex;
    list-style-type: none;
    margin-left: 20px;

  }

  .overlay-dropdown ul li a {
    text-decoration: none;
    color: black;
    font-size: 50px;
  }
}

.disclaimer {
  margin: auto;
  margin-bottom: 20px;
  width: fit-content;
  color: rgb(255, 255, 255);
  text-align: center;
  font-family: 'Belanosima', sans-serif;
}

.disclaimer a {
  text-decoration: none;
  color: #ffffff;
  font-family: "Kaushan Script", cursive;
  font-weight: 900;
}

.disclaimer a:hover {
  text-decoration: overline;
}

/* modal */
.modal {
  display: none;
  /* 👈 sólo este display */
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgb(0 0 0 / 65%);
  /* fondo oscuro */
  justify-content: center;
  align-items: center;
}


.modal-content {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* que la imagen escale proporcionalmente */
  border-radius: 0;
}

.close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

.close:hover {
  color: red;
}

.responsive-image {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.responsive-image img {
  width: 100%;
  height: auto;
  display: block;
  z-index: 1;
  position: relative;
}

/* Fondo animado */
.particle-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  perspective: 800px;
  /* clave para simular profundidad */
  overflow: hidden;
  pointer-events: none;
}

.punto {
  position: absolute;
  width: 12px;
  height: 12px;
  background: white;
  clip-path: polygon(50% 0%,
      61% 35%,
      98% 35%,
      68% 57%,
      79% 91%,
      50% 70%,
      21% 91%,
      32% 57%,
      2% 35%,
      39% 35%);
  animation: warp 3s linear infinite;
  transform-style: preserve-3d;
  will-change: transform;
}


@keyframes warp {
  0% {
    transform: rotateZ(0deg) translateZ(0px);
    opacity: 1;
  }

  100% {
    transform: rotateZ(-720deg) translateZ(600px);
    opacity: 0;
  }
}

.foreground-images {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  width: 100%;
}

/* Imagen fija */
.menu-kids {
  max-width: 50%;
  height: auto;
  display: block;
}

/* Slider visible */
.image-slider {
  width: 100%;
  /* 🔥 ocupa todo el ancho del div padre */
  max-width: 800px;
  /* opcional: límite para pantallas grandes */
  overflow: hidden;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slides {
  display: flex;
  width: 300%;
  /* 3 imágenes al 100% cada una */
  animation: slide 9s infinite;
  will-change: transform;
}

.slides img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@keyframes slide {
  0% {
    transform: translateX(0%);
  }

  33% {
    transform: translateX(-100%);
  }

  66% {
    transform: translateX(-200%);
  }

  100% {
    transform: translateX(0%);
  }
}

.menu-kids-block {
  max-width: 50%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.menu-kids-description {
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  line-height: 1.6;
  color: white;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .foreground-images {
    /* flex-direction: column; */
    align-items: center;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    /* en lugar de top: 50% */
    width: 90%;
  }

  .menu-kids-block {
    max-width: 100%;
  }

  .menu-kids-description {
    font-size: 0.61rem;
    padding: 0 10px;
  }

  .image-slider {
    width: 374%;
    margin-top: 60px;
  }

  .slides img {
    width: 100%;
    height: auto;
  }

  .menu-kids {
    max-width: 100%;
    left: 90px;
    top: -6px;
  }


}


.card-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.flip-container {
  perspective: 1000px;
  width: 260px;
  /* 🔹 tamaño más pequeño */
  aspect-ratio: 3 / 4;
  /* 🧠 mantiene proporción estable */
  position: relative;
}

.card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 1s;
}

.front,
.back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 🔥 muy importante */
  backface-visibility: hidden;
  overflow: hidden;
}

.front img,
.back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 🔥 evita cortes */
  display: block;
  border-radius: 12px;
}


.flip-container:hover .card {
  transform: rotateY(-180deg);
}

.front,
.back {
  position: absolute;
  width: 100%;
  height: auto;
  top: 0;
  left: 0;
  backface-visibility: hidden;
}

.front img,
.back img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.back {
  transform: rotateY(180deg);
}

.bottom-image {
  width: 60%;
  margin-top: -69px;
  text-align: center;
}

.bottom-image img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

.text-footer {
  text-align: center;
  padding: 40px 20px;
  color: white;
  font-family: 'Spot', monospace;
  /* Usa tu tipografía personalizada */
}

.text-footer h2 {
  color: #ff0;
  /* Amarillo vibrante */
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.text-footer p {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}




#particleCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  pointer-events: none;
}

.title {
  font-size: 3.5rem;
  font-weight: 300;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.5s forwards;
}

.controls {
  display: flex;
  gap: 1rem;
  justify-content: center;
  opacity: 0;
  animation: fadeInUp 1s ease-out 1s forwards;
}

.btn {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  pointer-events: all;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.btn:active {
  transform: translateY(0);
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .title {
    font-size: 2.5rem;
  }

  .description {
    font-size: 1rem;
  }

  .controls {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.8rem;
  }
}

.celebra-section {
  position: relative;
  z-index: 2;
  /* por encima de las estrellas */
  text-align: center;
  padding: 60px 20px;
  color: white;
  font-family: 'Courier New', monospace;
}

.celebra-section h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: yellow;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.celebra-section p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.icon-button-container {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.icon-box img {
  width: 120px;
  height: auto;
}

.cta-btn {
  background: #3a2072;
  color: white;
  border: 2px solid white;
  border-radius: 30px;
  padding: 10px 30px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: 0.3s ease;
}

.cta-btn:hover {
  background: white;
  color: #3a2072;
}

.botones-footer {
  display: flex;
  gap: 40px;
  margin-top: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-btn {
  background: #502D9B;
  border-radius: 40px;
  padding: 20px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border: 2px solid white;
  width: 220px;
  transition: background 0.3s ease;
}

.footer-btn img {
  width: 220px;
  height: auto;
}

.footer-btn:hover {
  background: #693fcf;
}

/* --- PRELOADER ESPACIAL 3.0 --- */
#preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at center, #1b0042 0%, #03000a 100%);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  overflow: hidden;
  perspective: 1000px;
}

.preloader-stars {
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 200%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 40px 70px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 50px 160px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 90px 40px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 130px 80px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 160px 120px, #ffffff, rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: warp-speed 2s linear infinite;
  opacity: 0.3;
}

.loader-anim-container {
  position: relative;
  width: 200px; height: 200px;
  display: flex;
  justify-content: center; align-items: center;
  transform-style: preserve-3d;
  animation: float-container 4s ease-in-out infinite alternate;
}

.loader-orbit {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 4px solid transparent;
}

.orbit-1 {
  border-top: 4px solid #ef2ec3;
  border-bottom: 4px solid #00e5ff;
  animation: rotate-orbit-1 2s linear infinite;
  box-shadow: inset 0 0 15px rgba(239, 46, 195, 0.3);
}

.orbit-2 {
  border-left: 4px solid #ffaa00;
  border-right: 4px solid #ef2ec3;
  animation: rotate-orbit-2 2.5s linear infinite;
  box-shadow: inset 0 0 15px rgba(255, 170, 0, 0.3);
}

.orbit-3 {
  border-top: 4px solid #00e5ff;
  border-left: 4px solid #050099;
  animation: rotate-orbit-3 3s linear infinite;
  box-shadow: inset 0 0 15px rgba(0, 229, 255, 0.3);
}

.rocket-wrapper {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.rocket-loader {
  font-size: 5rem;
  transform: rotate(-45deg);
  filter: drop-shadow(0 0 15px rgba(255,255,255,0.7));
  animation: rocket-shake 0.1s linear infinite alternate;
}

.rocket-exhaust {
  width: 12px; height: 35px;
  background: linear-gradient(to bottom, #ffaa00, #ff0000, transparent);
  border-radius: 50%;
  margin-top: -15px;
  filter: blur(2px);
  animation: exhaust-flicker 0.1s infinite alternate;
}

.loader-text-wrapper {
  margin-top: 60px;
  display: flex; flex-direction: column; align-items: center;
}

.loader-text {
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem; font-weight: 800;
  letter-spacing: 6px; text-transform: uppercase;
  background: linear-gradient(90deg, #00e5ff, #ef2ec3, #ffaa00);
  background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  animation: gradient-shift 3s linear infinite;
  background-size: 200% auto;
}

.loader-progress {
  width: 180px; height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px; margin-top: 15px;
  overflow: hidden; position: relative;
}

.loader-progress::after {
  content: '';
  position: absolute; top: 0; left: 0; height: 100%; width: 0%;
  background: linear-gradient(90deg, #00e5ff, #ef2ec3);
  box-shadow: 0 0 10px #ef2ec3;
  animation: fill-progress 2.5s ease-out forwards;
}

@keyframes fill-progress { 0% { width: 0%; } 100% { width: 100%; } }
@keyframes gradient-shift { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
@keyframes warp-speed { 0% { transform: translateY(0); } 100% { transform: translateY(200px); } }
@keyframes rotate-orbit-1 { 0% { transform: rotateX(60deg) rotateY(0deg) rotateZ(0deg); } 100% { transform: rotateX(60deg) rotateY(360deg) rotateZ(360deg); } }
@keyframes rotate-orbit-2 { 0% { transform: rotateX(0deg) rotateY(60deg) rotateZ(0deg); } 100% { transform: rotateX(360deg) rotateY(60deg) rotateZ(360deg); } }
@keyframes rotate-orbit-3 { 0% { transform: rotateX(45deg) rotateY(45deg) rotateZ(0deg); } 100% { transform: rotateX(45deg) rotateY(45deg) rotateZ(360deg); } }
@keyframes exhaust-flicker { 0% { transform: scaleY(1); opacity: 0.8; } 100% { transform: scaleY(1.5); opacity: 1; } }
@keyframes rocket-shake { 0% { transform: rotate(-45deg) translate(2px, 2px); } 100% { transform: rotate(-45deg) translate(-2px, -2px); } }
@keyframes float-container { 0% { transform: translateY(10px); } 100% { transform: translateY(-10px); } }

body.no-scroll { overflow: hidden; }