/* =====================================================================
   XENOVERSE · web de presentación
   Hoja de estilos única. Colores y medidas en :root; nada de colores sueltos.
   ===================================================================== */

:root {
  /* Fondos (negro con un punto de vino, como el fondo del logo del tráiler) */
  --fondo: #0d090b;
  --fondo-2: #130d10;
  --panel: #1a1216;
  --panel-2: #22171c;

  /* Texto */
  --texto: #f3eef0;
  --texto-2: rgba(243, 238, 240, 0.66);
  --texto-3: rgba(243, 238, 240, 0.42);

  /* Líneas */
  --linea: rgba(255, 255, 255, 0.07);
  --linea-fuerte: rgba(255, 255, 255, 0.14);

  /* Acentos: el rosa del shuriken de Xenoverse, el carmesí y el azul del chakra */
  --rosa: #ff4f7d;
  --rosa-claro: #ff8aa8;
  --carmesi: #c8174a;
  --chakra: #45c0f5;
  --oro: #ffcf4a;

  /* Tipografía */
  --f-texto: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-cine: "Cinzel", "Times New Roman", serif;
  --f-kanji: "Yuji Boku", "Noto Serif JP", serif;

  /* Medidas */
  --ancho: 1240px;
  --margen: clamp(20px, 5vw, 56px);
  --radio: 18px;
  --radio-s: 12px;
  --nav-alto: 88px;

  /* Movimiento */
  --curva: cubic-bezier(0.32, 0.72, 0, 1);
  --curva-suave: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--fondo);
  color: var(--texto);
  font-family: var(--f-texto);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.sin-scroll {
  overflow: hidden;
}

/* Grano de película por encima de todo (muy suave) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--rosa);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--rosa);
  color: #fff;
}

.saltar {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: var(--radio-s);
  background: var(--rosa);
  color: #fff;
  font-weight: 600;
  transition: top 0.2s;
}

.saltar:focus {
  top: 16px;
}

.contenedor {
  width: 100%;
  max-width: calc(var(--ancho) + var(--margen) * 2);
  margin: 0 auto;
  padding: 0 var(--margen);
}

.seccion {
  position: relative;
  padding: clamp(88px, 12vw, 160px) 0;
  overflow-x: clip;
}

/* Kanji gigante de fondo en cada sección (data-kanji="忍") */
.seccion[data-kanji]::before {
  content: attr(data-kanji);
  position: absolute;
  top: clamp(40px, 6vw, 90px);
  right: 0;
  font-family: var(--f-kanji);
  font-size: clamp(220px, 34vw, 520px);
  line-height: 1;
  color: #fff;
  opacity: 0.025;
  pointer-events: none;
  user-select: none;
}

/* ---------- Tipografía de sección ---------- */
.ceja {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rosa);
  margin-bottom: 22px;
}

.ceja::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.titulo {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.015em;
  max-width: 16ch;
}

.titulo em {
  font-style: normal;
  color: var(--rosa);
}

.entradilla {
  margin-top: 22px;
  max-width: 58ch;
  font-size: clamp(16px, 1.35vw, 18px);
  color: var(--texto-2);
  font-weight: 300;
}

.cabecera-seccion {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
  margin-bottom: clamp(44px, 6vw, 72px);
}

.cabecera-seccion .entradilla {
  margin-top: 0;
  max-width: 44ch;
}

/* Marcador de dato pendiente (ver LEEME.md): se ve en la página y se busca por la clase */
.rellenar {
  display: inline-block;
  padding: 0 8px;
  border: 1px dashed rgba(255, 207, 74, 0.55);
  border-radius: 6px;
  color: var(--oro);
  font-size: 0.92em;
  font-weight: 500;
}

/* ---------- Botones ---------- */
.boton {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: var(--radio-s);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.25s var(--curva-suave), border-color 0.25s var(--curva-suave),
    transform 0.25s var(--curva), box-shadow 0.25s var(--curva-suave);
}

