/* Nombre del archivo: stylesDP.css */
/* ----- Estilos generales ----- */
body, html {
  margin: 0;
  padding: 0;
  font-family: "WDXL Lubrifont TC", sans-serif;
  background-color: #000;
  color: #fff;
  scroll-behavior: smooth;
}

/* ----- Navbar ----- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: linear-gradient(90deg, #000, #c00000);
  position: fixed;
  width: 100%;
  z-index: 10;
}

.logo-neon {
  font-family: "WDXL Lubrifont TC", sans-serif;
  font-size: 2rem;
  font-weight: bold;
  color: #ff0000;
  text-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000;
  animation: pulseNeon 2s infinite ease-in-out;
}

@keyframes pulseNeon {
  0%, 100% {
    opacity: 1;
    text-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000;
  }
  50% {
    opacity: 0.5;
    text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000;
  }
}
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6rem; /* Espacio entre títulos */
  flex: 1;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #cb0101;
}
/*Menú hamburguesa*/
.hamburger {
  margin-right: 4rem;
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  z-index: 20;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #ffffff; /* Rojas */
  border-radius: 2px;
}
.hamburger:hover span {
  width: 25px;
  height: 3px;
  background-color: #ffffff; /* Rojas */
  border-radius: 2px;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    border-color: #000;
    position: absolute;
    top: 100%;
    right: 0;
    background: #000000;
    flex-direction: column;
    width: 100%;
    gap: 2rem;
    padding: 2rem 0;
    display: none;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }
}

/* ----- Hero Section (video y bienvenida) ----- */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  background-color: black; /* fallback en caso de que el video no cargue */
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.5;
  overflow: hidden;
  pointer-events: none;
}
.hero-button {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  padding: 1rem 2rem;
  background-color: #ff0000;
  color: #fff;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
  font-family: "WDXL Lubrifont TC", sans-serif;
  font-size: 1.2rem;
  text-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000;
  animation: pulseNeon 2s infinite ease-in-out;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
  text-decoration: none;
  display: inline-block;
  margin: 0 auto;
}
.hero-button:hover {
  background-color: #990000;

}
.video-bg iframe {
  width: 177.78vh; /* relación 16:9 */
  height: 100vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-content {
  z-index: 1;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
}

.hero-content button {
  padding: 1rem 2rem;
  background-color: #ff0000;
  color: #fff;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}

.hero-content button:hover {
  background-color: #990000;
}


/* Media query para celulares */
@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2rem; /* Reducir tamaño del título */
  }

  .hero-content button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem; /* Ajustar texto del botón */
  }

  .video-bg {
    margin-left: 0rem; /* Centrar mejor el video en pantallas pequeñas */
    width: 100%;
    height: 100%;
  }
}


/* AQUÍ VAN LOS ESTILOS DE LA SIGUIENTE SECCIÓN */
.hero2 {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background:linear-gradient(180deg, #000, #c00000);
}
.hero2-content {
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}
.hero2-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero2-content button {
  padding: 1rem 2rem;
  background-color: #ff0000;
  color: #fff;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}
.hero2-content button:hover {
  background-color: #990000;
}
.video-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.video-item {
  width: 300px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}
.video-item:hover {
  transform: scale(1.05);
  transition: transform 0.2s;
}

.container h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #fff;
  font-size: 2rem;
  text-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000;
  animation: pulseNeon 2s infinite ease-in-out;  
}

.admin-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
  color: #fff;
  text-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000;
}

.subscriber-list li {
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #600;
  padding-bottom: 0.3rem;
}


@media screen and (max-width: 768px) {
  .container{
    padding: 10px;
  }
  .container h1 {
    font-size: 1.5rem;
    text-align: center;
  }
  #adminList {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en pantallas pequeñas */
  }
  .video-YT {
    width: 100%;
    height: auto;
  }
  .video-container {
    width: 100%;
    max-width: 300px; /* Ajusta el ancho máximo según sea necesario */
  }
  .video-thumbnail {
    width: 100%;
    height: auto; /* Mantiene la proporción de la imagen */
  }
  .image-container img {
    width: 100%;
    height: auto; /* Mantiene la proporción de la imagen */
  }
  .image-container {
    width: 100%;
    max-width: 300px; /* Ajusta el ancho máximo según sea necesario */
  }
  .video-section {
    width: 100%;
    padding: 10px;
  }
  .video-section h2 {
    font-size: 1.5rem;
  }
  .video-YT {
    width: 100%;
    height: auto;
  }
  .video-container {
    width: 100%;
    max-width: 300px; /* Ajusta el ancho máximo según sea necesario */
  }
  .addImage {
    margin-top: 15px;
  }
}
.video-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}
.video-section h2{
  text-align: center;
  margin-bottom: 20px;
  color: #fff;
  font-size: 1.5rem;
  text-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000;
}
.video-YT {
  width: 40%;
  height: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
  transition: transform 0.2s;
  margin-bottom: 2rem;
}
.boton-Add-YT {
  padding: 10px 20px;
  background-color: #ff0000;
  color: #fff;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s, transform 0.2s;
}
.boton-Add-YT:hover {
  background-color: #990000;
  transform: scale(1.05);
}
.video-container {
  width: 200px;
  text-align: center;
}
.video-thumbnail {
  width: 100%;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.2s;
}
.video-thumbnail, .image-container img {
  width: 200px;
  height: auto;
  border-radius: 6px;
}

