/* wumiku.lubalink.com — identidad de World of Wumiku sobre la base compartida de Lubalink.
   Colores y fuentes tomados del propio juego (scripts/hud_util.gd: TEAL, TEAL_SOFT, INK; Jost y Nunito Sans). */

:root {
  --wk-night: #071318;
  --wk-deep: #0C1F25;
  --wk-panel: #10272E;
  --wk-teal: #43E5E0;
  --wk-teal-soft: #9AF5F2;
  --wk-teal-lo: rgba(67, 229, 224, .14);
  --wk-ink: #F4F8FA;
  --wk-muted: #A9BCC2;
  --wk-gold: #FFCC4D;
  --wk-violet: #A77BFF;
  --wk-line: rgba(154, 245, 242, .12);
  --wk-nav-h: 64px;
  --wk-font: "Nunito Sans", system-ui, sans-serif;
  --wk-font-display: "Jost", "Nunito Sans", system-ui, sans-serif;
}
body { background: var(--wk-night); color: var(--wk-ink); font-family: var(--wk-font); }
main h1, main h2, main h3 { font-family: var(--wk-font-display); letter-spacing: -.01em; }

.wk-title { font-size: clamp(32px, 4.4vw, 56px); font-weight: 600; margin-top: 16px; text-wrap: balance; }
.wk-lead { color: var(--wk-muted); font-size: clamp(17px, 1.5vw, 19px); max-width: 62ch; margin-top: 16px; }
.wk-eyebrow { color: var(--wk-teal); }
.wk-btn { background: var(--wk-teal); color: #04201F; box-shadow: 0 10px 32px -10px rgba(67, 229, 224, .7); font-family: var(--wk-font-display); font-weight: 600; letter-spacing: .02em; }
.wk-btn:hover { background: var(--wk-teal-soft); }

/* ---------- Navegación del juego ---------- */
.wk-nav {
  position: sticky; top: 0; z-index: 90; height: var(--wk-nav-h);
  background: rgba(7, 19, 24, .84); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--wk-line);
}
.wk-nav__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.wk-nav__logo img { height: 30px; width: auto; }
.wk-nav__links { display: flex; gap: 2px; height: 100%; }
.wk-nav__links a { position: relative; display: flex; align-items: center; padding: 0 14px; color: var(--wk-muted); font-family: var(--wk-font-display); font-weight: 500; font-size: 15px; letter-spacing: .03em; transition: color .2s; white-space: nowrap; }
.wk-nav__links a:hover, .wk-nav__links a.is-current { color: var(--wk-ink); }
.wk-nav__links a.is-current::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; border-radius: 2px; background: var(--wk-teal); box-shadow: 0 0 12px var(--wk-teal); }
.wk-nav__cta { margin-left: auto; }
@media (max-width: 960px) {
  .wk-nav__inner { gap: 16px; }
  .wk-nav__links { position: absolute; top: 100%; left: 0; right: 0; height: 46px; padding: 0 var(--lb-gutter); overflow-x: auto; background: rgba(7, 19, 24, .96); border-bottom: 1px solid var(--wk-line); scrollbar-width: none; }
  .wk-nav__links a { padding: 0 12px; font-size: 14px; }
  .wk-nav__links a:first-child { padding-left: 0; }
  .wk-nav__links a.is-current::after { left: 12px; right: 12px; }
  .wk-nav__links a:first-child.is-current::after { left: 0; }
}

