/* GOREILLA VR — site styles. One palette, two type families (Anton + Barlow Semi Condensed, both OFL, the same
   faces the game's UI uses). Layout: mobile first, breakpoints at 720 and 1080 px. */

@font-face { font-family: "Anton"; src: url("../fonts/Anton-Regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Barlow SC"; src: url("../fonts/BarlowSemiCondensed-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow SC"; src: url("../fonts/BarlowSemiCondensed-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow SC"; src: url("../fonts/BarlowSemiCondensed-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #0a0908;
  --bg-2: #100e0c;
  --panel: #15120f;
  --panel-2: #1b1713;
  --line: rgba(232, 226, 214, .1);
  --line-2: rgba(232, 226, 214, .2);
  --bone: #e8e2d6;
  --bone-2: #bdb6aa;
  --muted: #847d72;
  --blood: #c8161d;
  --blood-2: #e0262d;
  --blood-deep: #5e0a0d;
  --amber: #d9a441;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --body: "Barlow SC", "Arial Narrow", system-ui, sans-serif;
  --wrap: 1280px;
  --pad: clamp(20px, 4vw, 48px);
  --nav-h: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --radius: 4px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--bone-2); font: 400 clamp(17px, 1.05vw + 12px, 19px)/1.6 var(--body); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; color: var(--bone); text-transform: uppercase; letter-spacing: .01em; line-height: .98; margin: 0; }
::selection { background: var(--blood); color: #fff; }
:focus-visible { outline: 2px solid var(--blood-2); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--bone); color: var(--bg); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; }

/* page-to-page fade where the browser supports cross-document view transitions */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }

/* film grain + vignette: one fixed layer, no JS */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); } }
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

/* ------------------------------------------------------------------ type helpers */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--blood); }
.eyebrow--plain::before { display: none; }
.lead { font-size: clamp(19px, 1.2vw + 13px, 23px); line-height: 1.5; color: var(--bone-2); max-width: 46ch; }
.muted { color: var(--muted); }
.bone { color: var(--bone); }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(30px, 3vw, 42px); margin: 1.6em 0 .5em; }
.prose h3 { font-size: 24px; margin: 1.4em 0 .4em; }
.prose ul { padding-left: 1.1em; margin: 0 0 1.2em; }
.prose li { margin: .3em 0; }
.prose li::marker { color: var(--blood); }
.prose a { color: var(--bone); border-bottom: 1px solid var(--blood); }
.prose a:hover { color: #fff; border-color: var(--blood-2); }
.prose strong { color: var(--bone); font-weight: 600; }

/* ------------------------------------------------------------------ buttons */
.btn {
  --b: var(--blood); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px; border: 1px solid var(--b); border-radius: var(--radius);
  font: 600 15px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: #fff; background: var(--b);
  overflow: hidden; isolation: isolate; cursor: pointer; transition: border-color .3s var(--ease), color .3s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bone); transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--bg); border-color: var(--bone); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { background: rgba(10, 9, 8, .35); border-color: var(--line-2); color: var(--bone); backdrop-filter: blur(6px); }
.btn--discord { --b: #4f55d8; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 13px; }
.btn[aria-disabled="true"] { --b: var(--panel-2); color: var(--muted); border-color: var(--line); cursor: not-allowed; }
.btn[aria-disabled="true"]::before { display: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font: 600 14px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--bone); }
.link-arrow span { display: inline-block; width: 28px; height: 1px; background: var(--blood); transition: width .35s var(--ease); }
.link-arrow:hover span { width: 44px; }

