/* =========================================================
   NEXUS ARENA — Centro de Esports y Cultura Gamer
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  font-size: 100%; /* 1rem = 16px por defecto */
}

body {
  margin: 0;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: #14121F;
  color: #F5F3FF;
  line-height: 1.65;
  font-size: 1rem;
}

h1, h2, h3, h4 {
  color: #F5F3FF;
  margin: 0 0 0.75rem 0;
  line-height: 1.2;
  letter-spacing: 0.03rem;
}

h1 { font-size: 2.6rem; font-weight: 800; }
h2 { font-size: 1.9rem; font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }

p { margin: 0 0 1rem 0; color: #B8B3D6; }

a {
  color: #2EE6D6;
  text-decoration: none;
}
a:hover { text-decoration: underline; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- ETIQUETA HUD ---------- */
.tag-hud {
  font-weight: 700;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: #14121F;
  background-color: #FFD23F;
  border-top: 0.2rem solid #FF3D68;
  padding: 0.4rem 0.6rem;
  margin-top: 0.75rem;
  display: inline-block;
}

/* ================= ENCABEZADO Y MENÚ ================= */
.barra-superior {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background-color: #0B0A13;
  color: #B8B3D6;
  padding: 0.4rem 5%;
  font-size: 0.8rem;
  gap: 0.5rem;
  border-bottom: 0.0625rem solid #1E1B2E;
}
.barra-superior a{ color:rgb(47, 224, 255); }
  



.encabezado {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 5%;
  background-color: #14121F;
  border-bottom: 0.2rem solid #FF3D68;
}

.logo {
  display: flex;
  flex-direction: column;
}
.logo .nombre {
  font-size: 1.6rem;
  font-weight: 800;
  color: #F5F3FF;
}
.logo .nombre span {
  color: #FF3D68;
}
.logo .eslogan {
  font-size: 0.75rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  color: #2EE6D6;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  align-items: center;
}
.menu a {
  color: #F5F3FF;
  font-weight: bold;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  padding-bottom: 0.3rem;
  border-bottom: 0.15rem solid transparent;
}
.menu a:hover {
  text-decoration: none;
  border-bottom: 0.15rem solid #2EE6D6;
}
.menu a.activo {
  color: #FF3D68;
  border-bottom: 0.15rem solid #FF3D68;
}

/* ================= HERO (INICIO) ================= */
.hero {
  display: flex;
  flex-wrap: wrap;
  background-color: #0B0A13;
}
.hero-video {
  flex: 2 1 30rem;
  display: flex;
}
.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 24rem;
}
.hero-panel {
  flex: 1 1 18rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
  background-color: #1E1B2E;
}

.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #FF3D68;
  color: #14121F !important;
  padding: 0.85rem 1.75rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  border: 0.125rem solid #FF3D68;
  align-self: flex-start;
  margin-top: 1rem;
}
.boton:hover {
  background-color: transparent;
  text-decoration: none;
  color: #FF3D68 !important;
}