/* ---------- Hero ---------- */
.wk-hero { position: relative; min-height: max(640px, calc(100svh - 48px - var(--wk-nav-h))); display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate; padding: 64px 0 120px; }
.wk-hero__bg { position: absolute; inset: 0; z-index: -1; }
.wk-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: wk-drift 30s ease-in-out infinite alternate; }
@keyframes wk-drift { from { transform: scale(1.08); } to { transform: scale(1.02) translateY(-1%); } }
.wk-hero__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(46% 60% at 50% 58%, rgba(7, 19, 24, .78), rgba(7, 19, 24, .25) 70%, transparent), linear-gradient(0deg, var(--wk-night) 4%, transparent 38%), linear-gradient(180deg, rgba(7, 19, 24, .55), transparent 25%); }
.wk-hero__content { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.wk-hero__logo img { width: clamp(260px, 34vw, 440px); height: auto; filter: drop-shadow(0 0 28px rgba(67, 229, 224, .45)) drop-shadow(0 8px 30px rgba(0, 0, 0, .6)); }
.wk-hero__tagline { font-size: clamp(17px, 1.7vw, 21px); color: var(--wk-ink); max-width: 46ch; text-shadow: 0 2px 16px rgba(0, 0, 0, .8); }
.wk-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.wk-hero__platforms { display: inline-flex; gap: 10px; align-items: center; font-size: 13px; color: var(--wk-muted); letter-spacing: .16em; text-transform: uppercase; text-shadow: 0 2px 10px #000; }
.wk-hero__platforms span { padding: 4px 10px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--wk-line); color: var(--wk-ink); letter-spacing: .08em; background: rgba(7, 19, 24, .5); }
.wk-hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--wk-muted); }
.wk-hero__scroll::after { content: ""; width: 1px; height: 40px; background: linear-gradient(var(--wk-teal), transparent); animation: wk-scroll 2s ease-in-out infinite; transform-origin: top; }
@keyframes wk-scroll { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Elarion ---------- */
.wk-lore { position: relative; isolation: isolate; overflow: hidden; }
.wk-lore__bg { position: absolute; inset: 0; z-index: -1; }
.wk-lore__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.wk-lore__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--wk-night), rgba(7, 19, 24, .55) 30%, rgba(7, 19, 24, .55) 70%, var(--wk-night)); }
.wk-lore__inner { display: grid; justify-items: center; text-align: center; }
.wk-lore__creed { font-family: var(--wk-font-display); font-size: clamp(26px, 3.6vw, 46px); line-height: 1.25; margin: 20px 0 28px; max-width: 26ch; text-wrap: balance; }
.wk-lore__creed strong { color: var(--wk-teal-soft); font-weight: 600; }
.wk-lore__text { display: grid; gap: 14px; max-width: 64ch; color: #D3E0E4; font-size: 17px; }
.wk-lore__text strong { color: var(--wk-ink); }
.wk-eyes { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.wk-eye { display: flex; gap: 16px; align-items: center; text-align: left; padding: 18px 22px; border-radius: 16px; background: rgba(12, 31, 37, .75); box-shadow: inset 0 0 0 1px var(--wk-line); min-width: 0; max-width: 340px; }
.wk-eye strong { font-family: var(--wk-font-display); font-size: 19px; }
.wk-eye p { color: var(--wk-muted); font-size: 14px; }
.wk-eye__shape { flex: none; width: 40px; height: 40px; display: grid; place-items: center; }
.wk-eye__shape--circle { border-radius: 50%; background: radial-gradient(circle, #071318 34%, var(--wk-teal) 36% 60%, transparent 62%); box-shadow: 0 0 18px rgba(67, 229, 224, .5); }
.wk-eye__shape--rhombus { background: linear-gradient(var(--wk-violet), #6B3FD6); clip-path: polygon(50% 4%, 92% 50%, 50% 96%, 8% 50%); }
.wk-hymn { margin: 40px 0 0; font-family: var(--wk-font-display); font-style: italic; font-size: 18px; color: var(--wk-teal-soft); max-width: 44ch; }

/* ---------- Clases ---------- */
.wk-classes { margin-top: 44px; }
.wk-classes__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.wk-classes__tab { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 14px 14px 0 0; text-align: left; font-family: var(--wk-font-display); font-size: 20px; font-weight: 600; color: var(--wk-muted); background: var(--wk-deep); box-shadow: inset 0 -2px 0 var(--wk-line); transition: color .2s, background .2s, box-shadow .2s; }
.wk-classes__tab small { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--wk-muted); }
.wk-classes__tab:hover { color: var(--wk-ink); }
.wk-classes__tab[aria-selected="true"] { color: var(--wk-ink); background: var(--wk-panel); box-shadow: inset 0 -2px 0 var(--wk-teal); }
.wk-classes__tab[aria-selected="true"] small { color: var(--wk-teal); }
.wk-classes__stage { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; min-height: 440px; border-radius: 0 0 22px 22px; overflow: hidden; background: var(--wk-panel); }
.wk-classes__art { position: relative; overflow: hidden; }
.wk-classes__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--lb-ease), filter .5s; }
.wk-classes__art img.is-active { opacity: 1; }
.wk-classes__art[data-tint="forest"] img { filter: hue-rotate(-45deg) saturate(1.1); }
.wk-classes__art[data-tint="gold"] img { filter: hue-rotate(150deg) saturate(.9) brightness(1.05); }
.wk-classes__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--wk-panel)); }
.wk-class { padding: clamp(24px, 4vw, 48px); align-self: center; min-width: 0; }
.wk-class h3 { font-size: clamp(34px, 4vw, 48px); font-weight: 600; }
.wk-class p { color: #D3E0E4; font-size: 17px; margin: 14px 0 22px; }
.wk-class dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 0; padding-top: 20px; border-top: 1px solid var(--wk-line); }
.wk-class dt { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--wk-teal); }
.wk-class dd { margin: 4px 0 0; font-weight: 600; }
@media (max-width: 860px) {
  .wk-classes__tabs { grid-template-columns: 1fr 1fr; }
  .wk-classes__tab { border-radius: 12px; }
  .wk-classes__stage { grid-template-columns: 1fr; border-radius: 22px; margin-top: 8px; }
  .wk-classes__art { aspect-ratio: 16 / 9; }
  .wk-classes__art::after { background: linear-gradient(180deg, transparent 60%, var(--wk-panel)); }
}