/* ------------------------------------------------------------------ status tags */
.tag { display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 2px; font: 600 11.5px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--bone-2); background: rgba(10, 9, 8, .6); white-space: nowrap; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag--live { color: var(--bone); border-color: rgba(200, 22, 29, .55); }
.tag--live::before { background: var(--blood-2); box-shadow: 0 0 0 3px rgba(200, 22, 29, .25); animation: pulse 2.4s infinite; }
.tag--planned { color: var(--muted); border-style: dashed; }
.tag--planned::before { background: transparent; border: 1px solid currentColor; }
.tag--cat { color: var(--amber); border-color: rgba(217, 164, 65, .35); }
.tag--cat::before { display: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(200, 22, 29, 0); } }

/* ------------------------------------------------------------------ navigation */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h); transition: background .35s var(--ease), border-color .35s var(--ease), transform .4s var(--ease); border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(10, 9, 8, .86); backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 38px; height: 38px; }
.brand b { font: 400 25px/1 var(--display); color: var(--bone); letter-spacing: .02em; }
.brand i { font: 400 13px/1 var(--display); color: var(--blood-2); font-style: normal; margin-left: -6px; align-self: flex-end; margin-bottom: 9px; }
.nav__links { display: none; margin: 0 0 0 auto; padding: 0; list-style: none; gap: 4px; }
.nav__links a { position: relative; display: block; padding: 10px 12px; font: 600 13.5px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--bone-2); transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--blood); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover { color: var(--bone); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--bone); }
.nav__cta { display: none; }
.nav__toggle { margin-left: auto; width: 46px; height: 46px; display: grid; place-items: center; background: none; border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--bone); cursor: pointer; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { display: block; width: 20px; height: 2px; background: currentColor; transition: transform .35s var(--ease), background .2s; position: relative; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -6px; } .nav__toggle span::after { top: 6px; }
.nav-open .nav__toggle span { background: transparent; }
.nav-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.drawer { position: fixed; inset: 0; z-index: 99; background: var(--bg); padding: calc(var(--nav-h) + 24px) var(--pad) 32px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; overflow-y: auto; }
.nav-open .drawer { opacity: 1; visibility: visible; }
.nav-open { overflow: hidden; }
.drawer ol { list-style: none; margin: 0 0 32px; padding: 0; counter-reset: d; }
.drawer li { border-bottom: 1px solid var(--line); counter-increment: d; transform: translateY(14px); opacity: 0; transition: transform .45s var(--ease), opacity .45s var(--ease); }
.nav-open .drawer li { transform: none; opacity: 1; }
.nav-open .drawer li:nth-child(2) { transition-delay: .04s; } .nav-open .drawer li:nth-child(3) { transition-delay: .08s; } .nav-open .drawer li:nth-child(4) { transition-delay: .12s; } .nav-open .drawer li:nth-child(5) { transition-delay: .16s; } .nav-open .drawer li:nth-child(6) { transition-delay: .2s; } .nav-open .drawer li:nth-child(7) { transition-delay: .24s; } .nav-open .drawer li:nth-child(8) { transition-delay: .28s; }
.drawer nav a { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; font: 400 clamp(32px, 9vw, 44px)/1 var(--display); text-transform: uppercase; color: var(--bone); }
.drawer nav a::before { content: "0" counter(d); font: 600 12px/1 var(--body); letter-spacing: .2em; color: var(--blood-2); }
.drawer nav a[aria-current="page"] { color: var(--blood-2); }
@media (min-width: 1080px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle, .drawer { display: none; }
}

