:root {
  --nv-bg: #06080c;
  --nv-panel: #0e131b;
  --nv-panel-2: #151b25;
  --nv-text: #f4f7fb;
  --nv-muted: #9ba6b4;
  --nv-accent: #caff3d;
  --nv-accent-2: #72e7ff;
  --nv-line: rgba(255,255,255,.12);
  --nv-max: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site {
  margin: 0;
  color: var(--nv-text);
  background: var(--nv-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
.container-header {
  position: relative;
  z-index: 20;
  background: rgba(6,8,12,.96);
  border-bottom: 1px solid var(--nv-line);
  box-shadow: none;
}
.container-header .grid-child { max-width: var(--nv-max); }
.container-header .navbar-brand { padding: 1rem 0; }
.container-header .navbar-brand a,
.container-header .site-description {
  color: var(--nv-text);
  font-size: clamp(1.35rem,2.5vw,2rem);
  font-weight: 950;
  letter-spacing: .12em;
  text-decoration: none;
}
.container-header .navbar-brand a::first-letter { color: var(--nv-accent); }
.container-header .container-nav { padding: 0; }
.container-header .mod-menu { gap: .3rem; }
.container-header .mod-menu > li > a {
  color: var(--nv-muted);
  padding: 1rem .8rem;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li.active > a { color: var(--nv-accent); }
.container-topbar {
  padding: .35rem 0;
  background: #090c12;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mod-languages ul { margin: 0; gap: .25rem; }
.mod-languages li { display: inline-flex; }
.mod-languages a,
.mod-languages span.lang-active {
  display: inline-flex;
  min-width: 2.5rem;
  justify-content: center;
  padding: .32rem .55rem;
  border: 1px solid var(--nv-line);
  color: var(--nv-muted);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
}
.mod-languages .lang-active a,
.mod-languages a:hover { border-color: var(--nv-accent); color: var(--nv-accent); }
.site-grid { display: block; }
.site-grid .grid-child,
.container-component { max-width: none; padding: 0; margin: 0; }
main { margin: 0; }
.item-page:has(.nv-home) > .page-header,
.item-page:has(.nv-home) > .article-info,
.item-page:has(.nv-home) > .icons { display: none; }
.nv-home { overflow: hidden; background: var(--nv-bg); color: var(--nv-text); }
.nv-home h1,
.nv-home h2,
.nv-home h3,
.nv-home p { margin-top: 0; }
.nv-hero {
  position: relative;
  display: flex;
  min-height: min(760px, calc(100vh - 110px));
  flex-direction: column;
  justify-content: center;
  padding: clamp(5rem,10vw,9rem) max(5vw, calc((100vw - var(--nv-max))/2));
  background:
    linear-gradient(90deg, rgba(6,8,12,.98) 0%, rgba(6,8,12,.78) 52%, rgba(6,8,12,.4) 100%),
    radial-gradient(circle at 82% 35%, rgba(202,255,61,.22), transparent 22%),
    radial-gradient(circle at 70% 70%, rgba(114,231,255,.14), transparent 28%),
    repeating-linear-gradient(125deg, transparent 0 38px, rgba(255,255,255,.018) 39px 40px);
  border-bottom: 1px solid var(--nv-line);
}
.nv-hero::after {
  content: "NEXVALTOR";
  position: absolute;
  right: -1.5vw;
  bottom: -2vw;
  color: rgba(255,255,255,.025);
  font-size: clamp(5rem,16vw,14rem);
  font-weight: 1000;
  letter-spacing: -.06em;
  line-height: .8;
  pointer-events: none;
}
.nv-kicker,
.nv-section-head > span,
.nv-cta > span {
  color: var(--nv-accent);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .22em;
}
.nv-kicker::before { content: ""; display: inline-block; width: 2.8rem; height: 2px; margin: 0 .8rem .22rem 0; background: var(--nv-accent); }
.nv-hero h1 {
  max-width: 1000px;
  margin: 1.5rem 0;
  font-size: clamp(3.15rem,8vw,7.8rem);
  font-weight: 1000;
  letter-spacing: -.065em;
  line-height: .82;
  text-transform: uppercase;
}
.nv-hero h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1px rgba(244,247,251,.6); }
.nv-lead { max-width: 700px; color: var(--nv-muted); font-size: clamp(1rem,1.7vw,1.3rem); line-height: 1.7; }
.nv-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.2rem; }
.nv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0 1.5rem;
  border: 1px solid var(--nv-line);
  font-size: .75rem;
  font-weight: 950;
  letter-spacing: .11em;
  text-decoration: none;
  transition: .2s ease;
}
.nv-primary { border-color: var(--nv-accent); background: var(--nv-accent); color: #071000; }
.nv-primary:hover { background: #e0ff8b; color: #071000; transform: translateY(-2px); }
.nv-ghost:hover { border-color: var(--nv-text); color: var(--nv-text); transform: translateY(-2px); }
.nv-status { margin-top: 2.2rem; color: var(--nv-muted); font-size: .7rem; font-weight: 800; letter-spacing: .14em; }
.nv-status span { display: inline-block; width: .55rem; height: .55rem; margin-right: .6rem; border-radius: 50%; background: var(--nv-accent); box-shadow: 0 0 16px var(--nv-accent); }
.nv-section { padding: clamp(5rem,9vw,9rem) max(5vw, calc((100vw - var(--nv-max))/2)); }
.nv-section-head { display: grid; grid-template-columns: minmax(150px,.35fr) 1fr; gap: 2rem; align-items: start; margin-bottom: 3.5rem; }
.nv-section-head h2,
.nv-cta h2 { margin: 0; font-size: clamp(2.4rem,5vw,5.3rem); font-weight: 1000; letter-spacing: -.05em; line-height: .94; }
.nv-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; background: var(--nv-line); border: 1px solid var(--nv-line); }
.nv-card { min-height: 360px; padding: clamp(2rem,4vw,3.5rem); background: var(--nv-panel); transition: .25s ease; }
.nv-card:hover { background: var(--nv-panel-2); transform: translateY(-4px); }
.nv-card.nv-featured { background: linear-gradient(145deg, rgba(202,255,61,.10), transparent 55%), var(--nv-panel); }
.nv-card-tag { margin-bottom: 5rem; color: var(--nv-accent); font-size: .68rem; font-weight: 900; letter-spacing: .16em; }
.nv-card h3 { margin-bottom: 1rem; font-size: clamp(1.6rem,3vw,2.7rem); font-weight: 950; letter-spacing: -.03em; }
.nv-card p { max-width: 560px; color: var(--nv-muted); line-height: 1.7; }
.nv-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.nv-meta span { padding: .45rem .65rem; border: 1px solid var(--nv-line); color: #cbd3dc; font-size: .62rem; font-weight: 800; letter-spacing: .1em; }
.nv-studio { background: #0a0d13; border-block: 1px solid var(--nv-line); }
.nv-studio > p { max-width: 840px; margin-left: auto; color: var(--nv-muted); font-size: clamp(1.05rem,2vw,1.45rem); line-height: 1.8; }
.nv-values { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 4rem; border-top: 1px solid var(--nv-line); }
.nv-values div { display: flex; flex-direction: column; gap: 2rem; padding: 2rem 1rem 1rem 0; border-right: 1px solid var(--nv-line); }
.nv-values div:last-child { border-right: 0; }
.nv-values strong { color: var(--nv-accent); font-size: .7rem; }
.nv-values span { font-weight: 900; letter-spacing: .08em; }
.nv-cta { padding: clamp(6rem,12vw,11rem) max(5vw, calc((100vw - var(--nv-max))/2)); text-align: center; background: radial-gradient(circle at 50% 50%, rgba(202,255,61,.12), transparent 38%); }
.nv-cta h2 { margin: 1rem 0; }
.nv-cta p { color: var(--nv-muted); }
.container-footer { background: #05070a; border-top: 1px solid var(--nv-line); color: var(--nv-muted); }
@media (max-width: 820px) {
  .container-header .grid-child { padding-inline: 1rem; }
  .container-header .container-nav { padding-bottom: .8rem; }
  .nv-hero { min-height: 680px; }
  .nv-section-head { grid-template-columns: 1fr; gap: 1rem; }
  .nv-grid { grid-template-columns: 1fr; }
  .nv-card { min-height: 320px; }
  .nv-card-tag { margin-bottom: 3rem; }
  .nv-values { grid-template-columns: 1fr; }
  .nv-values div { border-right: 0; border-bottom: 1px solid var(--nv-line); }
}
@media (max-width: 520px) {
  .nv-hero h1 { font-size: clamp(2.7rem,14vw,4rem); }
  .nv-btn { width: 100%; }
  .nv-section, .nv-cta { padding-inline: 1.2rem; }
}
.mod-languages a { font-size: 0; }
.mod-languages a::after { font-size: .68rem; }
.mod-languages a[href*="/sr"]::after { content: "SR"; }
.mod-languages a[href*="/en"]::after { content: "EN"; }

.container-header .navbar-brand img { display:block; width:auto; height:auto; max-width:min(520px,74vw); max-height:96px; object-fit:contain; }
.container-header .navbar-brand { display:flex; align-items:center; }
.container-header .site-description { display:none; }
@media (max-width:820px) { .container-header .navbar-brand img { max-height:72px; max-width:78vw; } }

/* NEXVALTOR footer and anchor accessibility */
.container-footer > .grid-child { display:block; width:100%; max-width:var(--nv-max,1440px); margin-inline:auto; padding:1rem max(5vw,1.2rem); }
.container-footer .mod-custom { width:100%; min-width:0; }
.nv-footer nav a { display:inline-flex; align-items:center; min-height:44px; text-decoration:none; font-size:.9rem; font-weight:700; }
.nv-footer a:hover { text-decoration:underline; text-underline-offset:5px; }
.nv-footer a:focus-visible { outline:2px solid var(--nv-accent); outline-offset:5px; }
.nv-section[id] { scroll-margin-top:12rem; }
@media(max-width:820px) { .nv-footer > div { flex-direction:column; } .nv-footer nav { width:100%; } .nv-section[id] { scroll-margin-top:16rem; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .nv-card,.nv-btn { transition:none; } }

/* Keep game artwork and titles aligned as the catalogue grows. */
.nv-card-media img { display:block; width:100%; height:clamp(220px,23vw,300px); object-fit:cover; }
.nv-card-media + div .nv-card-tag { margin-bottom:1.5rem; }