.boton svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* Botón principal: borde grueso translúcido y relleno rosa (la idea del botón de la web de referencia) */
.boton-principal {
  border: 3px solid rgba(200, 23, 74, 0.7);
  background: rgba(255, 79, 125, 0.42);
  color: #fff;
  box-shadow: 0 10px 40px -12px rgba(255, 79, 125, 0.6);
}

.boton-principal:hover {
  background: rgba(255, 79, 125, 0.62);
  border-color: rgba(200, 23, 74, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px -12px rgba(255, 79, 125, 0.75);
}

.boton-fantasma {
  border: 1px solid var(--linea-fuerte);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.boton-fantasma:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.boton-pequeno {
  min-height: 40px;
  padding: 6px 16px;
  font-size: 13px;
}

/* =====================================================================
   NAVEGACIÓN
   ===================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--curva-suave), border-color 0.35s var(--curva-suave),
    backdrop-filter 0.35s var(--curva-suave);
}

.menu-abierto .nav {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav.con-fondo {
  background: rgba(13, 9, 11, 0.74);
  border-bottom-color: var(--linea);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.nav-dentro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-alto);
  padding: 0 clamp(20px, 4vw, 56px);
  transition: height 0.35s var(--curva);
}

.nav.con-fondo .nav-dentro {
  height: 72px;
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.34em;
}

.marca img {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 0 12px rgba(255, 79, 125, 0.55));
  transition: transform 0.6s var(--curva);
}

.marca:hover img {
  transform: rotate(90deg);
}

.nav-izquierda {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.4vw, 56px);
}

.nav-enlaces {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 36px);
  list-style: none;
}

.nav-enlaces a {
  position: relative;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--texto);
  transition: opacity 0.2s;
}

.nav-enlaces a:hover {
  opacity: 0.6;
}

.nav-enlaces a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: var(--rosa);
  transform: scaleX(0);
  transition: transform 0.35s var(--curva);
}

.nav-enlaces a.activo::after {
  transform: scaleX(1);
}

.nav-derecha {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Hamburguesa */
.hamburguesa {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.hamburguesa span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--texto);
  transition: transform 0.4s var(--curva), opacity 0.2s;
}

.hamburguesa span:nth-child(1) { transform: translateY(-7px); }
.hamburguesa span:nth-child(3) { transform: translateY(7px); }

.menu-abierto .hamburguesa span:nth-child(1) { transform: rotate(45deg); }
.menu-abierto .hamburguesa span:nth-child(2) { opacity: 0; }
.menu-abierto .hamburguesa span:nth-child(3) { transform: rotate(-45deg); }

/* Menú a pantalla completa en el móvil */
.menu-movil {
  position: fixed;
  inset: 0;
  z-index: 95; /* por debajo de la barra (100) para que se vean la marca y la X */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 104px 32px 36px;
  background: var(--fondo);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--curva), visibility 0s linear 0.4s;
}

.menu-abierto .menu-movil {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s var(--curva), visibility 0s;
}

.menu-movil .brillo {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
}

.menu-movil .brillo-1 {
  width: 320px;
  height: 320px;
  top: 6%;
  right: -30%;
  background: rgba(255, 79, 125, 0.22);
}

.menu-movil .brillo-2 {
  width: 260px;
  height: 260px;
  bottom: 8%;
  left: -25%;
  background: rgba(69, 192, 245, 0.14);
}

.menu-movil ol {
  position: relative;
  list-style: none;
}

.menu-movil li {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--curva), transform 0.5s var(--curva);
  transition-delay: calc(0.05s * var(--i, 0));
}

.menu-abierto .menu-movil li {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.08s + 0.05s * var(--i, 0));
}

.menu-movil li a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--linea);
}

.menu-movil .num {
  font-size: 13px;
  font-weight: 300;
  color: var(--texto-3);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
}

