/* ============================================================
   JOYBOX — Pop Candy Arcade Design System
   明亮糖果 · 彩色光斑 · 实色渐变 · 圆角卡片 · 悬浮光环
   Prefix: nv-
   ============================================================ */

/* ============ ROOT TOKENS ============ */
:root {
    --nv-bg: #f5f3ff;
    --nv-bg-2: #ffffff;
    --nv-surface: #ffffff;
    --nv-surface-2: #f1ecff;
    --nv-card: #ffffff;
    --nv-card-strong: #ffffff;
    --nv-card-hover: #ffffff;
    --nv-border: rgba(28, 22, 60, 0.10);
    --nv-border-strong: rgba(28, 22, 60, 0.18);

    --nv-text: #1a1530;
    --nv-text-2: #5b5478;
    --nv-text-muted: #938cb0;
    --nv-text-invert: #ffffff;

    --nv-violet: #7c5cff;
    --nv-magenta: #ff5ca8;
    --nv-cyan: #18c8d8;
    --nv-lime: #7ed957;
    --nv-amber: #ffb020;
    --nv-warning: #ffb020;
    --nv-success: #2fc46b;
    --nv-error: #ff5470;

    --nv-grad: linear-gradient(135deg, #ff7a59 0%, #ff5ca8 48%, #7c5cff 100%);
    --nv-grad-2: linear-gradient(135deg, #18c8d8 0%, #7c5cff 100%);
    --nv-grad-soft: linear-gradient(135deg, rgba(124, 92, 246, 0.12), rgba(255, 92, 168, 0.10));
    --nv-grad-citrus: linear-gradient(135deg, #18c8d8 0%, #7ed957 100%);

    --nv-radius: 22px;
    --nv-radius-sm: 14px;
    --nv-radius-lg: 30px;
    --nv-radius-xl: 40px;
    --nv-radius-full: 9999px;

    --nv-shadow: 0 18px 50px rgba(40, 24, 90, 0.16);
    --nv-shadow-sm: 0 10px 26px rgba(40, 24, 90, 0.12);
    --nv-shadow-card: 0 12px 30px rgba(124, 92, 246, 0.14);
    --nv-glow: 0 14px 38px rgba(255, 92, 168, 0.40);
    --nv-glow-violet: 0 14px 38px rgba(124, 92, 246, 0.38);

    --nv-ease: cubic-bezier(0.34, 1.56, 0.64, 1);
    --nv-bar-h: 112px;
    --nv-font: 'Inter', 'Segoe UI', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* ============ RESET / BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--nv-font);
    background: var(--nv-bg);
    color: var(--nv-text);
    line-height: 1.65;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Floating candy blobs */
body::before {
    content: '';
    position: fixed;
    inset: -10%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(520px 420px at 8% 6%, rgba(255, 122, 89, 0.18), transparent 70%),
        radial-gradient(480px 400px at 92% 12%, rgba(255, 92, 168, 0.16), transparent 70%),
        radial-gradient(520px 440px at 78% 96%, rgba(24, 200, 216, 0.14), transparent 70%),
        radial-gradient(440px 380px at 18% 92%, rgba(124, 92, 246, 0.14), transparent 70%);
    animation: nv-float 26s ease-in-out infinite alternate;
}
@keyframes nv-float {
    0% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
    100% { transform: translate3d(2%, -2%, 0) scale(1.06) rotate(2deg); }
}

a { color: var(--nv-violet); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--nv-magenta); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { list-style: none; padding: 0; margin: 0; }

button { font-family: var(--nv-font); cursor: pointer; }

input, textarea, select { font-family: var(--nv-font); }

h1, h2, h3, h4, h5, h6 { color: var(--nv-text); line-height: 1.2; font-weight: 800; }

::selection { background: rgba(255, 92, 168, 0.28); color: var(--nv-text); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--nv-surface-2); }
::-webkit-scrollbar-thumb { background: rgba(124, 92, 246, 0.4); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--nv-violet); }

/* ============ LAYOUT ============ */
.nv-shell { width: 100%; max-width: none; margin: 0 auto; padding: 0 22px; }
.nv-canvas { width: 100%; position: relative; }
.nv-stage { position: relative; z-index: 1; padding-top: calc(var(--nv-bar-h) + 28px); min-height: 70vh; }
.nv-panel {
    background: var(--nv-card);
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-lg);
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--nv-shadow-sm);
}
.nv-block { margin-bottom: 60px; }
.nv-narrow { max-width: 1080px; margin: 0 auto; }
.nv-clamp2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--nv-text-2);
    font-size: 13px;
    line-height: 1.55;
}
.nv-hero-banner { text-align: center; padding: 30px 0 40px; }
.nv-hero-banner h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    background: var(--nv-grad);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    letter-spacing: -0.02em;
}
.nv-hero-banner p { color: var(--nv-text-2); margin-top: 12px; font-size: 1.05rem; }

/* ============ TOPBAR / NAV ============ */
.nv-bar {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid var(--nv-border);
    z-index: 1050;
    display: flex; flex-direction: column; align-items: stretch;
}
.nv-bar::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
    background: var(--nv-grad);
    opacity: 0.92;
}
.nv-bar-inner {
    display: flex; align-items: center; gap: 18px;
    width: 100%; max-width: none; margin: 0 auto; padding: 12px 22px;
}
.nv-brand { display: flex; align-items: center; gap: 8px; flex-shrink: 0; white-space: nowrap; }
.logo-img { height: 32px; width: auto; max-width: 160px; object-fit: contain; flex-shrink: 0; display: block; }
.nv-logo {
    font-size: 23px; font-weight: 900; letter-spacing: -0.6px; white-space: nowrap;
    background: var(--nv-grad);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nv-logo:hover { filter: brightness(1.05); }

.nv-search { flex: 1; max-width: 440px; position: relative; }
.nv-search input {
    width: 100%; padding: 12px 16px 12px 44px;
    background: var(--nv-surface-2);
    border: 1.5px solid transparent;
    border-radius: var(--nv-radius-full);
    color: var(--nv-text); font-size: 14px; outline: none;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.nv-search input::placeholder { color: var(--nv-text-muted); }
.nv-search input:focus {
    border-color: var(--nv-violet);
    box-shadow: 0 0 0 4px rgba(124, 92, 246, 0.16);
    background: var(--nv-surface);
}
.nv-search .nv-search-go {
    position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: var(--nv-text-muted); font-size: 15px; padding: 4px;
}
.nv-search .nv-search-go:hover { color: var(--nv-magenta); }

/* Auth cluster */
.nv-auth { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: auto; }
.nv-auth-group { display: flex; gap: 8px; }
.nv-auth-btn {
    padding: 10px 22px; border-radius: var(--nv-radius-full);
    font-size: 13px; font-weight: 700; cursor: pointer;
    border: 1.5px solid var(--nv-border-strong); background: var(--nv-surface);
    color: var(--nv-text); transition: all 0.25s var(--nv-ease);
}
.nv-auth-btn--in { border-color: transparent; background: var(--nv-grad); color: #fff; box-shadow: var(--nv-glow-violet); }
.nv-auth-btn--in:hover { transform: translateY(-2px); box-shadow: var(--nv-glow); }
.nv-auth-btn--up:hover { border-color: var(--nv-violet); color: var(--nv-violet); transform: translateY(-2px); }

.nv-userchip { display: none; align-items: center; gap: 10px; position: relative; }
.nv-userchip-btn {
    display: flex; align-items: center; gap: 9px;
    background: var(--nv-surface); border: 1.5px solid var(--nv-border);
    border-radius: var(--nv-radius-full); padding: 6px 16px 6px 6px; color: var(--nv-text);
    box-shadow: var(--nv-shadow-sm);
}
.nv-userchip-btn:hover { border-color: var(--nv-violet); }
.nv-userchip-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--nv-grad); color: #fff; font-weight: 800; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
}
.nv-userchip-name { font-size: 14px; font-weight: 700; }

.nv-menu {
    position: absolute; top: calc(100% + 12px); right: 0;
    min-width: 200px; background: var(--nv-card-strong);
    border: 1px solid var(--nv-border); border-radius: var(--nv-radius);
    padding: 8px; box-shadow: var(--nv-shadow); display: none; z-index: 60;
}
.nv-menu.nv-on { display: block; animation: nv-pop 0.18s var(--nv-ease); }
.nv-menu-item {
    display: flex; align-items: center; gap: 10px; width: 100%;
    padding: 11px 13px; border-radius: var(--nv-radius-sm);
    background: none; border: none; color: var(--nv-text); font-size: 14px; text-align: left;
}
.nv-menu-item:hover { background: var(--nv-surface-2); color: var(--nv-magenta); }

@keyframes nv-pop { from { opacity: 0; transform: translateY(-8px) scale(0.98); } to { opacity: 1; transform: none; } }

/* Drawer trigger */
.nv-navmenu { flex-shrink: 0; }
.nv-drawer-toggle {
    display: flex; align-items: center; gap: 8px;
    background: var(--nv-grad); color: #fff; border: none;
    border-radius: var(--nv-radius-full); padding: 10px 20px; font-weight: 800; font-size: 13px;
    box-shadow: var(--nv-glow-violet); transition: transform 0.2s, box-shadow 0.2s;
}
.nv-drawer-toggle:hover { transform: translateY(-2px); box-shadow: var(--nv-glow); }
.nv-drawer-icon { font-size: 15px; }
.nv-drawer-label { letter-spacing: 0.08em; }

/* ============ DRAWER (slide-in) ============ */
.nv-drawer {
    position: fixed; top: 0; left: 0; height: 100vh; width: min(360px, 86vw);
    background: var(--nv-card-strong);
    border-right: 1px solid var(--nv-border);
    z-index: 1100; transform: translateX(-100%);
    transition: transform 0.32s var(--nv-ease);
    display: flex; flex-direction: column;
    box-shadow: var(--nv-shadow);
}
.nv-drawer.nv-open { transform: translateX(0); }
.nv-drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px 22px; border-bottom: 1px solid var(--nv-border);
}
.nv-drawer-head h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.nv-drawer-icon2 { font-size: 1.2rem; }
.nv-drawer-close {
    background: var(--nv-surface-2); border: 1px solid var(--nv-border); color: var(--nv-text);
    width: 38px; height: 38px; border-radius: 50%; font-size: 16px;
}
.nv-drawer-close:hover { background: var(--nv-error); border-color: var(--nv-error); color: #fff; }
.nv-drawer-body { overflow-y: auto; padding: 20px 16px 40px; flex: 1; }
.nv-drawer-sec { margin-bottom: 26px; }
.nv-drawer-sectitle {
    font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--nv-text-muted); margin: 0 8px 12px; font-weight: 800;
}
.nv-drawer-cats { display: flex; flex-direction: column; gap: 6px; }
.nv-drawer-cat {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 15px; border-radius: var(--nv-radius);
    color: var(--nv-text-2); font-size: 0.96rem; font-weight: 600;
    transition: all 0.2s; border: 1.5px solid transparent;
}
.nv-drawer-cat span { font-size: 1.15rem; }
.nv-drawer-cat:hover { background: var(--nv-surface-2); color: var(--nv-text); transform: translateX(4px); }
.nv-drawer-cat.nv-on {
    background: var(--nv-grad-soft); color: var(--nv-violet);
    border-color: rgba(124, 92, 246, 0.4); font-weight: 800;
}
.nv-drawer-cat--home { color: var(--nv-magenta) !important; }
.nv-drawer-info { display: flex; flex-direction: column; gap: 4px; }
.nv-drawer-link {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 15px; border-radius: var(--nv-radius);
    color: var(--nv-text-2); font-size: 0.94rem; font-weight: 500;
}
.nv-drawer-link:hover { background: var(--nv-surface-2); color: var(--nv-text); }