/* ------------------------------------------------------------------ media frames + loading state */
.media { position: relative; overflow: hidden; background: var(--panel); }
.media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(232, 226, 214, .05) 50%, transparent 70%) var(--panel); background-size: 250% 100%; animation: shimmer 1.6s linear infinite; }
.media.is-loaded::before { opacity: 0; animation: none; transition: opacity .4s; }
.media img { position: relative; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease), transform 1.2s var(--ease), filter .6s var(--ease); }
.media.is-loaded img { opacity: 1; }
.no-js .media img { opacity: 1; }
@keyframes shimmer { to { background-position: -150% 0; } }
.caption { display: block; margin-top: 10px; font: 500 13px/1.4 var(--body); letter-spacing: .06em; color: var(--muted); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 40px) 0 clamp(64px, 10vh, 110px); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: -6% 0 0; z-index: -2; will-change: transform; }
.hero__bg .media { position: absolute; inset: 0; background: var(--bg); }
.hero__bg .media::before { display: none; }
.hero__bg img { transform: scale(1.08); animation: heroZoom 26s var(--ease) forwards; filter: brightness(1.35) saturate(.9) contrast(1.08); object-position: 55% 40%; }
@media (min-width: 1080px) { .hero__bg { left: 30%; right: -2%; } .hero__bg img { object-position: 50% 45%; } }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 9, 8, .6) 0%, rgba(10, 9, 8, .05) 28%, rgba(10, 9, 8, .35) 60%, var(--bg) 100%), linear-gradient(90deg, rgba(10, 9, 8, .75) 0%, rgba(10, 9, 8, .3) 60%, rgba(10, 9, 8, .1) 100%); }
@media (min-width: 1080px) { .hero::before { background: linear-gradient(180deg, rgba(10, 9, 8, .55) 0%, transparent 25%, transparent 70%, var(--bg) 100%), linear-gradient(90deg, var(--bg) 0%, var(--bg) 30%, rgba(10, 9, 8, .55) 42%, rgba(10, 9, 8, 0) 62%); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: #000; opacity: 0; animation: flicker 9s infinite; pointer-events: none; }
@keyframes flicker { 0%, 61%, 63.5%, 66%, 100% { opacity: 0; } 62% { opacity: .5; } 64% { opacity: .22; } 65% { opacity: .62; } }
@media (prefers-reduced-motion: reduce) { .hero::after, .hero__bg img { animation: none; transform: none; } }
.hero__in { position: relative; display: grid; gap: 28px; }
.hero__mark { width: clamp(84px, 9vw, 120px); filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .7)); }
.hero h1 { font-size: clamp(54px, 9vw, 128px); line-height: .88; letter-spacing: 0; text-shadow: 0 4px 40px rgba(0, 0, 0, .5); }
.hero h1 em { display: block; font-style: normal; color: var(--blood-2); }
.hero .lead { color: var(--bone); max-width: 52ch; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.scroll-cue { position: absolute; right: var(--pad); bottom: 36px; display: none; align-items: center; gap: 14px; writing-mode: vertical-rl; font: 600 11px/1 var(--body); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.scroll-cue::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--blood), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (min-width: 720px) { .scroll-cue { display: flex; } }

/* page hero (inner pages) */
.phero { position: relative; padding: calc(var(--nav-h) + clamp(56px, 9vw, 120px)) 0 clamp(40px, 6vw, 72px); overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.phero__bg { position: absolute; inset: 0; z-index: -2; }
.phero__bg .media { position: absolute; inset: 0; }
.phero__bg img { filter: saturate(.8) brightness(.95); }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--bg) 0%, rgba(10, 9, 8, .82) 45%, rgba(10, 9, 8, .45) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 50%); }
.phero h1 { font-size: clamp(48px, 8vw, 112px); margin: 18px 0 20px; }
.phero .lead { max-width: 56ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 600 12px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.crumbs a:hover { color: var(--bone); }
.crumbs span[aria-hidden] { color: var(--blood); }

/* ------------------------------------------------------------------ sections */
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.shead { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); }
.shead h2 { font-size: clamp(44px, 6.4vw, 92px); }
.shead p { max-width: 58ch; margin: 0; }
.shead__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.idx { font: 600 13px/1 var(--body); letter-spacing: .24em; color: var(--blood-2); }

/* reveal on scroll */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }

/* ------------------------------------------------------------------ intro / pillars */
.intro { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 1080px) { .intro { grid-template-columns: 1fr 1.15fr; } }
.intro__shot { aspect-ratio: 16 / 10; border-radius: var(--radius); }
.intro__shot::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line), inset 0 -120px 120px -60px rgba(10, 9, 8, .8); pointer-events: none; }
.intro__stamp { position: absolute; left: 18px; bottom: 16px; z-index: 2; }
.pillars { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(48px, 6vw, 80px); }
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { position: relative; background: var(--bg); padding: 32px 28px 30px; transition: background .35s var(--ease); }
.section--alt .pillar { background: var(--bg-2); }
.pillar:hover { background: var(--panel); }
.pillar__n { font: 600 12px/1 var(--body); letter-spacing: .24em; color: var(--blood-2); }
.pillar h3 { font-size: 30px; margin: 22px 0 10px; }
.pillar p { margin: 0; font-size: 17px; color: var(--muted); }
.pillar::after { content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 0; background: var(--blood); transition: height .5s var(--ease); }
.pillar:hover::after { height: 100%; }

/* ------------------------------------------------------------------ monster specimen cards */
.specimens { display: grid; gap: 20px; }
@media (min-width: 720px) { .specimens { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .specimens { grid-template-columns: repeat(4, 1fr); } }
.spec { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .4s var(--ease), transform .5s var(--ease); }
.spec:hover { border-color: rgba(200, 22, 29, .6); transform: translateY(-4px); }
.spec__img { aspect-ratio: 4 / 5; }
.spec__img img { filter: saturate(.8) brightness(.9); }
.spec:hover .spec__img img { transform: scale(1.05); filter: saturate(1) brightness(1); }
.spec__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--panel) 2%, transparent 45%), repeating-linear-gradient(0deg, rgba(0, 0, 0, .14) 0 1px, transparent 1px 3px); pointer-events: none; }
.spec__scan { position: absolute; left: 0; right: 0; top: -10%; height: 18%; z-index: 2; background: linear-gradient(180deg, transparent, rgba(200, 22, 29, .22), transparent); opacity: 0; pointer-events: none; }
.spec:hover .spec__scan { opacity: 1; animation: scan 1.6s linear infinite; }
@keyframes scan { to { top: 100%; } }
.spec__no { position: absolute; top: 16px; left: 16px; z-index: 3; font: 600 11.5px/1 var(--body); letter-spacing: .22em; color: var(--bone-2); text-transform: uppercase; }
.spec__body { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 12px; padding: 0 22px 24px; margin-top: -64px; flex: 1; }
.spec h3 { font-size: clamp(32px, 2.6vw, 40px); }
.spec p { margin: 0; font-size: 16.5px; line-height: 1.5; color: var(--bone-2); }
.spec__foot { padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.spec__price { font: 600 12px/1 var(--body); letter-spacing: .18em; color: var(--muted); text-transform: uppercase; }
.spec__link { position: absolute; inset: 0; z-index: 4; }
.spec__link:focus-visible { outline-offset: -3px; }

.stats { display: grid; gap: 9px; margin: 4px 0 0; }
.spec .stats { margin-top: auto; padding-top: 6px; }
.stat { display: grid; grid-template-columns: 74px 1fr 46px; align-items: center; gap: 10px; font: 600 11.5px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.stat b { font-weight: 600; color: var(--bone-2); text-align: right; letter-spacing: .06em; }
.bar { height: 4px; background: rgba(232, 226, 214, .08); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--v); background: linear-gradient(90deg, var(--blood-deep), var(--blood-2)); transform-origin: left; transition: transform 1.2s var(--ease) .15s; }
.js .rv .bar i { transform: scaleX(0); }
.js .rv.in .bar i { transform: scaleX(1); }

/* planned monsters: redacted files */
.files { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 28px; }
@media (min-width: 720px) { .files { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .files { grid-template-columns: repeat(3, 1fr); } }
.file { background: var(--bg); padding: 22px 24px; display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: start; }
.section--alt .file { background: var(--bg-2); }
.file h4 { font-size: 24px; color: var(--bone-2); }
.file p { grid-column: 1 / -1; margin: 0; font-size: 16px; color: var(--muted); }
.redact { display: inline-block; background: var(--bone-2); color: transparent; border-radius: 1px; user-select: none; line-height: 1.1; }

/* ------------------------------------------------------------------ maps */
.maps { display: grid; gap: 20px; }
@media (min-width: 720px) { .maps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .maps { grid-template-columns: repeat(6, 1fr); } .maps > :nth-child(1), .maps > :nth-child(2) { grid-column: span 3; } .maps > * { grid-column: span 2; } }
.mapc { position: relative; display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); isolation: isolate; }
.mapc__img { aspect-ratio: 16 / 10; }
.maps > :nth-child(1) .mapc__img, .maps > :nth-child(2) .mapc__img { aspect-ratio: 16 / 9; }
.mapc__img img { filter: saturate(.75) brightness(.8); }
.mapc:hover .mapc__img img { transform: scale(1.06); filter: saturate(1) brightness(1); }
.mapc::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(10, 9, 8, .95) 0%, rgba(10, 9, 8, .3) 45%, transparent 70%); pointer-events: none; }
.mapc__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px; display: grid; gap: 8px; }
.mapc__type { font: 600 11.5px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--amber); }
.mapc h3 { font-size: clamp(26px, 2.4vw, 34px); }
.mapc__desc { font-size: 16px; line-height: 1.45; color: var(--bone-2); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s var(--ease); margin: 0; }
.mapc:hover .mapc__desc, .mapc:focus-visible .mapc__desc { max-height: 6em; opacity: 1; }
@media (hover: none) { .mapc__desc { max-height: none; opacity: 1; } }
.mapc .tag { position: absolute; top: 14px; right: 14px; z-index: 2; }
.mapc--planned { display: grid; place-items: center; min-height: 220px; border-style: dashed; background: repeating-linear-gradient(135deg, var(--bg) 0 14px, var(--bg-2) 14px 28px); }
.mapc--planned::after { display: none; }
.mapc--planned .mapc__body { position: static; text-align: center; justify-items: center; }