.menu-movil .txt {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.menu-movil li a:active .txt {
  opacity: 0.6;
}

.menu-movil-pie {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.menu-movil-pie .boton {
  width: 100%;
}

.menu-movil-pie p {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--texto-3);
  text-align: center;
}

/* =====================================================================
   PORTADA
   ===================================================================== */
.portada {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.portada-video,
.portada-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  transform: scale(1.14);
  animation: acercar 22s var(--curva-suave) infinite alternate;
}

@keyframes acercar {
  from { transform: scale(1.14); }
  to { transform: scale(1.24) translateY(-1.5%); }
}

/* Viñeta, tinte y fundido inferior */
.portada-velo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 70% 60% at 50% 48%, rgba(13, 9, 11, 0.25) 0%, rgba(13, 9, 11, 0.78) 72%, rgba(13, 9, 11, 0.95) 100%),
    linear-gradient(180deg, rgba(13, 9, 11, 0.7) 0%, rgba(13, 9, 11, 0.15) 22%, rgba(13, 9, 11, 0.2) 62%, var(--fondo) 100%),
    linear-gradient(90deg, rgba(200, 23, 74, 0.18), rgba(69, 192, 245, 0.06));
}

/* Líneas finas horizontales (textura de pantalla) */
.portada-velo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.18) 0 1px, transparent 1px 3px);
  opacity: 0.3;
}

.brasas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.portada-contenido {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 120px var(--margen) 140px;
}

.portada-emblema {
  width: clamp(96px, 12vw, 150px);
  height: auto;
  filter: drop-shadow(0 0 32px rgba(255, 79, 125, 0.55));
  animation: emblema-entra 1.4s var(--curva) 0.2s both;
}

@keyframes emblema-entra {
  from { opacity: 0; transform: rotate(-200deg) scale(0.6); }
  to { opacity: 1; transform: none; }
}

.portada-titulo {
  margin-top: 26px;
  font-size: clamp(42px, 9.2vw, 128px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.16em;
  margin-right: -0.16em; /* compensa el espaciado de la última letra */
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.6);
}

.portada-titulo .letra {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.35em);
  filter: blur(8px);
  animation: letra-entra 0.9s var(--curva) both;
  animation-delay: calc(0.55s + 0.05s * var(--i));
}

@keyframes letra-entra {
  to { opacity: 1; transform: none; filter: blur(0); }
}

.portada-sub {
  margin-top: 22px;
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--rosa-claro);
}

.portada-frase {
  margin-top: 26px;
  max-width: 44ch;
  font-family: var(--f-cine);
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.45;
  color: var(--texto-2);
}

.portada-frase strong {
  display: block;
  color: var(--texto);
  font-weight: 700;
}

.portada-botones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}

.aparece {
  opacity: 0;
  transform: translateY(8px);
  animation: aparece 0.9s var(--curva) both;
  animation-delay: var(--d, 0s);
}

@keyframes aparece {
  to { opacity: 1; transform: none; }
}

.portada-bajar {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--texto-3);
}

.portada-bajar i {
  position: relative;
  width: 1px;
  height: 46px;
  background: var(--linea-fuerte);
  overflow: hidden;
}

.portada-bajar i::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 1px;
  height: 40%;
  background: var(--rosa);
  animation: gota 2s var(--curva-suave) infinite;
}

@keyframes gota {
  to { top: 100%; }
}

/* Botón de silencio/pausa del vídeo (accesibilidad) */
.portada-pausa {
  position: absolute;
  right: clamp(16px, 3vw, 40px);
  bottom: 28px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--linea-fuerte);
  background: rgba(13, 9, 11, 0.4);
  color: var(--texto-2);
  transition: color 0.2s, border-color 0.2s;
}

.portada-pausa:hover {
  color: var(--texto);
  border-color: rgba(255, 255, 255, 0.35);
}

.portada-pausa svg {
  width: 16px;
  height: 16px;
}

/* =====================================================================
   CINTA DE JUTSUS
   ===================================================================== */
.cinta {
  position: relative;
  padding: 26px 0;
  border-top: 1px solid var(--linea);
  border-bottom: 1px solid var(--linea);
  background: var(--fondo-2);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.cinta-pista {
  display: flex;
  width: max-content;
  gap: 22px;
  animation: cinta 60s linear infinite;
}

.cinta:hover .cinta-pista {
  animation-play-state: paused;
}

@keyframes cinta {
  to { transform: translateX(-50%); }
}

.cinta-item {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--linea-fuerte), 0 8px 24px -8px rgba(0, 0, 0, 0.8);
  transition: transform 0.35s var(--curva), box-shadow 0.35s;
}