.video-container, .image-container {
  margin: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-thumbnail:hover {
  transform: scale(1.05);
}
/* AQUÍ VAN LOS ESTILOS DE LA SIGUIENTE SECCIÓN */
.hero3 {
  position: relative;
  /* height: 100vh; */ /* ✅ Elimina esto para crecimiento dinámico */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background:linear-gradient(180deg, #c00000, #000);
}

.hero3-content{
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
  margin-bottom: 1rem;
  z-index: 2;
  position: relative;
  
}
.hero3-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  z-index: 2;
}
.hero3-content p {
  z-index: 2;
  margin-bottom: 2rem;
}

.hero3-content button {
  padding: 1rem 2rem;
  background-color: #ff0000;
  color: #fff;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}

.hero3-content button:hover {
  background-color: #990000;
}
.image-item {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 1rem auto;
  text-align: center;
}
.image-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.2s;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
  cursor: pointer;
  display: block;
  margin: 0 auto;
  border: 2px solid #ff0000; /* Borde rojo */
  box-sizing: border-box; /* Asegura que el borde no afecte al tamaño total */
  padding: 5px; /* Espacio entre la imagen y el borde */
  background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5); /* Sombra roja */
  border-radius: 10px; /* Bordes redondeados */
  filter: brightness(0.9); /* Reduce el brillo de la imagen */
  transition: transform 0.2s, filter 0.2s; /* Transición suave para el efecto hover */
  object-fit: cover; /* Asegura que la imagen cubra el área sin distorsionarse */
  max-height: 300px; /* Limita la altura máxima de la imagen */
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5); /* Sombra roja */
  border: 2px solid #ff0000; /* Borde rojo */
  padding: 5px; /* Espacio entre la imagen y el borde */
  background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
  box-sizing: border-box; /* Asegura que el borde no afecte al tamaño total */
  border-radius: 10px; /* Bordes redondeados */
  filter: brightness(0.9); /* Reduce el brillo de la imagen */
  transition: transform 0.2s, filter 0.2s; /* Transición suave para el efecto hover */
  object-fit: cover; /* Asegura que la imagen cubra el área sin distorsionarse */
  max-height: 300px; /* Limita la altura máxima de la imagen */
  cursor: pointer; /* Cambia el cursor al pasar sobre la imagen */
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5); /* Sombra roja */
}
.image-item img:hover {
  transform: scale(1.05);
  filter: brightness(1); /* Restaura el brillo al pasar el mouse */
}
.fileImage {
  display: none; /* Oculta el input de archivo */
}
.addImage {
  padding: 10px 20px;
  background-color: #ff0000;
  color: #fff;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s, transform 0.2s;
}
.addImage:hover {
  background-color: #990000;
  transform: scale(1.05);
}
.gallery-image {
  width: 100%;
  max-width: 300px;
  margin: 1rem auto;
  display: block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.gallery-image.visible {
  opacity: 1;
  transform: translateY(0);
}
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columnas */
  gap: 1px;
  padding: 1px;
  max-width: 1200px;
  margin: auto;
  z-index: 1;
  position: relative;
}

#videoAdminList {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columnas */
  gap: 1rem;
  padding: 3rem;
  max-width: 1200px;
  margin: auto;
  z-index: 1;
  position: relative;
}
#imageAdminList {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 3rem;
  max-width: 1200px;
  margin: auto;
  z-index: 1;
  position: relative;
}
.image-section {
  text-align: center;
  margin-bottom: 20px;
  color: #fff;
  font-size: 1.5rem;
  text-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000;
}
.image-section input {
  align-items: center;
}

