﻿/* =================================================================
   NOVA — Modern Light Gaming Portal Design System
   Full refactor of the legacy VOLT dark/neon theme.
   All class names use the `nv-` namespace.
   ================================================================= */

/* ---------- Design tokens ---------- */
:root {
  --nv-bg: #f3f5fb;
  --nv-bg-2: #e9edf7;
  --nv-surface: #ffffff;
  --nv-surface-2: #f7f9fd;
  --nv-line: #e6e9f3;
  --nv-line-2: #d7dceb;

  --nv-ink: #141932;
  --nv-text: #545b73;
  --nv-muted: #8a90a6;

  --nv-primary: #6d5dfc;
  --nv-primary-d: #5848e8;
  --nv-accent: #ff5d8f;
  --nv-accent-2: #19c2a0;
  --nv-amber: #ffb020;
  --nv-success: #16b981;
  --nv-danger: #ff5470;

  --nv-grad: linear-gradient(135deg, #6d5dfc 0%, #ff5d8f 100%);
  --nv-grad-2: linear-gradient(135deg, #19c2a0 0%, #6d5dfc 100%);
  --nv-grad-soft: linear-gradient(135deg, rgba(109, 93, 252, .12), rgba(255, 93, 143, .08));

  --nv-shadow-sm: 0 1px 2px rgba(20, 25, 55, .06);
  --nv-shadow: 0 14px 34px rgba(20, 25, 55, .08);
  --nv-shadow-lg: 0 30px 64px rgba(20, 25, 55, .14);
  --nv-shadow-card: 0 0 0 1px var(--nv-line), 0 10px 24px rgba(20, 25, 55, .05);
  --nv-shadow-card-hover: 0 0 0 1px rgba(109, 93, 252, .35), 0 22px 46px rgba(109, 93, 252, .18);

  --nv-r-xs: 10px;
  --nv-r-sm: 14px;
  --nv-r: 18px;
  --nv-r-lg: 24px;
  --nv-r-pill: 999px;

  --nv-header-h: 72px;
  --nv-genrebar-h: 60px;
  --nv-shell: 100%;

  --nv-font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  --nv-display: "Space Grotesk", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* legacy aliases still referenced by inline JS */
:root {
  --vx-grad: var(--nv-grad);
  --vx-muted: var(--nv-muted);
  --vx-text: var(--nv-text);
  --pl-text: var(--nv-text);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--nv-font);
  background:
    radial-gradient(1200px 600px at 100% -10%, rgba(109, 93, 252, .10), transparent 60%),
    radial-gradient(1000px 500px at -10% 0%, rgba(255, 93, 143, .08), transparent 55%),
    var(--nv-bg);
  color: var(--nv-text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4, h5 { font-family: var(--nv-display); color: var(--nv-ink); font-weight: 700; line-height: 1.2; margin: 0; }
input, textarea, select { font-family: inherit; font-size: 15px; }
::selection { background: rgba(109, 93, 252, .25); }

/* ---------- Layout shell (no fixed sidebar) ---------- */
.nv-shell { min-height: 100vh; display: flex; flex-direction: column; }
.nv-main { flex: 1; display: flex; flex-direction: column; }
.nv-body { width: 100%; }
.nv-container { width: 100%; max-width: var(--nv-shell); margin: 0 auto; padding: 26px 16px 56px; }
.nv-wrap { max-width: var(--nv-shell); margin: 0 auto; padding: 40px 16px; }
.nv-narrow { max-width: 1120px; margin: 0 auto; }

/* ---------- Buttons ---------- */
.nv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 14px; padding: 11px 20px; border-radius: var(--nv-r-pill);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.nv-btn:active { transform: translateY(1px) scale(.99); }
.nv-btn--primary { background: var(--nv-grad); color: #fff; box-shadow: 0 10px 22px rgba(109, 93, 252, .30); }
.nv-btn--primary:hover { box-shadow: 0 14px 30px rgba(109, 93, 252, .42); transform: translateY(-2px); }
.nv-btn--ghost { background: var(--nv-surface); color: var(--nv-ink); box-shadow: var(--nv-shadow-sm); border: 1px solid var(--nv-line); }
.nv-btn--ghost:hover { border-color: var(--nv-primary); color: var(--nv-primary); }
.nv-btn--signin { background: var(--nv-ink); color: #fff; }
.nv-btn--signin:hover { background: #000; transform: translateY(-1px); }
.nv-btn--danger { background: var(--nv-danger); color: #fff; }
.nv-btn--block { width: 100%; }

/* ---------- Header ---------- */
.nv-header {
  position: sticky; top: 0; z-index: 60;
  height: auto;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--nv-line);
}
.nv-header__inner {
  max-width: var(--nv-shell); margin: 0 auto; height: var(--nv-header-h);
  display: flex; align-items: center; gap: 18px; padding: 0 16px;
}
.nv-header__brand { display: flex; align-items: center; gap: 10px; font-family: var(--nv-display); font-weight: 800; font-size: 20px; color: var(--nv-ink); flex-wrap: nowrap; white-space: nowrap; }
.nv-header__logo {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--nv-grad); color: #fff; font-size: 20px; box-shadow: 0 8px 18px rgba(109, 93, 252, .35);
}
.nv-header__name { letter-spacing: -.02em; }
.logo-img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; flex-shrink: 0; display: block; }
.nv-header__nav { display: flex; align-items: center; gap: 4px; margin-left: 6px; }
.nv-header__link {
  padding: 9px 14px; border-radius: var(--nv-r-pill); font-weight: 600; font-size: 14px;
  color: var(--nv-text); transition: background .18s, color .18s;
}
.nv-header__link:hover { background: var(--nv-surface-2); color: var(--nv-ink); }
.nv-header__link.nv-active { background: var(--nv-grad-soft); color: var(--nv-primary-d); }
.nv-header__search { position: relative; margin-left: auto; flex: 0 1 320px; }
.nv-header__search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--nv-muted); }
.nv-header__search input {
  width: 100%; height: 44px; border-radius: var(--nv-r-pill); border: 1px solid var(--nv-line);
  background: var(--nv-surface-2); padding: 0 18px 0 44px; color: var(--nv-ink); outline: none; transition: border .18s, background .18s, box-shadow .18s;
}
.nv-header__search input:focus { border-color: var(--nv-primary); background: #fff; box-shadow: 0 0 0 4px rgba(109, 93, 252, .14); }
.nv-header__toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; margin-left: 6px; }
.nv-header__toggle span { width: 22px; height: 2px; background: var(--nv-ink); border-radius: 2px; transition: .25s; }

.nv-header__drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 300px; max-width: 86vw; z-index: 70;
  background: var(--nv-surface); box-shadow: var(--nv-shadow-lg); transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1); display: flex; flex-direction: column;
}
.nv-header__drawer.nv-open { transform: translateX(0); }
.nv-header__drawer-inner { padding: 78px 22px 22px; overflow-y: auto; height: 100%; }
.nv-header__drawer .nv-header__link { display: block; padding: 13px 16px; font-size: 16px; }
.nv-header__drawer-div { height: 1px; background: var(--nv-line); margin: 16px 0; }
.nv-header__drawer-cats h5 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--nv-muted); margin: 0 0 10px; }
.nv-header__catlink { display: block; padding: 9px 14px; border-radius: var(--nv-r-sm); color: var(--nv-text); font-weight: 600; }
.nv-header__catlink:hover { background: var(--nv-surface-2); color: var(--nv-ink); }
.nv-header__backdrop {
  position: fixed; inset: 0; background: rgba(15, 18, 36, .42); z-index: 65; opacity: 0; visibility: hidden; transition: .25s;
}
.nv-header__backdrop.nv-show { opacity: 1; visibility: visible; }