/* ================= SECCIONES GENERALES ================= */
.contenedor {
  padding: 4rem 5%;
}
.contenedor.franja-fondo { background-color: #14121F; }
.contenedor.franja-panel { background-color: #1E1B2E; }
.contenedor.franja-acento { background-color: #FF3D68; }
.contenedor.franja-acento h2,
.contenedor.franja-acento p {
  color: #14121F;
}

.encabezado-seccion {
  max-width: 42rem;
  margin: 0 auto 2.5rem auto;
  text-align: center;
}

/* ================= TARJETAS FLEX ================= */
.fila-tarjetas {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.tarjeta {
  flex: 1 1 16rem;
  max-width: 20rem;
  background-color: #1E1B2E;
  border: 0.0625rem solid #322C4A;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.tarjeta img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}
.tarjeta .cuerpo-tarjeta {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tarjeta .precio {
  font-size: 1.2rem;
  color: #FFD23F;
  font-weight: bold;
  margin-top: auto;
}

.tarjeta-ficha {
  flex: 1 1 16rem;
  max-width: 20rem;
  background-color: #1E1B2E;
  border: 0.0625rem solid #322C4A;
  border-left: 0.3rem solid #2EE6D6;
  border-radius: 0.5rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

/* ================= LÍNEA DE TIEMPO (NOSOTROS) ================= */
.linea-tiempo {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}
.hito {
  flex: 1 1 12rem;
  max-width: 14rem;
  border-top: 0.25rem solid #FF3D68;
  padding-top: 1rem;
}
.hito .anio {
  font-size: 1.5rem;
  color: #FFD23F;
  font-weight: 800;
}

/* ================= EQUIPO ================= */
.tarjeta-persona {
  flex: 1 1 12rem;
  max-width: 14rem;
  text-align: center;
}
.tarjeta-persona img {
  width: 9rem;
  height: 9rem;
  object-fit: cover;
  margin: 0 auto 1rem auto;
  border: 0.2rem solid #2EE6D6;
  border-radius: 50%;
}
.tarjeta-persona .cargo {
  color: #2EE6D6;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

/* ================= TABLAS ================= */
table {
  width: 100%;
  border-collapse: collapse;
  background-color: #1E1B2E;
  margin-top: 1rem;
}
th, td {
  border: 0.0625rem solid #322C4A;
  padding: 0.9rem 1rem;
  text-align: left;
  font-size: 0.95rem;
  color: #F5F3FF;
}
th {
  background-color: #FF3D68;
  color: #14121F;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05rem;
}
tr:nth-child(even) td { background-color: #262038; }

/* ================= GALERÍA ================= */
.galeria-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}
.marco-foto {
  flex: 1 1 14rem;
  max-width: 16rem;
  background-color: #1E1B2E;
  border: 0.0625rem solid #322C4A;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.marco-foto img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
}
.marco-foto .leyenda {
  padding: 0.6rem 0.8rem;
  font-size: 0.85rem;
  text-align: center;
  color: #2EE6D6;
}

/* ================= VIDEO (ACADEMIA) ================= */
.video-seccion {
  display: flex;
  justify-content: center;
}
.video-seccion video {
  width: 100%;
  max-width: 50rem;
  border: 0.15rem solid #2EE6D6;
  border-radius: 0.5rem;
}

/* ================= CTA (LLAMADO A LA ACCIÓN) ================= */
.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  background-color: #2EE6D6;
  color: #14121F;
  padding: 3rem 5%;
}
.cta h2 { color: #14121F; margin: 0; }
.cta .boton {
  background-color: #14121F;
  color: #2EE6D6 !important;
  border-color: #14121F;
}
.cta .boton:hover {
  background-color: transparent;
  color: #14121F !important;
}

/* ================= CONTACTO ================= */
.fila-contacto {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}
.bloque-contacto {
  flex: 1 1 18rem;
}
.redes {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.redes a {
  border: 0.0625rem solid #2EE6D6;
  border-radius: 0.25rem;
  padding: 0.5rem 1.1rem;
  color: #2EE6D6;
}
.redes a:hover {
  background-color: #2EE6D6;
  color: #14121F;
  text-decoration: none;
}

/* ================= ENCABEZADO INTERNO (PÁGINAS SECUNDARIAS) ================= */
.hero-interno {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3.5rem 5%;
  background-color: #1E1B2E;
}
.hero-interno h1 { margin-bottom: 0.5rem; }
.hero-interno p {
  max-width: 40rem;
  color: #B8B3D6;
}

/* ================= PIE DE PÁGINA ================= */
.pie {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  background-color: #0B0A13;
  color: #B8B3D6;
  padding: 3rem 5% 1.5rem 5%;
}
.pie .columna-pie { flex: 1 1 12rem; }
.pie h4 { color: #F5F3FF; }
.pie a { color: #B8B3D6; display: block; margin-bottom: 0.4rem; }
.pie-inferior {
  text-align: center;
  background-color: #0B0A13;
  color: #B8B3D6;
  padding: 1rem 5% 2rem 5%;
  font-size: 0.8rem;
  border-top: 0.0625rem solid #1E1B2E;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 48rem){
  .hero-panel { padding: 2rem 1.5rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .encabezado { flex-direction: column; align-items: flex-start; }
  .menu { gap: 1rem; }
}