/* Legacy sidepanel (nav.html) */
.nv-side {
    position: fixed; top: var(--nv-bar-h); right: 0; width: 300px; height: calc(100vh - var(--nv-bar-h));
    background: var(--nv-card-strong); border-left: 1px solid var(--nv-border);
    transform: translateX(100%); transition: transform 0.3s var(--nv-ease); z-index: 1040; overflow-y: auto;
    box-shadow: var(--nv-shadow);
}
.nv-side-body { padding: 22px; }
.nv-side-auth { margin-bottom: 22px; }
.nv-side-user { display: none; align-items: center; gap: 10px; }
.nv-side-user .nv-userchip-avatar { width: 42px; height: 42px; }
.nv-side-link, .nv-side-logout {
    display: inline-block; margin-left: 10px; color: var(--nv-violet); font-size: 0.9rem; background: none; border: none; font-weight: 600;
}
.nv-side-block { margin-bottom: 18px; }
.nv-side-title { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--nv-text-muted); margin-bottom: 10px; font-weight: 800; }
.nv-side-nav { display: flex; flex-direction: column; gap: 4px; }
.nv-side-item {
    display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: var(--nv-radius-sm);
    color: var(--nv-text-2); font-size: 0.92rem; font-weight: 500;
}
.nv-side-item:hover { background: var(--nv-surface-2); color: var(--nv-text); }
.nv-side-collapse {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    background: var(--nv-surface-2); border: 1.5px solid var(--nv-border); color: var(--nv-text);
    padding: 13px 15px; border-radius: var(--nv-radius-sm); font-size: 0.9rem; font-weight: 700;
}
.nv-side-arrow { transition: transform 0.3s; font-size: 0.7rem; }

/* ============ BUTTONS ============ */
.nv-btn, .nv-btn-primary, .nv-btn-ghost, .nv-btn-ghost-danger, .nv-btn-unfav {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: none; border-radius: var(--nv-radius-full); cursor: pointer;
    font-weight: 800; font-size: 0.9rem; transition: all 0.22s var(--nv-ease);
}
.nv-btn-primary { padding: 13px 32px; background: var(--nv-grad); color: #fff; box-shadow: var(--nv-glow-violet); }
.nv-btn-primary:hover { transform: translateY(-3px); box-shadow: var(--nv-glow); }
.nv-btn-ghost { padding: 11px 22px; background: var(--nv-surface); border: 1.5px solid var(--nv-border-strong); color: var(--nv-text); }
.nv-btn-ghost:hover { border-color: var(--nv-violet); color: var(--nv-violet); transform: translateY(-2px); }
.nv-btn-ghost-danger { padding: 10px 20px; background: var(--nv-surface); border: 1.5px solid var(--nv-border); color: var(--nv-text-2); }
.nv-btn-ghost-danger:hover { border-color: var(--nv-error); color: var(--nv-error); }
.nv-btn-unfav { padding: 8px 16px; border-radius: var(--nv-radius-full); background: var(--nv-surface-2); border: 1.5px solid var(--nv-border); color: var(--nv-magenta); font-size: 0.8rem; font-weight: 700; }
.nv-btn-unfav:hover { background: rgba(255, 92, 168, 0.16); }
.nv-busy { opacity: 0.6; cursor: progress; pointer-events: none; }

/* ============ HOMEPAGE HERO (split) ============ */
.nv-hero {
    position: relative; overflow: hidden;
    border-radius: var(--nv-radius-xl);
    padding: 0; margin-bottom: 54px;
    background: var(--nv-grad);
    color: #fff;
    box-shadow: var(--nv-glow-violet);
}
.nv-hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
    background-image: radial-gradient(rgba(255, 255, 255, 0.28) 1.5px, transparent 1.6px);
    background-size: 22px 22px;
}
.nv-hero::after {
    content: ''; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px;
    border-radius: 50%; background: rgba(255, 255, 255, 0.16); pointer-events: none;
}
.nv-hero-grid {
    display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 30px; align-items: center;
    padding: 64px 56px; position: relative; z-index: 1;
}
.nv-hero-copy { position: relative; z-index: 1; }
.nv-hero-spot { position: relative; z-index: 1; display: flex; justify-content: center; }
.nv-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 16px; border-radius: var(--nv-radius-full);
    background: rgba(255, 255, 255, 0.22); border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 0.8rem; letter-spacing: 0.04em; color: #fff; margin-bottom: 20px; font-weight: 600;
}
.nv-hero-title {
    font-size: clamp(2.4rem, 6.4vw, 4rem); line-height: 1.05; letter-spacing: -0.02em; color: #fff;
}
.nv-hero-title mark { background: linear-gradient(transparent 60%, rgba(255, 255, 255, 0.35) 0); color: #fff; }
.nv-hero-sub { color: rgba(255, 255, 255, 0.9); font-size: 1.12rem; margin: 18px 0 30px; max-width: 560px; }
.nv-hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; position: relative; z-index: 1; }
.nv-hero-cta, .nv-hero-cta--fill, .nv-hero-cta--ghost {
    padding: 14px 34px; border-radius: var(--nv-radius-full); font-weight: 800; font-size: 0.98rem; transition: all 0.22s var(--nv-ease); border: 2px solid transparent;
}
.nv-hero-cta--fill { background: #fff; color: var(--nv-violet); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18); }
.nv-hero-cta--fill:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28); }
.nv-hero-cta--ghost { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.nv-hero-cta--ghost:hover { background: rgba(255, 255, 255, 0.28); transform: translateY(-3px); }
.nv-hero-stats { display: flex; gap: 40px; margin-top: 38px; flex-wrap: wrap; position: relative; z-index: 1; }
.nv-hero-stat strong { display: block; font-size: 1.9rem; font-weight: 900; color: #fff; }
.nv-hero-stat span { color: rgba(255, 255, 255, 0.82); font-size: 0.86rem; }
.nv-hero-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; position: relative; z-index: 1; }
.nv-hero-chip {
    font-size: 0.76rem; font-weight: 700; padding: 7px 15px; border-radius: var(--nv-radius-full);
    background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.34); color: #fff;
    transition: all 0.2s;
}
.nv-hero-chip:hover { background: rgba(255, 255, 255, 0.3); transform: translateY(-2px); }

