/* /wilderings: de día luminoso (mundo restaurado) a la noche corrupta según bajas.
   Todo va bajo .wl para no chocar con el tema; los carteles y botones son los del kit de Wilderings Encyclopedia. */

.wl { --sky1: #5fb6ec; --sky2: #a9dcfb; --sky3: #e3f4ff; --ink: #22305a; --ink2: #3d4b74; --gold: #ffcf4a; --teal: #0f8b80;
	position: relative; color: var(--ink2); font-family: "Averia Libre", Georgia, serif; }
.wl *, .wl *::before, .wl *::after { box-sizing: border-box; }
.wl img, .wl video { display: block; max-width: 100%; }
/* El tema pone los títulos en mayúsculas y con su fuente: aquí no (los carteles del kit tienen sus propias reglas). */
.wl h2:not(.wenc-kit-banner), .wl h3, .wl p, .wl dl, .wl dt, .wl dd, .wl li { font-family: inherit; text-transform: none; letter-spacing: normal; }
.wl h2:not(.wenc-kit-banner), .wl h3 { font-weight: 700; }
.wl .wrap { width: min(1200px, 100% - 48px); margin: 0 auto; position: relative; z-index: 2; }
.wl .center { text-align: center; }
.wl .sec-title { margin-bottom: 34px; text-align: center; }
.wl .sec-title .wenc-kit-banner { margin: 0 auto; }
.wl h2.big { font-size: clamp(32px, 4vw, 52px); line-height: 1.05; color: var(--ink); margin: 0 0 18px; }
.wl p.lead { font-size: 18px; line-height: 1.6; margin: 0 0 14px; color: var(--ink2); }
.wl .eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 13px; color: var(--teal); margin-bottom: 10px; font-weight: 700; }
.wl .glass { background: rgba(255,255,255,.58); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
	border: 2px solid rgba(255,255,255,.85); border-radius: 26px; box-shadow: 0 24px 60px rgba(30,70,130,.22); }
.wl a { text-decoration: none; }
.wl-js .wl .reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s ease; }
.wl-js .wl .reveal.in { opacity: 1; transform: none; }

/* Olas entre secciones: montan sobre la sección anterior */
.wl .wl-wave { position: relative; z-index: 3; display: block; width: 100%; height: 90px; margin-top: -89px; }
.wl .wl-wave path:first-child { fill: rgba(255,255,255,.35); } .wl .wl-wave path:last-child { fill: rgba(255,255,255,.14); }
.wl .wl-wave.solid { z-index: 4; margin-top: -88px; }
.wl .wl-wave.solid path:first-child { fill: var(--wave); opacity: .55; } .wl .wl-wave.solid path:last-child { fill: var(--wave); }