.cinta-item:hover {
  transform: scale(1.18);
  box-shadow: 0 0 0 2px var(--rosa), 0 0 28px rgba(255, 79, 125, 0.5);
}

/* =====================================================================
   EL MUNDO (qué es)
   ===================================================================== */
.mundo-rejilla {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}

.mundo-texto p + p {
  margin-top: 16px;
}

.datos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 40px;
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  overflow: hidden;
  background: var(--linea);
}

.dato {
  padding: 20px 22px;
  background: var(--fondo);
}

.dato b {
  display: block;
  font-size: 17px;
  font-weight: 600;
}

.dato span {
  font-size: 13px;
  color: var(--texto-3);
}

.mundo-imagenes {
  position: relative;
  aspect-ratio: 1 / 0.92;
}

.mundo-imagenes figure {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radio);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
}

.mundo-imagenes figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mundo-imagenes .img-1 {
  inset: 0 0 18% 8%;
  border: 1px solid var(--linea);
}

.mundo-imagenes .img-2 {
  width: 54%;
  aspect-ratio: 16 / 10;
  left: 0;
  bottom: 0;
  border: 1px solid var(--linea-fuerte);
  transform: rotate(-3deg);
}

.mundo-imagenes figcaption {
  position: absolute;
  left: 16px;
  bottom: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--texto-2);
  text-shadow: 0 1px 6px #000;
}

.sello-flotante {
  position: absolute;
  right: -10px;
  bottom: 6%;
  width: 96px;
  height: 96px;
  animation: girar 24s linear infinite;
  opacity: 0.9;
  filter: drop-shadow(0 0 22px rgba(255, 79, 125, 0.5));
}

@keyframes girar {
  to { transform: rotate(360deg); }
}

/* =====================================================================
   CARACTERÍSTICAS
   ===================================================================== */
.tarjetas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.tarjeta {
  --mx: 50%;
  --my: 50%;
  position: relative;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radio);
  border: 1px solid var(--linea);
  overflow: hidden;
  isolation: isolate;
  background: var(--panel);
}

.tarjeta > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.2s var(--curva), filter 0.6s;
  filter: saturate(0.9) brightness(0.8);
}

.tarjeta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(13, 9, 11, 0.1) 0%, rgba(13, 9, 11, 0.55) 45%, rgba(13, 9, 11, 0.96) 100%);
}

/* Brillo de chakra que sigue al ratón */
.tarjeta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 79, 125, 0.22), transparent 60%);
  transition: opacity 0.4s;
}

.tarjeta:hover::after {
  opacity: 1;
}

.tarjeta:hover > img {
  transform: scale(1.1);
  filter: saturate(1.05) brightness(0.9);
}

.tarjeta-num {
  position: absolute;
  top: clamp(22px, 3vw, 34px);
  left: clamp(24px, 3vw, 40px);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--texto-2);
  font-variant-numeric: tabular-nums;
}

.tarjeta-kanji {
  position: absolute;
  top: clamp(14px, 2vw, 24px);
  right: clamp(20px, 3vw, 34px);
  font-family: var(--f-kanji);
  font-size: 56px;
  line-height: 1;
  color: var(--rosa);
  opacity: 0.85;
  text-shadow: 0 0 24px rgba(255, 79, 125, 0.5);
}

.tarjeta h3 {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 600;
  line-height: 1.1;
}

.tarjeta p {
  margin-top: 12px;
  max-width: 46ch;
  color: var(--texto-2);
  font-size: 15px;
}

.etiquetas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  list-style: none;
}

.etiquetas li {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--linea-fuerte);
  background: rgba(13, 9, 11, 0.5);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--texto);
}