/* ---------- El mundo ---------- */
.wk-world { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-top: 44px; align-items: stretch; }
.wk-world__art { margin: 0; border-radius: 22px; overflow: hidden; min-height: 360px; box-shadow: inset 0 0 0 1px var(--wk-line); }
.wk-world__art img { width: 100%; height: 100%; object-fit: cover; }
.wk-facts { display: grid; gap: 0; align-content: center; }
.wk-facts li { display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--wk-line); }
.wk-facts li:first-child { border-top: 1px solid var(--wk-line); }
.wk-facts strong { font-family: var(--wk-font-display); font-size: 46px; font-weight: 600; color: var(--wk-teal); line-height: 1; font-variant-numeric: tabular-nums; }
.wk-facts span { color: #D3E0E4; }
.wk-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.wk-features article { padding: 24px; border-radius: 16px; background: var(--wk-deep); box-shadow: inset 0 0 0 1px var(--wk-line); }
.wk-features h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.wk-features p { color: var(--wk-muted); font-size: 15px; }
@media (max-width: 960px) {
  .wk-world { grid-template-columns: 1fr; }
  .wk-world__art { min-height: 0; aspect-ratio: 16 / 9; }
  .wk-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .wk-features { grid-template-columns: 1fr; } }

/* ---------- Vida en la aldea ---------- */
.wk-cozy { background: radial-gradient(60% 80% at 15% 10%, rgba(255, 204, 77, .10), transparent 70%), radial-gradient(50% 70% at 90% 90%, rgba(67, 229, 224, .08), transparent 70%), var(--wk-deep); border-block: 1px solid var(--wk-line); }
.wk-cozy .wk-eyebrow { color: var(--wk-gold); }
.wk-cozy__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 44px; border-top: 1px solid var(--wk-line); }
.wk-cozy__list li { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--wk-line); }
.wk-cozy__list li:not(:nth-child(3n + 1)) { padding-left: 26px; border-left: 1px solid var(--wk-line); }
.wk-cozy__list h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.wk-cozy__list p { color: var(--wk-muted); }
@media (max-width: 860px) {
  .wk-cozy__list { grid-template-columns: 1fr; }
  .wk-cozy__list li, .wk-cozy__list li:not(:nth-child(3n + 1)) { padding: 22px 0; border-left: 0; }
}