/* ---------- Genre pill bar (inside header) ---------- */
.nv-genrebar {
  background: transparent; border-top: 1px solid var(--nv-line); position: relative; z-index: 1;
}
.nv-genrebar__inner { max-width: var(--nv-shell); margin: 0 auto; padding: 10px 16px; display: flex; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.nv-genrebar__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.nv-chip {
  font-size: 13px; font-weight: 600; padding: 6px 13px; border-radius: var(--nv-r-pill);
  background: var(--nv-surface-2); color: var(--nv-text); border: 1px solid var(--nv-line); transition: .18s;
}
.nv-chip:hover { border-color: var(--nv-primary); color: var(--nv-primary-d); }
.nv-genrebar__cats {
  display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 2px; flex: 1 1 auto; min-width: 0;
}
.nv-genre {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px;
  padding: 9px 16px; border-radius: var(--nv-r-pill); color: var(--nv-ink);
  background: var(--nv-surface-2); border: 1px solid var(--nv-line); transition: .18s;
}
.nv-genre:hover { transform: translateY(-2px); border-color: transparent; box-shadow: var(--nv-shadow-card); }
.nv-genre.nv-active { background: var(--nv-grad); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(109, 93, 252, .3); }

/* ---------- Hero ---------- */
.nv-hero { position: relative; overflow: hidden; border-radius: var(--nv-r-lg); margin-bottom: 34px; }
.nv-hero__bg { position: absolute; inset: 0; background: var(--nv-grad); }
.nv-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(420px 320px at 85% 20%, rgba(255, 255, 255, .22), transparent 60%),
    radial-gradient(380px 300px at 10% 90%, rgba(255, 255, 255, .15), transparent 60%);
}
.nv-hero__inner { position: relative; padding: 56px 24px; color: #fff; text-align: center; }
.nv-hero__kicker {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; letter-spacing: .04em;
  background: rgba(255, 255, 255, .18); padding: 7px 16px; border-radius: var(--nv-r-pill); margin-bottom: 18px;
}
.nv-hero__title { font-size: clamp(30px, 5vw, 48px); color: #fff; letter-spacing: -.02em; }
.nv-hero__desc { max-width: 620px; margin: 16px auto 0; color: rgba(255, 255, 255, .88); font-size: 16px; }
.nv-hero__stats { display: flex; justify-content: center; gap: 40px; margin-top: 30px; flex-wrap: wrap; }
.nv-stat { text-align: center; }
.nv-stat__num { font-family: var(--nv-display); font-size: 30px; font-weight: 800; }
.nv-stat__label { font-size: 13px; color: rgba(255, 255, 255, .82); }
.nv-hero__actions { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.nv-hero__actions .nv-btn--ghost { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .4); }
.nv-hero__actions .nv-btn--ghost:hover { background: rgba(255, 255, 255, .24); }
.nv-hero__actions .nv-btn--primary { background: #fff; color: var(--nv-primary-d); box-shadow: 0 12px 28px rgba(0, 0, 0, .18); }

/* ---------- Modules / cards ---------- */
.nv-modules { display: flex; flex-direction: column; gap: 20px; }
.nv-module__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.nv-module__title { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.nv-module__more { font-weight: 700; font-size: 14px; color: var(--nv-primary-d); padding: 8px 16px; border-radius: var(--nv-r-pill); border: 1px solid var(--nv-line); transition: .18s; }
.nv-module__more:hover { background: var(--nv-grad-soft); border-color: var(--nv-primary); }

.nv-rail {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.nv-card {
  position: relative; background: var(--nv-surface); border-radius: var(--nv-r); overflow: hidden;
  box-shadow: var(--nv-shadow-card); transition: transform .2s ease, box-shadow .2s ease; border: 1px solid var(--nv-line);
}
.nv-card:hover { transform: translateY(-6px); box-shadow: var(--nv-shadow-card-hover); }
.nv-card__thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--nv-surface-2); }
.nv-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.nv-card:hover .nv-card__thumb img { transform: scale(1.07); }
.nv-card__tags { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.nv-tag { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: var(--nv-r-pill); background: rgba(20, 25, 55, .6); color: #fff; backdrop-filter: blur(4px); }
.nv-tag--new { background: var(--nv-accent); }
.nv-tag--hot { background: var(--nv-amber); }
.nv-tag--featured { background: var(--nv-accent-2); }
.nv-card__play {
  position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%;
  background: var(--nv-grad); color: #fff; display: grid; place-items: center; font-size: 18px;
  opacity: 0; transform: scale(.8); transition: .22s ease; box-shadow: 0 10px 24px rgba(109, 93, 252, .45);
}
.nv-card:hover .nv-card__play { opacity: 1; transform: scale(1); }
.nv-card__body { padding: 14px 16px 18px; }
.nv-card__title { font-size: 16px; margin-bottom: 8px; }
.nv-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nv-card__cat { font-size: 13px; color: var(--nv-muted); margin-bottom: 8px; }
.nv-card__rating { font-size: 13px; }

/* Featured editorial block (list page) */
.nv-feat {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; border-radius: var(--nv-r-lg); overflow: hidden;
  box-shadow: var(--nv-shadow-card); border: 1px solid var(--nv-line); background: var(--nv-surface); margin-bottom: 28px;
}
.nv-feat__media { position: relative; min-height: 260px; overflow: hidden; }
.nv-feat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.nv-feat:hover .nv-feat__media img { transform: scale(1.05); }
.nv-feat__cap { position: absolute; left: 18px; bottom: 18px; }
.nv-feat__kicker { display: inline-block; font-weight: 700; font-size: 12px; letter-spacing: .04em; color: #fff; background: var(--nv-grad); padding: 6px 14px; border-radius: var(--nv-r-pill); }
.nv-feat__body { padding: 30px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.nv-feat__title { font-size: clamp(22px, 3vw, 30px); }
.nv-feat__desc { color: var(--nv-text); }
.nv-feat__rating { font-size: 14px; }
.nv-feat__cta { margin-top: 6px; align-self: flex-start; }
@media (max-width: 720px) { .nv-feat { grid-template-columns: 1fr; } .nv-feat__media { min-height: 200px; } }

/* ---------- Stars ---------- */
.nv-stars { display: inline-flex; gap: 2px; color: var(--nv-amber); font-size: 14px; line-height: 1; }
.nv-stars--lg { font-size: 18px; }
.nv-star { color: var(--nv-line-2); }
.nv-star--on { color: var(--nv-amber); }
.nv-star--half { position: relative; color: var(--nv-line-2); }
.nv-star--half::before { content: "★"; position: absolute; left: 0; top: 0; width: 50%; overflow: hidden; color: var(--nv-amber); }

/* ---------- Page heading ---------- */
.nv-pagehead { text-align: center; margin-bottom: 34px; }
.nv-pagehead--center { text-align: center; }
.nv-pagehead__kicker { display: inline-block; font-weight: 700; font-size: 13px; color: var(--nv-primary-d); background: var(--nv-grad-soft); padding: 6px 14px; border-radius: var(--nv-r-pill); margin-bottom: 14px; }
.nv-pagehead__title { font-size: clamp(26px, 4vw, 38px); letter-spacing: -.02em; }
.nv-pagehead__meta { color: var(--nv-muted); margin-top: 10px; }
.nv-pagehead__sub { color: var(--nv-muted); margin-top: 12px; font-size: 16px; }
.nv-pagehead__lead { max-width: 640px; margin: 14px auto 0; }

/* ---------- Grid pages (list/tags) ---------- */
.nv-grid-sec { display: flex; flex-direction: column; gap: 40px; }
.nv-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.nv-grid--tags { gap: 24px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

.nv-tagcard {
  position: relative; display: flex; flex-direction: column; background: var(--nv-surface); border-radius: var(--nv-r);
  overflow: hidden; box-shadow: var(--nv-shadow-card); border: 1px solid var(--nv-line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.nv-tagcard::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(109, 93, 252, 0), rgba(255, 93, 143, 0));
  opacity: 0; transition: opacity .25s ease;
}
.nv-tagcard:hover { transform: translateY(-6px); box-shadow: var(--nv-shadow-card-hover); }

.nv-tagcard__thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--nv-surface-2); }
.nv-tagcard__thumb::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20, 25, 55, 0) 45%, rgba(20, 25, 55, .32) 100%);
  opacity: 0; transition: opacity .3s ease;
}
.nv-tagcard:hover .nv-tagcard__thumb::after { opacity: 1; }
.nv-tagcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.nv-tagcard:hover .nv-tagcard__thumb img { transform: scale(1.08); }
.nv-tagcard__play {
  position: absolute; inset: 0; margin: auto; z-index: 2; width: 54px; height: 54px; border-radius: 50%;
  background: var(--nv-grad); color: #fff; display: grid; place-items: center; font-size: 18px; padding-left: 3px;
  opacity: 0; transform: scale(.7); transition: opacity .25s ease, transform .25s ease; box-shadow: 0 12px 26px rgba(109, 93, 252, .5);
}
.nv-tagcard:hover .nv-tagcard__play { opacity: 1; transform: scale(1); }

.nv-tagcard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.nv-tagcard__title { font-size: 17px; letter-spacing: -.01em; transition: color .2s ease; }
.nv-tagcard:hover .nv-tagcard__title { color: var(--nv-primary-d); }
.nv-tagcard__desc { color: var(--nv-text); font-size: 14px; line-height: 1.55; -webkit-line-clamp: 2; }
.nv-tagcard__footer {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--nv-line);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.nv-tagcard__rating { font-size: 13px; letter-spacing: 1px; }
.nv-tagcard__cat {
  font-size: 12px; font-weight: 600; color: var(--nv-primary-d); background: var(--nv-grad-soft);
  padding: 5px 11px; border-radius: var(--nv-r-pill); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%;
}

/* ---------- Pager ---------- */
.nv-pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination-container { display: flex; justify-content: center; width: 100%; }
.pagination { width: 100%; }
.pagination-list { display: flex; justify-content: center; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.pagination-item { display: inline-flex; }
.pagination-link {
  min-width: 42px; height: 42px; padding: 0 14px; border-radius: var(--nv-r-pill); display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; line-height: 1; color: var(--nv-text); background: var(--nv-surface); border: 1px solid var(--nv-line); transition: .18s;
}
a.pagination-link:hover { border-color: var(--nv-primary); color: var(--nv-primary-d); }
.pagination-item.active .pagination-link,
.pagination-link.current { background: var(--nv-grad); color: #fff; border-color: transparent; }
.pagination-link.disabled { opacity: .45; pointer-events: none; cursor: default; }

/* ---------- Breadcrumb ---------- */
.nv-crumb { margin-bottom: 18px; }
.nv-crumb ol { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--nv-muted); flex-wrap: wrap; }
.nv-crumb a:hover { color: var(--nv-primary-d); }
.nv-crumb__sep { opacity: .6; }
.nv-cur { color: var(--nv-ink); font-weight: 600; }

/* ---------- Detail page ---------- */
.nv-detail { display: flex; flex-direction: column; gap: 22px; }
.nv-detail__header { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.nv-detail__tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.nv-detail__rating { display: flex; justify-content: center; }
.nv-detail__tag { font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: var(--nv-r-pill); background: var(--nv-grad-soft); color: var(--nv-primary-d); }
.nv-detail__title { font-size: clamp(26px, 4vw, 38px); letter-spacing: -.02em; }
.nv-player { background: var(--nv-ink); border-radius: var(--nv-r-lg); overflow: hidden; box-shadow: var(--nv-shadow-lg); }
.nv-player__bar { display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: rgba(255, 255, 255, .04); color: #fff; font-weight: 700; }
.nv-player__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--nv-accent); box-shadow: 0 0 0 4px rgba(255, 93, 143, .25); }
.nv-player__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.nv-player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nv-detail__grid { display: flex; flex-direction: column; gap: 26px; align-items: stretch; }
.nv-info { background: var(--nv-surface); border-radius: var(--nv-r); border: 1px solid var(--nv-line); box-shadow: var(--nv-shadow-card); overflow: hidden; }
.nv-info__poster { aspect-ratio: 16 / 9; overflow: hidden; background: var(--nv-grad-soft); display: grid; place-items: center; }
.nv-info__poster img { width: 100%; height: 100%; object-fit: cover; }
.nv-info__emblem { font-size: 40px; }
.nv-info__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--nv-line); }
.nv-info__cell { background: var(--nv-surface); padding: 14px 16px; }
.nv-info__k { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--nv-muted); margin-bottom: 4px; }
.nv-info__v { font-weight: 700; color: var(--nv-ink); font-size: 14px; }
.nv-info__play { width: calc(100% - 32px); margin: 16px; }
.nv-info__actions { display: flex; align-items: center; gap: 14px; padding: 0 16px 18px; }
.nv-fav { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--nv-surface-2); color: var(--nv-muted); border: 1px solid var(--nv-line); transition: .18s; font-size: 18px; }
.nv-fav i:last-child { display: none; }
.nv-fav.nv-faved { background: rgba(255, 84, 112, .12); color: var(--nv-danger); border-color: transparent; }
.nv-fav.nv-faved i:first-child { display: none; }
.nv-fav.nv-faved i:last-child { display: block; }
.nv-share { display: flex; align-items: center; gap: 10px; }
.nv-share strong { font-size: 13px; color: var(--nv-ink); }
.nv-share a { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--nv-surface-2); color: var(--nv-text); border: 1px solid var(--nv-line); transition: .18s; }
.nv-share a:hover { background: var(--nv-grad); color: #fff; border-color: transparent; }

.nv-prose { color: var(--nv-text); font-size: 15px; line-height: 1.8; }
.nv-prose p { margin: 0 0 14px; }
.nv-block { background: var(--nv-surface); border-radius: var(--nv-r); border: 1px solid var(--nv-line); box-shadow: var(--nv-shadow-card); padding: 26px 28px; margin-bottom: 22px; }
.nv-block__h { font-size: 22px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.nv-sec-title { font-family: var(--nv-display); }

/* FAQ */
.nv-faq { border: 1px solid var(--nv-line); border-radius: var(--nv-r-sm); margin-bottom: 12px; background: var(--nv-surface); overflow: hidden; }
.nv-faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; color: var(--nv-ink); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.nv-faq summary::-webkit-details-marker { display: none; }
.nv-faq summary::after { content: "+"; font-size: 20px; color: var(--nv-primary); transition: .2s; }
.nv-faq[open] summary::after { content: "−"; }
.nv-faq__answer { padding: 0 20px 18px; color: var(--nv-text); }

/* Comments */
.nv-comments { background: var(--nv-surface); border-radius: var(--nv-r); border: 1px solid var(--nv-line); box-shadow: var(--nv-shadow-card); padding: 26px 28px; }
.nv-comments__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.nv-comments__head h2 { font-size: 22px; }
.nv-comments__count { font-size: 13px; color: var(--nv-muted); font-weight: 600; }
.nv-cform { background: var(--nv-surface-2); border: 1px solid var(--nv-line); border-radius: var(--nv-r-sm); padding: 16px; margin-bottom: 22px; }
.nv-cform__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.nv-cform__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--nv-grad); color: #fff; display: grid; place-items: center; font-weight: 700; overflow: hidden; }
.nv-cform__author { font-weight: 700; color: var(--nv-ink); }
.nv-cform__rating { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.nv-cform__rating label { font-size: 13px; color: var(--nv-muted); font-weight: 600; }
.nv-star-btn { font-size: 22px; color: var(--nv-line-2); transition: .15s; }
.nv-star-btn.nv-on { color: var(--nv-amber); }
.nv-cform textarea { width: 100%; min-height: 90px; border: 1px solid var(--nv-line); border-radius: var(--nv-r-sm); padding: 12px 14px; resize: vertical; outline: none; background: #fff; color: var(--nv-ink); }
.nv-cform textarea:focus { border-color: var(--nv-primary); box-shadow: 0 0 0 4px rgba(109, 93, 252, .12); }
.nv-cform__foot { display: flex; justify-content: flex-end; margin-top: 12px; }
.nv-login-hint { background: var(--nv-grad-soft); border: 1px solid rgba(109, 93, 252, .3); border-radius: var(--nv-r-sm); padding: 16px; text-align: center; color: var(--nv-ink); font-weight: 600; }
.nv-login-hint a { color: var(--nv-primary-d); text-decoration: underline; }
.nv-comment { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--nv-line); }
.nv-comment__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--nv-grad-2); color: #fff; display: grid; place-items: center; font-weight: 700; overflow: hidden; flex: 0 0 auto; }
.nv-comment__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nv-comment__author { font-weight: 700; color: var(--nv-ink); }
.nv-comment__date { font-size: 12px; color: var(--nv-muted); }
.nv-comment__stars { font-size: 13px; margin-left: auto; }
.nv-comment__body { margin-top: 6px; color: var(--nv-text); }

/* Sidebar (related) — placed below main content in vertical layout */
.nv-side { display: flex; flex-direction: column; gap: 22px; }
.nv-sideblk { background: var(--nv-surface); border-radius: var(--nv-r); border: 1px solid var(--nv-line); box-shadow: var(--nv-shadow-card); padding: 18px 20px; }
.nv-sideblk__h { font-size: 17px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.nv-sideblk__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.nv-sideblk__item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--nv-r-sm); transition: .18s; }
.nv-sideblk__item:hover { background: var(--nv-surface-2); }
.nv-sideblk__rank { width: 26px; font-family: var(--nv-display); font-weight: 800; color: var(--nv-primary); text-align: center; flex: 0 0 auto; }
.nv-sideblk__thumb { width: 56px; height: 42px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; background: var(--nv-surface-2); }
.nv-sideblk__name { font-weight: 700; font-size: 14px; color: var(--nv-ink); }
.nv-sideblk__sub { font-size: 12px; color: var(--nv-muted); }