/* Naturalezas */
.naturaleza {
  margin-top: clamp(80px, 10vw, 130px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.naturaleza-fotos {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.naturaleza-fotos figure {
  overflow: hidden;
  border-radius: var(--radio);
  border: 1px solid var(--linea);
}

.naturaleza-fotos figure:first-child {
  grid-column: 1 / -1;
}

/* con solo dos fotos, las dos a lo ancho */
.naturaleza-fotos figure:nth-child(2):last-child {
  grid-column: 1 / -1;
}

.naturaleza-fotos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.elementos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
  list-style: none;
}

.elemento {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.elemento img {
  width: 100%;
  max-width: 78px;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--linea-fuerte);
  transition: transform 0.4s var(--curva), box-shadow 0.4s;
}

.elemento:hover img {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 0 0 2px var(--c, var(--rosa)), 0 0 30px var(--c, var(--rosa));
}

.elemento .k {
  font-family: var(--f-kanji);
  font-size: 22px;
  line-height: 1;
  color: var(--c, var(--rosa));
}

.elemento .n {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--texto-2);
}

/* Sistemas */
.sistemas {
  margin-top: clamp(80px, 10vw, 130px);
}

.sistemas h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  margin-bottom: 28px;
}

.sistemas-rejilla {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  overflow: hidden;
  background: var(--linea);
  list-style: none;
}

.sistema {
  padding: 28px 26px 30px;
  background: var(--fondo);
  transition: background-color 0.3s;
}

.sistema:hover {
  background: var(--fondo-2);
}

.sistema svg {
  width: 28px;
  height: 28px;
  color: var(--rosa);
  margin-bottom: 18px;
}

.sistema b {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.sistema span {
  display: block;
  font-size: 14px;
  line-height: 1.55;
  color: var(--texto-3);
}

/* =====================================================================
   BANDA DE COMBATE (cita a pantalla completa)
   ===================================================================== */
.banda {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.banda-fondo {
  position: absolute;
  inset: -12% 0;
  z-index: -2;
}

.banda-fondo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banda::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--fondo) 0%, rgba(13, 9, 11, 0.35) 22%, rgba(13, 9, 11, 0.35) 78%, var(--fondo) 100%),
    linear-gradient(90deg, rgba(13, 9, 11, 0.92) 0%, rgba(13, 9, 11, 0.55) 45%, rgba(13, 9, 11, 0.1) 100%);
}

.cita {
  max-width: 17ch;
  font-family: var(--f-cine);
  font-size: clamp(34px, 5.6vw, 76px);
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
}

.cita em {
  font-style: normal;
  color: var(--rosa);
}

.cita-pie {
  margin-top: 22px;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--texto-2);
}

.banda-texto {
  margin-top: 26px;
  max-width: 46ch;
  color: var(--texto-2);
}

/* =====================================================================
   GALERÍA
   ===================================================================== */
.filtros {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--linea);
  border-radius: 999px;
  background: var(--fondo-2);
}

.filtro {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--texto-2);
  transition: background-color 0.25s, color 0.25s;
}

.filtro:hover {
  color: var(--texto);
}

.filtro[aria-pressed="true"] {
  background: var(--rosa);
  color: #fff;
}

.galeria {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 15vw, 220px);
  grid-auto-flow: dense;
  gap: 12px;
}

.foto {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--linea);
  background: var(--panel);
  cursor: zoom-in;
  transition: opacity 0.4s var(--curva), transform 0.4s var(--curva);
}

.foto.ancha {
  grid-column: span 2;
}

.foto.alta {
  grid-row: span 2;
}

.foto.oculta {
  display: none;
}

.foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--curva), filter 0.5s;
}

.foto:hover img {
  transform: scale(1.07);
}

.foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13, 9, 11, 0.85));
  opacity: 0;
  transition: opacity 0.35s;
}

.foto:hover::after,
.foto:focus-visible::after {
  opacity: 1;
}

.foto figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s var(--curva);
}

.foto figcaption small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rosa-claro);
}

.foto:hover figcaption,
.foto:focus-visible figcaption {
  opacity: 1;
  transform: none;
}

.galeria-nota {
  margin-top: 22px;
  font-size: 13px;
  color: var(--texto-3);
}