/* ------------------------------------------------------------------ game modes */
.modes { display: grid; gap: 20px; }
@media (min-width: 720px) { .modes { grid-template-columns: repeat(2, 1fr); } }
.mode { --a: var(--blood); position: relative; display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); transition: border-color .4s var(--ease); }
.mode:hover { border-color: color-mix(in srgb, var(--a) 70%, transparent); }
.mode__img { aspect-ratio: 16 / 8; }
.mode__img img { filter: grayscale(.4) brightness(.75); }
.mode:hover .mode__img img { filter: none; transform: scale(1.04); }
.mode__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--panel), transparent 60%), linear-gradient(90deg, color-mix(in srgb, var(--a) 28%, transparent), transparent 60%); mix-blend-mode: normal; pointer-events: none; }
.mode__body { padding: 4px 26px 28px; display: grid; gap: 12px; align-content: start; margin-top: -36px; position: relative; }
.mode__n { font: 400 64px/1 var(--display); color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--a) 80%, transparent); }
.mode h3 { font-size: clamp(32px, 3vw, 42px); }
.mode p { margin: 0; font-size: 17px; }
.mode ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.mode li { position: relative; padding-left: 20px; font-size: 16px; color: var(--muted); }
.mode li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--a); }
.mode--hunt { --a: #c8161d; } .mode--btm { --a: #d9a441; } .mode--inf { --a: #5fa35a; } .mode--shift { --a: #8f5bd6; }
.planned-modes { margin-top: 40px; display: grid; gap: 1px; background: var(--line); border: 1px dashed var(--line-2); }
@media (min-width: 720px) { .planned-modes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .planned-modes { grid-template-columns: repeat(4, 1fr); } }
.pm { background: var(--bg); padding: 22px 22px 24px; display: grid; gap: 10px; align-content: start; }
.section--alt .pm { background: var(--bg-2); }
.pm h4 { font-size: 24px; color: var(--bone-2); }
.pm p { margin: 0; font-size: 16px; color: var(--muted); }

/* ------------------------------------------------------------------ build / update tabs */
.tabs { display: grid; gap: 24px; }
@media (min-width: 1080px) { .tabs { grid-template-columns: 300px 1fr; gap: 48px; } }
.tablist { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin: 0 calc(var(--pad) * -1); padding-left: var(--pad); padding-right: var(--pad); }
.tablist::-webkit-scrollbar { display: none; }
@media (min-width: 1080px) { .tablist { flex-direction: column; overflow: visible; margin: 0; padding: 0; } }
.tab { flex: none; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--bone-2); font: 400 22px/1 var(--display); text-transform: uppercase; text-align: left; cursor: pointer; transition: background .3s, border-color .3s, color .3s; }
.tab small { font: 600 11px/1 var(--body); letter-spacing: .22em; color: var(--muted); }
.tab:hover { border-color: var(--line-2); color: var(--bone); }
.tab[aria-selected="true"] { background: var(--panel); border-color: rgba(200, 22, 29, .6); color: var(--bone); }
.tab[aria-selected="true"] small { color: var(--blood-2); }
.panel { display: grid; gap: 28px; animation: panelIn .5s var(--ease); }
.panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }
@media (min-width: 1280px) { .panel { grid-template-columns: 1.15fr 1fr; align-items: start; } }
.panel__img { aspect-ratio: 4 / 3; border-radius: var(--radius); border: 1px solid var(--line); }
.panel h3 { font-size: clamp(34px, 3.4vw, 48px); margin-bottom: 14px; }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; font-size: 17px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 10px; border: 1px solid var(--blood-2); transform: rotate(45deg); }
.ticks b { color: var(--bone); font-weight: 600; }

