body {

  margin: 0;
  font-family: sans-serif;
  color: white;
  text-align: center;

  /* 🌌 fondo nocturno */
  background: radial-gradient(circle at center, #0a0f2c, #000000 70%);
  overflow-x: hidden;
  overflow-y: auto;
}

/* 🌫️ AURA SUAVE */
body::before {
  content: "";
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 280px;
  height: 280px;

  background: radial-gradient(circle, rgba(173,216,230,0.3), transparent 70%);
  filter: blur(50px);

  animation: auraLuna 6s infinite ease-in-out;
}

@keyframes auraLuna {
  0% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

/* CONTENIDO */
.contenido {
  position: relative;
  z-index: 2;

  max-width: 800px;
  margin: auto;
  padding: 100px 20px 80px;
}

/* 🌙 SIMBOLO */
.simbolo {
  font-size: 120px;
  color: #cfd8ff;

  animation: flotar 5s infinite ease-in-out;

  text-shadow:
    0 0 10px #cfd8ff,
    0 0 20px #9bbcff,
    0 0 40px #6a8dff,
    0 0 80px #4a6cff;
}

/* 🌊 EFECTO FLOTAR */
@keyframes flotar {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

/* TITULO */
h1 {
  font-size: 44px;
  margin: 20px 0;
}

/* TEXTO */
p {
  font-size: 18px;
  line-height: 1.8;
  color: #d0d8ff;
}

/* BOTON */
.volver {
  display: inline-block;
  margin-top: 40px;
  padding: 12px 25px;

  border: 1px solid #9bbcff;
  color: #9bbcff;
  text-decoration: none;

  transition: 0.3s;
}

.volver:hover {
  background: #9bbcff;
  color: black;
  box-shadow: 0 0 25px #9bbcff;
}

/* 🔥 SLIDER */
.slider {
  position: relative;
  width: 100%;
  height: 100vh; /* 🔥 CLAVE */
  overflow: hidden;
}

/* SLIDES */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;

  opacity: 0;
  transform: translateX(100%);
  transition: all 0.6s ease;

  /* 🔥 SCROLL INTERNO */
  overflow-y: auto;
  padding-right: 10px;
}
.slide::-webkit-scrollbar {
  width: 6px;
}

.slide::-webkit-scrollbar-thumb {
  background: #9bbcff; /* 🌙 color luna */
  border-radius: 10px;
}

/* SLIDE ACTIVO */
.slide.active {
  opacity: 1;
  transform: translateX(0);
}


/* 🎮 CONTROLES (PC) */
.controles {
  position: fixed;
  top: 50%;
  left: 0;
  width: 100%;

  transform: translateY(-50%);
  z-index: 999;

  pointer-events: none;
}

/* BOTONES */
.controles button {
  pointer-events: auto;

  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  background: rgba(0,0,0,0.5);
  border: 1px solid #9bbcff;
  color: #9bbcff;

  font-size: 26px;
  padding: 14px 18px;

  cursor: pointer;
  transition: 0.3s;

  backdrop-filter: blur(6px);
}

/* POSICIONES */
#prev {
  left: 20px;
  border-radius: 0 10px 10px 0;
}

#next {
  right: 20px;
  border-radius: 10px 0 0 10px;
}

/* HOVER */
.controles button:hover {
  background: #9bbcff;
  color: black;
  box-shadow: 0 0 25px #9bbcff;
  transform: translateY(-50%) scale(1.1);
}

