  :root {
  --azul-claro: #e9f0f6;
  --azul-oscuro: #111a23;
  --blanco: #FFFFFF;
  --gris-claro: #CCCCCC;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  background-color: linear-gradient(to bottom, #111a23, #111111);
  background-attachment: fixed;
}

body {
  color: #fff;
}

/* =========================
   VIDEO BACKGROUND
========================= */

.video-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: -1;
}

.glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #111a23, #111111);
  pointer-events: none;
}

/* =========================
   HEADER
========================= */
header {
  background-color: #11111100;
  color: var(--blanco);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  z-index: 100;
}

.logo {
    background: #CCCCCC;
    border-radius: 50%;
    padding: .2rem;
  height: 60px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}



nav a {
  text-decoration: none;
  color: var(--verde-oscuro);
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--blanco);
}

/* =========================
   SECCIONES
========================= */

.section {
  min-height: 100vh;
  position: relative;
}

.sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.content {
  width: 100%;
  max-width: 1200px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* =========================
   TIPOGRAFÍA RESPONSIVE
========================= */

h1 {
  display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

h1 img {
  width: 7.5rem;
    height: 7.5rem;
    border-radius: 50%;
    margin-inline: 2rem;
    border: .3rem solid #fff;
}

h2 {
  font-size: clamp(1.3rem, 4vw, 2rem);
  margin-bottom: 1rem;
}

p {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  line-height: 1.6;
}

/* =========================
   CARD BLUR
========================= */

.card-blur {
  width: 100%;
  padding: 1.5rem;
  border-radius: 20px;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.2);
}

/* =========================
   REGLAMENTO GRID
========================= */

.league-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.league-item h3 {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.league-item li {
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  opacity: 0.85;
}

@media screen and (max-width: 1200px) {
  .league-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.league-item h3 {
  font-size: 0.65rem;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.league-item li {
  font-size: 0.5rem;
  margin-bottom: 0.25rem;
  opacity: 0.85;
}
}
/* =========================
   PREMIACIÓN
========================= */

.premiacion-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.premiacion-grid p {
  flex: 1 1 300px;
}

.premiacion-grid img {
  flex: 1 1 250px;
  max-width: 350px;
  width: 100%;
  height: auto;
}

@media  screen and (max-width:1200px){
  .premiacion-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.premiacion-grid p {
  flex: 1 1 100px;
}

.premiacion-grid img {
  flex: 1 1 150px;
  max-width: 350px;
  width: 100%;
  height: auto;
}
}
/* =========================
   BOTÓN
========================= */

.btn-principal {
  display: inline-block;
  background: var(--blanco);
  color: var(--azul-oscuro);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
}

.btn-principal:hover {
  background: #9e9e9e;
  transform: translateY(-3px);
}

/* =========================
   FOOTER BLOQUE
========================= */

.league-footer { 
  margin-top: .25rem; 
  opacity: .85; 
  line-height: 1.5; 
} 
.league-footer span { 
  display: block; 
  margin-top: .5rem; 
  font-weight: 600; 
  letter-spacing: 1px; 
} 
.league-footer small { 
  opacity: .7; 
}

@media screen and (max-width: 1200px){

  .league-footer span { 
  display: block; 
  margin-top: .5rem; 
  font-weight: 600; 
  letter-spacing: 1px;
  font-size: .75rem; 
} 
.league-footer small { 
  opacity: .7; 
  font-size: .5rem;
}
  
}
/* =========================
   MOBILE ULTRA OPTIMIZADO
========================= */

@media (max-width: 768px) {

  .section {
    max-height: 90vh;
  }

  .sticky {
    padding: 1.2rem;
  }

  .premiacion-grid {
    flex-direction: column;
    text-align: center;
  }
}
/*RESPONSIVE DE NAV*/

@media screen and (max-width: 1200px) {

  .logo {
    background: #CCCCCC;
    border-radius: 50%;
    padding: .2rem;
    height: 60px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: .5rem;
}



nav a {
  text-decoration: none;
  color: var(--verde-oscuro);
  font-weight: bold;
  transition: color 0.3s;
  font-size: .5rem;
}

nav a:hover {
  color: var(--blanco);
}

  
}

@media (max-width: 480px) {

  .section {
    max-height: 90vh;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1rem;
  }

  p {
    font-size: 0.5rem;
  }

}
@media screen and (max-width: 1200px) {
    h1 img{
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    margin-inline: .5rem;
    border: .3rem solid #fff;
}
}
.subtitle-uno { 
  opacity: 0.7; 
  margin-bottom: 1rem; 
  font-size: .75rem; 
}
/* ============================= */
/* SECCIÓN INSCRIPCIÓN */
/* ============================= */
.inscripcion-header {
  text-align: center;
}

.inscripcion-header h2 {
  font-size: clamp(1.3rem, 4vw, 2rem);
  margin-bottom: 1rem;
}

.inscripcion-header p {
  color: #aaa;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  line-height: 1.6;
}

.inscripcion-card {
  width: 100%;
  margin: auto;
  background: rgba(255, 255, 255, 0.03);
  border: .1rem solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: 0.3s ease;
}
.inscripcion-precio {
  text-align: center;
  margin-bottom: 1rem;
}

.inscripcion-precio span {
  display: block;
  color: #888;
  margin-bottom: 1rem;
}

.inscripcion-precio h3 {
  font-size: 2.5rem;
  color: #ffffff;
  margin: 0;
}

.inscripcion-detalles ul {
  list-style: none;
  padding: 0;
  margin: 0 0 .5rem 0;
}

.inscripcion-detalles li {
  padding: .75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.95rem;
}

.inscripcion-detalles li:last-child {
  border-bottom: none;
}

.inscripcion-nota p {
  font-size: 0.85rem;
  color: #999;
  text-align: center;
  line-height: 1.6;
}

/* RESPONSIVE */

@media (max-width: 768px) {

  .league-inscripcion {
    padding: 70px 20px;
  }

  .inscripcion-card {
    padding: 35px 25px;
  }

  .inscripcion-precio h3 {
    font-size: 2.2rem;
  }

}
/* ============================= */
/* BOTÓN INSCRIPCIÓN */
/* ============================= */

.inscripcion-cta {
  margin-top: 35px;
  text-align: center;
}