@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: #121212;
    color: #e0e0e0;
    overflow-x: hidden;
    font-size: 14px;
}

header {
    display: flex;
    justify-content: center;
    background-color: #000;
}

.banner {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    box-shadow: 0 0 40px 10px rgba(0, 0, 0, 0.8);
}

.layout {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 40px auto;
    gap: 24px;
    padding: 0 20px;
}

@media (min-width: 1025px) {
    .layout {
        max-width: 1200px;
    }
}

/* BLOQUE IZQUIERDO */
.lateral {
    flex: 1 1 280px;
    max-width: 300px;
    background: #1e1e1e;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s;
}

.lateral:hover {
    transform: translateY(-5px);
}

/* BLOQUE DERECHO */
.contenedor {
    flex: 2 1 600px;
    background: #1e1e1e;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: break-word;
}

h1 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 20px;
}

h3 {
    color: #4fc3f7;
    margin-bottom: 12px;
    font-size: 18px;
    border-bottom: 2px solid #333;
    padding-bottom: 5px;
}

p {
    margin-bottom: 12px;
    line-height: 1.6;
    color: #ccc;
}

.botones {
    margin: 30px auto 20px auto;
    text-align: center;
    display: block;
}

button {
    background: linear-gradient(135deg, #00bcd4, #0097a7);
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    display: block;
    margin: auto;
}

button:hover {
    background: linear-gradient(135deg, #0097a7, #006064);
    transform: scale(1.05);
}

.redes {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    justify-content: center;
}

.redes a img {
    width: 28px;
    height: 28px;
    filter: brightness(1.3);
    transition: transform 0.3s, filter 0.3s;
}

.redes a:hover img {
    transform: scale(1.2);
    filter: brightness(2);
}

iframe {
    border-radius: 10px;
    border: none;
    box-shadow: 0 3px 10px rgba(255,255,255,0.1);
}

/* Modal */
.modal {
  display: none; /* Por defecto oculto */
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);

  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.modal-contenido {
  background-color: #2c2727;
  border-radius: 10px;
  padding: 20px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  position: relative;
  text-align: center;

  /* Asegura centrado interno */
  margin: 0 auto;
}



.cerrar {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

.btn-whatsapp {
    display: inline-block;
    background-color: #25d3655d;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    margin-top: 15px;
}

/* Contador */
.contador-v2 {
  display: flex;
  flex-wrap: wrap; /* permite que se ajusten si no entra todo */
  justify-content: center;
  align-items: center;

  height: 10vh;
  width: 100%;
  max-width: 100%;
  margin: 20px auto;
  padding: 0 10px;
  box-sizing: border-box;

  background-color: #1e1e1e;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);

  font-family: 'Poppins', sans-serif;
  font-size: clamp(10px, 2vw, 16px);
  color: #ccc;

  gap: 6px;
  text-align: center;
  overflow: hidden;
}


.contador-v2 .icono {
    font-size: 20px;
    color: #ff9800;
    margin-right: 4px;
}

.contador-v2 .texto {
    font-weight: bold;
    color: #fff;
    margin-right: 8px;
}

.contador-v2 .tiempo {
    color: #ccc;
}

.contador-v2 .azul {
    font-weight: bold;
    color: #4fc3f7;
    margin-right: 2px;
}

/* Carrusel */
.carrusel {
    width: 100%;
    height: 30vh; /* O la altura que prefieras. 30vh es un buen punto de partida */
    overflow: hidden;
    background-color: #000;
}

.carrusel-inner {
    display: flex; /* Clave para alinear las imágenes horizontalmente */
    height: 100%;
    /* El ancho se definirá con JavaScript, pero la transición vive aquí */
    transition: transform 1s ease-in-out;
}

.carrusel-inner img {
    width: 100vw; /* Cada imagen ocupa el 100% del ancho de la ventana */
    height: 100%;
    object-fit: contain; /* 'contain' se asegura que toda la imagen se vea sin cortarse */
    flex-shrink: 0; /* Evita que las imágenes se encojan */
}

.no-link-style {
    color: inherit;
    text-decoration: none;
    cursor: default;
}

ul {
  padding-left: 0;
  margin: 0 auto;
  list-style: none;
  text-align: center;
}
ul li {
  display: block;
  margin-bottom: 8px;
}
/* Animación carrusel */
@keyframes deslizar {
    0%   { transform: translateX(0); }
    20%  { transform: translateX(0); }
    25%  { transform: translateX(-100%); }
    45%  { transform: translateX(-100%); }
    50%  { transform: translateX(-200%); }
    70%  { transform: translateX(-200%); }
    75%  { transform: translateX(-300%); }
    95%  { transform: translateX(-300%); }
    100% { transform: translateX(0); }
}

#modalTransferencia {
  display: none;
}

.btn-mercadopago {
  display: inline-flex;
  align-items: center;
  background-color: #009ee3; /* Azul Mercado Pago */
  color: #ffffff !important; /* Fuerza blanco, incluso si fue visitado */
  text-decoration: none !important; /* Quita subrayado */
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  margin-top: 15px;
  transition: background-color 0.3s ease;
  font-size: 16px;
  border: none;
}

.btn-mercadopago:hover {
  background-color: #007cbf;
  color: #ffffff !important;
}

.btn-mercadopago:visited {
  color: #ffffff !important; /* Esto evita el violeta después del clic */
}

.auspiciantes {
  text-align: center;
  padding: 40px 20px;
  background-color: #f8f9fa; /* fondo claro para destacar logos */
}

.auspiciantes h3 {
  margin-bottom: 20px;
  font-size: 1.8em;
  color: #333;
}

.logos-auspiciantes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px; /* espacio entre logos */
  flex-wrap: wrap; /* permite que se acomoden en pantallas chicas */
}

.logos-auspiciantes img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logos-auspiciantes img:hover {
  transform: scale(1.05);
}

/* ------------------------- */
/* RESPONSIVE ADAPTATIONS */
/* ------------------------- */
@media (max-width: 1024px) {
  .layout {
    padding: 0 16px;
  }

  h1 {
    font-size: 28px;
  }

  h3 {
    font-size: 16px;
  }

  .banner {
    max-width: 100%;
    height: auto;
  }

  .contador-v2 {
    height: 10vh;
  }
}

@media (max-width: 768px) {
  .layout {
    flex-direction: column;
    padding: 0 12px;
  }

  .contenedor,
  .lateral {
    width: 100%;
    text-align: center;
    padding: 10px;
  }

  .lateral iframe {
    width: 100%;
  }

  .redes {
    justify-content: center;
  }

  .botones {
    text-align: center;
  }

  .modal {
    padding-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .modal-contenido {
    max-height: 90vh;
    overflow-y: auto;
    padding: 20px 10px;
  }

  .contador-v2 {
    flex-direction: column;
    font-size: 16px;
    gap: 6px;
    height: 10vh;
  }

  .carrusel {
    height: 30vh;
  }

  .carrusel-inner img {
    object-fit: contain;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 18px;
  }

  h1 {
    font-size: 28px;
  }

  h3 {
    font-size: 20px;
  }

  p {
    font-size: 17px;
  }

  button {
    width: 90%;
    font-size: 16px;
    padding: 16px 32px;
  }

  .btn-whatsapp {
    font-size: 14px;
    padding: 8px 16px;
  }

  .redes {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .modal-contenido {
    width: 80%;
  }

  .carrusel {
    height: 35vh;
  }

  .contador-v2 {
    padding: 10px;
    height: 10vh;
  }

  .contenedor,
  .lateral {
    padding: 16px 10px;
  }
}
