body, html {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
}

.torneo-bg {
  background: url('assets/fondo-torneo.webp') no-repeat center top;
  background-size: cover;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

.torneo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

.logo-header {
  height: 40px;
}

/* Hero */
.torneo-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 100px 40px 100px;
  color: white;
  gap: 40px;
}

.hero-left {
  max-width: 100%;
  margin-top: 0px;
}

.etiqueta-apertura {
  display: inline-block;
  background: #C300FE;
  color: white;
  font-weight: bold;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 0px;
}

.torneo-hero h1 {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(to right, #BB00FF, #FF00F7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0px 8px 3px rgba(0, 0, 0, 0.25));
  margin-bottom: 20px;
  margin-top: 20px;
}

.detalle-fecha {
  font-size: 18px;
  color: white;
  font-weight: bold;
  margin-bottom: 10px;
}

.detalle-fecha .monto {
  color: #FF00B1;
  font-weight: bold;
}

.subrayado {
  font-size: 24px;
  color: #FF00B1;
  font-weight: bold;
  margin: 6px 0;
}

.btn-registro {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 100px;
  background: linear-gradient(to right, #7a00b4, #ff4e92);
  box-shadow: 0 0 16px rgba(255, 0, 247, 0.3);
  color: white;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.3s ease;
  font-size: 16px;
  transition: background 0.3s;
}

.btn-registro:hover {
  transform: scale(1.05);
}

.btn-registro:hover {
  opacity: 0.85;
}

.hero-right img {
  max-width: 400px;
  height: auto;
}




.torneo-premios {
  text-align: center;
  color: white;
  margin-top: 300px;
  padding: 0 40px;
}

.premios-titulo {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 30px;
}

.premios-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background: linear-gradient(90deg, #bb00ff, #ff00f7);
  padding: 30px 30px;
  border-radius: 10px;
  max-width: 950px;
  margin: 0 auto;
  box-shadow: 0 0 30px rgba(255, 0, 247, 0.25);
}

.premio-item {
  flex: 1;
  color: white;
  padding: 0 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.premio-item:last-child {
  border-right: none;
}

.premio-label {
  font-size: 20px;
  font-weight: bold;
  opacity: 0.9;
  margin-bottom: 8px;
  margin-top: 0;
}

.premio-monto {
  font-size: 48px;
  font-weight: 900;
  margin-top: 0;
  margin-bottom: 0px;
}

.premios-extra {
  margin-top: 25px;
  font-size: 16px;
  color: #00ff88;
  font-weight: 600;
}

.premios-extra span {
  text-decoration: underline;
}




.torneo-reglas {
  padding: 80px 40px;
  background: rgba(112, 0, 160, 0.2); /* o puede ir sin fondo si ya lo cubre la imagen general */
  text-align: center;
  color: white;
  margin-top: 150px;
}

.reglas-titulo {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 50px;
}

.reglas-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto 40px auto;
}

.regla-item {
  width: 140px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: white;
}

.icono-circulo {
  width: 105px;
  height: 105px;
  margin: 0 auto 12px auto;
  background: #ff00f7;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 12px rgba(255, 0, 247, 0.3);
}

.icono-circulo img {
  width: 120px;
  height: 120px;
}





.torneo-requisitos {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  margin-top: 100px;
}

.requisitos-box {
  max-width: 960px; /* más ancha que antes */
  width: 90%;  
  background: rgba(128, 0, 128, 0.3); /* Violeta translúcido */
  padding: 40px;
  border-radius: 20px;
  color: white;
  box-shadow: 0 20 15px rgba(0, 0, 0, 25);
  text-align: left;
}

.requisitos-titulo {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 30px;
}

.requisitos-lista {
  text-align: left;  
  list-style: disc;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.6;
}

.requisitos-lista li {
  margin-bottom: 10px;
}

.requisitos-lista strong {
  color: #ffffff;
}

.requisitos-btn-box {
  margin-top: 30px;
  text-align: center;
}

.boton-descarga {
  display: inline-block;
  background: linear-gradient(to right, #ff00f7, #bb00ff);
  color: white;
  max-width: 250px;
  width: 100%;
  margin: 0 auto;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 0 12px rgba(255, 0, 247, 0.2);
  transition: transform 0.3s ease, 
}

.boton-descarga:hover {
  transform: scale(1.05);
  box-shadow: 0 0 16px rgba(255, 0, 247, 0.6);
}






.torneo-seguridad {
  background: linear-gradient(to right, rgba(175, 4, 191, 1) 0%, rgba(175, 4, 191, 0) 100%);
  padding: 40px 60px;
  color: white;
  margin-top: 100px;
}

.seguridad-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem; /* Esto reduce el espacio entre texto e imagen */
  padding: 2rem;
  flex-wrap: wrap; /* Para que se acomode en mobile */
}

.seguridad-texto {
  flex: 1;
  min-width: 300px;
  max-width: 900px;
}

.seguridad-texto h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 30px;
}

.seguridad-texto ul {
  list-style: none;
  padding-left: 0;
}

.seguridad-texto li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 20px;
  line-height: 1.5;
}

