/* ------------------------------------------------------------------
 * Fondos cinematográficos de Guía LOTF2 (17-11-2026, pedido de Carlos):
 * capas de imagen con parallax, velo azul noche, destello diagonal rojo sangre,
 * palabras gigantes de fondo con degradado de fuego y resplandor rojo inferior.
 * Imágenes: press kit oficial de Lords of the Fallen II (© CI Games). Diseño propio (no copia archivos de la web oficial).
 * Uso: <section class="lotf-sec" data-fondo="URL" data-palabra="UMBRAL" data-tono="rojo|azul|verde">
 * ------------------------------------------------------------------ */
.lotf-fondo { position: relative; isolation: isolate; overflow: hidden; }
.lotf-fondo > .lotf-wrap, .lotf-fondo > * { position: relative; z-index: 2; }
.lotf-fondo__capa {
	position: absolute; inset: -12% 0; z-index: 0 !important;
	background-size: cover; background-position: center;
	transform: translate3d(0, var(--lotf-py, 0px), 0) scale(var(--lotf-ps, 1.12));
	will-change: transform; opacity: 0; transition: opacity .9s ease;
	filter: saturate(1.05) contrast(1.05);
}
.lotf-fondo__capa.is-cargada { opacity: 1; }
/* Velo: legibilidad + estilo gótico (azul noche arriba y abajo, viñeta lateral) */
.lotf-fondo__velo {
	position: absolute; inset: 0; z-index: 1 !important; pointer-events: none;
	background:
		linear-gradient(180deg, #00020e 0%, rgba(0,2,14,.62) 16%, rgba(0,2,14,.46) 50%, rgba(0,2,14,.66) 84%, #00020e 100%),
		radial-gradient(120% 90% at 50% 50%, transparent 45%, rgba(0,2,14,.8) 100%);
}
/* Destello diagonal rojo sangre */
.lotf-fondo__velo::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(289deg, rgba(168,17,0,.42) 6%, rgba(255,255,255,0) 42%);
	mix-blend-mode: screen;
}
.lotf-fondo[data-tono="azul"] .lotf-fondo__velo::after { background: linear-gradient(110deg, rgba(40,70,160,.35) 4%, rgba(255,255,255,0) 45%); }
.lotf-fondo[data-tono="verde"] .lotf-fondo__velo::after { background: linear-gradient(250deg, rgba(20,140,110,.30) 6%, rgba(255,255,255,0) 45%); }
/* Palabra gigante de fondo */
.lotf-fondo__palabra {
	position: absolute; left: 50%; top: 50%; z-index: 1 !important; pointer-events: none; white-space: nowrap;
	transform: translate3d(calc(-50% + var(--lotf-wx, 0px)), -50%, 0);
	font-family: Cinzel, "Cinzel Fallback: Times New Roman", serif; font-weight: 700; line-height: 1;
	font-size: clamp(90px, 17vw, 300px); letter-spacing: .04em; text-transform: uppercase;
	background: linear-gradient(165deg, rgba(21,3,15,.0) -10%, rgba(255,11,0,.55) 60%, rgba(126,5,0,.25) 110%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	opacity: .42; filter: blur(.3px);
}
.lotf-fondo[data-tono="azul"] .lotf-fondo__palabra { background-image: linear-gradient(165deg, rgba(10,20,60,0) -10%, rgba(110,150,255,.45) 60%, rgba(20,40,120,.2) 110%); }
.lotf-fondo[data-tono="verde"] .lotf-fondo__palabra { background-image: linear-gradient(165deg, rgba(5,30,25,0) -10%, rgba(60,220,170,.40) 60%, rgba(10,80,60,.2) 110%); }
/* Brasas en el borde inferior de cada fondo */
.lotf-fondo::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; z-index: 1; pointer-events: none;
	background: radial-gradient(60% 100% at 50% 100%, rgba(255,11,0,.16), transparent 70%);
}
/* Las tarjetas y cajas sobre el fondo, con cristal oscuro para leer bien */
.lotf-fondo .lotf-resp, .lotf-fondo .lotf-ig, .lotf-fondo .lotf-tabla, .lotf-fondo .lotf-faq__i, .lotf-fondo .gca-anchor {
	background-color: rgba(5,9,23,.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
/* Resplandor rojo general al pie de la página (sitio entero) */
body.lotf::before {
	content: ""; position: fixed; left: 0; right: 0; bottom: -20vh; height: 60vh; z-index: -1; pointer-events: none;
	background: radial-gradient(70% 60% at 50% 100%, rgba(152,0,10,.20), transparent 70%);
}
@media (max-width: 768px) {
	.lotf-fondo__capa { inset: 0; transform: none !important; }
	.lotf-fondo__palabra { font-size: 22vw; opacity: .22; }
}
@media (prefers-reduced-motion: reduce) {
	.lotf-fondo__capa { transform: scale(1.05) !important; transition: none; }
	.lotf-fondo__palabra { transform: translate3d(-50%, -50%, 0) !important; }
}

/* ------------------------------------------------------------------
 * Ajustes de espaciado (17-11-2026, pedido de Carlos: «Lanzamiento» pegada y huecos grandes)
 * ------------------------------------------------------------------ */
/* Cifras de la cabecera: aire entre el número y su etiqueta */
.lotf-hero__meta b { line-height: 1.15 !important; margin-bottom: 8px !important; }
.lotf-hero__meta span { line-height: 1.35; }
/* Fichas de las infografías: número y etiqueta separados */
.lotf-tile b { display: block; line-height: 1.1; margin-bottom: 8px; }
.lotf-tile span { display: block; line-height: 1.35; }
/* Pasos de la línea de tiempo */
.lotf-flow li strong { display: block; line-height: 1.2; margin-bottom: 6px; }
/* Secciones: menos relleno y sin márgenes sobrantes al final */
.lotf-sec { padding-top: 64px !important; padding-bottom: 64px !important; }
.lotf-sec > .lotf-wrap > :last-child, .lotf-sec .lotf-wrap-narrow > :last-child { margin-bottom: 0 !important; }
.lotf-sec .lotf-sec__h { margin-bottom: 28px !important; }
.lotf-hero__in { padding-bottom: 56px !important; }
.lotf-hero { min-height: 0 !important; }
@media (max-width: 768px) {
	.lotf-sec { padding-top: 44px !important; padding-bottom: 44px !important; }
	.lotf-hero__in { padding-bottom: 36px !important; }
}
.lotf-sec > .lotf-wrap > :first-child, .lotf-sec .lotf-wrap-narrow > :first-child { margin-top: 0 !important; }
/* Franja «¿Buscas algo concreto?» del pie: «Lanzamiento» quedaba pegado al borde (otra regla quitaba el relleno)
   y la ficha se partía en 3 filas descuadradas: ahora relleno propio y ficha en cuadrícula 2 × 2. */
.lotf-foot__in--top { padding-top: 32px !important; padding-bottom: 32px !important; }
.lotf-foot__ficha { display: grid !important; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 16px 0; align-content: center; }
.lotf-foot__ficha li { padding: 0 22px !important; border-left: 1px solid var(--lotf-line-3) !important; line-height: 1.4; }
.lotf-foot__ficha li:nth-child(odd) { padding-left: 0 !important; border-left: 0 !important; }
.lotf-foot__ficha b { margin-bottom: 5px; line-height: 1.2; }
@media (max-width: 768px) {
	.lotf-foot__in--top { padding-top: 26px !important; padding-bottom: 26px !important; }
	.lotf-foot__ficha { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.lotf-foot__ficha li { padding: 0 0 0 14px !important; }
	.lotf-foot__ficha li:nth-child(odd) { padding-left: 0 !important; }
}