/* full update page */
.patch { display: grid; gap: clamp(64px, 9vw, 120px); }
.patch__sec { display: grid; gap: 32px; scroll-margin-top: calc(var(--nav-h) + 80px); }
@media (min-width: 1080px) { .patch__sec { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } .patch__sec:nth-child(even) .patch__media { order: 2; } }
.patch__media { display: grid; gap: 12px; }
.patch__media .media { aspect-ratio: 16 / 10; border-radius: var(--radius); border: 1px solid var(--line); }
.patch__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.patch__thumbs .media { aspect-ratio: 16 / 10; }
.patch h2 { font-size: clamp(40px, 5vw, 68px); margin: 14px 0 16px; }
.nav.is-hidden ~ main .subnav { top: 0; }
.subnav { position: sticky; top: var(--nav-h); transition: top .4s var(--ease); z-index: 50; background: rgba(10, 9, 8, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav ol { list-style: none; margin: 0 auto; padding: 0 var(--pad); max-width: var(--wrap); display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav ol::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 16px 12px; white-space: nowrap; font: 600 13px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.subnav a:hover, .subnav a.is-active { color: var(--bone); border-color: var(--blood); }
.known { margin-top: 24px; padding: 18px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); font-size: 16px; color: var(--muted); }
.known b { display: block; margin-bottom: 6px; font: 600 12px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--amber); }
.known ul { margin: 0; padding-left: 1.1em; }

/* ------------------------------------------------------------------ news */
.news { display: grid; gap: 20px; }
@media (min-width: 720px) { .news { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .news { grid-template-columns: repeat(3, 1fr); } }
.post { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); transition: border-color .35s var(--ease), transform .45s var(--ease); }
.post:hover { border-color: var(--line-2); transform: translateY(-3px); }
.post__img { aspect-ratio: 16 / 9; }
.post__img img { filter: saturate(.8) brightness(.85); }
.post:hover .post__img img { transform: scale(1.05); filter: none; }
.post__body { padding: 22px 22px 26px; display: grid; gap: 12px; align-content: start; flex: 1; }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font: 600 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.post h3 { font-size: clamp(26px, 2.2vw, 31px); line-height: 1.02; }
.post p { margin: 0; font-size: 16.5px; color: var(--muted); }
.post a::after { content: ""; position: absolute; inset: 0; }
.news--featured { grid-template-columns: 1fr; }
@media (min-width: 1080px) { .post--feature { grid-column: 1 / -1; flex-direction: row; } .post--feature .post__img { flex: 1.3; aspect-ratio: auto; min-height: 380px; } .post--feature .post__body { flex: 1; padding: 40px; align-content: center; } .post--feature h3 { font-size: 46px; } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { height: 38px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 40px; background: transparent; color: var(--bone-2); font: 600 12.5px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.chip:hover { border-color: var(--bone-2); color: var(--bone); }
.chip[aria-pressed="true"] { background: var(--bone); color: var(--bg); border-color: var(--bone); }
.article { padding: clamp(48px, 7vw, 96px) 0; }
.article__hero { aspect-ratio: 16 / 8; border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: clamp(36px, 5vw, 56px); }
.article__grid { display: grid; gap: 48px; }
@media (min-width: 1080px) { .article__grid { grid-template-columns: 1fr 300px; } }
.aside { display: grid; gap: 14px; align-content: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
@media (min-width: 1080px) { .aside { position: sticky; top: calc(var(--nav-h) + 24px); } }
.aside h4 { font: 600 12px/1 var(--body); letter-spacing: .22em; color: var(--muted); }
.aside a.alink { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--bone-2); }
.aside a.alink:hover { color: var(--bone); }

/* ------------------------------------------------------------------ community */
.discord { position: relative; display: grid; gap: 32px; padding: clamp(32px, 5vw, 64px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; isolation: isolate; background: var(--panel); }
@media (min-width: 1080px) { .discord { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.discord__bg { position: absolute; inset: 0; z-index: -1; }
.discord__bg .media { position: absolute; inset: 0; }
.discord__bg img { filter: grayscale(.7) brightness(.3) blur(3px); transform: scale(1.05); }
.discord::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(21, 18, 15, .97) 35%, rgba(21, 18, 15, .75)), radial-gradient(60% 80% at 100% 0%, rgba(200, 22, 29, .14), transparent 70%); }
.discord h2 { font-size: clamp(44px, 6vw, 84px); margin: 16px 0 18px; }
.discord__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.discord__note { margin-top: 14px; font-size: 15px; color: var(--muted); }
.channels { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.channel { display: grid; grid-template-columns: 22px 1fr; gap: 4px 12px; padding: 16px 18px; background: rgba(10, 9, 8, .7); }
.channel span { grid-row: span 2; font: 400 20px/1 var(--display); color: var(--blood-2); }
.channel b { font: 600 15px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--bone); }
.channel small { font-size: 15px; color: var(--muted); }

/* ------------------------------------------------------------------ play / platforms */
.platforms { display: grid; gap: 20px; }
@media (min-width: 720px) { .platforms { grid-template-columns: repeat(2, 1fr); } }
.platform { display: grid; gap: 16px; align-content: start; padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.platform__icon { width: 52px; height: 52px; color: var(--bone); }
.platform h3 { font-size: 36px; }
.platform dl { margin: 6px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 16px; }
.platform dt { font: 600 12px/1.9 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.platform dd { margin: 0; color: var(--bone-2); }
.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; background: var(--bg); padding: 26px 24px; }
.steps li::before { content: "0" counter(s); display: block; margin-bottom: 18px; font: 400 40px/1 var(--display); color: var(--blood-2); }
.steps b { display: block; margin-bottom: 6px; font: 400 22px/1.05 var(--display); text-transform: uppercase; color: var(--bone); }
.steps span { font-size: 16px; color: var(--muted); }
.statusbar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding: 20px 24px; margin-bottom: 28px; border: 1px solid rgba(200, 22, 29, .4); border-radius: var(--radius); background: linear-gradient(90deg, rgba(200, 22, 29, .1), transparent); }
.statusbar p { margin: 0; color: var(--bone); }

/* ------------------------------------------------------------------ detail pages (monster / map) */
.detail { display: grid; gap: clamp(36px, 5vw, 64px); }
@media (min-width: 1080px) { .detail { grid-template-columns: 1.25fr 1fr; align-items: start; } }
.facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 18px; background: var(--bg-2); font-size: 16.5px; }
.fact dt { font: 600 12px/1.8 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.fact dd { margin: 0; color: var(--bone); }
.abilities { display: grid; gap: 14px; margin-top: 8px; }
.ability { padding: 20px 22px; border: 1px solid var(--line); border-left: 2px solid var(--blood); border-radius: var(--radius); background: var(--panel); }
.ability b { display: block; font: 400 24px/1 var(--display); text-transform: uppercase; color: var(--bone); margin-bottom: 8px; }
.ability p { margin: 0; font-size: 16.5px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pager a { display: grid; gap: 8px; padding: 30px var(--pad); background: var(--bg); transition: background .3s; }
.pager a:hover { background: var(--panel); }
.pager a:last-child { text-align: right; }
.pager small { font: 600 12px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.pager b { font: 400 clamp(24px, 3vw, 40px)/1 var(--display); text-transform: uppercase; color: var(--bone); }

/* gallery + lightbox */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 1080px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery button { position: relative; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: none; cursor: zoom-in; overflow: hidden; aspect-ratio: 16 / 10; }
.gallery button .media { position: absolute; inset: 0; }
.gallery button:hover img { transform: scale(1.06); }
.gallery--lead button:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.lightbox { position: fixed; inset: 0; z-index: 150; display: grid; grid-template-rows: 1fr auto; padding: 56px 16px 20px; background: rgba(5, 5, 4, .96); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 100%; margin: auto; object-fit: contain; align-self: center; border: 1px solid var(--line); }
.lightbox figcaption { padding: 14px 0 0; text-align: center; font-size: 15px; color: var(--bone-2); }
.lightbox__btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; background: rgba(10, 9, 8, .6); color: var(--bone); cursor: pointer; font: 400 24px/1 var(--body); }
.lightbox__btn:hover { border-color: var(--bone); }
.lightbox__close { top: 10px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; } .lightbox__next { right: 12px; top: 50%; }

/* ------------------------------------------------------------------ CTA band + footer */
.band { position: relative; padding: clamp(90px, 12vw, 160px) 0; overflow: hidden; isolation: isolate; text-align: center; }
.band__bg { position: absolute; inset: 0; z-index: -2; }
.band__bg .media { position: absolute; inset: 0; }
.band__bg img { filter: saturate(.6) brightness(.45); }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 50% 50%, rgba(10, 9, 8, .3), var(--bg) 85%); }
.band h2 { font-size: clamp(50px, 9vw, 130px); margin: 18px 0 26px; }
.band .hero__actions { justify-content: center; }
.foot { border-top: 1px solid var(--line); padding: 64px 0 36px; background: var(--bg); }
.foot__grid { display: grid; gap: 40px; }
@media (min-width: 720px) { .foot__grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.foot .brand { margin-bottom: 18px; }
.foot .brand img { width: 52px; height: 52px; }
.foot .brand b { font-size: 34px; }
.foot h4 { font: 600 12px/1 var(--body); letter-spacing: .22em; color: var(--muted); margin-bottom: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { color: var(--bone-2); font-size: 16.5px; }
.foot a:hover { color: var(--bone); }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* 404 */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--nav-h) var(--pad) 40px; }
.nf h1 { font-size: clamp(90px, 22vw, 260px); color: var(--blood-2); }
.nf img { width: 110px; margin: 0 auto 10px; }