.seguridad-texto li img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
}

.seguridad-imagen {
  max-width: 300px;
  flex-shrink: 0;
}






.faq-section {
  background: #ffffff00;
  padding: 120px 20px 80px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.faq-section h2 {
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 40px;
}

.faq-list {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 50px;
}

.faq-item {
  padding: 16px 0;
  cursor: pointer;
  border-bottom: 1px solid #ddd;
  transition: background 0.3s ease;
}

.faq-item h3 {
  font-size: 24px;
  font-weight: 515;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
}

.faq-item .arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  margin-left: 12px;
}

.faq-item .arrow img {
  width: 100%;
  height: auto;
}

.faq-item.open .arrow {
  transform: rotate(90deg);
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.3s ease;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.6;
  margin-top: 10px;
  padding-right: 8px;
}

.faq-item.open .faq-answer {
  max-height: 1000px; /* puede ajustarse si alguna respuesta es más larga */
  opacity: 1;
}

/*DISCLAIMER*/

.isaac-disclaimer-box {
  max-width: 800px;
  margin: 0px auto 50px auto;
  padding: 10px 20px;
  border: 2px dashed #ff4d4d;
  border-radius: 12px;
  text-align: center;
  color: #ff4d4d;
  font-size: 14px;
  line-height: 1.6;
  background-color: #ffffff00;
}

.isaac-disclaimer-icon {
  font-size: 32px;
  margin-bottom: 0px;
}

/* ---------- FOOTER ---------- */

.footer {
    background: #ffffff00;
    padding: 40px 20px 60px;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    border-top: 1px solid #eee;
  }
  
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
  }
  
  .footer-links a {
    color: #ffffff;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s ease;
  }
  
  .footer-links a:hover {
    color: #c900db;
  }
  
  .footer-copy {
    font-size: 14px;
    color: #ffffff;
    margin: 0;
  }

  .footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #fff;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  margin: 0 15px;
  color: #ffffff;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.contact {
  font-size: 0.85rem;
  color: #ccc;
  margin-top: 5px;
}


/* === MODAL DE REGISTRO === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 10, 53, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(6px);
  }
  
  .modal-content * {
    box-sizing: border-box;
  }
  
  .modal-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .modal-content {
    background: white;
    padding: 32px;
    border-radius: 8px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    font-family: 'Open Sans', sans-serif;
  }
  
  .modal-content h2 {
    text-align: center;
    margin-bottom: 24px;
    color: #222244;
  }
  
  .modal-content label {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    color: #222244;
  }
  
  .modal-content input[type="text"],
  .modal-content input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    margin-top: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
  }
  
  .modal-content button {
    width: 100%;
    margin-top: 20px;
    padding: 12px 0;
    background-color: #2d2e5d;
    color: white;
    font-weight: semibold;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .modal-content .link-container {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
  }
  
  .modal-content .link-container a {
    color: #4667ff;
    text-decoration: none;
    font-weight: bold;
  }
  
  /* Línea divisoria y botón de Google */
  .modal-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
  }
  
  .modal-divider::before,
  .modal-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ccc;
  }
  
  .modal-divider span {
    margin: 0 10px;
    color: #888;
    font-size: 14px;
  }
  
  .google-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    font-size: 14px;
    color: #333;
    cursor: pointer;
  }
  
  .google-button img {
    width: 20px;
    margin-right: 10px;
  }
  

  /* MODAL LOGIN */
  
  #modal-login {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(6px); /* Ya lo tenías, lo dejamos para claridad */
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background: rgba(7, 10, 53, 0.8);
}

/* Cuando está activo */
#modal-login.active {
  opacity: 1;
  visibility: visible;
}

#modal-login input {
  box-sizing: border-box;
}


#modal-login .form-container {
  background: #fff;
  border-radius: 8px;
  padding: 32px 28px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
  position: relative;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
}

#modal-login h2 {
  font-size: 22px;
  color: #222244;
  margin-bottom: 24px;
}

#modal-login label {
  display: block;
  text-align: left;
  font-size: 14px;
  color: #222244;
  margin-bottom: 6px;
  margin-top: 16px;
}

#modal-login input {
  width: 100%;
  padding: 12px;
  border: 1px solid #999;
  border-radius: 6px;
  font-size: 16px;
  margin-bottom: 4px;
}

#modal-login .password-wrapper {
  position: relative;
}

#modal-login .password-wrapper img {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  cursor: pointer;
  opacity: 0.5;
}

#modal-login button {
  margin-top: 24px;
  width: 100%;
  background: #37395c;
  color: #fff;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: semibold;
}

#modal-login .google-btn {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #aaa;
  padding: 10px;
  border-radius: 8px;
  font-size: 15px;
  color: #222244;
  background: #fff;
  width: 100%;
}

#modal-login .google-btn img {
  width: 20px;
  height: 20px;
}

#modal-login .divider {
  margin-top: 24px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
}

#modal-login .divider::before,
#modal-login .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #ccc;
  margin: 0 10px;
}


  /* MOBILE */