/* ---------- Juntos ---------- */
.wk-together { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.wk-checks { display: grid; gap: 12px; margin-top: 28px; }
.wk-checks li { position: relative; padding-left: 30px; color: #D3E0E4; }
.wk-checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--wk-teal); }
.wk-mounts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wk-mounts figure { margin: 0; border-radius: 20px; overflow: hidden; background: #000; box-shadow: inset 0 0 0 1px var(--wk-line); position: relative; }
.wk-mounts img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.wk-mounts figcaption { position: absolute; left: 14px; bottom: 12px; font-family: var(--wk-font-display); font-weight: 600; font-size: 15px; padding: 4px 12px; border-radius: 999px; background: rgba(7, 19, 24, .75); }
@media (max-width: 860px) { .wk-together { grid-template-columns: 1fr; } }

/* ---------- Media ---------- */
.wk-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
.wk-shot { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: inset 0 0 0 1px var(--wk-line); cursor: zoom-in; }
.wk-shot--wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.wk-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--lb-ease); }
.wk-shot:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .wk-gallery { grid-template-columns: 1fr 1fr; } .wk-shot--wide { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; } }

/* Modales */
.wk-modal { border: 0; padding: 0; background: transparent; width: min(1100px, 92vw); color: var(--wk-ink); }
.wk-modal::backdrop { background: rgba(3, 8, 10, .88); backdrop-filter: blur(6px); }
.wk-modal__box { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--wk-deep); display: grid; place-items: center; text-align: center; box-shadow: inset 0 0 0 1px var(--wk-line); }
.wk-modal__box p { color: var(--wk-muted); margin-top: 8px; }
.wk-modal__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(7, 19, 24, .7); color: var(--wk-ink); font-size: 22px; line-height: 1; }
.wk-lightbox img { width: 100%; height: auto; border-radius: 14px; }

/* ---------- Novedades ---------- */
.wk-signup { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 28px; overflow: hidden; isolation: isolate; background: linear-gradient(120deg, #0E3A3F, #0C2A33 55%, #1B1F45); box-shadow: inset 0 0 0 1px var(--wk-line); }
.wk-signup::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(rgba(67, 229, 224, .28), transparent 70%); z-index: -1; }
.wk-signup__mark { width: 74px; height: auto; margin-bottom: 14px; filter: drop-shadow(0 0 16px rgba(67, 229, 224, .5)); }
.wk-signup h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 600; }
.wk-signup p { color: #C9DADF; margin-top: 12px; }
.wk-form { display: flex; flex-direction: column; gap: 12px; }
.wk-form__row { display: flex; gap: 10px; }
.wk-form input[type="email"] { flex: 1; min-width: 0; height: 52px; padding: 0 20px; border-radius: 999px; border: 0; font: inherit; color: var(--wk-night); background: var(--wk-ink); }
.wk-form input[type="email"]:focus { outline: 3px solid var(--wk-teal); }
.wk-form .lb-btn { height: 52px; }
.wk-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #C9DADF; }
.wk-check input { margin-top: 3px; accent-color: var(--wk-teal); }
.wk-form__ok { font-weight: 600; color: var(--wk-teal-soft); }
@media (max-width: 860px) { .wk-signup { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 480px) { .wk-form__row { flex-direction: column; } }

/* Insignia «un juego de Lubalink» */
.wk-studio-badge { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 48px 0; color: var(--wk-muted); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }

/* ---------- 404 ---------- */
.notfound { min-height: calc(100vh - var(--lb-gnav-h)); display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound strong { display: block; font-family: var(--wk-font-display); font-size: clamp(100px, 18vw, 200px); line-height: 1; color: var(--wk-teal); }
.notfound h1 { font-size: clamp(28px, 4vw, 40px); margin: 16px 0 12px; }
.notfound p { color: var(--wk-muted); margin-bottom: 28px; }