body {

  margin: 0;
  font-family: sans-serif;
  color: white;
  text-align: center;

  /* 🌌 fondo nocturno */
  background: radial-gradient(circle at center, #0a0f2c, #000000 70%);
  overflow-x: hidden;
  overflow-y: auto;
}

/* 🌫️ AURA SUAVE */
body::before {
  content: "";
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 280px;
  height: 280px;

  background: radial-gradient(circle, rgba(173,216,230,0.3), transparent 70%);
  filter: blur(50px);

  animation: auraLuna 6s infinite ease-in-out;
}

@keyframes auraLuna {
  0% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

/* CONTENIDO */
.contenido {
  position: relative;
  z-index: 2;

  max-width: 800px;
  margin: auto;
  padding: 100px 20px 80px;
}

/* 🌙 SIMBOLO */
.simbolo {
  font-size: 120px;
  color: #cfd8ff;

  animation: flotar 5s infinite ease-in-out;

  text-shadow:
    0 0 10px #cfd8ff,
    0 0 20px #9bbcff,
    0 0 40px #6a8dff,
    0 0 80px #4a6cff;
}

/* 🌊 EFECTO FLOTAR */
@keyframes flotar {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

/* TITULO */
h1 {
  font-size: 44px;
  margin: 20px 0;
}

/* TEXTO */
p {
  font-size: 18px;
  line-height: 1.8;
  color: #d0d8ff;
}

/* BOTON */
.volver {
  display: inline-block;
  margin-top: 40px;
  padding: 12px 25px;

  border: 1px solid #9bbcff;
  color: #9bbcff;
  text-decoration: none;

  transition: 0.3s;
}

.volver:hover {
  background: #9bbcff;
  color: black;
  box-shadow: 0 0 25px #9bbcff;
}

/* 🔥 SLIDER */
.slider {
  position: relative;
  width: 100%;
  height: 100vh; /* 🔥 CLAVE */
  overflow: hidden;
}

/* SLIDES */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;

  opacity: 0;
  transform: translateX(100%);
  transition: all 0.6s ease;

  /* 🔥 SCROLL INTERNO */
  overflow-y: auto;
  padding-right: 10px;
}
.slide::-webkit-scrollbar {
  width: 6px;
}

.slide::-webkit-scrollbar-thumb {
  background: #9bbcff; /* 🌙 color luna */
  border-radius: 10px;
}

/* SLIDE ACTIVO */
.slide.active {
  opacity: 1;
  transform: translateX(0);
}


/* 🎮 CONTROLES (PC) */
.controles {
  position: fixed;
  top: 50%;
  left: 0;
  width: 100%;

  transform: translateY(-50%);
  z-index: 999;

  pointer-events: none;
}

/* BOTONES */
.controles button {
  pointer-events: auto;

  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  background: rgba(0,0,0,0.5);
  border: 1px solid #9bbcff;
  color: #9bbcff;

  font-size: 26px;
  padding: 14px 18px;

  cursor: pointer;
  transition: 0.3s;

  backdrop-filter: blur(6px);
}

/* POSICIONES */
#prev {
  left: 20px;
  border-radius: 0 10px 10px 0;
}

#next {
  right: 20px;
  border-radius: 10px 0 0 10px;
}

/* HOVER */
.controles button:hover {
  background: #9bbcff;
  color: black;
  box-shadow: 0 0 25px #9bbcff;
  transform: translateY(-50%) scale(1.1);
}

/* 📱 MOBILE */
@media (max-width: 768px) {

  /* 🔥 SCROLL GENERAL */
  body {
    overflow-y: auto;
    padding-bottom: 90px; /* espacio para botón */
  }

  /* 🔥 CONTENEDOR */
  .slider {
    overflow: visible;
    height: auto;
  }

  /* 🔥 CLAVE: SLIDES EN COLUMNA */
  .slide {
    position: relative; /* 🔥 esto arregla TODO */
    display: block;

    min-height: auto;
    margin-bottom: 60px;

    opacity: 1;
    transform: none;
  }

  /* ❌ OCULTAR FLECHAS */
  .controles {
    display: none;
  }

  /* ✨ VISUAL */
  .simbolo {
    font-size: 80px;
  }

  h1 {
    font-size: 30px;
  }

  p {
    font-size: 16px;
  }

  .contenido {
    padding: 80px 15px 100px;
  }

  /* 🔙 BOTÓN VOLVER (SIEMPRE VISIBLE) */
  .volver {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);

    z-index: 9999;

    padding: 10px 18px;
    font-size: 14px;

    border: 1px solid #9bbcff;
    color: #9bbcff;
    text-decoration: none;

    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(6px);

    box-shadow: 0 0 15px rgba(155,188,255,0.5);
  }
}