/*Sección4*/
.hero4 {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, #000, #c00000);
  padding: 2rem;
  box-sizing: border-box;
  z-index: 0;
  /* height: 100vh; -> esto NO debe estar */
}
.hero4-content {
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
  z-index: 1;
  position: relative;
  color: #fff;
  text-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000;
  text-align: center;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  padding: 2rem;
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero4-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin: auto;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 5px;
  margin-bottom: 1rem;
  border: none;
  border-radius: 5px;
  background-color: rgb(255, 255, 255);
  color: #fff;
  font-size: 1rem;
}
.enviar-boton {
  margin: auto;
  width: 50%;
  padding: 1rem;
  background-color: #ff0000;
  color: #fff;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}
.enviar-boton:hover {
  background-color: #470202;
  
}
.contact-form label {
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #fff;
}
input a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}
.terms-link {
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}
.text-terms {
  color: inherit; /* Usa el color del texto padre */
  text-decoration: none; /* Quita el subrayado */
  font-weight: bold; /* Opcional, para destacarlo */
}

.text-terms:hover {
  text-decoration: underline; /* Opcional: efecto hover */
}
.contact-button {
  padding: 1rem 2rem;
  background: linear-gradient(180deg, #6f0000, #630202);
  color: #fff;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}
.contact-button:hover {
  background: linear-gradient(180deg, #d30202, #d60101);
  color: #fff;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
  transform: scale(1.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: #000000; /* Color de WhatsApp */
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.3s;
}

/*Sección 5*/
.hero5 {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, #c00000, #000);
  padding: 2rem;
  box-sizing: border-box;
  z-index: 0;
}
.hero5-content {
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
  z-index: 1;
  position: relative;
  color: #fff;
  text-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000;
  text-align: center;
  border-radius: 10px;
  backdrop-filter: blur(5px);
}
.subscribe-input {
  width: 100%;
  padding: 10px;
  margin-bottom: 1rem;
  border: none;
  border-radius: 5px;
  background-color: rgb(255, 255, 255);
  color: #000;
  font-size: 1rem;
}
.hero5-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero5-content p {
  margin-bottom: 2rem;
}
.hero5-content button {
  padding: 1rem 2rem;
  background-color: #ff0000;
  color: #fff;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}
.hero5-content button:hover {
  background-color: #570000;
  
}

.admin-section {
  background-color: #111;
  color: #f00;
  padding: 2rem;
  border: 1px solid #f00;
  border-radius: 10px;
  margin: 2rem;
  font-family: 'Orbitron', sans-serif;
}

.subscriber-list {
  list-style: none;
  padding: 0;
}

.subscriber-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #222;
  padding: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  border-left: 4px solid #f00;
}

.delete-btn {
  background-color: #900;
  color: #fff;
  border: none;
  padding: 0.3rem 0.8rem;
  cursor: pointer;
  transition: background 0.3s;
  font-family: 'Orbitron', sans-serif;
}

.delete-btn:hover {
  background-color: #c00;
}

/* Aquí va la sección 6 */
.hero6 {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, #000, #c00000);
  padding: 2rem;
  box-sizing: border-box;
  z-index: 0;
}
.hero6-content {
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
  z-index: 1;
  position: relative;
  color: #fff;
  text-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000;
  text-align: center;
  border-radius: 10px;
  backdrop-filter: blur(5px);
}
.hero6-content p {
  text-shadow: none;
}
.hero6-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero6-content p {
  margin-bottom: 2rem;
}
.hero6-content button {
  padding: 1rem 2rem;
  background-color: #ff0000;
  color: #fff;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}
/*Sección consejos ADMIN*/
.advicesSection,
.hero6 {
  background-color: #111;
  color: #f00;
  padding: 2rem;
  border-top: 1px solid #f00;
  font-family: 'Orbitron', sans-serif;
}

.advicesSection input[type="text"] {
  width: 100%;
  max-width: 400px;
  padding: 0.5rem;
  margin-top: 1rem;
  background-color: #222;
  border: 1px solid #600;
  color: #fff;
  font-family: inherit;
}

.advice-button {
  margin-top: 1rem;
  background-color: #900;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background 0.3s;
  font-family: inherit;
}

.advice-button:hover {
  background-color: #c00;
}

#adviceList,
#adviceList li {
  list-style: none;
  margin: 1rem 0;
}

@media (max-width: 600px) {
  .advicesSection,
  .hero6 {
    padding: 1rem;
    text-align: center;
  }

  .advicesSection input[type="text"],
  .advice-button {
    width: 100%;
    max-width: none;
  }
}

/* ----- Footer ----- */
.footer-content{
  background:  #000;
  padding: 1px;
  text-align: center;
  color: #fff;
  position: relative;
}
.social-icons .fa-brands {
  color: #fff;
  font-size: 1rem;
  margin: 0 10px;
  transition: color 0.3s;
  cursor: pointer;
  display: inline-block;
  padding: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  margin: 0 5px;
}
.social-icons .fa-brands:hover {
  color: #cb0101;
}