/* Visor de imágenes */
.visor {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 72px clamp(12px, 6vw, 96px);
  background: rgba(6, 4, 5, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--curva), visibility 0s linear 0.35s;
}

.visor.abierto {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s var(--curva), visibility 0s;
}

.visor figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 100%;
}

.visor img {
  max-height: calc(100vh - 190px);
  max-height: calc(100svh - 190px);
  width: auto;
  border-radius: 12px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8);
  transform: scale(0.97);
  transition: transform 0.45s var(--curva);
}

.visor.abierto img {
  transform: none;
}

.visor figcaption {
  font-size: 14px;
  color: var(--texto-2);
  text-align: center;
}

.visor-boton {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--linea-fuerte);
  background: rgba(255, 255, 255, 0.05);
  transition: background-color 0.2s;
}

.visor-boton:hover {
  background: rgba(255, 255, 255, 0.14);
}

.visor-boton svg {
  width: 20px;
  height: 20px;
}

.visor-cerrar { top: 18px; right: 18px; }
.visor-ant { left: clamp(8px, 2vw, 28px); top: 50%; transform: translateY(-50%); }
.visor-sig { right: clamp(8px, 2vw, 28px); top: 50%; transform: translateY(-50%); }

.visor-cuenta {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--texto-3);
  font-variant-numeric: tabular-nums;
}

/* =====================================================================
   CÓMO UNIRSE
   ===================================================================== */
.pasos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  counter-reset: paso;
}

.paso {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 28px;
  border-radius: var(--radio);
  border: 1px solid var(--linea);
  background: linear-gradient(180deg, var(--panel) 0%, var(--fondo-2) 100%);
  transition: border-color 0.3s, transform 0.4s var(--curva);
}

.paso:hover {
  border-color: rgba(255, 79, 125, 0.4);
  transform: translateY(-4px);
}

.paso-cabeza {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.paso-num {
  font-size: 44px;
  font-weight: 200;
  line-height: 1;
  color: var(--texto-3);
  font-variant-numeric: tabular-nums;
}

.paso-sello {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  background: #efe4cf;
  box-shadow: 0 0 0 3px rgba(255, 79, 125, 0.35);
}

.paso-sello img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.paso h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
}

.paso p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--texto-2);
  flex: 1;
}

.paso .boton {
  margin-top: 22px;
  align-self: flex-start;
}

.requisitos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  margin-top: 28px;
  padding: 18px 24px;
  border-radius: var(--radio-s);
  border: 1px solid var(--linea);
  background: var(--fondo-2);
  font-size: 14px;
  color: var(--texto-2);
}

.requisitos b {
  color: var(--texto);
  font-weight: 600;
}

/* =====================================================================
   PREGUNTAS FRECUENTES
   ===================================================================== */
.faq-rejilla {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.faq-rejilla .cabecera-seccion {
  position: sticky;
  top: 120px;
  display: block;
}

.faq-rejilla .cabecera-seccion .entradilla {
  margin-top: 22px;
}

.faq-lista {
  border-top: 1px solid var(--linea);
}

.faq-lista details {
  border-bottom: 1px solid var(--linea);
}

.faq-lista summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 500;
  transition: color 0.2s;
}

.faq-lista summary::-webkit-details-marker {
  display: none;
}

.faq-lista summary:hover {
  color: var(--rosa-claro);
}

.faq-lista summary i {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--linea-fuerte);
  transition: transform 0.4s var(--curva), background-color 0.3s, border-color 0.3s;
}

.faq-lista summary i::before,
.faq-lista summary i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.faq-lista summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-lista details[open] summary i {
  transform: rotate(45deg);
  background: var(--rosa);
  border-color: var(--rosa);
}

.faq-respuesta {
  overflow: hidden;
}

.faq-respuesta p {
  padding: 0 48px 26px 0;
  color: var(--texto-2);
  font-size: 15px;
}

/* =====================================================================
   LLAMADA FINAL
   ===================================================================== */