/* ============ HERO SECTION (theme override) ============ */
.hero-section {
    position: relative; overflow: hidden;
    background: var(--nv-grad);
    border-radius: var(--nv-radius-xl);
    margin-bottom: 54px;
    box-shadow: var(--nv-glow-violet);
    color: #fff;
}
.hero-section::before {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
    background-image: radial-gradient(rgba(255, 255, 255, 0.28) 1.5px, transparent 1.6px);
    background-size: 22px 22px;
}
.hero-section::after {
    content: ''; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px;
    border-radius: 50%; background: rgba(255, 255, 255, 0.16); pointer-events: none;
}
.hero-container { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.hero-content { position: relative; z-index: 1; max-width: 760px; padding: 64px 0; }
.hero-tagline {
    margin: 0; font-size: clamp(1.7rem, 4.2vw, 2.8rem); line-height: 1.08; letter-spacing: -0.02em;
    font-weight: 900; color: #fff;
}
.hero-title {
    display: inline-block; margin: 16px 0 0; padding: 7px 16px;
    font-size: clamp(0.95rem, 2vw, 1.2rem); font-weight: 700; color: rgba(255, 255, 255, 0.94);
    background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--nv-radius-full);
}
.hero-description { margin: 22px 0 0; font-size: 1.08rem; line-height: 1.6; color: rgba(255, 255, 255, 0.9); }
.hero-subdescription { margin: 14px 0 0; font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, 0.78); }
.hero-stats { display: flex; gap: 40px; margin-top: 34px; flex-wrap: wrap; }
.stat-item {
    display: flex; flex-direction: column; gap: 4px; margin: 0;
    padding-right: 40px; border-right: 1px solid rgba(255, 255, 255, 0.28);
}
.stat-item:last-child { padding-right: 0; border-right: none; }
.stat-number { font-size: 1.9rem; font-weight: 900; line-height: 1; color: #fff; }
.stat-label { font-size: 0.86rem; font-weight: 600; color: rgba(255, 255, 255, 0.82); }
@media (max-width: 640px) {
    .hero-content { padding: 44px 0; }
    .hero-stats { gap: 24px; }
    .stat-item { padding-right: 24px; }
    .stat-item:last-child { padding-right: 0; }
}

/* ============ SECTION HEADERS ============ */
.nv-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; position: relative; padding-bottom: 14px; }
.nv-sec-head::after { content: ''; position: absolute; left: 0; bottom: 0; width: 70px; height: 5px; border-radius: var(--nv-radius-full); background: var(--nv-grad); }
.nv-sec-head-left { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.nv-sec-title { font-size: 1.6rem; letter-spacing: -0.01em; }
.nv-sec-badge { font-size: 0.76rem; color: var(--nv-text-2); background: var(--nv-surface); padding: 5px 14px; border-radius: var(--nv-radius-full); border: 1.5px solid var(--nv-border); font-weight: 600; }
.nv-more { font-size: 0.88rem; font-weight: 800; color: var(--nv-violet); white-space: nowrap; padding: 6px 14px; border-radius: var(--nv-radius-full); border: 1.5px solid var(--nv-border); transition: all 0.2s; }
.nv-more:hover { color: #fff; background: var(--nv-grad); border-color: transparent; }

/* ============ GAME GRID + CARDS ============ */
.nv-grid {
    display: grid; gap: 26px;
    grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
}
.nv-game {
    position: relative;
    background: var(--nv-card); border: 1.5px solid var(--nv-border);
    border-radius: var(--nv-radius); overflow: hidden;
    box-shadow: var(--nv-shadow-card);
    transition: transform 0.3s var(--nv-ease), box-shadow 0.3s var(--nv-ease), border-color 0.3s;
}
.nv-game::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 2px;
    background: var(--nv-grad);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: opacity 0.3s; pointer-events: none; z-index: 3;
}
.nv-game:hover { transform: translateY(-8px); box-shadow: var(--nv-glow); border-color: transparent; }
.nv-game:hover::before { opacity: 1; }
.nv-game > a { display: block; color: inherit; }
.nv-game-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--nv-surface-2); }
.nv-game-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s var(--nv-ease); }
.nv-game:hover .nv-game-media img { transform: scale(1.09); }
.nv-game-tags, .nv-game-tag {
    position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2;
}
.nv-game-badge, .nv-game-tag {
    background: rgba(26, 21, 48, 0.72); backdrop-filter: blur(6px);
    color: #fff; font-size: 0.72rem; font-weight: 700; padding: 5px 11px; border-radius: var(--nv-radius-full);
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.nv-game-play {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(26, 21, 48, 0.32); opacity: 0; transition: opacity 0.3s; z-index: 1;
}
.nv-game-play span {
    width: 60px; height: 60px; border-radius: 50%; background: var(--nv-grad); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.3rem; box-shadow: var(--nv-glow);
    transform: scale(0.8); transition: transform 0.3s var(--nv-ease);
}
.nv-game:hover .nv-game-play { opacity: 1; }
.nv-game:hover .nv-game-play span { transform: scale(1); }
.nv-game-info { padding: 18px 20px 20px; }
.nv-game-title { font-size: 1.08rem; margin-bottom: 8px; font-weight: 800; }
.nv-game-desc { color: var(--nv-text-2); font-size: 0.86rem; line-height: 1.55; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nv-game-meta { margin-bottom: 12px; }
.nv-game-tagline { display: inline-block; font-size: 0.75rem; font-weight: 800; color: var(--nv-magenta); background: rgba(255, 92, 168, 0.12); border: 1px solid rgba(255, 92, 168, 0.3); padding: 4px 11px; border-radius: var(--nv-radius-full); }
.nv-game-rating { display: flex; align-items: center; gap: 4px; margin-top: 10px; color: var(--nv-warning); font-size: 0.84rem; font-weight: 700; }
.nv-game-rating .nv-star { color: var(--nv-warning); }
.nv-game-rating .star-rating { color: var(--nv-warning); font-size: 0.82rem; }

/* ============ TOOLBAR / PAGER ============ */
.nv-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; padding-bottom: 16px; border-bottom: 2px solid var(--nv-border); }
.nv-toolbar-title { font-size: clamp(1.5rem, 4vw, 2.2rem); letter-spacing: 0.01em; }
.nv-toolbar-count { font-size: 0.85rem; font-weight: 700; color: var(--nv-text-2); background: var(--nv-surface); padding: 7px 16px; border-radius: var(--nv-radius-full); border: 1.5px solid var(--nv-border); }
.nv-pager { margin-top: 36px; display: flex; justify-content: center; }
.nv-pager .pagination-link {
    display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px;
    margin: 0 5px; border-radius: var(--nv-radius-sm); border: 1.5px solid var(--nv-border); background: var(--nv-surface); color: var(--nv-text-2); font-size: 0.88rem; font-weight: 700; transition: all 0.2s;
}
.nv-pager .pagination-link:hover { border-color: var(--nv-violet); color: var(--nv-violet); transform: translateY(-2px); }
.nv-pager .pagination-link.nv-on,
.nv-pager .pagination-item.active .pagination-link,
.nv-pager .pagination-link.current,
.nv-pager .pagination-link.active { background: var(--nv-grad); color: #fff; border-color: transparent; box-shadow: var(--nv-glow-violet); }
.nv-pager .pagination-container { width: 100%; display: flex; justify-content: center; }
.nv-pager .pagination { display: block; }
.nv-pager .pagination-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; list-style: none; margin: 0; padding: 0; }
.nv-pager .pagination-item { list-style: none; display: inline-flex; }
.nv-pager .pagination-link.prev, .nv-pager .pagination-link.next { font-weight: 800; font-size: 1.1rem; }
.nv-pager .pagination-link.disabled { opacity: 0.4; pointer-events: none; cursor: default; }

/* ============ DETAIL PAGE ============ */
.nv-crumb { max-width: 1080px; margin: 0 auto 24px; }
.nv-crumb ol { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.nv-crumb a { color: var(--nv-text-muted); font-size: 0.84rem; transition: color 0.2s; }
.nv-crumb a:hover { color: var(--nv-violet); }
.nv-crumb .nv-sep { color: var(--nv-border-strong); font-size: 0.82rem; }
.nv-crumb .nv-cur { color: var(--nv-text); font-size: 0.84rem; font-weight: 700; }

.nv-article { max-width: 1280px; margin: 0 auto; padding-bottom: 40px; }
.nv-kicker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.nv-tag { font-size: 0.73rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 800; color: var(--nv-magenta); padding: 5px 14px; border: 1.5px solid rgba(255, 92, 168, 0.3); border-radius: var(--nv-radius-full); background: rgba(255, 92, 168, 0.08); }
.nv-title { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 20px; }
.nv-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-bottom: 20px; margin-bottom: 26px; border-bottom: 1px solid var(--nv-border); color: var(--nv-text-muted); font-size: 0.88rem; }
.nv-byline-item { display: inline-flex; align-items: center; gap: 6px; }
.nv-byline .star-rating { color: var(--nv-warning); }
.nv-byline .nv-fav { position: static; width: auto; height: auto; }
.nv-byline .nv-fav .fa-heart-o, .nv-byline .nv-fav .fa-heart { position: static; transform: none; }

.nv-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 32px; }
.nv-play {
    display: inline-flex; align-items: center; gap: 10px; padding: 15px 42px; border: none; border-radius: var(--nv-radius-full); cursor: pointer;
    background: var(--nv-grad); color: #fff; font-weight: 800; font-size: 1rem; letter-spacing: 0.04em; box-shadow: var(--nv-glow-violet); transition: transform 0.22s, box-shadow 0.22s;
}
.nv-play:hover { transform: translateY(-3px); box-shadow: var(--nv-glow); }
.nv-share { display: flex; align-items: center; gap: 10px; }
.nv-share strong { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nv-text-muted); font-weight: 700; }
.nv-share a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid var(--nv-border); color: var(--nv-text-2); font-size: 0.95rem; transition: all 0.2s; }
.nv-share a:hover { background: var(--nv-grad); border-color: transparent; color: #fff; }

.nv-cover { position: relative; overflow: hidden; border-radius: var(--nv-radius-xl); padding: 44px 48px; margin: 0 auto 30px; max-width: none; background: var(--nv-grad); color: #fff; box-shadow: var(--nv-glow-violet); }
.nv-cover::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5; background-image: radial-gradient(rgba(255, 255, 255, 0.28) 1.5px, transparent 1.6px); background-size: 22px 22px; }
.nv-cover::after { content: ''; position: absolute; right: -50px; top: -50px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); pointer-events: none; }
.nv-cover-kicker { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.nv-cover-kicker .nv-tag { color: #fff; border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.16); }
.nv-cover-title { position: relative; z-index: 1; color: #fff; font-size: clamp(1.9rem, 4.6vw, 3.1rem); line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 18px; max-width: 880px; }
.nv-cover-byline { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; color: rgba(255, 255, 255, 0.9); font-size: 0.88rem; padding-bottom: 18px; }
.nv-cover-byline .nv-fav { color: #fff; }
.nv-cover-actions { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.nv-cover .nv-play { background: #fff; color: var(--nv-violet); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2); }
.nv-cover .nv-share { color: #fff; }
.nv-cover .nv-share strong { color: rgba(255, 255, 255, 0.85); }
.nv-cover .nv-share a { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.nv-cover .nv-share a:hover { background: rgba(255, 255, 255, 0.2); border-color: #fff; color: #fff; }

.nv-sec { margin-bottom: 32px; }
.nv-sec-title { font-size: 1.55rem; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--nv-border); }
.nv-prose { color: var(--nv-text-2); line-height: 1.9; font-size: 1.04rem; }
.nv-prose p { margin: 0 0 20px; }
.nv-prose img { border-radius: var(--nv-radius); margin: 20px 0; max-width: 100%; }
.nv-prose h2, .nv-prose h3, .nv-prose h4 { color: var(--nv-text); margin: 26px 0 14px; }

.nv-player { margin: 0 auto 32px; max-width: 1080px; border-radius: var(--nv-radius-lg); overflow: hidden; border: 1.5px solid var(--nv-border); background: #000; box-shadow: var(--nv-shadow); }
.nv-player iframe { width: 100%; display: block; border: none; aspect-ratio: 16 / 9; }

/* FAQ accordion */
.nv-faq { border: 1.5px solid var(--nv-border); border-radius: var(--nv-radius); overflow: hidden; margin-bottom: 14px; background: var(--nv-card); box-shadow: var(--nv-shadow-sm); }
.nv-faq-title { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; font-weight: 800; padding: 18px 22px; margin: 0; cursor: pointer; user-select: none; background: var(--nv-surface); color: var(--nv-text); }
.nv-faq-title:hover { background: var(--nv-surface-2); }
.nv-faq-toggle { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--nv-grad); color: #fff; font-size: 0.7rem; transition: transform 0.3s; flex-shrink: 0; }
.nv-faq.nv-open .nv-faq-toggle { transform: rotate(90deg); }
.nv-faq-list { display: none; }
.nv-faq.nv-open .nv-faq-list { display: block; }
.nv-faq-item { border-bottom: 1px solid var(--nv-border); }
.nv-faq-item:last-child { border-bottom: none; }
.nv-faq-q { display: flex; align-items: center; gap: 10px; padding: 15px 22px; font-weight: 700; font-size: 0.98rem; color: var(--nv-text); cursor: pointer; }
.nv-faq-q:hover { color: var(--nv-magenta); }
.nv-faq-q::before { content: '\f059'; font-family: 'FontAwesome'; color: var(--nv-magenta); font-size: 0.9rem; flex-shrink: 0; }
.nv-faq-a { display: none; padding: 0 22px 18px 46px; font-size: 0.94rem; line-height: 1.85; color: var(--nv-text-2); }
.nv-faq-item.nv-open .nv-faq-q { color: var(--nv-magenta); }
.nv-faq-item.nv-open .nv-faq-a { display: block; }

/* Favorite icon */
.nv-fav { position: relative; cursor: pointer; color: var(--nv-magenta); font-size: 20px; line-height: 1; flex-shrink: 0; transition: transform 0.2s; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; }
.nv-fav:hover { transform: scale(1.15); }
.nv-fav .fa-heart-o, .nv-fav .fa-heart { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: opacity 0.2s ease; font-size: 20px; line-height: 1; }
.nv-fav .fa-heart-o { opacity: 1; }
.nv-fav .fa-heart { opacity: 0; }
.nv-fav.nv-faved .fa-heart-o { opacity: 0; }
.nv-fav.nv-faved .fa-heart { opacity: 1; }

/* Game overlay */
.nv-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(20, 16, 40, 0.94); z-index: 9999; display: flex; flex-direction: column; }
.nv-overlay-stage { flex: 1; min-height: 0; }
.nv-overlay-stage iframe { width: 100%; height: 100%; border: none; background: #fff; }
.nv-overlay-exit { position: absolute; top: 16px; right: 16px; z-index: 10; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: none; border-radius: 50%; background: rgba(255, 255, 255, 0.18); color: #fff; font-size: 20px; cursor: pointer; transition: background 0.2s; }
.nv-overlay-exit:hover { background: var(--nv-error); }

/* ============ COMMENTS ============ */
.nv-comments { width: 100%; box-sizing: border-box; margin-top: 10px; padding-top: 32px; border-top: 2px solid var(--nv-border); }
.nv-comments-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; }
.nv-comments-title { font-size: 1.55rem; }
.nv-comments-count { color: var(--nv-text-muted); font-size: 0.84rem; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 700; }
.nv-comments-list { display: flex; flex-direction: column; gap: 18px; }
.nv-comment { padding: 20px 0; border-bottom: 1px solid var(--nv-border); }
.nv-comment-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.nv-comment-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--nv-grad); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 0.9rem; overflow: hidden; flex-shrink: 0; }
.nv-comment-avatar img { width: 100%; height: 100%; object-fit: cover; }
.nv-comment-author { font-weight: 800; color: var(--nv-text); }
.nv-comment-date { font-size: 0.76rem; color: var(--nv-text-muted); }
.nv-comment-stars { margin-left: auto; font-size: 0.82rem; color: var(--nv-warning); }
.nv-comment-body { color: var(--nv-text-2); line-height: 1.85; font-size: 0.96rem; }
.nv-comments-empty { text-align: center; padding: 40px 0; color: var(--nv-text-muted); }
.nv-comments-empty-icon { font-size: 2.6rem; margin-bottom: 12px; opacity: 0.5; }
.nv-comments-loading { text-align: center; padding: 22px; color: var(--nv-text-muted); }
.nv-loadmore { display: inline-block; padding: 12px 32px; background: var(--nv-surface); color: var(--nv-text); border: 1.5px solid var(--nv-border); border-radius: var(--nv-radius-full); cursor: pointer; font-size: 0.88rem; font-weight: 700; transition: all 0.2s; margin: 20px auto 0; }
.nv-loadmore:hover { background: var(--nv-grad); color: #fff; border-color: transparent; }
.nv-loadmore:disabled { opacity: 0.6; cursor: not-allowed; }
.load-more-comments { text-align: center; }

.nv-comment-form { margin-bottom: 24px; padding: 22px; background: var(--nv-card); border-radius: var(--nv-radius); border: 1.5px solid var(--nv-border); box-shadow: var(--nv-shadow-sm); }
.nv-comment-form-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.nv-comment-form-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--nv-grad); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 0.9rem; overflow: hidden; flex-shrink: 0; }
.nv-comment-form-avatar img { width: 100%; height: 100%; object-fit: cover; }
.nv-comment-form-author { font-weight: 800; color: var(--nv-text); }
.nv-comment-form-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.nv-comment-form-rating label { font-size: 0.85rem; color: var(--nv-text-muted); }
.nv-rate-star { font-size: 1.5rem; cursor: pointer; color: rgba(28, 22, 60, 0.18); transition: color 0.2s; }
.nv-rate-star:hover, .nv-rate-star.nv-on { color: var(--nv-warning); }
.nv-comment-form-text { width: 100%; padding: 13px 15px; border: 1.5px solid var(--nv-border); border-radius: var(--nv-radius); background: var(--nv-surface); color: var(--nv-text); font-size: 0.92rem; resize: vertical; min-height: 110px; margin-bottom: 16px; box-sizing: border-box; }
.nv-comment-form-text:focus { outline: none; border-color: var(--nv-violet); }
.nv-comment-form-foot { display: flex; justify-content: flex-end; gap: 10px; }
.nv-comment-login { text-align: center; padding: 24px; color: var(--nv-text-muted); font-size: 0.92rem; background: var(--nv-card); border-radius: var(--nv-radius); border: 1.5px solid var(--nv-border); }
.nv-comment-login a { color: var(--nv-violet); font-weight: 700; }

/* ============ TOAST / NOTIFICATION ============ */
.nv-toast { position: fixed; top: 22px; left: 50%; transform: translateX(-50%); padding: 13px 24px; background: var(--nv-card-strong); color: var(--nv-text); border-radius: var(--nv-radius); box-shadow: var(--nv-shadow); z-index: 10000; opacity: 0; transition: opacity 0.3s; font-size: 0.9rem; border: 1px solid var(--nv-border); font-weight: 600; }
.nv-toast.nv-show { opacity: 1; }
.nv-toast.success { background: var(--nv-success); color: #04210f; }
.nv-toast.error { background: var(--nv-error); color: #fff; }
.nv-toast.warning { background: var(--nv-warning); color: #2a1c00; }

.nv-notify { position: fixed; top: 22px; right: 22px; width: 330px; max-width: calc(100vw - 44px); background: var(--nv-card-strong); border: 1px solid var(--nv-border); border-radius: var(--nv-radius); box-shadow: var(--nv-shadow); z-index: 10001; overflow: hidden; transform: translateX(120%); transition: transform 0.35s var(--nv-ease); }
.nv-notify.nv-hidden { transform: translateX(120%); opacity: 0; }
.nv-notify--ok { border-left: 5px solid var(--nv-success); }
.nv-notify--err { border-left: 5px solid var(--nv-error); }
.nv-notify-head { display: flex; align-items: center; justify-content: space-between; padding: 13px 17px; font-weight: 800; border-bottom: 1px solid var(--nv-border); }
.nv-notify-x { background: none; border: none; color: var(--nv-text-muted); font-size: 18px; line-height: 1; }
.nv-notify-x:hover { color: var(--nv-text); }
.nv-notify-body { padding: 13px 17px; font-size: 0.9rem; color: var(--nv-text-2); }

/* ============ AUTH MODAL ============ */
.nv-auth-overlay { position: fixed; inset: 0; background: rgba(20, 16, 40, 0.55); backdrop-filter: blur(10px); z-index: 10002; display: flex; align-items: center; justify-content: center; padding: 20px; }
.nv-auth-card { position: relative; width: 100%; max-width: 430px; background: var(--nv-card-strong); border: 1px solid var(--nv-border); border-radius: var(--nv-radius-lg); padding: 36px; box-shadow: var(--nv-shadow); animation: nv-pop 0.22s var(--nv-ease); }
.nv-auth-x { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--nv-surface-2); border: 1px solid var(--nv-border); color: var(--nv-text); font-size: 18px; }
.nv-auth-x:hover { background: var(--nv-error); border-color: var(--nv-error); color: #fff; }
.nv-auth-head { text-align: center; margin-bottom: 22px; }
.nv-auth-head h1 { font-size: 1.8rem; background: var(--nv-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nv-auth-head p { color: var(--nv-text-muted); font-size: 0.92rem; margin-top: 8px; }
.nv-auth-tabs { display: flex; gap: 8px; background: var(--nv-surface-2); padding: 6px; border-radius: var(--nv-radius-full); margin-bottom: 24px; }
.nv-auth-tab { flex: 1; padding: 11px; border: none; background: none; color: var(--nv-text-2); font-weight: 800; border-radius: var(--nv-radius-full); transition: all 0.2s; }
.nv-auth-tab.nv-on { background: var(--nv-grad); color: #fff; }
.nv-auth-form { display: none; }
.nv-auth-form.nv-on { display: block; animation: nv-pop 0.2s var(--nv-ease); }
.nv-field { margin-bottom: 18px; }
.nv-field label { display: block; font-size: 0.86rem; color: var(--nv-text-2); margin-bottom: 8px; font-weight: 700; }
.nv-field input, .nv-field-group input, .nv-field select, .nv-field textarea {
    width: 100%; padding: 13px 15px; background: var(--nv-surface); border: 1.5px solid var(--nv-border); border-radius: var(--nv-radius-sm); color: var(--nv-text); font-size: 0.94rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.nv-field input:focus, .nv-field-group input:focus, .nv-field select:focus, .nv-field textarea:focus { border-color: var(--nv-violet); box-shadow: 0 0 0 3px rgba(124, 92, 246, 0.16); }
.nv-field.nv-has-error input { border-color: var(--nv-error); }
.nv-field-error { color: var(--nv-error); font-size: 0.82rem; margin-top: 6px; font-weight: 600; }
.nv-pass { position: relative; }
.nv-pass input { padding-right: 44px; }
.nv-pass-icon { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--nv-text-muted); cursor: pointer; }
.nv-auth-submit { width: 100%; padding: 14px; background: var(--nv-grad); color: #fff; border: none; border-radius: var(--nv-radius-full); font-weight: 800; font-size: 0.98rem; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; box-shadow: var(--nv-glow-violet); }
.nv-auth-submit:hover { transform: translateY(-2px); box-shadow: var(--nv-glow); }
.nv-auth-foot { text-align: center; margin-top: 16px; font-size: 0.88rem; color: var(--nv-text-2); }
.nv-auth-foot a { color: var(--nv-violet); font-weight: 700; }

.nv-alert { display: none; padding: 13px 17px; border-radius: var(--nv-radius-sm); margin-bottom: 20px; font-size: 0.9rem; border: 1.5px solid var(--nv-border); font-weight: 600; }
.nv-alert.nv-show { display: block; }
.nv-alert.success { background: rgba(47, 196, 107, 0.14); border-color: var(--nv-success); color: var(--nv-success); }
.nv-alert.error { background: rgba(255, 84, 112, 0.14); border-color: var(--nv-error); color: var(--nv-error); }
.nv-alert.info { background: rgba(24, 200, 216, 0.14); border-color: var(--nv-cyan); color: var(--nv-cyan); }
.nv-alert.warning { background: rgba(255, 176, 32, 0.14); border-color: var(--nv-warning); color: var(--nv-warning); }

/* ============ FORMS ============ */
.nv-form { display: block; }
.nv-form .nv-field, .nv-profile-form .nv-field-group { margin-bottom: 20px; }
.nv-file-input { display: none; }

/* ============ PROFILE ============ */
.nv-profile { max-width: none; margin: 0 auto; }
.nv-profile-grid { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.nv-profile-side { position: sticky; top: calc(var(--nv-bar-h) + 24px); }
.nv-profile-card { background: var(--nv-card); border: 1.5px solid var(--nv-border); border-radius: var(--nv-radius-lg); padding: 26px; text-align: center; margin-bottom: 20px; box-shadow: var(--nv-shadow-sm); }
.nv-profile-avatar { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 16px; background: var(--nv-grad); color: #fff; font-weight: 900; font-size: 2.1rem; display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: var(--nv-glow-violet); }
.nv-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.nv-profile-info h2 { font-size: 1.25rem; }
.nv-profile-info p { color: var(--nv-text-muted); font-size: 0.86rem; }
.nv-profile-nav { display: flex; flex-direction: column; gap: 8px; }
.nv-profile-navlink { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 17px; border-radius: var(--nv-radius); background: var(--nv-card); border: 1.5px solid var(--nv-border); color: var(--nv-text-2); font-size: 0.94rem; font-weight: 700; text-align: left; transition: all 0.2s; }
.nv-profile-navlink:hover { border-color: var(--nv-violet); color: var(--nv-text); transform: translateX(3px); }
.nv-profile-navlink.nv-on { background: var(--nv-grad-soft); border-color: rgba(124, 92, 246, 0.5); color: var(--nv-violet); }
.nv-profile-main { min-width: 0; }
.nv-profile-panel { background: var(--nv-card); border: 1.5px solid var(--nv-border); border-radius: var(--nv-radius-lg); padding: 32px; box-shadow: var(--nv-shadow-sm); }
.nv-profile-pane { display: none; }
.nv-profile-pane.nv-on { display: block; animation: nv-pop 0.2s var(--nv-ease); }
.nv-profile-heading { font-size: 1.35rem; margin-bottom: 20px; }
.nv-profile-stats { display: flex; gap: 16px; margin-bottom: 22px; }
.nv-profile-stat { flex: 1; background: var(--nv-surface-2); border: 1.5px solid var(--nv-border); border-radius: var(--nv-radius); padding: 18px; text-align: center; }
.nv-stat-val { font-size: 1.8rem; font-weight: 900; background: var(--nv-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nv-stat-label { color: var(--nv-text-muted); font-size: 0.8rem; font-weight: 600; }
.nv-mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; }
.nv-mini-card { background: var(--nv-surface); border: 1.5px solid var(--nv-border); border-radius: var(--nv-radius); overflow: hidden; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; box-shadow: var(--nv-shadow-sm); }
.nv-mini-card:hover { transform: translateY(-5px); border-color: var(--nv-violet); box-shadow: var(--nv-glow-violet); }
.nv-mini-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.nv-mini-body { padding: 11px 13px; }
.nv-mini-title { font-size: 0.88rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-mini-actions { padding: 0 13px 13px; }
.nv-profile-loading { grid-column: 1 / -1; text-align: center; padding: 32px; color: var(--nv-text-muted); }
.nv-profile-spinner { width: 38px; height: 38px; border: 3px solid var(--nv-border); border-top-color: var(--nv-violet); border-radius: 50%; margin: 0 auto 14px; animation: nv-spin 0.8s linear infinite; }
@keyframes nv-spin { to { transform: rotate(360deg); } }
.nv-profile-loading-text { font-size: 0.9rem; }
.nv-profile-empty { text-align: center; padding: 32px; color: var(--nv-text-muted); }
.nv-profile-empty-icon { font-size: 2.5rem; margin-bottom: 12px; opacity: 0.5; }
.nv-avatar-zone { background: var(--nv-surface-2); border: 1.5px dashed var(--nv-border-strong); border-radius: var(--nv-radius); padding: 20px; margin-bottom: 24px; }
.nv-avatar-zone-head { margin-bottom: 12px; }
.nv-avatar-zone-title { font-weight: 800; margin-bottom: 12px; }
.nv-avatar-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.nv-avatar-preview { width: 76px; height: 76px; border-radius: 50%; background: var(--nv-grad); color: #fff; font-weight: 900; font-size: 1.7rem; display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: var(--nv-glow-violet); }
.nv-avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.nv-avatar-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.nv-avatar-hint { margin-top: 12px; font-size: 0.82rem; color: var(--nv-text-muted); }
.nv-profile-form { max-width: 480px; }
.nv-field-group label { display: block; font-size: 0.86rem; color: var(--nv-text-2); margin-bottom: 8px; font-weight: 700; }

/* Confirm modal */
.nv-confirm { position: fixed; inset: 0; background: rgba(20, 16, 40, 0.55); backdrop-filter: blur(8px); z-index: 10003; display: none; align-items: center; justify-content: center; padding: 20px; }
.nv-confirm.nv-open { display: flex; }
.nv-confirm-box { width: 100%; max-width: 410px; background: var(--nv-card-strong); border: 1px solid var(--nv-border); border-radius: var(--nv-radius-lg); padding: 28px; box-shadow: var(--nv-shadow); animation: nv-pop 0.2s var(--nv-ease); }
.nv-confirm-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.nv-confirm-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 84, 112, 0.16); color: var(--nv-error); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.nv-confirm-title { font-size: 1.2rem; font-weight: 800; }
.nv-confirm-body { color: var(--nv-text-2); font-size: 0.94rem; margin-bottom: 22px; }
.nv-confirm-text { color: var(--nv-text-2); font-size: 0.94rem; }
.nv-confirm-foot { display: flex; gap: 10px; justify-content: flex-end; }
.nv-confirm-btn { padding: 11px 22px; border-radius: var(--nv-radius-full); border: 1.5px solid var(--nv-border); background: var(--nv-surface); color: var(--nv-text); font-weight: 700; }
.nv-confirm-btn--cancel:hover { border-color: var(--nv-text-2); }
.nv-confirm-btn--danger { background: var(--nv-error); border-color: var(--nv-error); color: #fff; }
.nv-confirm-btn--danger:hover { filter: brightness(1.08); }

/* ============ COOKIE BANNER ============ */
.nv-cookie { position: fixed; left: 18px; right: 18px; bottom: 18px; max-width: 780px; margin: 0 auto; display: none; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: var(--nv-card-strong); border: 1px solid var(--nv-border); border-radius: var(--nv-radius-lg); padding: 20px 24px; box-shadow: var(--nv-shadow); z-index: 10004; }
.nv-cookie.nv-show { display: flex; animation: nv-pop 0.3s var(--nv-ease); }
.nv-cookie-text { color: var(--nv-text-2); font-size: 0.92rem; flex: 1; min-width: 220px; }
.nv-cookie-btns { display: flex; gap: 10px; }
.nv-cookie-btn { padding: 11px 22px; border-radius: var(--nv-radius-full); border: 1.5px solid var(--nv-border-strong); background: var(--nv-surface); color: var(--nv-text); font-weight: 700; font-size: 0.86rem; }
.nv-cookie-btn--accept { background: var(--nv-grad); border-color: transparent; color: #fff; box-shadow: var(--nv-glow-violet); }
.nv-cookie-btn:hover { transform: translateY(-2px); }

/* ============ FOOTER ============ */
.nv-foot { position: relative; z-index: 1; margin-top: 70px; border-top: 1px solid var(--nv-border); background: var(--nv-surface); }
.nv-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding: 52px 0 38px; }
.nv-foot-brand { font-size: 1.35rem; font-weight: 900; background: var(--nv-grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 16px; }
.nv-foot-social { display: flex; gap: 10px; }
.nv-foot-social a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid var(--nv-border); color: var(--nv-text-2); font-size: 0.9rem; transition: all 0.2s; }
.nv-foot-social a:hover { background: var(--nv-grad); border-color: transparent; color: #fff; transform: translateY(-2px); }
.nv-foot-col h4, .nv-foot-col p:not(.nv-foot-brand) { font-size: 0.98rem; margin-bottom: 16px; color: var(--nv-text); }
.nv-foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.nv-foot-col a, .nv-foot-col li { color: var(--nv-text-muted); font-size: 0.9rem; transition: color 0.2s; }
.nv-foot-col a:hover { color: var(--nv-violet); }
.nv-foot-bar { border-top: 1px solid var(--nv-border); padding: 20px 0; }
.nv-foot-bar p { text-align: center; color: var(--nv-text-muted); font-size: 0.84rem; }

/* Newsletter CTA band */
.nv-foot-cta { background: var(--nv-grad); }
.nv-foot-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 40px 0; }
.nv-foot-cta-title { font-size: 1.5rem; margin-bottom: 6px; color: #fff; }
.nv-foot-cta-desc { color: rgba(255, 255, 255, 0.88); font-size: 0.94rem; }
.nv-foot-cta-form { display: flex; gap: 10px; flex-wrap: wrap; }
.nv-foot-cta-input { flex: 1; min-width: 220px; padding: 14px 20px; border-radius: var(--nv-radius-full); border: 2px solid rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.92); color: var(--nv-text); font-size: 0.92rem; }
.nv-foot-cta-input::placeholder { color: var(--nv-text-muted); }
.nv-foot-cta-input:focus { outline: none; border-color: #fff; }
.nv-foot-cta-btn { padding: 14px 30px; border-radius: var(--nv-radius-full); border: 2px solid #fff; background: #fff; color: var(--nv-violet); font-weight: 800; font-size: 0.92rem; cursor: pointer; transition: transform 0.2s var(--nv-ease); }
.nv-foot-cta-btn:hover { transform: translateY(-3px); }

/* ============ ABOUT / POLICY ============ */
.nv-about { background: var(--nv-card); border: 1.5px solid var(--nv-border); border-radius: var(--nv-radius-lg); padding: 28px 32px; margin-bottom: 26px; box-shadow: var(--nv-shadow-sm); }
.nv-about h2 { font-size: 1.55rem; margin-bottom: 16px; background: var(--nv-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nv-about p { color: var(--nv-text-2); line-height: 1.9; margin-bottom: 12px; }

.nv-policy { max-width: 820px; margin: 0 auto; }
.nv-policy-section { margin-bottom: 28px; }
.nv-policy-sec { margin-bottom: 28px; }
.nv-policy-sec h2 { font-size: 1.4rem; margin-bottom: 14px; background: var(--nv-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nv-policy-sec h3 { font-size: 1.08rem; margin: 18px 0 10px; color: var(--nv-text); }
.nv-policy-sec p { color: var(--nv-text-2); line-height: 1.9; margin-bottom: 12px; }
.nv-policy-sec a { color: var(--nv-violet); font-weight: 600; }

/* ============ EMPTY STATES ============ */
.nv-empty { text-align: center; padding: 56px 20px; }
.nv-empty-icon { font-size: 3.6rem; margin-bottom: 18px; opacity: 0.6; }
.nv-empty p { color: var(--nv-text-2); margin-bottom: 8px; }
.nv-empty-actions { display: flex; gap: 14px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
    .nv-profile-grid { grid-template-columns: 1fr; }
    .nv-profile-side { position: static; }
    .nv-foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nv-hero { padding: 0; }
    .nv-bar-inner { gap: 12px; }
    .nv-search { display: none; }
    .nv-panel { padding: 26px 22px; }
    .nv-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 18px; }
}
@media (max-width: 480px) {
    .nv-shell { padding: 0 14px; }
    .nv-hero { padding: 0; border-radius: var(--nv-radius-lg); }
    .nv-hero-stats { gap: 24px; }
    .nv-foot-grid { grid-template-columns: 1fr; }
    .nv-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .nv-pager .pagination-link { min-width: 38px; height: 38px; margin: 0 3px; }
}

/* ============ CATEGORY PILL BAR (2nd nav row) ============ */
.nv-bar-sub { background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-top: 1px solid var(--nv-border); }
.nv-catbar-scroll { display: flex; align-items: center; gap: 10px; overflow-x: auto; padding: 11px 0; scrollbar-width: none; -ms-overflow-style: none; }
.nv-catbar-scroll::-webkit-scrollbar { display: none; }
.nv-catpill { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: var(--nv-radius-full); background: var(--nv-surface-2); border: 1.5px solid var(--nv-border); color: var(--nv-text-2); font-size: 0.85rem; font-weight: 700; white-space: nowrap; transition: all 0.2s var(--nv-ease); }
.nv-catpill:hover { color: var(--nv-violet); border-color: var(--nv-violet); transform: translateY(-1px); }
.nv-catpill.nv-on { background: var(--nv-grad); color: #fff; border-color: transparent; }
.nv-catpill--home { color: var(--nv-magenta); }
.nv-catpill span { font-size: 1rem; }

/* ============ HOMEPAGE HERO SPOTLIGHT CARD ============ */
.nv-spotlight { width: 100%; max-width: 380px; background: rgba(255, 255, 255, 0.14); border: 1.5px solid rgba(255, 255, 255, 0.42); border-radius: var(--nv-radius); padding: 14px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28); transform: rotate(1.4deg); transition: transform 0.45s var(--nv-ease); }
.nv-spotlight:hover { transform: rotate(0deg) translateY(-6px); }
.nv-spotlight-media { position: relative; aspect-ratio: 16 / 10; border-radius: var(--nv-radius-sm); overflow: hidden; background: rgba(0, 0, 0, 0.18); }
.nv-spotlight-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--nv-ease); }
.nv-spotlight:hover .nv-spotlight-media img { transform: scale(1.06); }
.nv-spotlight-badge { position: absolute; top: 12px; left: 12px; background: var(--nv-amber); color: #201400; font-weight: 900; font-size: 0.68rem; letter-spacing: 0.08em; padding: 5px 12px; border-radius: var(--nv-radius-full); z-index: 2; }
.nv-spotlight-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(20, 16, 40, 0.28); opacity: 0; transition: opacity 0.3s; z-index: 1; }
.nv-spotlight:hover .nv-spotlight-play { opacity: 1; }
.nv-spotlight-play span { width: 58px; height: 58px; border-radius: 50%; background: #fff; color: var(--nv-violet); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: var(--nv-glow); }
.nv-spotlight-info { padding: 14px 6px 4px; }
.nv-spotlight-kicker { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); font-weight: 800; }
.nv-spotlight-title { color: #fff; font-size: 1.3rem; margin: 6px 0 8px; letter-spacing: -0.01em; }
.nv-spotlight-desc { color: rgba(255, 255, 255, 0.88); font-size: 0.85rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nv-spotlight-meta { display: flex; align-items: center; gap: 12px; margin: 12px 0; flex-wrap: wrap; }
.nv-spotlight .nv-game-tagline { color: #fff; background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.4); }
.nv-spotlight .nv-game-rating { color: #ffd66b; }
.nv-spotlight .nv-btn-primary { width: 100%; background: #fff; color: var(--nv-violet); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); }
.nv-spotlight .nv-btn-primary:hover { background: var(--nv-surface); }

/* ============ HOMEPAGE HORIZONTAL RAIL (first module) ============ */
.nv-rail { display: flex; gap: 22px; overflow-x: auto; padding: 6px 4px 20px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.nv-rail > .nv-game { flex: 0 0 282px; scroll-snap-align: start; }
.nv-rail::-webkit-scrollbar { height: 8px; }
.nv-rail::-webkit-scrollbar-thumb { background: rgba(124, 92, 246, 0.4); border-radius: 8px; }
.nv-rail::-webkit-scrollbar-track { background: var(--nv-surface-2); border-radius: 8px; }

/* ============ LIST / TAGS PAGE SIDEBAR LAYOUT ============ */
.nv-layout { display: grid; grid-template-columns: 240px 1fr; gap: 30px; align-items: start; }
.nv-layout-side { position: sticky; top: calc(var(--nv-bar-h) + 20px); max-height: calc(100vh - var(--nv-bar-h) - 40px); overflow-y: auto; background: var(--nv-card); border: 1.5px solid var(--nv-border); border-radius: var(--nv-radius); padding: 20px; box-shadow: var(--nv-shadow-sm); }
.nv-layout-side-title { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--nv-text-muted); font-weight: 800; margin-bottom: 14px; }
.nv-catlist { display: flex; flex-direction: column; gap: 4px; }
.nv-catlist-item { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: var(--nv-radius-sm); color: var(--nv-text-2); font-weight: 600; font-size: 0.92rem; transition: all 0.2s; }
.nv-catlist-item:hover, .nv-catlist-item.nv-on { background: var(--nv-grad-soft); color: var(--nv-violet); }
.nv-catlist-item span { font-size: 1.1rem; }

/* ============ RESPONSIVE (layout additions) ============ */
@media (max-width: 900px) {
    .nv-hero-grid { grid-template-columns: 1fr; gap: 26px; padding: 48px 32px; }
    .nv-hero-spot { max-width: 440px; margin: 0 auto; }
    .nv-layout { grid-template-columns: 1fr; }
    .nv-layout-side { position: static; }
}
@media (max-width: 768px) {
    :root { --nv-bar-h: 84px; }
    .nv-bar-sub { display: none; }
    .nv-hero-grid { padding: 42px 26px; }
    .nv-cover { padding: 34px 26px; }
}
@media (max-width: 480px) {
    .nv-hero-grid { padding: 36px 20px; }
    .nv-cover { padding: 30px 20px; }
}

/* ============================================================
   HOMEPAGE LAYOUT v2 — Immersive Hero + Category Wall + Bento
   ============================================================ */

/* ===== Immersive Hero (dark aurora stage) ===== */
.nv-hero2 {
    position: relative;
    border-radius: var(--nv-radius-xl);
    margin-bottom: 56px;
    padding: 66px 60px;
    background: linear-gradient(135deg, #2a1b5e 0%, #5b2a8c 46%, #b13a8f 100%);
    overflow: hidden;
    box-shadow: var(--nv-shadow);
}
.nv-hero2::before {
    content: '';
    position: absolute; inset: -30%;
    background:
        radial-gradient(420px 320px at 14% 18%, rgba(24, 200, 216, 0.38), transparent 70%),
        radial-gradient(460px 360px at 86% 24%, rgba(255, 92, 168, 0.40), transparent 70%),
        radial-gradient(440px 360px at 62% 96%, rgba(126, 217, 87, 0.26), transparent 70%),
        radial-gradient(360px 300px at 30% 80%, rgba(124, 92, 246, 0.40), transparent 70%);
    filter: blur(6px);
    animation: nv-aurora 22s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes nv-aurora {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(3%, -3%, 0) scale(1.12); }
}
.nv-hero2-grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 44px; align-items: center;
}
.nv-hero2-copy { position: relative; z-index: 1; color: #fff; }
.nv-hero2-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 16px; border-radius: var(--nv-radius-full);
    background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.34);
    font-size: 0.8rem; letter-spacing: 0.04em; color: #fff; margin-bottom: 20px; font-weight: 600;
}
.nv-hero2-title {
    font-size: clamp(2.3rem, 5.6vw, 3.9rem); line-height: 1.06; letter-spacing: -0.02em; color: #fff;
    text-shadow: 0 8px 30px rgba(20, 10, 50, 0.35);
}
.nv-hero2-title mark {
    background: linear-gradient(135deg, #7ed957 0%, #18c8d8 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nv-hero2-sub { color: rgba(255, 255, 255, 0.9); font-size: 1.1rem; margin: 18px 0 28px; max-width: 540px; }
.nv-hero2-cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.nv-hero2-cta {
    padding: 14px 34px; border-radius: var(--nv-radius-full); font-weight: 800; font-size: 0.98rem; transition: all 0.22s var(--nv-ease); border: 2px solid transparent;
}
.nv-hero2-cta--fill { background: #fff; color: #5b2a8c; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22); }
.nv-hero2-cta--fill:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32); }
.nv-hero2-cta--ghost { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.nv-hero2-cta--ghost:hover { background: rgba(255, 255, 255, 0.28); transform: translateY(-3px); }
.nv-hero2-stats { display: flex; gap: 38px; margin-top: 36px; flex-wrap: wrap; }
.nv-hero2-stat strong { display: block; font-size: 1.85rem; font-weight: 900; color: #fff; }
.nv-hero2-stat span { color: rgba(255, 255, 255, 0.8); font-size: 0.84rem; }
.nv-hero2-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.nv-hero2-chip {
    font-size: 0.76rem; font-weight: 700; padding: 7px 15px; border-radius: var(--nv-radius-full);
    background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; transition: all 0.2s;
}
.nv-hero2-chip:hover { background: rgba(255, 255, 255, 0.3); transform: translateY(-2px); }

/* Featured card on the stage */
.nv-hero2-stage { position: relative; z-index: 1; min-height: 460px; display: flex; align-items: center; justify-content: center; }
.nv-feature {
    width: 100%; max-width: 410px;
    background: rgba(255, 255, 255, 0.12); border: 1.5px solid rgba(255, 255, 255, 0.38);
    border-radius: var(--nv-radius); padding: 14px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
}
.nv-feature-media { position: relative; aspect-ratio: 16 / 10; border-radius: var(--nv-radius-sm); overflow: hidden; background: rgba(0, 0, 0, 0.2); }
.nv-feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--nv-ease); }
.nv-feature:hover .nv-feature-media img { transform: scale(1.06); }
.nv-feature-badge { position: absolute; top: 12px; left: 12px; background: var(--nv-amber); color: #201400; font-weight: 900; font-size: 0.68rem; letter-spacing: 0.08em; padding: 5px 12px; border-radius: var(--nv-radius-full); z-index: 2; }
.nv-feature-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(20, 16, 40, 0.3); opacity: 0; transition: opacity 0.3s; z-index: 1; }
.nv-feature:hover .nv-feature-play { opacity: 1; }
.nv-feature-play span { width: 58px; height: 58px; border-radius: 50%; background: #fff; color: #5b2a8c; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: var(--nv-glow); }
.nv-feature-info { padding: 14px 8px 4px; }
.nv-feature-kicker { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); font-weight: 800; }
.nv-feature-title { color: #fff; font-size: 1.32rem; margin: 6px 0 8px; letter-spacing: -0.01em; }
.nv-feature-desc { color: rgba(255, 255, 255, 0.88); font-size: 0.85rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nv-feature-meta { display: flex; align-items: center; gap: 12px; margin: 12px 0; flex-wrap: wrap; }
.nv-feature .nv-game-tagline { color: #fff; background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.4); }
.nv-feature .nv-game-rating { color: #ffd66b; margin-top: 0; }
.nv-feature .nv-btn-primary { width: 100%; background: #fff; color: #5b2a8c; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2); }
.nv-feature .nv-btn-primary:hover { background: var(--nv-surface); }

/* Floating orbiting thumbnails */
.nv-float {
    --r: 0deg;
    position: absolute; width: 92px; height: 92px; border-radius: 20px; overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.62); box-shadow: var(--nv-shadow);
    animation: nv-bob 5.5s ease-in-out infinite; z-index: 0;
}
.nv-float img { width: 100%; height: 100%; object-fit: cover; }
@keyframes nv-bob {
    0%, 100% { transform: translateY(0) rotate(var(--r)); }
    50% { transform: translateY(-14px) rotate(var(--r)); }
}
.nv-float--1 { top: -8px; left: -10px; --r: -9deg; animation-delay: 0s; }
.nv-float--2 { top: 6%; right: -8px; --r: 8deg; animation-delay: 0.6s; }
.nv-float--3 { bottom: 4%; left: -4px; --r: 7deg; animation-delay: 1.1s; }
.nv-float--4 { bottom: -10px; right: 2%; --r: -8deg; animation-delay: 1.6s; }
.nv-float--5 { top: 40%; left: -26px; --r: 5deg; animation-delay: 0.9s; }
.nv-float--6 { top: 38%; right: -28px; --r: -6deg; animation-delay: 1.3s; }

/* ===== Category Wall ===== */
.nv-catwall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.nv-cattile {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    padding: 26px 16px; border-radius: var(--nv-radius); color: #fff; text-decoration: none; overflow: hidden;
    box-shadow: var(--nv-shadow-sm); transition: transform 0.25s var(--nv-ease), box-shadow 0.25s; min-height: 122px;
}
.nv-cattile:hover { transform: translateY(-6px); box-shadow: var(--nv-shadow); color: #fff; }
.nv-cattile-emoji { font-size: 2.1rem; line-height: 1; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2)); }
.nv-cattile-name { font-size: 0.96rem; text-align: center; font-weight: 800; }
.nv-cattile--0 { background: var(--nv-grad); }
.nv-cattile--1 { background: var(--nv-grad-2); }
.nv-cattile--2 { background: linear-gradient(135deg, #ff7a59 0%, #ffb020 100%); }
.nv-cattile--3 { background: var(--nv-grad-citrus); }
.nv-cattile--4 { background: linear-gradient(135deg, #7c5cff 0%, #ff5ca8 100%); }
.nv-cattile--5 { background: linear-gradient(135deg, #18c8d8 0%, #7c5cff 100%); }

/* ===== Bento (first module) ===== */
.nv-bento { display: grid; grid-template-columns: 1.32fr 1fr; gap: 22px; align-items: stretch; }
.nv-bento-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.nv-bento-feature .nv-game--lg { height: 100%; }
.nv-bento-feature .nv-game--lg .nv-game-media { aspect-ratio: 4 / 3; }
.nv-bento-feature .nv-game--lg .nv-game-title { font-size: 1.22rem; }

/* ===== Responsive (layout v2) ===== */
@media (max-width: 900px) {
    .nv-hero2 { padding: 50px 32px; }
    .nv-hero2-grid { grid-template-columns: 1fr; gap: 30px; }
    .nv-hero2-stage { min-height: 420px; }
    .nv-float { display: none; }
    .nv-bento { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .nv-hero2 { padding: 40px 22px; border-radius: var(--nv-radius-lg); }
    .nv-bento-mini { grid-template-columns: 1fr 1fr; gap: 16px; }
    .nv-catwall { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
    .nv-cattile { min-height: 100px; padding: 20px 12px; }
    .nv-cattile-emoji { font-size: 1.7rem; }
}