/* Nubes que cruzan despacio */
.wl .clouds { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.wl .clouds img { position: absolute; opacity: .9; animation: wl-cloud linear infinite; }

/* Botón principal de la demo y botón flotante */
.wl a.demo-cta.wenc-ribbon-yellow { height: 72px !important; min-height: 72px; font-size: 22px !important; padding: 0 70px 0 76px !important;
	background-size: 62px 72px, 54px 72px, calc(100% - 112px) 72px !important; background-position: left center, right center, 60px center !important; animation: wl-glow 2.4s ease-in-out infinite; }
.wl a.demo-cta .new { display: inline-block; margin-right: 12px; padding: 3px 8px; border-radius: 6px; background: #e8590c; color: #fff; font-size: 13px; letter-spacing: .08em; transform: rotate(-4deg); }
/* Por encima del botón «volver arriba» del tema, que ocupa la esquina */
.wl .demo-float { position: fixed; z-index: 60; right: 22px; bottom: 84px; transform: translateY(calc(100% + 120px)); transition: transform .45s cubic-bezier(.2,1.4,.4,1); }
.wl .demo-float.show { transform: none; }

/* 1. Cabecera: vídeo a sangre; el texto se lee por sombras */
.wl-hero { position: relative; min-height: calc(100vh - 90px); display: flex; align-items: flex-end; overflow: hidden; background: #1c3b6e; }
.wl-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wl-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(70% 80% at 0% 100%, rgba(20,40,90,.55), rgba(20,40,90,0) 70%); }
.wl-hero .hero-content { position: relative; z-index: 3; padding: 0 0 13vh 7vw; max-width: 760px; }
.wl-hero .hero-logo { width: min(580px, 80vw); filter: drop-shadow(0 3px 6px rgba(20,40,90,.6)) drop-shadow(0 0 30px rgba(255,255,255,.35)); animation: wl-float 6s ease-in-out infinite; }
.wl-hero .tagline { font-size: 21px; color: #fff; margin: 14px 0 26px; text-shadow: 0 2px 4px rgba(20,40,90,.9), 0 2px 18px rgba(20,40,90,.7); }
.wl .cta-main { margin-bottom: 16px; }
.wl .ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.wl .pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 40px; color: var(--ink); font-weight: 700;
	background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 2px solid #fff; box-shadow: 0 8px 20px rgba(20,40,90,.25); }
.wl .pill i { font-style: normal; color: #e8590c; }
.wl-hero .laurel { position: absolute; z-index: 3; right: 6vw; bottom: 14vh; width: 210px; filter: drop-shadow(0 2px 6px rgba(20,40,90,.8)) drop-shadow(0 0 20px rgba(20,40,90,.5)); }
.wl-hero .sparkles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.wl-hero .sparkles span { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 3px rgba(255,250,210,.9); animation: wl-drift linear infinite; }

/* 2. El juego: pradera a sangre y tarjeta de cristal */
.wl-pitch { position: relative; padding: 150px 0 170px; background: #8fd0f5 url(img/pitch-day.webp) center 60% / cover; }
.wl-pitch .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.wl-pitch .copy { padding: 36px 40px; }
.wl .trailer { position: relative; display: block; border-radius: 22px; overflow: hidden; border: 5px solid #fff; box-shadow: 0 30px 70px rgba(20,40,90,.4); transform: rotate(2deg); transition: transform .4s; }
.wl .trailer:hover { transform: rotate(0) scale(1.02); }
.wl .trailer .play-big { position: absolute; inset: 0; display: grid; place-items: center; }
.wl .trailer .play-big b { width: 92px; height: 92px; border-radius: 50%; background: rgba(255,255,255,.85); color: #e8590c; display: grid; place-items: center; font-size: 32px; box-shadow: 0 10px 30px rgba(0,0,0,.3); animation: wl-pulse 2.4s infinite; }

/* 3. Enciclopedia: contenedor de Elementor con el cartel y el widget del libro sobre el cielo */
.wl-book-con { background: url(img/cloud.webp) no-repeat 4% 22% / 420px auto, url(img/cloud.webp) no-repeat 96% 64% / 520px auto, linear-gradient(180deg, var(--sky2, #a9dcfb) 0%, #c9e8fc 100%) !important; }
.wl-book { padding: 130px 0 0; }

/* 4. Galería (zona de día, detrás del libro): carrusel con la imagen central grande sobre el cielo */
.wl-gallery { position: relative; overflow: hidden; background: linear-gradient(180deg, #d6edfc 0%, #e3f4ff 100%); }
.wl-gallery .wrap, .wl .carousel, .wl .cnav { position: relative; z-index: 2; }
.wl .carousel { position: relative; height: 420px; }
.wl .carousel img { position: absolute; top: 50%; left: 50%; height: 360px; width: auto; max-width: none; border-radius: 18px; border: 5px solid #fff; box-shadow: 0 20px 50px rgba(20,40,90,.3);
	transform: translate(-50%, -50%); transition: transform .6s cubic-bezier(.2,1,.3,1), opacity .6s, filter .6s; cursor: pointer; }
.wl .cnav { display: flex; justify-content: center; gap: 10px; margin-top: 10px; }
.wl .cnav button { width: 12px; height: 12px; border-radius: 50%; border: 0; background: rgba(34,48,90,.25); cursor: pointer; padding: 0; min-height: 0; box-shadow: none; }
.wl .cnav button.on { background: var(--teal); width: 30px; border-radius: 6px; }

/* Tráiler en la propia página */
.wl-yt { position: fixed; inset: 0; z-index: 100001; display: grid; place-items: center; padding: 24px; background: rgba(10,12,30,.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: wl-up .3s ease both; }
.wl-yt-box { position: relative; width: min(1100px, 100%); aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; border: 4px solid rgba(255,255,255,.85); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.wl-yt-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wl-yt-close { position: absolute; z-index: 2; top: 10px; right: 10px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #ffcf4a; color: #5a3a0a; font-size: 26px; line-height: 42px; text-align: center; cursor: pointer; padding: 0; box-shadow: 0 4px 14px rgba(0,0,0,.4); }
html.wl-modal-open { overflow: hidden; }

/* Colores de Wilderings en lo que el tema pinta con el rojo/rosa de Endling: selección de texto, botón «volver arriba» y barra de scroll */
.wl-landing ::selection { background: #ffcf4a; color: #22305a; }
/* (la página trae de PlayerX su «primer color» en rosa Endling, en línea y con !important: aquí con más especificidad) */
html body.wl-landing a#edgtf-back-to-top > span { background-color: #ffcf4a !important; color: #5a3a0a !important; }
html body.wl-landing a#edgtf-back-to-top > span:before, html body.wl-landing a#edgtf-back-to-top > span:after { border-top-color: #ffcf4a !important; background-color: transparent !important; }
body.wl-landing::-webkit-scrollbar-thumb { background-color: #ffcf4a !important; outline-color: #ffcf4a !important; }
html:has(body.wl-landing) { scrollbar-color: #ffcf4a #121830; }
/* El subrayado del menú principal (también el de la cabecera fija y la marca de los submenús), en la miel de la barra de
   scroll; el coral queda para el resto de la web, que es el «primer color» de PlayerX */
html body.wl-landing .edgtf-main-menu > ul > li > a:after, html body.wl-landing .edgtf-drop-down .second .inner ul li a .item_outer:before { background-color: #ffcf4a !important; }

/* 5. La familia: cielo del molino flotante desenfocado; personaje a la izquierda, ficha y selector a la derecha */
.wl-family { position: relative; padding: 120px 0 80px; overflow: hidden; background: linear-gradient(180deg, #e3f4ff 0, #7fa6dc 140px, #1d3f8a 320px); }
.wl-family::before { content: ""; position: absolute; inset: -20px; background: url(img/bg-family.webp) center 40% / cover; filter: blur(5px) saturate(1.1);
	-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 180px); mask-image: linear-gradient(180deg, transparent 0, #000 300px); }
.wl-family::after { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 65% at 28% 70%, rgba(190,220,255,.35), rgba(190,220,255,0) 70%); }
/* Anochecer: el subtítulo cae aún sobre el degradado claro de arriba; tinta oscura con un halo claro */
.wl-family .family-text { color: var(--ink); text-shadow: 0 0 10px rgba(255,255,255,.8); }
.wl .family-text { margin: 14px auto 0; font-size: 19px; color: var(--ink2); }
.wl .stage { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: end; max-width: 1080px; margin: 0 auto; }
.wl .hero-char { position: relative; height: 460px; display: flex; align-items: flex-end; justify-content: center; }
.wl .hero-char::before { content: ""; position: absolute; bottom: 6px; width: 60%; height: 40px; border-radius: 50%; background: radial-gradient(rgba(20,40,90,.35), rgba(20,40,90,0) 70%); }
.wl .hero-char img { position: relative; max-height: 440px; max-width: 100%; width: auto; filter: drop-shadow(0 16px 24px rgba(20,40,90,.35)); }
.wl .hero-char img.enter { animation: wl-char-in .7s cubic-bezier(.2,1.4,.4,1) both; }
.wl .side { display: flex; flex-direction: column; gap: 18px; padding-bottom: 6px; }
.wl .lore-card { padding: 26px 30px; min-height: 236px; }
.wl .lore-card h3 { margin: 0; font-size: 38px; color: var(--ink); line-height: 1; }
.wl .lore-card .meta { color: var(--teal); letter-spacing: .1em; text-transform: uppercase; font-size: 12px; font-weight: 700; margin: 6px 0 12px; }
.wl .lore-card p { font-size: 16px; line-height: 1.5; margin: 0 0 14px; color: var(--ink2); }
.wl .lore-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; }
.wl .lore-card dt { margin: 0; color: #7a86a8; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; line-height: 1.4; padding-top: 3px; }
.wl .lore-card dd { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.4; }
.wl .lore-card.swap > * { animation: wl-up .45s ease both; } .wl .lore-card.swap > *:nth-child(2) { animation-delay: .05s; } .wl .lore-card.swap > *:nth-child(3) { animation-delay: .1s; } .wl .lore-card.swap > *:nth-child(4) { animation-delay: .15s; }
.wl .dlc { display: inline-block; vertical-align: middle; margin-left: 12px; padding: 4px 10px; border-radius: 8px; background: var(--teal); color: #fff; font-size: 14px; letter-spacing: .08em; }
.wl .picker { position: relative; z-index: 3; display: flex; justify-content: space-between; gap: 8px; padding: 14px 22px 10px; }
.wl .face { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--ink); text-align: center; box-shadow: none; }
.wl .face:hover, .wl .face:focus { background: none; color: var(--ink); }
.wl .face img { width: 84px; transition: transform .3s cubic-bezier(.2,1.6,.4,1), filter .3s; filter: saturate(.75) brightness(.95); }
.wl .face span { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-top: 2px; }
.wl .face:hover img { transform: translateY(-6px) scale(1.06); filter: none; }
.wl .face.active img { transform: translateY(-10px) scale(1.14); filter: drop-shadow(0 0 12px rgba(255,207,74,.9)); }
.wl .face.active span { color: #e8590c; }

/* 6. El volcán: arte oficial rojo a sangre, la entrada a la corrupción */
.wl-volcano { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; background: #6b1306 url(img/volcano.webp) center 30% / cover; }
.wl-volcano::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(60,8,4,0) 0%, rgba(60,8,4,0) 45%, rgba(60,8,4,.7) 75%, rgba(60,8,4,.85) 100%), linear-gradient(180deg, rgba(60,8,4,.35) 0%, rgba(60,8,4,0) 20%, rgba(60,8,4,0) 72%, #4a2a6e 100%); }
.wl-volcano .wrap { display: flex; justify-content: flex-end; }
.wl-volcano .vbox { width: min(460px, 100%); color: #ffe9d6; }
.wl-volcano .vtag { display: inline-block; padding: 5px 12px; border-radius: 8px; background: #ffcf4a; color: #6b1306; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.wl-volcano h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1; margin: 14px 0 12px; text-wrap: balance; color: #fff3e6; text-shadow: 0 3px 18px rgba(40,4,2,.6); }
.wl-volcano p { font-size: 18px; line-height: 1.55; margin: 0 0 22px; color: #ffe9d6; text-shadow: 0 2px 8px rgba(40,4,2,.7); }
.wl-volcano .discord-cta { display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px; border-radius: 40px; background: #5865f2; color: #fff; font-size: 20px; font-weight: 700;
	box-shadow: 0 10px 30px rgba(40,4,2,.5), 0 0 0 3px rgba(255,255,255,.25); transition: transform .25s, box-shadow .25s; }
.wl-volcano .discord-cta i { font-size: 26px; }
.wl-volcano .discord-cta:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 36px rgba(40,4,2,.6), 0 0 0 3px rgba(255,255,255,.45); }
.wl-volcano .socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.wl-volcano .socials a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; font-size: 20px;
	background: rgba(255,255,255,.14); border: 2px solid rgba(255,255,255,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .25s, background .25s, color .25s; }
.wl-volcano .socials a:hover { background: var(--gold); border-color: var(--gold); color: #6b1306; transform: translateY(-3px); }
.wl-volcano .socials svg { width: 20px; height: 20px; }
.wl .embers { position: absolute; inset: 0; pointer-events: none; }
.wl .ember { position: absolute; border-radius: 50%; background: #ffb347; box-shadow: 0 0 10px 3px rgba(255,140,40,.8); animation: wl-spore linear forwards; }

/* Puntos clave, después del libro: tarjetas claras sobre el cielo de día (entre el del libro y el de la galería) */
.wl-points { position: relative; overflow: hidden; background: linear-gradient(180deg, #c9e8fc 0%, #d6edfc 100%); }

/* Fondos repartidos por la zona de día: cada sección, un escenario real del juego desenfocado, que entra fundido
   desde la anterior. Cielo (libro) → bosque otoñal (Key points, Steam 09) → pradera aérea de día (galería, RRSS 11) → luna llena, anochecer (familia, RRSS 06)
   → volcán rojo → noche. Así el paso a la corrupción va por etapas en lugar de cambiar tres veces seguidas al final. */
.wl-points::before, .wl-gallery::before { content: ""; position: absolute; inset: -20px; z-index: 0; pointer-events: none;
	-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 220px, #000 calc(100% - 160px), transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 220px, #000 calc(100% - 160px), transparent 100%); }
.wl-points::before { background: linear-gradient(180deg, rgba(214,237,252,.55), rgba(214,237,252,.35)), url(img/bg-points.webp) center 50% / cover; filter: blur(7px) saturate(1.05); }
.wl-gallery::before { background: linear-gradient(180deg, rgba(200,226,250,.45), rgba(120,160,220,.35)), url(img/bg-gallery.webp) center 50% / cover; filter: blur(7px) saturate(1.05); }
.wl-points .clouds, .wl-gallery .clouds { display: none; }
.wl-points .wrap { position: relative; z-index: 2; }
.wl .bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 330px 330px 300px; gap: 20px; }
.wl .card { position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: rgba(255,255,255,.92); border: 5px solid #fff; box-shadow: 0 20px 50px rgba(20,40,90,.25); transition: transform .35s, box-shadow .35s; }
.wl .card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 30px 60px rgba(20,40,90,.35); }
.wl .card .media { position: relative; flex: 1; min-height: 0; border-radius: 16px; overflow: hidden; background: #0d1530; }
.wl .card .media video, .wl .card .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wl .card .txt { padding: 10px 14px 8px; }
.wl .card h3 { margin: 0 0 4px; color: var(--ink); font-size: 19px; }
.wl .card p { margin: 0; font-size: 14px; line-height: 1.4; color: var(--ink2); }
.wl .c-battle { grid-column: 1 / 3; grid-row: 1; } .wl .c-hantu { grid-column: 3; grid-row: 1 / 3; }
.wl .c-dodge { grid-column: 1; grid-row: 2; } .wl .c-misty { grid-column: 2; grid-row: 2; }
.wl .c-ship { grid-column: 1 / 4; grid-row: 3; } .wl .c-ship .media video { object-position: center 62%; }

/* 8. Fight like nature (zona oscura, después del volcán): la arena, con el volcán de noche en vídeo de fondo, fundido
   arriba con el morado del volcán y abajo con el cierre. Vídeo grande a la izquierda y lista de movimientos a la derecha. */
.wl-fight { position: relative; overflow: hidden; background: linear-gradient(180deg, #4a2a6e 0%, #2d2358 40%, #1c1838 70%); }
.wl-fight .fight-bg { position: absolute; left: 0; right: 0; top: -260px; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center bottom;
	-webkit-mask-image: linear-gradient(180deg, #000 0, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 72%, transparent 100%); }
.wl-fight .fight-veil { position: absolute; inset: 0; background: linear-gradient(180deg, #4a2a6e 0%, rgba(74,42,110,.55) 14%, rgba(20,24,60,.35) 40%, rgba(20,24,60,.3) 100%); }
.wl-fight .fight-text { margin: 14px auto 0; max-width: 640px; font-size: 19px; line-height: 1.45; color: #e6e0f5; }
/* La altura la marca el vídeo (16:9 en su columna); la lista se estira a esa altura y, si no cabe, hace scroll. */
.wl .arena { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.wl .arena .moves { align-self: stretch; overflow-y: auto; contain: size; } /* contain: que su contenido no agrande la fila */
.wl .arena .screen { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #0d1530; border: 4px solid rgba(255,255,255,.3); box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.wl .arena .screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.wl .arena .screen video.fade { opacity: 0; }
/* Nombre y descripción del movimiento que se ve, abajo a la izquierda */
.wl .arena .now { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 60px 26px 22px; background: linear-gradient(180deg, rgba(10,12,30,0), rgba(10,12,30,.82)); color: #fff; }
.wl .arena .now b { display: block; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; color: #ffcf4a; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.wl .arena .now span { display: block; margin-top: 6px; max-width: 560px; font-size: 16px; line-height: 1.4; color: #eee8ff; }
.wl .arena .now.swap > * { animation: wl-up .4s ease both; } .wl .arena .now.swap span { animation-delay: .06s; }
.wl .moves { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 14px 16px; border-radius: 22px; background: rgba(20,18,48,.62); border: 2px solid rgba(255,255,255,.16);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.wl .move-group h3 { margin: 0 0 4px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #6ee7da; }
.wl .move { position: relative; display: block; width: 100%; margin: 0 0 2px; padding: 5px 12px; border: 0; border-radius: 10px; background: transparent; color: #d7d0ea;
	font: inherit; font-size: 15px; line-height: 1.35; font-weight: 700; text-align: left; cursor: pointer; overflow: hidden; box-shadow: none; transition: background .25s, color .25s; }
.wl .move:hover, .wl .move:focus-visible { background: rgba(255,255,255,.08); color: #fff; }
.wl .move span { position: relative; z-index: 1; }
/* Barra de progreso del clip en curso, de fondo del botón */
.wl .move i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(255,207,74,.22); }
.wl .move.on { color: #ffcf4a; background: rgba(255,207,74,.1); }
/* Por debajo de 1100 px la columna no cabe a la altura del vídeo: la lista pasa debajo, en botones por grupos */
@media (max-width: 1100px) {
	.wl .arena { grid-template-columns: 1fr; gap: 16px; }
	.wl .moves, .wl .arena .moves { padding: 14px; gap: 10px; contain: none; overflow: visible; }
	.wl .move-group { display: flex; flex-wrap: wrap; gap: 6px; } .wl .move-group h3 { width: 100%; margin: 0; }
	.wl .move { width: auto; margin: 0; padding: 7px 12px; font-size: 14px; background: rgba(255,255,255,.06); }
}

/* 9. Cierre: noche; los Vlugkin invaden por los márgenes, por detrás del contenido */
/* Arriba 60 px: con los 80 de la galería quedan 140 entre el carrusel y el póster, lo mismo que entre Puntos clave y la galería */
/* Cierre: el splash art de Irati (la corrupción en morado, Abi y los Hântu avanzando) a sangre, fundido arriba con
   Fight like nature y abajo con el pie; los Vlugkin siguen en los márgenes. */
.wl-final { position: relative; padding: calc(min(56.25vw, 1080px) * .52) 0 120px; overflow: hidden; background: #121830 url(img/bg-final.webp) center top / 100% auto no-repeat; }
.wl-final::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: min(56.25vw, 1080px);
	background: linear-gradient(180deg, #1c1838 0%, rgba(28,24,56,0) 14%, rgba(28,24,56,0) 45%, rgba(18,24,48,.7) 70%, #121830 100%); }
.wl .wl-final .vlugkin { top: calc(min(56.25vw, 1080px) * .55); height: min(1000px, 70%); }
.wl .vlugkin { position: absolute; top: 60px; height: min(1150px, 92%); width: auto; max-width: none; pointer-events: none; z-index: 1; filter: drop-shadow(0 0 30px rgba(10,14,40,.6));
	-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 82%, transparent 100%); }
.wl .vlugkin.l { left: 0; } .wl .vlugkin.r { right: 0; }
.wl .spores { position: absolute; z-index: 1; inset: 0; pointer-events: none; }
.wl .spore { position: absolute; border-radius: 50%; pointer-events: none; animation: wl-spore linear forwards; }
.wl .spore.vlug { background: #c77dff; box-shadow: 0 0 10px 3px rgba(170,90,255,.75); }
.wl .spore.fly { background: #fff3a8; box-shadow: 0 0 12px 4px rgba(255,236,140,.85); }
.wl .buy { display: grid; grid-template-columns: 380px minmax(0, 560px); gap: 56px; align-items: center; justify-content: center; }
.wl .buy .poster { width: 100%; border-radius: 18px; border: 5px solid rgba(255,255,255,.85); rotate: -3deg; box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 60px rgba(110,231,218,.25); }
.wl-final .box { padding: 40px 40px 34px; background: rgba(20,22,52,.55); border-color: rgba(255,255,255,.2); box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.wl-final h2.big { color: #f4e3b1; }
.wl-final .cta-main { display: flex; justify-content: center; margin: 18px 0 14px; }
.wl-final .ctas { justify-content: center; }
.wl-final .links { margin-top: 14px; } .wl-final .links a { color: #6ee7da; font-weight: 700; margin: 0 10px; }
.wl-final .laurel-inline { width: 150px; margin: 18px auto 0; filter: drop-shadow(0 2px 6px rgba(20,40,90,.8)); }
.wl .reqs { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 50px; text-align: left; }
.wl .reqs ul { margin: 0; padding-left: 18px; line-height: 1.75; font-size: 15px; } .wl .reqs h3 { margin: 0 0 10px; font-size: 24px; }

/* La abeja reina deambula por la página y sigue un rato al ratón si se acerca (solo con ratón y sin «reducir movimiento»), con un trail de polen.
   Va en coordenadas de la página, dentro de la capa de contenido del tema (.edgtf-content, que es position: relative). */
/* z-index 1 dentro de la capa de contenido: por detrás de todo lo que tenga z-index 2 o más */
/* (los widgets que no son de la landing, como el libro o el pie de ayudas, suben a 5: por encima también de las olas,
   por si el libro abre algo a pantalla completa) */
.wl-landing .edgtf-content .elementor-widget:not(.elementor-widget-html) { position: relative; z-index: 5; }
.wl-bee { position: absolute; left: 0; top: 0; z-index: 1; width: 58px; pointer-events: none; opacity: 0; transition: opacity .4s; will-change: transform; }
.wl-bee.on { opacity: 1; }
.wl-bee img { display: block; width: 100%; filter: drop-shadow(0 6px 8px rgba(20,30,60,.35)); }
.wl-bee-trail { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.wl-bee-trail span { position: absolute; left: 0; top: 0; border-radius: 50%; background: #ffd23f; box-shadow: 0 0 8px 2px rgba(255,170,30,.8), 0 0 2px 1px rgba(150,80,0,.35); animation: wl-pollen 1.3s ease-out forwards; }
@keyframes wl-pollen { 0% { opacity: .95; transform: translate(var(--x), var(--y)) scale(1); } 100% { opacity: 0; transform: translate(calc(var(--x) + var(--dx)), calc(var(--y) + var(--dy))) scale(.2); } }

@keyframes wl-float { 50% { transform: translateY(-10px); } }
@keyframes wl-drift { 0% { transform: translate(0,0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: .9; } 100% { transform: translate(var(--dx), -220px); opacity: 0; } }
@keyframes wl-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 70% { box-shadow: 0 0 0 18px rgba(255,255,255,0); } }
@keyframes wl-glow { 50% { filter: drop-shadow(0 0 18px rgba(255,207,74,.9)); } }
@keyframes wl-cloud { from { transform: translateX(-30vw); } to { transform: translateX(130vw); } }
@keyframes wl-spore { 0% { opacity: 0; transform: translate(0,0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)); } }
@keyframes wl-char-in { 0% { opacity: 0; transform: translateX(-60px) scale(.9); } 100% { opacity: 1; transform: none; } }
@keyframes wl-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wl *, .wl *::before, .wl *::after { animation: none !important; transition: none !important; } .wl-js .wl .reveal { opacity: 1; transform: none; } }

/* Capturas sin movimiento (?wlstatic): alturas fijas y todo visible */
html.wl-static .wl-hero { min-height: 810px; } html.wl-static .wl-hero .hero-content { padding-bottom: 120px; } html.wl-static .wl-hero .laurel { bottom: 120px; }
html.wl-static .wl .clouds img { animation: none; }

@media (max-width: 1280px) { .wl .vlugkin { height: 70%; opacity: .7; } }
@media (max-width: 767px) {
	.wl-hero .hero-content { padding: 0 20px 14vh; text-align: center; } .wl .ctas, .wl .cta-main { justify-content: center; display: flex; flex-wrap: wrap; }
	.wl a.demo-cta.wenc-ribbon-yellow { font-size: 17px !important; padding: 0 56px 0 60px !important; }
	.wl-hero .laurel { width: 130px; right: 50%; margin-right: -65px; bottom: auto; top: 30px; }
	.wl-pitch { padding: 90px 0 120px; } .wl-pitch .grid { grid-template-columns: 1fr; gap: 30px; } .wl-pitch .copy { padding: 26px 22px; }
	.wl-book { padding-top: 90px; }
	.wl .arena .now { padding: 40px 14px 12px; } .wl .arena .now span { font-size: 14px; }
	.wl-fight .fight-bg { top: -140px; }
	.wl .stage { grid-template-columns: 1fr; gap: 0; } .wl .hero-char { height: 320px; } .wl .hero-char img { max-height: 310px; }
	.wl .lore-card { margin-top: -20px; min-height: 0; position: relative; z-index: 3; } .wl .lore-card h3 { font-size: 32px; }
	.wl .picker { padding: 10px; gap: 4px; } .wl .face img { width: 56px; } .wl .face span { font-size: 10px; }
	.wl-volcano { min-height: 560px; align-items: flex-end; padding-bottom: 50px; background-position: 30% 30%; }
	.wl-volcano::before { background: linear-gradient(180deg, rgba(60,8,4,.2) 0%, rgba(60,8,4,0) 30%, rgba(60,8,4,.8) 65%, #4a2a6e 100%); } .wl-volcano .vbox { text-align: center; } .wl-volcano .socials { justify-content: center; }
	.wl .bento { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: auto; } .wl .card { height: 320px; }
	.wl .c-battle, .wl .c-hantu, .wl .c-dodge, .wl .c-misty, .wl .c-ship { grid-column: auto; grid-row: auto; } .wl .c-hantu { height: 540px; }
	.wl .carousel { height: 260px; } .wl .carousel img { height: 200px; }
	.wl .vlugkin { top: 0; height: 360px; opacity: .55; }
	.wl .buy { grid-template-columns: 1fr; gap: 30px; } .wl .buy .poster { width: 72%; margin: 0 auto; }
	.wl-final .box { padding: 26px 18px; } .wl .reqs { grid-template-columns: 1fr; }
	html.wl-static .wl-hero { min-height: 754px; }
}

/* Ritmo vertical (medido en la página, no a ojo):
   - de cada cartel a su contenido, 40 px;
   - entre secciones con el mismo fondo, unos 150 px; donde cambia el fondo (el juego → libro, galería → familia), unos 200.
   Cada cartel compensa lo que su contenido trae de serie: el libro empieza con las pestañas pegadas arriba, las tarjetas
   de Puntos clave suben un poco y el carrusel deja 30 px de aire encima de la imagen central. */
.wl .sec-title { margin-bottom: 40px; }
.wl-book .sec-title { margin-bottom: 68px; }
.wl-gallery .sec-title { margin-bottom: 28px; }
.wl-points .sec-title { margin-bottom: 43px; }
.wl-points { padding-top: 148px; padding-bottom: 0; }
.wl-pitch { padding-bottom: 110px; }
.wl-book { padding-top: 90px; }
.wl-gallery { padding-top: 147px; padding-bottom: 57px; }
.wl-family { padding-top: 70px; }
.wl-fight { padding-top: 147px; padding-bottom: 100px; }
.wl .reqs { margin-top: 70px; }
@media (max-width: 767px) {
	.wl-pitch { padding-bottom: 80px; }
	.wl-book { padding-top: 80px; }
	.wl-gallery { padding-bottom: 22px; }
	.wl-family { padding-top: 90px; }
	.wl-family .sec-title { margin-bottom: 51px; } /* el personaje en móvil deja 10 px de aire encima */
	.wl .reqs { margin-top: 60px; }
}

/* Mejoras de la valoración estética (antes mockup v5) */

/* 1. Cabecera legible: cabecera del tema transparente sobre el vídeo, velo bajo el texto, un solo botón principal */
body.wl-landing .edgtf-page-header { position: absolute !important; left: 0; right: 0; top: 0; z-index: 1001; background: linear-gradient(180deg, rgba(10,16,40,.6), rgba(10,16,40,0)) !important; }
body.wl-landing .edgtf-page-header .edgtf-menu-area, body.wl-landing .edgtf-page-header .edgtf-vertical-align-containers { background: transparent !important; box-shadow: none !important; }
body.wl-landing .wl-hero { min-height: 100vh; }
html.wl-static body.wl-landing .wl-hero { min-height: 900px; } html.wl-static body.wl-landing .wl-hero .hero-content { padding-bottom: 140px; }
body.wl-landing .wl-hero .hero-content { padding-bottom: 16vh; }
body.wl-landing .wl-hero .hero-content::before { content: ""; position: absolute; z-index: -1; left: -14vw; right: -10vw; top: -90px; bottom: 6vh;
	background: radial-gradient(closest-side, rgba(14,28,70,.62), rgba(14,28,70,.35) 55%, rgba(14,28,70,0)); }
body.wl-landing .wl-hero .hero-logo { width: min(620px, 84vw); filter: drop-shadow(0 4px 10px rgba(10,20,50,.7)) drop-shadow(0 0 40px rgba(10,20,50,.35)); }
body.wl-landing .wl-hero .hero-title { margin: 0; line-height: 0; }
body.wl-landing .wl-hero .cta-main { margin-top: 26px; }
body.wl-landing .wl-hero .hero-links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 4px; }
body.wl-landing .wl-hero .hero-links a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 17px; text-shadow: 0 2px 8px rgba(10,20,50,.9); }
body.wl-landing .wl-hero .hero-links a:hover { color: #ffcf4a; }
body.wl-landing .wl-hero .hero-links i { font-size: 20px; }

/* 2. Cinta de prueba social y tienda */
body.wl-landing .wl-proof { position: relative; z-index: 4; display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; padding: 26px 24px 30px;
	background: #12203f; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); color: #e9e4f8; }
body.wl-landing .wl-proof .laurel-s { width: 120px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
body.wl-landing .wl-proof blockquote { background: none !important; border: 0 !important; padding: 0 !important; quotes: none; text-transform: none !important; letter-spacing: normal !important; font-family: "Averia Libre", Georgia, serif !important; margin: 0; max-width: 190px; font-size: 16px; line-height: 1.35; font-style: italic; color: #fff; }
body.wl-landing .wl-proof blockquote cite { display: block; margin-top: 6px; font-style: normal; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #ffcf4a; }
body.wl-landing .wl-proof .laurels { display: inline-flex; gap: 14px; align-items: center; }
body.wl-landing .wl-proof .laurel-s { width: 112px; }
body.wl-landing .final-laurels { display: flex; justify-content: center; gap: 22px; margin-top: 18px; }
body.wl-landing .final-laurels .laurel-s { width: 140px; filter: drop-shadow(0 2px 6px rgba(20,40,90,.8)); }
body.wl-landing .wl-proof .store { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: 10px; background: #000; border: 1px solid rgba(255,255,255,.35); color: #fff; }
body.wl-landing .wl-proof .store i { font-size: 30px; }
body.wl-landing .wl-proof .store small { display: block; font-size: 11px; opacity: .8; } body.wl-landing .wl-proof .store b { font-size: 18px; }

/* 4. Titulares de texto en lugar de cinta en las secciones secundarias */
body.wl-landing .wl-head { text-align: center; }
body.wl-landing .wl-head .eyebrow { margin-bottom: 8px; }
body.wl-landing .wl-head h2 { margin: 0 auto; max-width: 820px; font-size: clamp(32px, 4vw, 50px); line-height: 1.05; color: var(--ink); }
body.wl-landing .wl-fight .wl-head h2 { color: #f4e3b1; } body.wl-landing .wl-fight .wl-head .eyebrow { color: #6ee7da; }

/* 5. Tarjetas con más jerarquía y texto legible */
body.wl-landing .wl .bento { grid-template-rows: 360px 330px 420px; }
body.wl-landing .wl .card .txt { padding: 14px 18px 12px; }
body.wl-landing .wl .card h3 { font-size: 22px; }
body.wl-landing .wl .card p { font-size: 16px; }
body.wl-landing .wl .c-battle h3 { font-size: 26px; }

/* 6. Galería ampliable */
body.wl-landing .wl-lb { position: fixed; inset: 0; z-index: 100002; display: grid; place-items: center; background: rgba(8,10,26,.92); }
body.wl-landing .wl-lb img { max-width: 92vw; max-height: 86vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
body.wl-landing .wl-lb button { position: absolute; top: 50%; width: 54px; height: 54px; margin-top: -27px; border: 0; border-radius: 50%; background: #ffcf4a; color: #5a3a0a; font-size: 26px; cursor: pointer; padding: 0; }
body.wl-landing .wl-lb .prev { left: 3vw; } body.wl-landing .wl-lb .next { right: 3vw; }
body.wl-landing .wl-lb .close { top: 30px; right: 3vw; margin: 0; }
body.wl-landing .wl .carousel img { cursor: zoom-in; }

/* 7. Comunidad: el arte se desplaza para que el titular no pise a la abeja, y el texto va sobre un velo propio */
body.wl-landing .wl-volcano { background-position: 18% 30%; }
body.wl-landing .wl-volcano::before { background: linear-gradient(90deg, rgba(60,8,4,0) 0%, rgba(60,8,4,0) 38%, rgba(60,8,4,.82) 62%, rgba(60,8,4,.9) 100%), linear-gradient(180deg, rgba(60,8,4,.35) 0%, rgba(60,8,4,0) 20%, rgba(60,8,4,0) 72%, #4a2a6e 100%); }

body.wl-landing .wl-volcano .vbox { padding: 28px 30px; border-radius: 22px; background: rgba(40,6,4,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,207,74,.25); }

/* 8. Requisitos plegados bajo la compra */
body.wl-landing .wl-req { max-width: 900px; margin: 52px auto 0; text-align: center; }
body.wl-landing .wl-req table { text-align: left; }
body.wl-landing .wl-req summary { cursor: pointer; display: inline-block; padding: 10px 18px; border-radius: 30px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); color: #f4e3b1; font-weight: 700; list-style: none; }
body.wl-landing .wl-req summary::-webkit-details-marker { display: none; }
body.wl-landing .wl-req table { width: 100%; margin-top: 16px; border-collapse: collapse; color: #e9e4f8; font-size: 15px; }
body.wl-landing .wl-req th, body.wl-landing .wl-req td { padding: 9px 12px; border-bottom: 1px solid rgba(255,255,255,.1); text-align: left; vertical-align: top; }
body.wl-landing .wl-req th { color: #6ee7da; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
body.wl-landing .wl-req td:first-child { color: #b9b1d6; width: 22%; }

/* Texto general algo mayor */
body.wl-landing .wl p.lead { font-size: 19px; }
body.wl-landing .wl .lore-card p { font-size: 17px; }

@media (max-width: 767px) {
	body.wl-landing .wl-hero .hero-content::before { left: -20px; right: -20px; }
	body.wl-landing .wl-hero .hero-links { justify-content: center; }
	body.wl-landing .wl-proof { gap: 22px; } body.wl-landing .wl-proof blockquote { max-width: none; text-align: center; }
	body.wl-landing .wl .bento { grid-template-rows: none; }
}

/* Cabecera móvil del tema transparente sobre el vídeo (cuando aparece al subir, vuelve a su fondo). Siempre fuera del
   flujo: si volvía a él al reaparecer, empujaba toda la página 70 px y parpadeaba (la barra la fija herobeat-ui.php) */
@media (max-width: 1024px) {
	body.wl-landing .edgtf-mobile-header { position: absolute; left: 0; right: 0; top: 0; z-index: 1001; }
	body.wl-landing.hb-mh .edgtf-mobile-header.hb-mh-top .edgtf-mobile-header-inner,
	body.wl-landing:not(.hb-mh) .edgtf-mobile-header:not(.mobile-header-appear) .edgtf-mobile-header-inner { background: linear-gradient(180deg, rgba(10,16,40,.6), rgba(10,16,40,0)); border-bottom: 0; }
}

/* Steam: instalar la demo desde el cliente, reseñas en vivo en la cinta y últimas noticias en la banda de comunidad */
.wl .steam-install { display: inline-block; margin: -4px 0 14px; font-size: 14px; color: #fff; text-decoration: underline; text-underline-offset: 3px; text-shadow: 0 2px 6px rgba(10,20,50,.9); }
.wl .steam-install:hover { color: #ffcf4a; }
.wl-final .steam-install { margin: -6px auto 16px; color: #cfe0ff; }
.wl .steam-reviews[hidden], .wl .steam-news[hidden] { display: none !important; }
.wl .steam-reviews { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.wl .steam-reviews i { font-size: 34px; color: #66c0f4; }
.wl .steam-reviews span { display: flex; flex-direction: column; line-height: 1.2; }
.wl .steam-reviews b { font-size: 18px; color: #66c0f4; }
.wl .steam-reviews small { font-size: 13px; color: #e9e4f8; }
.wl .steam-reviews em { font-style: normal; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #ffcf4a; margin-top: 3px; }
.wl-volcano .steam-news { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,207,74,.25); }
.wl-volcano .steam-news h3 { margin: 0 0 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #ffcf4a; }
.wl-volcano .news-item { display: flex; align-items: center; gap: 12px; padding: 7px; margin: 0 -7px; border-radius: 12px; color: #fff3e6; transition: background .2s; }
.wl-volcano .news-item:hover { background: rgba(255,255,255,.08); color: #fff; }
.wl-volcano .news-item img { flex: none; width: 84px; height: 48px; object-fit: cover; border-radius: 8px; }
.wl-volcano .news-item span { display: flex; flex-direction: column; min-width: 0; }
.wl-volcano .news-item b { font-size: 15px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-volcano .news-item small { font-size: 12px; color: #f0c8a8; }
@media (max-width: 767px) { .wl-volcano .steam-news { text-align: left; } }