@media screen and (max-width: 600px) {

  .torneo-bg {
    background-image: url('assets/fondo-torneo.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 65% top; /* esto es lo que vamos a cambiar */
  }

  .torneo-header {
    padding-top: 80px; /* Ajustá según cuánto quieras bajarlo */
    padding-left: 20px;
  }

  .logo-header {
    max-width: 120px;  /* Más chico que en desktop */
    height: auto;
    margin-bottom: 20px;
  }

  .torneo-hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Alinea a la izquierda */
    justify-content: flex-start;
    text-align: left;
    padding: 40px 20px;
    gap: 16px; /* Mayor separación entre elementos */
    background-position: right center;
    background-size: cover;
  }

  .torneo-hero .hero-left {
    align-items: flex-start;
    text-align: left;
    padding: 0;
  }
  
  .torneo-hero .etiqueta-apertura {
    margin-bottom: 20px;
  }

  .torneo-hero h1 {
    font-size: 34px;
    line-height: 1.4;
    margin: 8px 0;
    margin-bottom: 40px;
    
  }

  .torneo-hero .detalle-fecha {
    font-size: 15px;
    margin: 8px 0;
  }

  .torneo-hero .subrayado {
    font-size: 16px;
    margin: 8px 0;
    margin-bottom: 120px;
  }

  .torneo-hero .btn-registro {
    display: flex;
    justify-content: center; /* Centra horizontalmente el texto */
    align-items: center;     /* Centra verticalmente el texto */
    text-align: center;      /* Por si acaso, refuerza centrado */
    height: 64px;            /* Asegura altura suficiente */
    padding: 0 20px;
    width: calc(100% - 32px);
    font-weight: bold;
    font-size: 16px;
  }


  .premios-titulo {
    margin-top: 150px;
    font-size: 20px;
    text-align: center;
    color: white;
    font-weight: 700;
    margin-top: -100px;
  }

  /* Contenedor de los premios */
  .premios-box {
    flex-direction: column;
    padding: 20px;
    gap: 0;
    margin-top: 20px;
  }

  .bloque-premio {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 0;
    border-right: none;
  }

  .premio-item {
    width: 100%;
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 0;
  }

  .premio-item:nth-child(3) {
    border-bottom: none;
  }

  .premio-label {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .premio-monto {
    font-size: 38px;
  }


  .premios-extra {
    margin-top: 20px;
    font-size: 16px;
    font-style: italic;
    color: #00FF90;
    text-align: center;
    font-weight: 600;
    line-height: 1.5;
  }


  .reglas-titulo {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 60px;
    padding: 0 10px;
  }

  .btn-registro {
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;      /* evita que el texto se divida en varias líneas */
    text-align: center;
    width: calc(100% - 32px);
    height: 64px;  
    font-size: 16px;
    font-weight: 700;
    padding: 0px 20px;
  }



  .torneo-requisitos {
    padding: 60px 16px 40px;
  }

  .requisitos-box {
    background: rgba(255, 0, 247, 0.12);
    border-radius: 12px;
    padding: 30px 20px;
    color: white;
    text-align: left;
  }

  .requisitos-titulo {
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 25px;
  }

  .requisitos-lista {
    list-style: disc inside;
    padding-left: 0;
    font-size: 16px;
    line-height: 1.6;
  }

  .requisitos-lista li {
    margin-bottom: 10px;
  }

  .requisitos-lista strong {
    font-weight: 700;
  }



  .seguridad-imagen img {
    width: 120px;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    margin-bottom: -40px;
  }


  .torneo-seguridad {
    padding: 40px 20px;
    background: linear-gradient(to right, rgba(175, 4, 191, 1) 0%, rgba(175, 4, 191, 0) 100%);
    text-align: center;
  }

  .seguridad-content {
    flex-direction: column-reverse;
    align-items: center;
    padding: 0;
  }

  .seguridad-imagen {
    max-width: 100px;
    margin-bottom: 25px;
  }

  .seguridad-texto {
    padding: 0;
    max-width: 100%;
  }

  .seguridad-texto h2 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .seguridad-texto li {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 12px;
    text-align: left;
  }

  .seguridad-texto li img {
    width: 18px;
    height: 18px;
    margin-top: 4px;
  }


 .faq-section {
    padding: 60px 16px 60px;
  }

  .faq-section h2 {
    font-size: 22px;
    margin-bottom: 24px;
  }

  .faq-list {
    gap: 4px;
    margin-bottom: 30px;
  }

  .faq-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .faq-item h3 {
    font-size: 16px;
    font-weight: 600;
  }

  .faq-answer {
    font-size: 14px;
    line-height: 1.5;
  }

  .faq-item .arrow {
    width: 14px;
    height: 14px;
    margin-left: 8px;
  }

  .isaac-disclaimer-box {
    margin: 30px 16px;
    padding: 12px 16px;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 64px;
  }

  .isaac-disclaimer-icon {
    font-size: 26px;
    margin-bottom: 6px;
  }


}