.final {
  position: relative;
  padding: clamp(120px, 16vw, 220px) 0;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.final-fondo {
  position: absolute;
  inset: -10% 0;
  z-index: -2;
}

.final-fondo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
}

.final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 70% at 50% 50%, rgba(13, 9, 11, 0.45), rgba(13, 9, 11, 0.9) 75%),
    linear-gradient(180deg, var(--fondo) 0%, transparent 25%, transparent 75%, var(--fondo) 100%);
}

.final img.final-emblema {
  width: 84px;
  margin: 0 auto 30px;
  filter: drop-shadow(0 0 24px rgba(255, 79, 125, 0.6));
}

.final h2 {
  font-family: var(--f-cine);
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 500;
  color: var(--texto-2);
  line-height: 1.3;
}

.final h2 strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(38px, 6.4vw, 88px);
  font-weight: 700;
  color: var(--texto);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.final h2 strong em {
  font-style: normal;
  color: var(--rosa);
}

.final .portada-botones {
  margin-top: 44px;
}

/* =====================================================================
   PIE
   ===================================================================== */
.pie {
  border-top: 1px solid var(--linea);
  background: #110c0e;
  padding: clamp(48px, 7vw, 96px) 0 36px;
}

.pie-rejilla {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.pie .marca {
  font-size: 14px;
}

.pie-desc {
  margin-top: 18px;
  max-width: 34ch;
  font-size: 14px;
  color: var(--texto-3);
}

.redes {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.redes a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--linea-fuerte);
  color: var(--texto-2);
  transition: color 0.2s, border-color 0.2s, transform 0.25s var(--curva), background-color 0.2s;
}

.redes a:hover {
  color: #fff;
  border-color: var(--rosa);
  background: rgba(255, 79, 125, 0.15);
  transform: translateY(-2px);
}

.redes svg {
  width: 18px;
  height: 18px;
}

.pie h4 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--texto-3);
  margin-bottom: 18px;
}

.pie ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.pie ul a {
  font-size: 14px;
  font-weight: 300;
  color: var(--texto);
  transition: opacity 0.2s;
}

.pie ul a:hover {
  opacity: 0.6;
}

.pie-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 26px;
  border-top: 1px solid var(--linea);
  font-size: 12px;
  color: var(--texto-3);
}

.pie-legal p:last-child {
  max-width: 70ch;
}

/* =====================================================================
   VENTANA (descarga y tráiler)
   ===================================================================== */
.ventana {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--curva), visibility 0s linear 0.3s;
}

.ventana.abierta {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s var(--curva), visibility 0s;
}

.ventana-caja {
  position: relative;
  width: 100%;
  max-width: 460px;
  padding: 40px 32px 30px;
  border-radius: 22px;
  border: 1px solid var(--linea-fuerte);
  background: #161013;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.9);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.45s var(--curva);
}

.ventana.abierta .ventana-caja {
  transform: none;
}

.ventana-caja .brillo {
  position: absolute;
  top: -90px;
  left: 50%;
  width: 260px;
  height: 180px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(255, 79, 125, 0.35);
  filter: blur(60px);
  pointer-events: none;
}

.ventana-caja img.ventana-emblema {
  position: relative;
  width: 76px;
  margin: 0 auto 18px;
}

.ventana-caja h3 {
  position: relative;
  font-size: 24px;
  font-weight: 600;
}

.ventana-caja p {
  position: relative;
  margin-top: 10px;
  font-size: 15px;
  color: var(--texto-2);
}

.ventana-acciones {
  position: relative;
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.ventana-acciones .boton {
  width: 100%;
}

.ventana-cerrar {
  margin-top: 4px;
  padding: 10px;
  font-size: 13px;
  color: var(--texto-3);
  transition: color 0.2s;
}

.ventana-cerrar:hover {
  color: var(--texto);
}

.ventana-video .ventana-caja {
  max-width: 1100px;
  padding: 0;
  background: #000;
}

.ventana-video .marco-video {
  position: relative;
  aspect-ratio: 16 / 9;
}

.ventana-video video,
.ventana-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.ventana-video .visor-cerrar {
  z-index: 2;
  background: rgba(0, 0, 0, 0.5);
}

/* =====================================================================
   APARICIÓN AL HACER SCROLL
   ===================================================================== */
.revelar {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--curva), transform 0.9s var(--curva);
  transition-delay: calc(0.08s * var(--i, 0));
}

