/* Neravia – crawlable intro (the <main class="nv-about"> generated by Assets/Vicus/Editor/SeoSite.cs).
   Game page: a scroll panel under the centred loading box while the game downloads; it goes away once the game runs
   (body.loaded) – the same text for every visitor and every crawler, nothing hidden before that.
   /en/ /fr/ /ar/: the same block as a normal page. No script, no web fonts, every image in a fixed box → no layout shift. */
.nv-about { box-sizing: border-box; color: #ead9b4; font-family: Georgia, "Times New Roman", serif; line-height: 1.55; font-size: 16px; }
.nv-about *, .nv-about *::before, .nv-about *::after { box-sizing: inherit; }
.nv-about[dir="rtl"] { font-family: "Segoe UI", Tahoma, "Noto Naskh Arabic", "Geeza Pro", Arial, sans-serif; }

/* Game page: below the loading box (#unity-loading is centred, about 140 px tall), above the idle canvas, under the consent card. */
#unity-container ~ .nv-about {
  position: fixed; left: 0; right: 0; top: calc(50% + 84px); bottom: 0; z-index: 1;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y;
  padding: 16px max(16px, var(--vicus-sar, 0px)) calc(32px + var(--vicus-sab, 0px)) max(16px, var(--vicus-sal, 0px));
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 20px); mask-image: linear-gradient(to bottom, transparent 0, #000 20px);
}
#unity-container ~ .nv-about > * { max-width: 960px; margin-left: auto; margin-right: auto; }
body.loaded .nv-about { display: none; }

/* Static language pages */
body.nv-page { margin: 0; background: #1a120b; }
body.nv-page .nv-about { max-width: 992px; margin: 0 auto; padding: 24px 16px 48px; }

.nv-about h1 { font-size: clamp(24px, 4.2vw, 36px); line-height: 1.2; color: #c9a227; margin: 8px 0 10px; letter-spacing: .02em; text-shadow: 0 2px 6px rgba(0, 0, 0, .7); }
.nv-about h2 { font-size: clamp(20px, 3vw, 26px); color: #c9a227; margin: 32px 0 12px; padding-bottom: 4px; border-bottom: 1px solid rgba(201, 162, 39, .4); }
.nv-about h3 { font-size: 17px; margin: 0 0 6px; color: #f3e6c4; }
.nv-about p { margin: 0 0 12px; }
.nv-about a { color: #e7c253; }
.nv-about a:focus-visible { outline: 3px solid #c9a227; outline-offset: 2px; }
.nv-lead { font-size: 18px; max-width: 70ch; }

.nv-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.nv-cta { display: inline-block; padding: 12px 22px; min-height: 44px; background: #8e1b1b; color: #fff3d6 !important; border: 2px solid #c9a227; border-radius: 10px; font-size: 18px; font-weight: bold; text-decoration: none; box-shadow: 0 4px 14px rgba(0, 0, 0, .5); }
.nv-cta:hover { filter: brightness(1.12); }
.nv-cta-note { font-size: 15px; color: #d9c79f; }

.nv-keyart { display: block; width: 100%; max-width: 640px; height: auto; aspect-ratio: 800 / 437; margin: 8px 0 0; border: 2px solid #c9a227; border-radius: 10px; background: #2a1c11; }

.nv-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.nv-features li { background: rgba(58, 38, 23, .6); border: 1px solid rgba(201, 162, 39, .35); border-radius: 10px; padding: 12px 14px; }
.nv-features p { margin: 0; font-size: 15px; }

.nv-classes, .nv-dungeons { margin: 0; padding-inline-start: 20px; }
.nv-classes li, .nv-dungeons li { margin-bottom: 6px; }
.nv-bosses { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.nv-bosses li { background: rgba(58, 38, 23, .6); border: 1px solid rgba(201, 162, 39, .3); border-radius: 999px; padding: 3px 12px; font-size: 14px; }

.nv-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.nv-gallery figure { margin: 0; padding: 8px; text-align: center; background: #2a1c11; border: 1px solid rgba(201, 162, 39, .35); border-radius: 10px; }
.nv-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }
.nv-gallery figcaption { margin-top: 4px; font-size: 14px; color: #d9c79f; }

.nv-faq h3 { margin-top: 16px; }

.nv-foot { margin-top: 32px; padding-top: 12px; border-top: 1px solid rgba(201, 162, 39, .3); font-size: 15px; }
.nv-foot nav { margin-bottom: 8px; }
.nv-note { color: #b9a67f; font-size: 14px; }

@media (max-width: 600px) {
  .nv-lead { font-size: 16px; }
  .nv-about h2 { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) { .nv-cta { transition: none; } }