.nv-detail__main { display: flex; flex-direction: column; gap: 22px; }
.nv-sideblk__info { display: flex; flex-direction: column; min-width: 0; }

/* ---------- Footer ---------- */
.nv-foot { background: var(--nv-ink); color: rgba(255, 255, 255, .72); margin-top: auto; width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.nv-foot__inner { max-width: var(--nv-shell); margin: 0 auto; padding: 52px 20px 28px; }
.nv-foot__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.nv-foot__brand { display: flex; flex-direction: column; gap: 14px; }
.nv-foot__logo { display: flex; align-items: center; gap: 10px; font-family: var(--nv-display); font-weight: 800; font-size: 20px; color: #fff; }
.nv-foot__logo span { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--nv-grad); }
.nv-foot__desc { font-size: 14px; max-width: 320px; }
.nv-foot__news { margin-top: 6px; display: flex; gap: 8px; }
.nv-foot__news input { flex: 1; height: 42px; border-radius: var(--nv-r-pill); border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff; padding: 0 16px; outline: none; }
.nv-foot__news input::placeholder { color: rgba(255, 255, 255, .5); }
.nv-foot__cols { display: contents; }
.nv-foot__colh { font-family: var(--nv-display); font-size: 14px; font-weight: 700; line-height: 1.2; color: #fff; margin: 0 0 14px; }
.nv-foot__col a { display: block; padding: 6px 0; color: rgba(255, 255, 255, .7); font-size: 14px; transition: color .18s, padding-left .18s; }
.nv-foot__col a:hover { color: #fff; padding-left: 4px; }
.nv-foot__social { display: flex; gap: 10px; margin-top: 16px; }
.nv-foot__social a { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: .18s; }
.nv-foot__social a:hover { background: var(--nv-grad); transform: translateY(-3px); }
.nv-foot__bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 36px; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.nv-foot__links { display: flex; gap: 18px; flex-wrap: wrap; }
.nv-foot__links a:hover { color: #fff; }

/* ---------- Search overlay ---------- */
.nv-search { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; background: rgba(15, 18, 36, .55); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: .25s; }
.nv-search.nv-show { opacity: 1; visibility: visible; }
.nv-search__inner { width: min(880px, 94vw); margin: 6vh auto 0; background: var(--nv-surface); border-radius: var(--nv-r-lg); box-shadow: var(--nv-shadow-lg); overflow: hidden; transform: translateY(-16px); transition: .3s; max-height: 88vh; display: flex; flex-direction: column; position: relative; z-index: 1; }
.nv-search.nv-show .nv-search__inner { transform: translateY(0); }
.nv-search__head { display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--nv-line); }
.nv-search__brand { display: flex; align-items: center; gap: 10px; font-family: var(--nv-display); font-weight: 800; color: var(--nv-ink); }
.nv-search__logo { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--nv-grad); color: #fff; }
.nv-search__close { margin-left: auto; width: 40px; height: 40px; border-radius: 12px; background: var(--nv-surface-2); color: var(--nv-ink); font-size: 18px; display: grid; place-items: center; }
.nv-search__close:hover { background: var(--nv-line); }
.nv-search__bar { display: flex; gap: 10px; padding: 18px 22px; border-bottom: 1px solid var(--nv-line); }
.nv-search__input { flex: 1; height: 48px; border-radius: var(--nv-r-pill); border: 1px solid var(--nv-line); background: var(--nv-surface-2); padding: 0 20px; font-size: 16px; color: var(--nv-ink); outline: none; }
.nv-search__input:focus { border-color: var(--nv-primary); background: #fff; box-shadow: 0 0 0 4px rgba(109, 93, 252, .14); }
.nv-search__btn { padding: 0 24px; }
.nv-search__hint { padding: 8px 22px 0; font-size: 13px; color: var(--nv-muted); }
.nv-search__body { overflow-y: auto; padding: 18px 22px 26px; }
.nv-search__cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.nv-search__cat { font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: var(--nv-r-pill); background: var(--nv-surface-2); color: var(--nv-text); border: 1px solid var(--nv-line); transition: .18s; cursor: pointer; }
.nv-search__cat:hover, .nv-search__cat.nv-active { background: var(--nv-grad); color: #fff; border-color: transparent; }
.nv-search__results { display: none; }
.nv-search__results.nv-show { display: block; }
.nv-search__count { font-size: 13px; color: var(--nv-muted); margin-bottom: 12px; }
.nv-search__grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.nv-scard { background: var(--nv-surface-2); border: 1px solid var(--nv-line); border-radius: var(--nv-r-sm); overflow: hidden; transition: .18s; }
.nv-scard:hover { transform: translateY(-4px); box-shadow: var(--nv-shadow-card); }
.nv-scard__thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.nv-scard__thumb img { width: 100%; height: 100%; object-fit: cover; }
.nv-scard__play { position: absolute; inset: 0; margin: auto; width: 42px; height: 42px; border-radius: 50%; background: var(--nv-grad); color: #fff; display: grid; place-items: center; opacity: 0; }
.nv-scard:hover .nv-scard__play { opacity: 1; }
.nv-scard__title { font-size: 14px; font-weight: 700; color: var(--nv-ink); padding: 10px 12px 4px; }
.nv-scard__cat { font-size: 12px; color: var(--nv-muted); padding: 0 12px 12px; }
.nv-search__msg { text-align: center; color: var(--nv-muted); padding: 30px 0; }
.nv-search__backdrop { position: fixed; inset: 0; background: rgba(15, 18, 36, .42); z-index: 0; opacity: 0; visibility: hidden; transition: .25s; }
.nv-search__backdrop.nv-show { opacity: 1; visibility: visible; }

/* ---------- Auth modal ---------- */
.nv-auth { position: fixed; inset: 0; z-index: 95; display: none; align-items: center; justify-content: center; background: rgba(15, 18, 36, .55); backdrop-filter: blur(8px); padding: 20px; }
.nv-auth.nv-show { display: flex; }
.nv-auth__card { width: min(420px, 100%); background: var(--nv-surface); border-radius: var(--nv-r-lg); box-shadow: var(--nv-shadow-lg); overflow: hidden; position: relative; }
.nv-auth__x { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 18px; display: grid; place-items: center; }
.nv-auth__head { background: var(--nv-grad); color: #fff; padding: 30px 28px; text-align: center; position: relative; }
.nv-auth__logo { width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font-size: 26px; margin: 0 auto 12px; }
.nv-auth__head h3 { color: #fff; font-size: 22px; }
.nv-auth__head p { margin: 6px 0 0; font-size: 13px; color: rgba(255, 255, 255, .85); }
.nv-auth__tabs { display: flex; padding: 18px 28px 0; gap: 8px; }
.nv-auth__tab { flex: 1; padding: 11px; border-radius: var(--nv-r-pill); font-weight: 700; background: var(--nv-surface-2); color: var(--nv-text); }
.nv-auth__tab.nv-active { background: var(--nv-grad); color: #fff; }
.nv-auth__form { padding: 20px 28px 28px; display: none; }
.nv-auth__form.nv-show { display: block; }
.nv-auth__form h4 { text-align: center; margin-bottom: 16px; }
.nv-field { margin-bottom: 14px; }
.nv-field label { display: block; font-size: 13px; font-weight: 600; color: var(--nv-ink); margin-bottom: 6px; }
.nv-field input { width: 100%; height: 46px; border-radius: var(--nv-r-sm); border: 1px solid var(--nv-line); background: var(--nv-surface-2); padding: 0 16px; color: var(--nv-ink); outline: none; }
.nv-field input:focus { border-color: var(--nv-primary); background: #fff; box-shadow: 0 0 0 4px rgba(109, 93, 252, .12); }
.nv-field.nv-has-error input { border-color: var(--nv-danger); }
.nv-field__error { color: var(--nv-danger); font-size: 12px; margin-top: 5px; display: none; }
.nv-field.nv-has-error .nv-field__error { display: block; }
.nv-pass { position: relative; }
.nv-pass input { padding-right: 46px; }
.nv-pass__icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--nv-muted); cursor: pointer; }
.nv-auth__submit { margin-top: 6px; }
.nv-auth__foot { text-align: center; font-size: 13px; color: var(--nv-muted); margin-top: 14px; }
.nv-auth__foot a { color: var(--nv-primary-d); font-weight: 700; }
.nv-alert { display: none; padding: 11px 14px; border-radius: var(--nv-r-sm); font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.nv-alert.nv-show { display: block; }
.nv-alert--error { background: rgba(255, 84, 112, .12); color: var(--nv-danger); }
.nv-alert--success { background: rgba(22, 185, 129, .12); color: var(--nv-success); }
.nv-busy { opacity: .6; pointer-events: none; }

/* ---------- User chip & dropdown ---------- */
.nv-userchip { position: relative; }
.nv-userchip__btn { display: flex; align-items: center; gap: 9px; padding: 6px 14px 6px 6px; border-radius: var(--nv-r-pill); border: 1px solid var(--nv-line); background: var(--nv-surface); transition: .18s; }
.nv-userchip__btn:hover { border-color: var(--nv-primary); }
.nv-userchip__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--nv-grad); color: #fff; display: grid; place-items: center; font-weight: 700; overflow: hidden; }
.nv-userchip__avatar img { width: 100%; height: 100%; object-fit: cover; }
.nv-userchip__name { font-weight: 700; font-size: 14px; color: var(--nv-ink); }
.nv-dropdown { position: absolute; top: calc(100% + 10px); right: 0; width: 200px; background: var(--nv-surface); border-radius: var(--nv-r); box-shadow: var(--nv-shadow-lg); border: 1px solid var(--nv-line); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s; z-index: 80; }
.nv-userchip.nv-open .nv-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nv-dropdown__item { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: var(--nv-r-sm); font-weight: 600; color: var(--nv-text); width: 100%; text-align: left; }
.nv-dropdown__item:hover { background: var(--nv-surface-2); color: var(--nv-ink); }
.nv-dropdown__div { height: 1px; background: var(--nv-line); margin: 6px 0; }

/* ---------- Generic content (about / legal) ---------- */
.nv-content { max-width: 820px; }
.nv-prose h3 { font-size: 20px; margin: 26px 0 10px; }
.nv-prose ul { padding-left: 22px; }
.nv-prose li { margin-bottom: 8px; }

/* About */
.nv-about__hero { text-align: center; padding: 18px 0 8px; }
.nv-about__kicker { display: inline-block; font-weight: 700; font-size: 13px; color: var(--nv-primary-d); background: var(--nv-grad-soft); padding: 6px 14px; border-radius: var(--nv-r-pill); margin-bottom: 14px; }
.nv-about__title { font-size: clamp(30px, 5vw, 46px); letter-spacing: -.02em; }
.nv-about__lead { max-width: 640px; margin: 16px auto 0; font-size: 17px; }
.nv-about__actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.nv-about__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 44px 0; }
.nv-about__stat { background: var(--nv-surface); border: 1px solid var(--nv-line); border-radius: var(--nv-r); padding: 24px 18px; text-align: center; box-shadow: var(--nv-shadow-card); }
.nv-about__num { font-family: var(--nv-display); font-size: 34px; font-weight: 800; background: var(--nv-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nv-about__label { font-size: 14px; color: var(--nv-muted); margin-top: 4px; }
.nv-about__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 20px 0 40px; }
.nv-about__card { background: var(--nv-surface); border: 1px solid var(--nv-line); border-radius: var(--nv-r); padding: 24px; box-shadow: var(--nv-shadow-card); transition: transform .2s, box-shadow .2s; }
.nv-about__card:hover { transform: translateY(-5px); box-shadow: var(--nv-shadow-card-hover); }
.nv-about__card__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--nv-grad-soft); color: var(--nv-primary-d); font-size: 22px; margin-bottom: 14px; }
.nv-about__cardt { font-size: 18px; margin-bottom: 8px; }
.nv-about__cardd { font-size: 14px; color: var(--nv-text); }
.nv-about__split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0; }
.nv-about__splitc { background: var(--nv-surface); border: 1px solid var(--nv-line); border-radius: var(--nv-r); padding: 26px; box-shadow: var(--nv-shadow-card); }
.nv-about__splith { font-size: 22px; margin-bottom: 14px; }
.nv-about__splitd { color: var(--nv-text); }
.nv-about__team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 18px; }
.nv-about__member { background: var(--nv-surface); border: 1px solid var(--nv-line); border-radius: var(--nv-r); padding: 22px; text-align: center; box-shadow: var(--nv-shadow-card); }
.nv-about__avatar { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 12px; background: var(--nv-grad); color: #fff; display: grid; place-items: center; font-family: var(--nv-display); font-weight: 800; font-size: 26px; }
.nv-about__name { font-weight: 700; color: var(--nv-ink); }
.nv-about__role { font-size: 13px; color: var(--nv-muted); margin-top: 2px; }

/* Contact */
.nv-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.nv-contact__title { font-size: clamp(26px, 4vw, 36px); letter-spacing: -.02em; }
.nv-contact__lead { margin: 12px 0 22px; }
.nv-contact__list { display: flex; flex-direction: column; gap: 14px; }
.nv-contact__item { display: flex; align-items: center; gap: 14px; background: var(--nv-surface); border: 1px solid var(--nv-line); border-radius: var(--nv-r); padding: 16px 18px; box-shadow: var(--nv-shadow-card); }
.nv-contact__item__ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--nv-grad-soft); color: var(--nv-primary-d); font-size: 18px; flex: 0 0 auto; }
.nv-contact__item__lbl { font-size: 12px; color: var(--nv-muted); }
.nv-contact__item__val { font-weight: 700; color: var(--nv-ink); }
.nv-contact__form { background: var(--nv-surface); border: 1px solid var(--nv-line); border-radius: var(--nv-r); padding: 28px; box-shadow: var(--nv-shadow-card); }
.nv-form__group { margin-bottom: 16px; }
.nv-form__label { display: block; font-size: 13px; font-weight: 600; color: var(--nv-ink); margin-bottom: 7px; }
.nv-form__input, .nv-form__select, .nv-form__textarea {
  width: 100%; border-radius: var(--nv-r-sm); border: 1px solid var(--nv-line); background: var(--nv-surface-2);
  padding: 12px 15px; color: var(--nv-ink); outline: none; transition: .18s;
}
.nv-form__textarea { min-height: 130px; resize: vertical; }
.nv-form__input:focus, .nv-form__select:focus, .nv-form__textarea:focus { border-color: var(--nv-primary); background: #fff; box-shadow: 0 0 0 4px rgba(109, 93, 252, .12); }
.nv-form__submit { width: 100%; margin-top: 6px; }
.nv-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Profile ---------- */
.nv-profile { display: grid; grid-template-columns: 300px 1fr; gap: 26px; align-items: start; }
.nv-profile__aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--nv-header-h) + var(--nv-genrebar-h) + 70px); }
.nv-profile__card { background: var(--nv-surface); border: 1px solid var(--nv-line); border-radius: var(--nv-r); box-shadow: var(--nv-shadow-card); padding: 26px 22px; text-align: center; }
.nv-profile__avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 14px; background: var(--nv-grad); color: #fff; display: grid; place-items: center; font-family: var(--nv-display); font-weight: 800; font-size: 34px; overflow: hidden; }
.nv-profile__name { font-size: 20px; }
.nv-profile__handle { color: var(--nv-muted); font-size: 14px; }
.nv-profile__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.nv-profile__stat { background: var(--nv-surface-2); border-radius: var(--nv-r-sm); padding: 12px 6px; }
.nv-stat__val { font-family: var(--nv-display); font-weight: 800; font-size: 20px; color: var(--nv-ink); }
.nv-stat__label { font-size: 12px; color: var(--nv-muted); }
.nv-profile__nav { display: flex; flex-direction: column; gap: 6px; background: var(--nv-surface); border: 1px solid var(--nv-line); border-radius: var(--nv-r); padding: 10px; box-shadow: var(--nv-shadow-card); }
.nv-profile__tab { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--nv-r-sm); font-weight: 700; color: var(--nv-text); transition: .18s; }
.nv-profile__tab:hover { background: var(--nv-surface-2); }
.nv-profile__tab.nv-active { background: var(--nv-grad); color: #fff; }
.nv-profile__panel { background: var(--nv-surface); border: 1px solid var(--nv-line); border-radius: var(--nv-r); box-shadow: var(--nv-shadow-card); padding: 26px 28px; }
.nv-profile__pane { display: none; }
.nv-profile__pane.nv-show { display: block; }
.nv-profile__heading { font-size: 22px; margin-bottom: 18px; }
.nv-minigrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.nv-mini { background: var(--nv-surface-2); border: 1px solid var(--nv-line); border-radius: var(--nv-r-sm); overflow: hidden; }
.nv-mini__img { aspect-ratio: 16 / 10; overflow: hidden; }
.nv-mini__img img { width: 100%; height: 100%; object-fit: cover; }
.nv-mini__body { padding: 12px 14px; }
.nv-mini__title { font-weight: 700; color: var(--nv-ink); font-size: 14px; }
.nv-mini__actions { margin-top: 10px; }
.nv-btn-unfav { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--nv-danger); padding: 7px 14px; border-radius: var(--nv-r-pill); background: rgba(255, 84, 112, .1); }
.nv-loadmore { display: block; margin: 22px auto 0; }
.nv-avatar__head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.nv-avatar__title { font-size: 18px; }
.nv-avatar__row { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.nv-avatar__preview { width: 84px; height: 84px; border-radius: 50%; background: var(--nv-grad); color: #fff; display: grid; place-items: center; font-family: var(--nv-display); font-weight: 800; font-size: 30px; overflow: hidden; }
.nv-avatar__actions { display: flex; gap: 10px; }
.nv-avatar__hint { font-size: 13px; color: var(--nv-muted); }
.nv-file { display: inline-block; }
.nv-pform { display: grid; gap: 16px; max-width: 520px; }
.nv-fgrp { display: flex; flex-direction: column; gap: 7px; }
.nv-fgrp label { font-size: 13px; font-weight: 600; color: var(--nv-ink); }
.nv-fgrp input { height: 46px; border-radius: var(--nv-r-sm); border: 1px solid var(--nv-line); background: var(--nv-surface-2); padding: 0 15px; color: var(--nv-ink); outline: none; }
.nv-fgrp input:focus { border-color: var(--nv-primary); background: #fff; box-shadow: 0 0 0 4px rgba(109, 93, 252, .12); }

/* Confirm dialog */
.nv-confirm { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(15, 18, 36, .55); backdrop-filter: blur(6px); padding: 20px; }
.nv-confirm.nv-show { display: flex; }
.nv-confirm__box { width: min(380px, 100%); background: var(--nv-surface); border-radius: var(--nv-r-lg); box-shadow: var(--nv-shadow-lg); padding: 30px 28px; text-align: center; }
.nv-confirm__icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 84, 112, .12); color: var(--nv-danger); display: grid; place-items: center; font-size: 30px; margin: 0 auto 16px; }
.nv-confirm__title { font-size: 22px; margin-bottom: 8px; }
.nv-confirm__text { color: var(--nv-text); margin-bottom: 22px; }
.nv-confirm__btns { display: flex; gap: 12px; }
.nv-confirm__btn { flex: 1; padding: 12px; border-radius: var(--nv-r-pill); font-weight: 700; }
.nv-confirm__btn--cancel { background: var(--nv-surface-2); color: var(--nv-ink); border: 1px solid var(--nv-line); }
.nv-confirm__btn--danger { background: var(--nv-danger); color: #fff; }

/* Cookie / Notify / Toast */
.nv-cookie { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 80; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; background: var(--nv-surface); border: 1px solid var(--nv-line); border-radius: var(--nv-r); box-shadow: var(--nv-shadow-lg); padding: 16px 22px; max-width: 760px; margin: 0 auto; opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .3s, transform .3s, visibility .3s; }
.nv-cookie.nv-show { opacity: 1; visibility: visible; transform: translateY(0); }
.nv-cookie__text { font-size: 14px; color: var(--nv-text); }
.nv-cookie__text a { color: var(--nv-primary-d); font-weight: 700; }
.nv-cookie__actions { display: flex; gap: 10px; }
.nv-notify { position: fixed; top: 18px; right: 18px; z-index: 105; display: flex; flex-direction: column; gap: 10px; }
.nv-notify__item { background: var(--nv-surface); border: 1px solid var(--nv-line); border-radius: var(--nv-r); box-shadow: var(--nv-shadow-lg); padding: 14px 18px; min-width: 240px; }
.nv-notify__title { font-weight: 700; color: var(--nv-ink); }
.nv-notify__desc { font-size: 13px; color: var(--nv-muted); }
.nv-toast { position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 20px); z-index: 110; background: var(--nv-ink); color: #fff; padding: 13px 22px; border-radius: var(--nv-r-pill); font-weight: 600; opacity: 0; visibility: hidden; transition: .3s; box-shadow: var(--nv-shadow-lg); }
.nv-toast.nv-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nv-toast--warning { background: var(--nv-amber); }
.nv-toast--error { background: var(--nv-danger); }

/* Game overlay (fullscreen player) */
.nv-gameoverlay { position: fixed; inset: 0; z-index: 120; background: #000; display: grid; place-items: center; }
.nv-gameoverlay__stage { width: 100%; height: 100%; }
.nv-gameoverlay__stage iframe { width: 100%; height: 100%; border: 0; }
.nv-gameoverlay__exit { position: fixed; top: 20px; right: 20px; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 22px; display: grid; place-items: center; z-index: 121; }
.nv-gameoverlay__exit:hover { background: rgba(255, 255, 255, .24); }

/* Empty / loading */
.nv-empty { text-align: center; padding: 70px 20px; }
.nv-empty__icon { font-size: 56px; margin-bottom: 14px; }
.nv-empty h3 { font-size: 24px; margin-bottom: 8px; }
.nv-empty p { color: var(--nv-muted); margin-bottom: 22px; }
.nv-empty__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.nv-loading { position: fixed; inset: 0; background: var(--nv-bg); display: none; align-items: center; justify-content: center; z-index: 130; flex-direction: column; gap: 18px; }
.nv-loading.nv-show { display: flex; }
.nv-spinner { width: 54px; height: 54px; border: 5px solid var(--nv-line); border-top-color: var(--nv-primary); border-radius: 50%; animation: nv-spin .8s linear infinite; }
.nv-loading__text { color: var(--nv-text); font-weight: 600; }
@keyframes nv-spin { to { transform: rotate(360deg); } }

/* Lazy / utilities */
.nv-lazy { opacity: 0; transition: opacity .4s ease; }
.nv-lazy.nv-loaded { opacity: 1; }
.nv-text-center { text-align: center; }
.nv-mt-0 { margin-top: 0; }

/* ---------- Responsive ---------- */
/* ---------- Game Tags Hero (custom hero-section markup) ---------- */
.hero-section {
  position: relative;
  overflow: hidden;
  border-radius: var(--nv-r-lg);
  margin-bottom: 34px;
  background: var(--nv-grad);
}
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 320px at 85% 20%, rgba(255, 255, 255, .22), transparent 60%),
    radial-gradient(380px 300px at 10% 90%, rgba(255, 255, 255, .15), transparent 60%);
  pointer-events: none;
}
.hero-container {
  max-width: var(--nv-shell);
  margin: 0 auto;
  padding: 0 16px;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 56px 24px;
  text-align: center;
  color: #fff;
}
.hero-tagline {
  display: inline-block;
  font-family: var(--nv-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .18);
  padding: 7px 16px;
  border-radius: var(--nv-r-pill);
  margin: 0 0 18px;
}
.hero-title {
  font-family: var(--nv-display);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
  margin: 0;
}
.hero-description {
  max-width: 620px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, .88);
  font-size: 16px;
}
.hero-subdescription {
  max-width: 620px;
  margin: 12px auto 0;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 0;
}
.stat-number {
  font-family: var(--nv-display);
  font-size: 30px;
  font-weight: 800;
  color: #fff;
}
.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, .82);
}

@media (max-width: 560px) {
  .hero-content { padding: 40px 22px; }
  .hero-stats { gap: 24px; }
  .stat-number { font-size: 26px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nv-profile { grid-template-columns: 1fr; }
  .nv-profile__aside { position: static; }
  .nv-foot__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nv-header__nav, .nv-header__search { display: none; }
  .nv-header__toggle { display: flex; }
  .nv-about__grid, .nv-about__team { grid-template-columns: repeat(2, 1fr); }
  .nv-about__stats { grid-template-columns: repeat(2, 1fr); }
  .nv-contact__grid, .nv-about__split { grid-template-columns: 1fr; }
  .nv-genrebar { display: none; }
  .nv-foot__top { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nv-container { padding: 18px 14px 44px; }
  .nv-hero__inner { padding: 40px 22px; }
  .nv-rail, .nv-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .nv-about__grid, .nv-about__team { grid-template-columns: 1fr; }
  .nv-form__row { grid-template-columns: 1fr; }
}