.revelar.visible {
  opacity: 1;
  transform: none;
}

/* Sin JavaScript, todo visible */
.sin-js .revelar,
.sin-js .aparece,
.sin-js .portada-titulo .letra {
  opacity: 1;
  transform: none;
  filter: none;
  animation: none;
}

/* =====================================================================
   PANTALLAS MEDIANAS Y MÓVIL
   ===================================================================== */
@media (max-width: 1360px) {
  .nav-derecha .boton-ocultable {
    display: none;
  }
}

@media (max-width: 1140px) {
  .nav-enlaces {
    display: none;
  }

  .hamburguesa {
    display: inline-flex;
  }
}

@media (max-width: 1080px) {

  .sistemas-rejilla {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pasos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pie-rejilla {
    grid-template-columns: 1fr 1fr;
  }

  .pie-rejilla > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  :root {
    --nav-alto: 68px;
  }

  .nav.con-fondo .nav-dentro {
    height: 64px;
  }

  .mundo-rejilla,
  .naturaleza,
  .faq-rejilla {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-rejilla .cabecera-seccion {
    position: static;
  }

  .mundo-imagenes {
    order: -1;
    max-width: 560px;
  }

  .tarjetas {
    grid-template-columns: minmax(0, 1fr);
  }

  .tarjeta {
    min-height: 400px;
  }

  .galeria {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 36vw;
  }

  .foto figcaption {
    opacity: 1;
    transform: none;
  }

  .foto::after {
    opacity: 0.8;
  }

  .banda {
    min-height: 70vh;
  }

  .banda::before {
    background:
      linear-gradient(180deg, var(--fondo) 0%, rgba(13, 9, 11, 0.55) 25%, rgba(13, 9, 11, 0.7) 75%, var(--fondo) 100%);
  }
}

@media (max-width: 600px) {
  .nav-derecha .boton-principal {
    display: none;
  }

  .seccion[data-kanji]::before {
    font-size: 260px;
    opacity: 0.03;
  }

  .portada-titulo {
    letter-spacing: 0.1em;
    margin-right: -0.1em;
  }

  .portada-sub {
    letter-spacing: 0.24em;
    margin-right: -0.24em;
  }

  .portada-botones {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
  }

  .portada-pausa {
    bottom: 22px;
  }

  .datos {
    grid-template-columns: minmax(0, 1fr);
  }

  .elementos {
    gap: 8px;
  }

  .elemento .n {
    font-size: 11px;
    letter-spacing: 0;
  }

  .sistemas-rejilla,
  .pasos {
    grid-template-columns: minmax(0, 1fr);
  }

  .galeria {
    gap: 8px;
  }

  .foto.alta {
    grid-row: span 1;
  }

  .faq-respuesta p {
    padding-right: 0;
  }

  .pie-rejilla {
    grid-template-columns: minmax(0, 1fr);
  }

  .filtros {
    width: 100%;
  }

  .filtro {
    flex: 1;
    padding: 8px 10px;
  }

  .visor-ant,
  .visor-sig {
    top: auto;
    bottom: 18px;
    transform: none;
  }
}

/* Movimiento reducido: sin animaciones largas ni vídeo en bucle */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .revelar,
  .aparece,
  .portada-titulo .letra {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .cinta-pista {
    animation: none;
  }
}

/* versión del launcher en la ventana de descarga */
.ventana-version {
  margin-top: -6px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  opacity: 0.6;
}

/* requisitos dentro de la pregunta «¿Qué necesito para jugar?» */
.faq-requisitos {
  margin: 10px 0 2px 18px;
  padding: 0;
  color: var(--texto-2);
  font-size: 0.95em;
  line-height: 1.6;
}
.faq-requisitos li { margin: 4px 0; }
.faq-requisitos b { color: var(--texto); font-weight: 600; }
