/* public/assets/css/vetroforge.css */
/* VetroForge Website - Complete modern styling */

:root {
    --vf-bg: #06070d;
    --vf-bg-soft: #090d16;
    --vf-panel: rgba(14, 18, 31, 0.82);
    --vf-panel-strong: rgba(18, 23, 38, 0.96);
    --vf-border: rgba(255, 255, 255, 0.09);
    --vf-border-strong: rgba(255, 138, 0, 0.32);
    --vf-text: #f5f7fb;
    --vf-muted: rgba(245, 247, 251, 0.64);
    --vf-muted-strong: rgba(245, 247, 251, 0.82);
    --vf-orange: #ff8a00;
    --vf-red: #ff2a2a;
    --vf-gold: #ffcc00;
    --vf-cyan: #09add3;
    --vf-green: #22c55e;
    --vf-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
    --vf-glow: 0 0 38px rgba(255, 138, 0, 0.32);
    --vf-radius: 26px;
    --vf-container: 1320px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--vf-text);
    background:
        radial-gradient(circle at 15% 10%, rgba(255, 42, 42, 0.16), transparent 32%),
        radial-gradient(circle at 85% 8%, rgba(9, 173, 211, 0.15), transparent 34%),
        linear-gradient(180deg, #07080f 0%, #070a12 50%, #05060a 100%);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 78%);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.36) 82%),
        linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.18));
}

a {
    color: inherit;
}

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

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* ===============================
   Header / Navbar
   =============================== */

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(6, 7, 13, 0.78);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
    max-width: var(--vf-container);
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    font-weight: 950;
    color: #170902;
    background: linear-gradient(135deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
    box-shadow: var(--vf-glow);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-text strong {
    font-size: 18px;
    letter-spacing: -0.03em;
}

.brand-text span {
    margin-top: 3px;
    font-size: 11px;
    color: var(--vf-muted);
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.nav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-link {
    position: relative;
    padding: 10px 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--vf-text);
    background: rgba(255, 138, 0, 0.12);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 14px;
    color: #160b03;
    font-weight: 900;
    text-decoration: none;
    background: linear-gradient(90deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
    box-shadow: 0 0 30px rgba(255, 138, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 42px rgba(255, 138, 0, 0.4);
}

.top-search {
    flex: 1 1 250px;
    max-width: 320px;
}

.top-search input {
    width: 100%;
    min-height: 42px;
    padding: 0 15px;
    color: var(--vf-text);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    outline: none;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.top-search input::placeholder {
    color: rgba(245, 247, 251, 0.44);
}

.top-search input:focus {
    border-color: rgba(255, 138, 0, 0.45);
    box-shadow: 0 0 0 4px rgba(255, 138, 0, 0.10);
}

.account-zone {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-bell-link {
    position: relative;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--vf-text);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 28% 20%, rgba(255, 216, 77, 0.28), transparent 42%),
        rgba(255, 255, 255, 0.07);
    box-shadow: 0 14px 34px rgba(255, 42, 42, 0.14);
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.profile-bell-link:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 138, 0, 0.42);
    background:
        radial-gradient(circle at 28% 20%, rgba(255, 216, 77, 0.38), transparent 42%),
        rgba(255, 42, 42, 0.12);
}

.profile-bell-link span {
    font-size: 17px;
    line-height: 1;
}

.profile-bell-link em {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #170902;
    background: linear-gradient(135deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
    font-size: 11px;
    font-style: normal;
    font-weight: 1000;
    box-shadow: 0 10px 28px rgba(255, 42, 42, 0.35);
}

.notification-menu {
    position: relative;
}

.notification-menu > summary {
    list-style: none;
    cursor: pointer;
}

.notification-menu > summary::-webkit-details-marker {
    display: none;
}

.notification-menu-panel {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    z-index: 50;
    width: min(380px, calc(100vw - 28px));
    padding: 14px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.12);
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 42, 42, .22), transparent 34%),
        linear-gradient(145deg, rgba(17, 19, 31, .98), rgba(7, 8, 13, .98));
    box-shadow: 0 30px 90px rgba(0,0,0,.56);
    opacity: 0;
    transform: translateY(-8px) scale(.98);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
}

.notification-menu[open] .notification-menu-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.notification-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 8px 12px;
}

.notification-menu-head strong {
    font-size: 16px;
}

.notification-menu-head small {
    color: var(--vf-gold);
    font-weight: 900;
}

.notification-menu-item,
.notification-menu-empty,
.notification-menu-all {
    display: block;
    padding: 13px 14px;
    border-radius: 18px;
    text-decoration: none;
}

.notification-menu-item {
    margin-top: 8px;
    color: var(--vf-text);
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.045);
}

.notification-menu-item.is-unread {
    border-color: rgba(255, 138, 0, .34);
    background: rgba(255, 42, 42, .10);
}

.notification-menu-item span,
.notification-menu-item small,
.notification-menu-empty span {
    display: block;
    color: var(--vf-muted);
    font-size: 12px;
}

.notification-menu-item strong,
.notification-menu-empty strong {
    display: block;
    margin: 4px 0;
}

.notification-menu-all {
    margin-top: 10px;
    color: #180604;
    background: linear-gradient(135deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
    font-weight: 1000;
    text-align: center;
}

.header-playbar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.025), 0 18px 55px rgba(0,0,0,.20);
}

.play-ip,
.play-count {
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.play-ip {
    padding: 0 18px;
    color: #190701;
    cursor: pointer;
    background: linear-gradient(90deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
    box-shadow: 0 16px 36px rgba(255, 42, 42, 0.22);
}

.play-ip span,
.play-count small {
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .78;
}

.play-ip strong,
.play-count strong {
    font-size: 14px;
    font-weight: 1000;
}

.play-count {
    padding: 0 15px;
    color: var(--vf-text);
    background: rgba(0, 0, 0, 0.25);
}

.play-count > span:not(.status-dot) {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.header-playercount {
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.055);
}

.header-playercount > span:not(.status-dot) {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.header-playercount strong {
    color: var(--vf-text);
    font-size: 13px;
}

.header-playercount small {
    color: var(--vf-muted);
    font-size: 11px;
    font-weight: 800;
}

.header-playercount em {
    padding: 4px 7px;
    border-radius: 999px;
    color: rgba(255,255,255,.82);
    background: rgba(255,255,255,.07);
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
    letter-spacing: .02em;
}

.tps-chip.good {
    color: #08130d;
    background: linear-gradient(135deg, #3cff8f, #b8ffd1);
}

.tps-chip.warn {
    color: #1d1100;
    background: linear-gradient(135deg, #ffd84d, #ff9f1c);
}

.tps-chip.bad {
    color: #fff5f5;
    background: linear-gradient(135deg, #ff2a2a, #8b0000);
}

.header-status-popover {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 40;
    min-width: 260px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    background: rgba(13, 15, 23, .96);
    box-shadow: 0 24px 70px rgba(0,0,0,.42);
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease;
}

.header-playercount:hover .header-status-popover {
    opacity: 1;
    transform: translateY(0);
}

.header-status-popover b,
.header-status-popover span {
    display: block;
}

.header-status-popover b {
    margin-bottom: 7px;
    color: var(--vf-gold);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.header-status-popover span {
    color: var(--vf-muted-strong);
    font-size: 13px;
    line-height: 1.55;
}

.server-line {
    display: grid !important;
    grid-template-columns: 10px 1fr auto;
    align-items: center;
    gap: 9px;
    padding: 8px 0;
}

.server-line .status-dot {
    width: 8px;
    height: 8px;
}

.server-line strong {
    color: var(--vf-text);
    font-size: 13px;
}

.mini-status-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 12px 0 8px;
}

.mini-status-actions button {
    border: 0;
    border-radius: 999px;
    padding: 9px 10px;
    color: #190701;
    background: linear-gradient(90deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
    font-size: 11px;
    font-weight: 1000;
    cursor: pointer;
}

.server-meta {
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,.09);
    color: var(--vf-muted) !important;
    font-size: 12px !important;
}

.auth-buttons {
    display: flex;
    gap: 6px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
}

.auth-link {
    padding: 8px 11px;
    border-radius: 999px;
    color: var(--vf-muted-strong);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.auth-link:hover {
    color: var(--vf-text);
    background: rgba(255, 255, 255, 0.06);
}

.auth-link.primary {
    color: #160b03;
    background: linear-gradient(90deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
}

.player-mini {
    min-width: 154px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 138, 0, 0.18);
    border-radius: 17px;
    color: var(--vf-text);
    text-decoration: none;
    background: rgba(255, 138, 0, 0.08);
}

.profile-menu {
    position: relative;
}

.profile-menu summary {
    list-style: none;
    cursor: pointer;
}

.profile-menu summary::-webkit-details-marker {
    display: none;
}

.profile-menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    z-index: 60;
    width: min(310px, calc(100vw - 28px));
    padding: 12px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(12, 14, 22, .98);
    box-shadow: 0 28px 80px rgba(0,0,0,.46);
    display: grid;
    gap: 8px;
}

.profile-menu-panel a {
    padding: 13px 14px;
    border-radius: 16px;
    color: var(--vf-text);
    text-decoration: none;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.065);
}

.profile-menu-panel a:hover {
    background: rgba(255, 42, 42, .13);
    border-color: rgba(255, 138, 0, .28);
}

.profile-menu-panel span,
.profile-menu-panel strong {
    display: block;
}

.profile-menu-panel span {
    font-weight: 950;
}

.profile-menu-panel strong {
    margin-top: 3px;
    color: var(--vf-muted);
    font-size: 12px;
}

.profile-bell-count {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #190701;
    background: linear-gradient(90deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
    font-size: 11px;
    font-style: normal;
    font-weight: 1000;
    box-shadow: 0 10px 26px rgba(255, 42, 42, .28);
}

.player-head {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 12px;
    color: #170902;
    font-weight: 950;
    background: linear-gradient(135deg, var(--vf-orange), var(--vf-gold));
    box-shadow: 0 0 22px rgba(255, 138, 0, 0.22);
}

.player-head-img {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border-radius: 12px;
    image-rendering: pixelated;
    box-shadow: 0 0 22px rgba(255, 138, 0, 0.22);
}

.player-head-img.large {
    width: 58px;
    height: 58px;
    border-radius: 18px;
}

.player-mini strong {
    display: block;
    font-size: 13px;
    line-height: 1.1;
}

.player-mini small {
    display: block;
    margin-top: 3px;
    color: var(--vf-orange);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mobile-bottom-nav {
    display: none;
}

/* ===============================
   Hero
   =============================== */

.hero {
    position: relative;
    min-height: 520px;
    padding: 58px 24px 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.embers-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.72;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    width: 740px;
    height: 740px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 138, 0, 0.22), transparent 63%);
    filter: blur(10px);
    animation: floatGlow 6s ease-in-out infinite;
}

.hero-screenshot-frame {
    position: absolute;
    right: max(24px, calc((100vw - var(--vf-container)) / 2));
    bottom: 44px;
    width: min(340px, 26vw);
    aspect-ratio: 16 / 10;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 34px 100px rgba(0,0,0,.42);
    opacity: 0.72;
    transform: rotate(-2deg);
}

.hero-screenshot-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    margin: 0;
}

.hero-slide figcaption {
    position: absolute;
    left: 18px;
    bottom: 16px;
    z-index: 2;
    padding: 8px 12px;
    border-radius: 999px;
    color: #190701;
    background: linear-gradient(90deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
    box-shadow: 0 14px 34px rgba(0,0,0,.32);
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-screenshot-frame::before,
.hero-screenshot-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-screenshot-frame::before {
    background:
        radial-gradient(circle at 28% 18%, rgba(255, 42, 42, .30), transparent 34%),
        linear-gradient(90deg, rgba(9, 10, 15, .88), rgba(9, 10, 15, .18) 52%, rgba(9, 10, 15, .86)),
        linear-gradient(0deg, rgba(9, 10, 15, .92), transparent 48%, rgba(9, 10, 15, .62));
}

.hero-screenshot-frame::after {
    background:
        linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 46px 46px;
    opacity: .22;
}

.hero-slide-track {
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 600ms ease;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
}

.logo-wrap {
    position: relative;
    display: inline-grid;
    place-items: center;
    margin-bottom: 12px;
}

.logo-orb {
    position: absolute;
    width: 104px;
    height: 104px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 138, 0, 0.34), transparent 62%);
    filter: blur(14px);
}

.vf-logo {
    position: relative;
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
}

.vf-logo-ring {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    background: conic-gradient(from 180deg, var(--vf-red), var(--vf-orange), var(--vf-gold), var(--vf-red));
    animation: spinSlow 7s linear infinite;
    box-shadow: 0 0 45px rgba(255, 138, 0, 0.35);
}

.vf-logo-core {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 20px;
    background: linear-gradient(145deg, #111827, #090b12);
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.vf-logo-core span {
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -1px;
    background: linear-gradient(90deg, var(--vf-orange), var(--vf-gold));
    -webkit-background-clip: text;
    color: transparent;
}

.wobble {
    animation: wobble 4s ease-in-out infinite;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--vf-orange);
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 12px;
}

.hero-title {
    margin: 10px 0 0;
    font-size: clamp(42px, 6.4vw, 78px);
    line-height: 0.9;
    font-weight: 950;
    letter-spacing: -0.08em;
}

.hero-title span {
    display: inline-block;
    background: linear-gradient(90deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
    -webkit-background-clip: text;
    color: transparent;
}

.hero-tags {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-tags span {
    color: var(--vf-orange);
    margin: 0 12px;
}

.hero-text {
    max-width: 660px;
    margin: 14px auto 0;
    color: var(--vf-muted);
    font-size: 16px;
    line-height: 1.65;
}

.hero-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 16px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #160b03;
    background: linear-gradient(90deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
    box-shadow: 0 0 35px rgba(255, 138, 0, 0.32);
}

.btn-primary:hover {
    box-shadow: 0 0 45px rgba(255, 138, 0, 0.46);
}

.btn-secondary {
    color: var(--vf-text);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--vf-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 138, 0, 0.35);
}

.btn-danger {
    color: #fff;
    border: 1px solid rgba(255, 42, 42, 0.46);
    background: linear-gradient(135deg, rgba(255, 42, 42, 0.2), rgba(80, 0, 0, 0.42));
}

.btn-danger:hover {
    border-color: rgba(255, 90, 90, 0.75);
    box-shadow: 0 0 28px rgba(255, 0, 40, 0.2);
}

.hero-stats {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

/* ===============================
   Cards / Sections
   =============================== */

.stat-card,
.feature-card,
.system-panel,
.market-card,
.discord-card,
.roadmap-item {
    background: var(--vf-panel);
    border: 1px solid var(--vf-border);
    backdrop-filter: blur(18px);
    box-shadow: var(--vf-shadow);
}

.stat-card {
    border-radius: 22px;
    padding: 18px;
}

.stat-card strong {
    display: block;
    font-size: 18px;
    color: var(--vf-text);
}

.stat-card span {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: var(--vf-muted);
}

.section {
    position: relative;
    padding: 105px 24px;
}

.section-compact {
    padding-block: 36px;
}

.page-hero {
    position: relative;
    padding: 165px 24px 70px;
    max-width: var(--vf-container);
    margin: 0 auto;
    text-align: center;
}

.page-hero h1 {
    margin: 16px 0 0;
    font-size: clamp(46px, 8vw, 94px);
    line-height: 0.92;
    letter-spacing: -0.07em;
}

.page-hero p {
    max-width: 760px;
    margin: 24px auto 0;
    color: var(--vf-muted);
    font-size: 18px;
    line-height: 1.75;
}

.section-dark {
    background: rgba(0, 0, 0, 0.18);
    border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.section-head {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

.section-head h2,
.market-card h2,
.discord-card h2 {
    margin: 12px 0 0;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.section-head p,
.market-card p,
.discord-card p {
    margin: 18px auto 0;
    color: var(--vf-muted);
    font-size: 17px;
    line-height: 1.75;
}

.network-features .section-head {
    max-width: var(--vf-container);
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    text-align: left;
}

.network-features .section-head p {
    margin-left: 0;
    margin-right: 0;
}

.network-feature-grid {
    max-width: var(--vf-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.network-feature-card {
    min-height: 230px;
    padding: 26px;
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,.10);
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 42, 42, .18), transparent 34%),
        linear-gradient(145deg, rgba(18, 23, 38, .94), rgba(10, 12, 20, .88));
    box-shadow: var(--vf-shadow);
    transition: transform .22s ease, border-color .22s ease;
}

.network-feature-card.roadmap-link {
    display: block;
    color: var(--vf-text);
    text-decoration: none;
}

.network-feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 138, 0, .34);
}

.network-feature-card .roadmap-kicker,
.network-feature-card .roadmap-state,
.module-detail-status .roadmap-state {
    display: inline-flex;
    margin: 0 7px 0 0;
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.network-feature-card .roadmap-kicker {
    color: var(--vf-gold);
    background: rgba(255,255,255,.07);
}

.network-feature-card .roadmap-state,
.module-detail-status .roadmap-state {
    color: #170902;
}

.module-detail-status {
    margin: 20px 0 0;
}

.roadmap-planned .roadmap-state { background: linear-gradient(135deg, #9aa6ba, #f4f7fb); }
.roadmap-progress .roadmap-state { background: linear-gradient(135deg, var(--vf-orange), var(--vf-gold)); }
.roadmap-api .roadmap-state { background: linear-gradient(135deg, #35d07f, #b8ffd1); }
.roadmap-next .roadmap-state { background: linear-gradient(135deg, #ff2a2a, #ff8a00); }
.roadmap-design .roadmap-state { background: linear-gradient(135deg, #8f6bff, #ff75d8); color: white; }
.roadmap-hook .roadmap-state { background: linear-gradient(135deg, #65a7ff, #b9d6ff); }

.network-feature-card h3 {
    margin: 22px 0 0;
    font-size: 24px;
    line-height: 1.02;
}

.network-feature-card p {
    margin: 12px 0 0;
    color: var(--vf-muted);
    line-height: 1.65;
}

.network-feature-card > strong {
    display: inline-flex;
    margin-top: 18px;
    color: var(--vf-orange);
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.feature-grid {
    max-width: var(--vf-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.feature-card {
    border-radius: var(--vf-radius);
    padding: 26px;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 138, 0, 0.34);
    background: rgba(18, 23, 38, 0.94);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(255, 138, 0, 0.11);
    border: 1px solid rgba(255, 138, 0, 0.24);
    color: var(--vf-orange);
    font-size: 24px;
    font-weight: 950;
}

.feature-card h3,
.system-panel h3,
.roadmap-item h3 {
    margin: 20px 0 0;
    font-size: 22px;
}

.feature-card p,
.system-panel p,
.roadmap-item p {
    margin: 12px 0 0;
    color: var(--vf-muted);
    line-height: 1.65;
}

.systems-layout {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.system-panel {
    border-radius: var(--vf-radius);
    padding: 30px;
}

.feature-matrix {
    max-width: var(--vf-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.matrix-card,
.interface-card {
    background: var(--vf-panel);
    border: 1px solid var(--vf-border);
    border-radius: var(--vf-radius);
    padding: 26px;
    box-shadow: var(--vf-shadow);
    backdrop-filter: blur(18px);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.matrix-card:hover,
.interface-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 138, 0, 0.34);
    background: rgba(18, 23, 38, 0.94);
}

.matrix-kicker {
    display: inline-flex;
    color: var(--vf-orange);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.matrix-card h3,
.interface-card h3 {
    margin: 14px 0 0;
    font-size: 22px;
}

.matrix-card p,
.interface-card p {
    margin: 12px 0 0;
    color: var(--vf-muted);
    line-height: 1.65;
}

.command-cloud {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.command-cloud.compact {
    margin-top: 14px;
}

.command-cloud span {
    padding: 8px 10px;
    border-radius: 999px;
    color: var(--vf-muted-strong);
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.075);
    font-size: 12px;
    font-weight: 850;
}

.command-cloud a {
    padding: 8px 10px;
    border-radius: 999px;
    color: var(--vf-muted-strong);
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.075);
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.command-cloud a:hover {
    color: var(--vf-text);
    border-color: rgba(255, 138, 0, 0.34);
    transform: translateY(-2px);
}

.interface-grid {
    max-width: var(--vf-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.portal-preview,
.profile-dashboard {
    max-width: var(--vf-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 18px;
    align-items: stretch;
}

.portal-preview.single {
    max-width: 760px;
    grid-template-columns: 1fr;
}

.profile-card,
.login-panel,
.auth-card,
.reward-card,
.leaderboard-card,
.news-card,
.search-panel {
    background: var(--vf-panel);
    border: 1px solid var(--vf-border);
    border-radius: var(--vf-radius);
    padding: 28px;
    box-shadow: var(--vf-shadow);
    backdrop-filter: blur(18px);
}

.profile-card.big {
    padding: 34px;
}

.profile-top {
    display: flex;
    align-items: center;
    gap: 18px;
}

.avatar {
    width: 78px;
    height: 78px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    color: #170902;
    font-weight: 950;
    font-size: 24px;
    background: linear-gradient(135deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
    box-shadow: var(--vf-glow);
}

.avatar-img {
    width: 78px;
    height: 78px;
    border-radius: 22px;
    image-rendering: pixelated;
    box-shadow: var(--vf-glow);
}

.profile-top h3,
.login-panel h3,
.reward-card h3,
.leaderboard-card h3,
.news-card h3 {
    margin: 8px 0 0;
    font-size: 26px;
}

.profile-top p,
.login-panel p,
.auth-card p,
.reward-card p,
.news-card p {
    margin: 10px 0 0;
    color: var(--vf-muted);
    line-height: 1.65;
}

.news-detail {
    max-width: 980px;
    margin: 0 auto;
}

.news-detail h2 {
    margin: 12px 0 0;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.news-detail > p {
    max-width: 760px;
    font-size: 18px;
}

.news-detail-list {
    margin-top: 24px;
    padding: 4px 0;
}

.auth-alert {
    max-width: var(--vf-container);
    margin: 0 auto 18px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 42, 42, 0.3);
    border-radius: 18px;
    color: #ffd9d9;
    background: rgba(255, 42, 42, 0.11);
    box-shadow: 0 20px 60px rgba(255, 42, 42, 0.08);
    font-weight: 850;
}

.profile-debug {
    max-width: var(--vf-container);
    margin: 0 auto;
    padding: 18px;
    border: 1px solid rgba(255, 138, 0, 0.22);
    border-radius: 24px;
    background: rgba(255, 138, 0, 0.07);
    box-shadow: var(--vf-shadow);
}

.profile-debug h3 {
    margin: 8px 0 4px;
}

.profile-debug p {
    margin: 0;
    color: var(--vf-muted);
    line-height: 1.7;
}

.profile-debug-grid {
    margin: 16px 0 12px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.profile-debug-pill {
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--vf-border);
    background: rgba(0, 0, 0, 0.2);
}

.profile-debug-pill span,
.profile-debug-pill strong,
.profile-debug-pill small {
    display: block;
}

.profile-debug-pill span {
    color: var(--vf-muted);
    font-size: 12px;
}

.profile-debug-pill strong {
    margin-top: 6px;
    color: var(--vf-orange);
    text-transform: uppercase;
}

.profile-debug-pill small {
    margin-top: 3px;
    color: var(--vf-muted-strong);
}

.profile-debug-pill.online strong {
    color: var(--vf-green);
}

.profile-debug-pill.error strong {
    color: var(--vf-red);
}

.progress-line {
    margin-top: 28px;
}

.progress-meta {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: var(--vf-muted-strong);
    font-weight: 800;
}

.progress-meta strong {
    color: var(--vf-gold);
}

.progress-track {
    height: 12px;
    margin-top: 12px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
    box-shadow: 0 0 24px rgba(255, 138, 0, 0.36);
}

.mini-stats {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.mini-stats span {
    padding: 16px;
    border-radius: 18px;
    color: var(--vf-muted);
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.075);
}

.mini-stats strong {
    display: block;
    color: var(--vf-text);
    font-size: 18px;
}

.login-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-panel .btn {
    margin-top: 22px;
}

.account-grid {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.auth-card {
    display: grid;
    gap: 12px;
}

.auth-card h2 {
    margin: 4px 0 8px;
    font-size: 30px;
}

.auth-card label,
.admin-editor-form label,
.search-panel label {
    color: var(--vf-muted-strong);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.auth-card input,
.auth-card textarea,
.auth-card select,
.auth-card input[type="file"],
.admin-editor-form input,
.admin-editor-form textarea,
.admin-editor-form select,
.admin-editor-form input[type="file"],
.admin-user-row select,
.search-panel input {
    width: 100%;
    min-height: 48px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(0, 0, 0, 0.24);
    color: var(--vf-text);
    padding: 0 14px;
    outline: none;
}

.auth-card input[type="file"],
.admin-editor-form input[type="file"] {
    padding: 12px 14px;
}

.form-hint {
    display: block;
    margin-top: -6px;
    color: var(--vf-muted);
    font-size: 13px;
}

.auth-card textarea,
.admin-editor-form textarea {
    min-height: 132px;
    padding: 14px;
    resize: vertical;
    line-height: 1.55;
}

.auth-card select,
.admin-editor-form select,
.admin-user-row select {
    cursor: pointer;
}

.auth-card input:focus,
.auth-card textarea:focus,
.auth-card select:focus,
.admin-editor-form input:focus,
.admin-editor-form textarea:focus,
.admin-editor-form select:focus,
.admin-user-row select:focus,
.search-panel input:focus {
    border-color: rgba(255, 138, 0, 0.45);
    box-shadow: 0 0 0 4px rgba(255, 138, 0, 0.08);
}

.admin-editor-form {
    display: grid;
    gap: 16px;
}

.admin-editor-form label {
    display: grid;
    gap: 8px;
}

.admin-editor-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.admin-check-row {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 10px;
    color: var(--vf-text) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.admin-check-row input {
    width: auto;
    min-height: auto;
    accent-color: var(--vf-red);
}

.admin-news-preview {
    display: grid;
    grid-template-columns: 160px 1fr;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.035);
}

.admin-news-preview-image {
    min-height: 98px;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(20, 0, 0, 0.18), rgba(255, 0, 64, 0.2)),
        url('/assets/img/news-frost.jpg?v=45') center/cover;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.admin-news-preview-image.news-crystal {
    background:
        linear-gradient(135deg, rgba(20, 0, 0, 0.18), rgba(255, 0, 64, 0.2)),
        url('/assets/img/news-crystal.jpg?v=45') center/cover;
}

.admin-news-preview-image.news-ember {
    background:
        linear-gradient(135deg, rgba(20, 0, 0, 0.18), rgba(255, 0, 64, 0.2)),
        url('/assets/img/news-ember.jpg?v=45') center/cover;
}

.admin-news-preview strong,
.admin-news-preview span {
    display: block;
}

.admin-news-preview span {
    color: var(--vf-muted);
    line-height: 1.45;
    margin-top: 4px;
}

.compact-form {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.admin-user-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px auto;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-user-row span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.admin-user-row small {
    color: var(--vf-muted);
}

.faction-banner-preview {
    width: 100%;
    min-height: 190px;
    margin-bottom: 18px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-position: center;
    background-size: cover;
    box-shadow: inset 0 -80px 120px rgba(0, 0, 0, 0.58), 0 24px 70px rgba(0, 0, 0, 0.25);
}

.leaderboard-grid {
    max-width: var(--vf-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.leaderboard-grid.wide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.leader-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 0;
    color: var(--vf-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

a.leader-row,
.link-row {
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

a.leader-row:hover,
.link-row:hover {
    color: var(--vf-text);
    transform: translateX(4px);
}

.search-note {
    margin-top: 16px;
    color: var(--vf-muted);
    font-weight: 750;
}

.filter-pills {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-pills a {
    padding: 9px 12px;
    border-radius: 999px;
    color: var(--vf-muted-strong);
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.075);
}

.filter-pills a.active,
.filter-pills a:hover {
    color: #160b03;
    background: linear-gradient(90deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
    border-color: transparent;
}

.leader-row:last-child {
    border-bottom: 0;
}

.leader-row strong {
    color: var(--vf-gold);
    white-space: nowrap;
}

.settings-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.settings-list label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    color: rgba(255, 255, 255, 0.82);
    font-weight: 800;
}

.settings-list input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #ff2b2b;
}

.settings-list .btn {
    margin-top: 6px;
}

.text-link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--vf-orange);
    font-weight: 900;
    text-decoration: none;
}

.news-grid {
    max-width: var(--vf-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.news-filters {
    max-width: var(--vf-container);
    margin: 0 auto 22px;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 18px;
    padding: 22px;
    border-radius: var(--vf-radius);
    background: var(--vf-panel);
    border: 1px solid var(--vf-border);
    box-shadow: var(--vf-shadow);
    backdrop-filter: blur(18px);
}

.news-image {
    height: 170px;
    margin: -8px -8px 22px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-size: cover;
    background-position: center;
}

.news-image.frost {
    background:
        linear-gradient(160deg, rgba(9, 16, 28, .08), rgba(9, 173, 211, .18)),
        url('/assets/img/news-frost.jpg?v=45') center/cover;
}

.news-image.ember {
    background:
        linear-gradient(160deg, rgba(255, 42, 42, .18), rgba(255, 138, 0, .12)),
        url('/assets/img/news-ember.jpg?v=45') center/cover;
}

.news-image.crystal {
    background:
        linear-gradient(160deg, rgba(146, 51, 234, .16), rgba(255, 42, 42, .14)),
        url('/assets/img/news-crystal.jpg?v=45') center/cover;
}

.latest-post-section {
    padding-top: 82px;
}

.latest-post-card {
    max-width: var(--vf-container);
    margin: 0 auto;
    min-height: 390px;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid rgba(255,255,255,.12);
    color: var(--vf-text);
    text-decoration: none;
    background: rgba(12, 14, 22, .92);
    box-shadow: var(--vf-shadow);
}

.latest-post-media {
    min-height: 390px;
    background:
        linear-gradient(160deg, rgba(255,42,42,.20), rgba(7,8,14,.16)),
        url('/assets/img/news-ember.jpg?v=45') center/cover;
}

.latest-post-card.news-crystal .latest-post-media {
    background:
        linear-gradient(160deg, rgba(146,51,234,.18), rgba(7,8,14,.14)),
        url('/assets/img/news-crystal.jpg?v=45') center/cover;
}

.latest-post-card.news-frost .latest-post-media {
    background:
        linear-gradient(160deg, rgba(9,173,211,.18), rgba(7,8,14,.14)),
        url('/assets/img/news-frost.jpg?v=45') center/cover;
}

.latest-post-card.news-ember .latest-post-media {
    background:
        linear-gradient(160deg, rgba(255,42,42,.20), rgba(7,8,14,.16)),
        url('/assets/img/news-ember.jpg?v=45') center/cover;
}

.latest-post-copy {
    padding: clamp(28px, 4vw, 52px);
    display: grid;
    align-content: center;
}

.latest-post-copy h2,
.latest-post-copy h3 {
    margin: 14px 0 0;
    font-size: clamp(34px, 4.6vw, 64px);
    line-height: .95;
    letter-spacing: -.055em;
}

.latest-post-copy p {
    margin: 18px 0 0;
    color: var(--vf-muted);
    font-size: 17px;
    line-height: 1.7;
}

.latest-post-copy strong {
    width: fit-content;
    margin-top: 24px;
    padding: 12px 16px;
    border-radius: 999px;
    color: #190701;
    background: linear-gradient(90deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.compact-news-filters {
    margin-top: 34px;
}

.compact-post-list {
    max-width: var(--vf-container);
    margin: 24px auto 0;
    display: grid;
    gap: 12px;
}

.compact-post-row {
    display: grid;
    gap: 6px;
    padding: 20px 22px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.10);
    color: var(--vf-text);
    text-decoration: none;
    background: rgba(255,255,255,.045);
}

.compact-post-row:hover {
    border-color: rgba(255,138,0,.28);
    background: rgba(255,42,42,.08);
}

.compact-post-row h3 {
    margin: 0;
    font-size: 22px;
}

.compact-post-row p {
    margin: 0;
    color: var(--vf-muted);
    line-height: 1.55;
}

.search-panel {
    max-width: 920px;
    margin: 0 auto 22px;
}

.search-direct-grid,
.suggestion-card,
.search-help,
.search-empty {
    max-width: var(--vf-container);
}

.search-direct-grid {
    margin: 0 auto 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.direct-card,
.suggestion-card {
    background: var(--vf-panel);
    border: 1px solid var(--vf-border);
    border-radius: var(--vf-radius);
    padding: 24px;
    box-shadow: var(--vf-shadow);
    backdrop-filter: blur(18px);
}

.direct-card {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--vf-text);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.direct-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 138, 0, 0.34);
}

.direct-card h3 {
    margin: 8px 0 0;
    font-size: 24px;
}

.direct-card p {
    margin: 8px 0 0;
    color: var(--vf-muted);
}

.direct-mark {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #160b03;
    font-weight: 950;
    font-size: 24px;
    background: linear-gradient(135deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
    box-shadow: var(--vf-glow);
}

.suggestion-card {
    margin: 0 auto 22px;
}

.suggestion-card h3 {
    margin: 10px 0 0;
    font-size: 24px;
}

.search-help {
    margin-top: 22px;
}

.search-empty {
    margin-inline: auto;
}

.search-row {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

.split-section {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
}

.split-copy h2 {
    margin: 12px 0 0;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.split-copy p {
    margin: 18px 0 0;
    color: var(--vf-muted);
    font-size: 17px;
    line-height: 1.75;
}

.pill-list {
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill-list li {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--vf-muted-strong);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
    font-weight: 750;
}

.status-panel {
    border-radius: 32px;
    padding: 24px;
    background: var(--vf-panel);
    border: 1px solid var(--vf-border);
    box-shadow: var(--vf-shadow);
    backdrop-filter: blur(18px);
}

.status-badges {
    max-width: var(--vf-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px;
    border-radius: 22px;
    background: var(--vf-panel);
    border: 1px solid var(--vf-border);
    box-shadow: var(--vf-shadow);
    backdrop-filter: blur(18px);
}

.status-badge strong,
.status-badge small {
    display: block;
}

.status-badge strong {
    font-size: 14px;
}

.status-badge small {
    margin-top: 4px;
    color: var(--vf-muted);
    line-height: 1.35;
}

.status-dot {
    width: 12px;
    height: 12px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--vf-gold);
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.3);
}

.status-badge.online .status-dot {
    background: var(--vf-green);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.34);
}

.status-badge.waiting .status-dot {
    background: var(--vf-orange);
    box-shadow: 0 0 20px rgba(255, 138, 0, 0.34);
}

.status-badge.error {
    border-color: rgba(255, 46, 70, 0.34);
    background: rgba(255, 46, 70, 0.08);
}

.status-badge.error .status-dot {
    background: var(--vf-red);
    box-shadow: 0 0 22px rgba(255, 46, 70, 0.42);
}

.status-live-hero.online {
    border-color: rgba(34, 197, 94, 0.26);
}

.status-live-hero.waiting {
    border-color: rgba(255, 138, 0, 0.32);
}

.status-live-hero.error {
    border-color: rgba(255, 46, 70, 0.38);
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 46, 70, 0.09), transparent 32rem),
        rgba(11, 13, 20, 0.84);
}

.status-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.status-live-hero.online .status-kicker .status-dot {
    background: var(--vf-green);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.34);
}

.status-live-hero.waiting .status-kicker .status-dot {
    background: var(--vf-orange);
    box-shadow: 0 0 20px rgba(255, 138, 0, 0.34);
}

.status-live-hero.error .status-kicker .status-dot {
    background: var(--vf-red);
    box-shadow: 0 0 22px rgba(255, 46, 70, 0.42);
}

.status-history-card {
    max-width: var(--vf-container);
    margin: 0 auto;
}

.status-history-card p {
    color: var(--vf-muted);
    line-height: 1.7;
}

.uptime-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.uptime-card {
    min-height: 142px;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid var(--vf-border);
    background: rgba(255, 255, 255, 0.045);
}

.uptime-card span,
.uptime-card small,
.uptime-card em {
    display: block;
}

.uptime-card span {
    color: var(--vf-muted);
    font-weight: 850;
}

.uptime-card strong {
    display: block;
    margin: 12px 0 4px;
    font-size: 26px;
    color: var(--vf-gold);
}

.uptime-card small {
    color: var(--vf-muted-strong);
}

.uptime-card em {
    margin-top: 10px;
    color: var(--vf-red);
    font-size: 12px;
    font-style: normal;
    line-height: 1.45;
}

.uptime-card.online {
    border-color: rgba(34, 197, 94, 0.28);
}

.uptime-card.online strong {
    color: var(--vf-green);
}

.uptime-card.waiting {
    border-color: rgba(255, 138, 0, 0.32);
}

.uptime-card.error {
    border-color: rgba(255, 46, 70, 0.38);
    background: rgba(255, 46, 70, 0.07);
}

.uptime-card.error strong {
    color: var(--vf-red);
}

.profile-status {
    margin-bottom: 20px;
}

.account-security {
    margin-top: 20px;
    margin-bottom: 0;
}

.empty-state {
    margin: 16px 0;
    padding: 18px;
    border-radius: 20px;
    color: var(--vf-muted);
    background: rgba(255, 255, 255, 0.045);
    border: 1px dashed rgba(255, 255, 255, 0.14);
}

.empty-state strong,
.empty-state span {
    display: block;
}

.empty-state strong {
    color: var(--vf-text);
}

.empty-state span {
    margin-top: 6px;
    line-height: 1.55;
}

.profile-actions {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-actions .btn {
    min-height: 42px;
}

.faction-tabs {
    max-width: var(--vf-container);
    margin: 0 auto 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.faction-tabs a {
    padding: 11px 15px;
    border-radius: 999px;
    color: var(--vf-muted-strong);
    text-decoration: none;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.075);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.faction-tabs a:hover {
    color: var(--vf-text);
    border-color: rgba(255, 138, 0, 0.34);
    background: rgba(255, 138, 0, 0.08);
}

.faction-section-grid {
    align-items: stretch;
}

.link-flow {
    max-width: 980px;
    margin: 20px auto 0;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 18px;
    align-items: center;
    padding: 24px;
    border-radius: var(--vf-radius);
    background: rgba(255, 138, 0, 0.07);
    border: 1px solid rgba(255, 138, 0, 0.17);
    box-shadow: var(--vf-shadow);
}

.link-flow h3 {
    margin: 8px 0 0;
    font-size: 24px;
}

.flow-steps {
    display: grid;
    gap: 10px;
}

.flow-steps span {
    padding: 13px 14px;
    border-radius: 16px;
    color: var(--vf-muted-strong);
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.status-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0;
    color: var(--vf-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.status-row:last-child {
    border-bottom: 0;
}

.status-row strong {
    color: var(--vf-gold);
}

.status-row.compact {
    padding: 13px 0;
}

.admin-news-row {
    align-items: center;
}

.admin-news-row > a {
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.admin-news-row > a span,
.admin-news-row > a strong {
    display: block;
}

.admin-news-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-news-actions form {
    margin: 0;
}

.status-row.compact.online strong {
    color: var(--vf-green);
}

.status-row.compact.waiting strong {
    color: var(--vf-orange);
}

.status-row.compact.error strong {
    color: var(--vf-red);
}

.account-security-list {
    margin-top: 16px;
}

.link-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.system-number {
    color: var(--vf-orange);
    font-weight: 950;
    letter-spacing: 0.18em;
    font-size: 13px;
}

.hub-section {
    padding-block: 90px;
}

.market-card,
.discord-card {
    max-width: 1120px;
    margin: 0 auto;
    border-radius: 32px;
    padding: 42px;
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    gap: 28px;
    align-items: center;
}

.market-preview {
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.23);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px;
}

.market-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0;
    color: var(--vf-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.market-row:last-child {
    border-bottom: 0;
}

.market-row strong {
    color: var(--vf-gold);
}

.roadmap {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.roadmap-item {
    border-radius: 24px;
    padding: 26px;
    border-left: 3px solid rgba(255, 255, 255, 0.12);
}

.roadmap-item.active {
    border-left-color: var(--vf-orange);
}

.roadmap-item span {
    color: var(--vf-orange);
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
}

.discord-section {
    padding-bottom: 130px;
}

.discord-card {
    grid-template-columns: 1fr auto;
}

/* ===============================
   Footer
   =============================== */

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(3, 5, 10, 0.72);
    backdrop-filter: blur(18px);
}

.footer-inner {
    max-width: var(--vf-container);
    margin: 0 auto;
    padding: 34px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    color: var(--vf-muted);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-links a {
    color: var(--vf-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--vf-orange);
}

/* ===============================
   Animation
   =============================== */

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes spinSlow {
    to {
        transform: rotate(360deg);
    }
}

@keyframes floatGlow {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-18px) scale(1.04);
    }
}

@keyframes wobble {
    0%, 100% {
        transform: rotate(-2deg) translateY(0);
    }

    50% {
        transform: rotate(2deg) translateY(-6px);
    }
}

/* ===============================
   Responsive
   =============================== */

@media (max-width: 1080px) {
    .hero-screenshot-frame {
        display: none;
    }

    .topbar-inner {
        flex-wrap: wrap;
        align-items: stretch;
    }

    .top-search {
        order: 3;
        max-width: none;
        width: 100%;
    }

    .header-playbar {
        order: 3;
        margin-left: auto;
    }

    .account-zone {
        margin-left: auto;
    }

    .nav {
        order: 4;
        width: 100%;
        justify-content: center;
        overflow-x: auto;
    }

    .feature-grid,
    .feature-matrix,
    .network-feature-grid,
    .interface-grid,
    .leaderboard-grid.wide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .systems-layout,
    .split-section,
    .portal-preview,
    .latest-post-card,
    .profile-dashboard,
    .profile-debug-grid,
    .account-grid,
    .leaderboard-grid,
    .market-card,
    .discord-card,
    .uptime-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .latest-post-media {
        min-height: 250px;
    }

    .discord-card {
        text-align: center;
    }

    .network-features .section-head {
        display: grid;
        text-align: center;
    }

    .network-features .section-head p {
        margin-left: auto;
        margin-right: auto;
    }

    .link-grid {
        justify-content: center;
    }
}

@media (max-width: 700px) {
    body {
        padding-bottom: 86px;
    }

    .topbar-inner {
        padding: 14px 18px;
        gap: 12px;
    }

    .brand-text span {
        display: none;
    }

    .nav {
        display: none;
    }

    .nav-link {
        white-space: nowrap;
    }

    .nav-cta {
        width: 100%;
    }

    .account-zone {
        width: auto;
        margin-left: auto;
        justify-content: flex-end;
    }

    .header-playbar {
        width: 100%;
        order: 3;
        justify-content: space-between;
    }

    .play-ip,
    .play-count {
        flex: 1;
        justify-content: center;
    }

    .play-ip span {
        display: none;
    }

    .header-playercount em {
        display: none;
    }

    .header-status-popover {
        right: -8px;
    }

    .auth-buttons,
    .player-mini {
        flex: 0 1 auto;
        min-width: 0;
    }

    .auth-link {
        flex: 0 1 auto;
        text-align: center;
    }

    .top-search {
        order: 3;
    }

    .hero {
        padding: 138px 18px 56px;
    }

    .hero-title {
        letter-spacing: -0.06em;
    }

    .hero-tags {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        line-height: 1.7;
    }

    .hero-tags span {
        margin: 0 4px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .feature-grid,
    .feature-matrix,
    .interface-grid,
    .leaderboard-grid.wide,
    .search-direct-grid,
    .news-grid,
    .news-filters,
    .mini-stats,
    .status-badges,
    .link-flow {
        grid-template-columns: 1fr;
    }

    .search-row {
        grid-template-columns: 1fr;
    }

    .market-card,
    .discord-card,
    .system-panel,
    .matrix-card,
    .interface-card,
    .profile-card,
    .login-panel,
    .auth-card,
    .reward-card,
    .leaderboard-card,
    .news-card,
    .search-panel,
    .feature-card,
    .roadmap-item {
        padding: 24px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 220;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 6px;
        padding: 8px;
        border-radius: 22px;
        background: rgba(6, 7, 13, 0.88);
        border: 1px solid rgba(255, 255, 255, 0.10);
        box-shadow: 0 20px 70px rgba(0, 0, 0, 0.44);
        backdrop-filter: blur(20px);
    }

    .mobile-bottom-nav a {
        min-height: 42px;
        display: grid;
        place-items: center;
        border-radius: 15px;
        color: var(--vf-muted-strong);
        text-decoration: none;
        font-size: 12px;
        font-weight: 950;
    }

    .mobile-bottom-nav a.active,
    .mobile-bottom-nav a:hover {
        color: #160b03;
        background: linear-gradient(90deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
    }
}

/* ===============================
   Portal Expansion
   =============================== */

.portal-hero,
.leaderboard-hero {
    max-width: var(--vf-container);
    margin: 124px auto 0;
    padding: 34px;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background:
        linear-gradient(135deg, rgba(255, 42, 42, 0.18), rgba(255, 138, 0, 0.08), rgba(9, 173, 211, 0.10)),
        rgba(14, 18, 31, 0.86);
    box-shadow: var(--vf-shadow);
    overflow: hidden;
}

.portal-hero {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 28px;
    align-items: center;
}

.portal-hero h1,
.leaderboard-hero h1 {
    margin: 12px 0 0;
    font-size: clamp(42px, 7vw, 84px);
    line-height: 0.94;
    letter-spacing: -0.07em;
}

.portal-hero p,
.leaderboard-hero p {
    max-width: 720px;
    color: var(--vf-muted);
    font-size: 18px;
    line-height: 1.7;
}

.portal-hero-art {
    min-height: 420px;
    position: relative;
}

.portal-hero-image {
    position: absolute;
    inset: 10px 0 70px 40px;
    width: calc(100% - 40px);
    height: calc(100% - 80px);
    object-fit: cover;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
    background: #0a0d14;
}

.portal-tabs-wrap {
    max-width: var(--vf-container);
    margin: -24px auto 0;
    padding: 0 18px;
    position: relative;
    z-index: 5;
}

.portal-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 10, 15, 0.82);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
}

.portal-tabs a {
    flex: 0 0 auto;
    padding: 12px 16px;
    border-radius: 999px;
    color: var(--vf-text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.055);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.portal-tabs a:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 42, 42, 0.42);
    background: rgba(255, 42, 42, 0.16);
}

.portal-tabs a.active {
    color: #190701;
    background: linear-gradient(90deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
}

.portal-art-card {
    position: absolute;
    display: grid;
    align-content: end;
    border-radius: 30px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
    overflow: hidden;
}

.portal-art-card::before,
.game-card::before,
.faction-showcase-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, transparent 0 45%, rgba(255,255,255,.08) 45% 50%, transparent 50%),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 100% 100%, 34px 34px, 34px 34px;
    opacity: 0.55;
}

.portal-art-card.main {
    inset: 10px 0 70px 40px;
    background:
        radial-gradient(circle at 72% 22%, rgba(255, 204, 0, 0.42), transparent 26%),
        radial-gradient(circle at 20% 70%, rgba(255, 42, 42, 0.38), transparent 30%),
        linear-gradient(135deg, #341018, #101a2f 58%, #12080d);
}

.portal-art-card.small {
    width: 190px;
    height: 150px;
    z-index: 2;
}

.portal-art-card.one {
    right: 24px;
    top: 0;
    background: linear-gradient(135deg, #3a0f0f, #ff2a2a);
}

.portal-art-card.two {
    left: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a102f, #09add3);
}

.portal-art-card span,
.portal-art-card strong {
    position: relative;
    z-index: 1;
}

.portal-art-card span {
    color: var(--vf-gold);
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.portal-art-card strong {
    margin-top: 8px;
    font-size: 44px;
    line-height: 0.92;
}

.game-card-grid,
.roadmap-vote-grid,
.faction-showcase-grid,
.portal-system-grid {
    max-width: var(--vf-container);
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.game-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.game-card {
    min-height: 360px;
    position: relative;
    display: grid;
    align-content: end;
    padding: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--vf-shadow);
    isolation: isolate;
    color: var(--vf-text);
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.game-card-render {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.96;
    transform: scale(1.04);
    transition: transform 260ms ease, opacity 260ms ease;
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 42, 42, 0.38);
    box-shadow: 0 34px 90px rgba(255, 42, 42, 0.18), var(--vf-shadow);
}

.game-card:hover .game-card-render {
    transform: scale(1.08);
    opacity: 1;
}

.game-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.22) 38%, rgba(0,0,0,0.88)),
        radial-gradient(circle at 18% 16%, rgba(255, 42, 42, 0.22), transparent 34%);
}

.game-card-body {
    position: relative;
    z-index: 1;
    padding: 26px;
    display: grid;
    gap: 10px;
}

.game-card span,
.game-card h3,
.game-card p,
.game-card strong {
    position: relative;
    z-index: 1;
}

.game-card span {
    width: fit-content;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.38);
    color: var(--vf-gold);
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px;
}

.game-card h3 {
    margin: 4px 0 0;
    font-size: clamp(32px, 3.5vw, 52px);
    line-height: 0.9;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.7);
}

.game-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
    font-weight: 750;
}

.game-card strong {
    width: fit-content;
    margin-top: 4px;
    padding: 10px 14px;
    border-radius: 999px;
    color: #190701;
    background: linear-gradient(90deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
    box-shadow: 0 16px 36px rgba(255, 42, 42, 0.22);
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.game-ember { background: radial-gradient(circle at 20% 20%, #ffcc00, transparent 22%), linear-gradient(135deg, #411112, #12060a); }
.game-crimson { background: radial-gradient(circle at 75% 25%, #ff2a2a, transparent 24%), linear-gradient(135deg, #1b0b0b, #371018); }
.game-gold { background: radial-gradient(circle at 65% 18%, #ffcc00, transparent 24%), linear-gradient(135deg, #2e2109, #111827); }
.game-violet { background: radial-gradient(circle at 75% 30%, #a855f7, transparent 26%), linear-gradient(135deg, #190c30, #0b1020); }
.game-steel { background: radial-gradient(circle at 25% 20%, #94a3b8, transparent 24%), linear-gradient(135deg, #101827, #030712); }
.game-neon { background: radial-gradient(circle at 70% 20%, #09add3, transparent 24%), linear-gradient(135deg, #06131b, #270b1c); }

.game-ember::before,
.game-crimson::before,
.game-gold::before,
.game-violet::before,
.game-steel::before,
.game-neon::before {
    opacity: 0.8;
}

.command-center-grid {
    max-width: var(--vf-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 0.85fr 0.85fr;
    gap: 18px;
}

.command-card,
.roadmap-vote-card,
.faction-showcase-card {
    position: relative;
    border-radius: var(--vf-radius);
    padding: 26px;
    border: 1px solid var(--vf-border);
    background: var(--vf-panel);
    box-shadow: var(--vf-shadow);
    backdrop-filter: blur(18px);
    overflow: hidden;
}

.command-card.large {
    min-height: 280px;
}

.notifications-feed {
    max-width: var(--vf-container);
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.notification-actions {
    width: min(var(--vf-container), calc(100% - 36px));
    margin: 14px auto 0;
    display: flex;
    justify-content: flex-end;
}

.notification-undo-form {
    width: min(var(--vf-container), calc(100% - 36px));
    margin: 10px auto 0;
    display: none;
    justify-content: flex-end;
}

.notification-undo-form.is-visible {
    display: flex;
}

.notification-card {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    border-radius: var(--vf-radius);
    border: 1px solid var(--vf-border);
    background:
        radial-gradient(circle at 0 0, rgba(255, 42, 42, 0.12), transparent 28%),
        var(--vf-panel);
    box-shadow: var(--vf-shadow);
}

.notification-card.is-unread {
    border-color: rgba(255, 42, 42, 0.42);
    box-shadow: 0 18px 52px rgba(255, 0, 40, 0.13);
}

.notification-card.is-read {
    opacity: 0.72;
}

.notification-card h3 {
    margin: 6px 0;
    font-size: 22px;
}

.notification-card p {
    margin: 0;
    color: var(--vf-muted);
    line-height: 1.55;
}

.notification-card > strong {
    white-space: nowrap;
    color: var(--vf-muted);
    font-size: 13px;
}

.inline-action-row {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.btn.compact {
    padding: 9px 12px;
    min-height: 0;
    font-size: 12px;
}

.marketplace-grid .game-card {
    min-height: 260px;
}

.marketplace-grid .game-card h3 {
    font-size: clamp(30px, 3vw, 46px);
}

.marketplace-grid .game-card p {
    max-width: 34ch;
}

.network-top-strip {
    max-width: var(--vf-container);
    width: min(var(--vf-container), calc(100% - 36px));
    margin: 14px auto -22px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 10, 15, 0.74);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(18px);
    position: relative;
    z-index: 5;
}

.network-counter,
.network-playnow,
.network-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.network-counter {
    min-width: auto;
    padding: 0 6px;
}

.network-counter > span:not(.status-dot),
.network-playnow span {
    color: var(--vf-muted);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.network-counter strong,
.network-playnow strong {
    color: var(--vf-text);
    font-size: 16px;
    letter-spacing: -0.03em;
}

.network-counter small {
    color: var(--vf-muted);
    font-size: 12px;
    font-weight: 800;
}

.network-health-chips {
    display: flex;
    align-items: center;
    gap: 7px;
}

.network-health-chips em {
    padding: 6px 9px;
    border-radius: 999px;
    color: rgba(255,255,255,.86);
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.08);
    font-size: 11px;
    font-style: normal;
    font-weight: 950;
}

.network-actions a {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--vf-text);
    text-decoration: none;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.06);
}

.api-uptime-widget {
    padding: 10px 13px;
    border-radius: 999px;
    color: rgba(255,255,255,.86);
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

.network-actions a:last-child {
    color: #190701;
    background: linear-gradient(90deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
}

.copy-ip-button {
    border: 0;
    border-radius: 999px;
    padding: 9px 12px;
    color: #190701;
    background: linear-gradient(90deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
    font-weight: 950;
    cursor: pointer;
}

.featured-news-rail {
    max-width: var(--vf-container);
    margin: 0 auto;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(360px, 1fr);
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
}

.featured-news-card {
    min-height: 230px;
    display: grid;
    grid-template-columns: 132px 86px 1fr;
    gap: 20px;
    align-items: end;
    position: relative;
    padding: 24px;
    border-radius: 28px;
    overflow: hidden;
    color: var(--vf-text);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 80% 0, rgba(255, 42, 42, 0.24), transparent 34%),
        var(--vf-panel);
    box-shadow: var(--vf-shadow);
    scroll-snap-align: start;
}

.featured-news-visual {
    min-height: 158px;
    align-self: stretch;
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    background:
        linear-gradient(160deg, rgba(255,42,42,.62), rgba(255,138,0,.24)),
        url('/assets/img/news-ember.jpg?v=45') center/cover;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.featured-news-card.news-crystal .featured-news-visual {
    background:
        linear-gradient(160deg, rgba(9,173,211,.54), rgba(255,42,42,.22)),
        url('/assets/img/news-crystal.jpg?v=45') center/cover;
}

.featured-news-card.news-frost .featured-news-visual {
    background:
        linear-gradient(160deg, rgba(148,163,184,.54), rgba(255,42,42,.18)),
        url('/assets/img/news-frost.jpg?v=45') center/cover;
}

.featured-news-card.news-ember .featured-news-visual {
    background:
        linear-gradient(160deg, rgba(255,42,42,.58), rgba(255,138,0,.22)),
        url('/assets/img/news-ember.jpg?v=45') center/cover;
}

.featured-news-card .featured-update-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #190701;
    background: linear-gradient(90deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
    font-size: 10px;
    font-weight: 1000;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: 0 10px 28px rgba(0,0,0,.26);
}

.featured-news-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, transparent 0 45%, rgba(255,255,255,.08) 45% 50%, transparent 50%),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 100% 100%, 34px 34px, 34px 34px;
    opacity: 0.55;
}

.featured-news-card > * {
    position: relative;
    z-index: 1;
}

.featured-news-card.news-crystal {
    background: radial-gradient(circle at 75% 15%, rgba(9, 173, 211, 0.32), transparent 34%), var(--vf-panel);
}

.featured-news-card.news-frost {
    background: radial-gradient(circle at 75% 15%, rgba(148, 163, 184, 0.28), transparent 34%), var(--vf-panel);
}

.featured-news-card.news-ember {
    background: radial-gradient(circle at 75% 15%, rgba(255, 42, 42, 0.32), transparent 34%), var(--vf-panel);
}

.featured-news-date {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    text-align: center;
    border-radius: 24px;
    color: #190701;
    background: linear-gradient(135deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
    font-size: 13px;
    font-weight: 1000;
}

.featured-news-card span {
    color: var(--vf-gold);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.featured-news-card h3 {
    margin: 8px 0;
    font-size: 30px;
    line-height: 1.02;
}

.featured-news-card p {
    margin: 0;
    color: var(--vf-muted);
    line-height: 1.55;
}

.slider-actions {
    display: flex;
    gap: 10px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    color: var(--vf-text);
    background: rgba(255,255,255,.06);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.slider-btn:hover {
    color: #190701;
    background: linear-gradient(90deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
}

.slider-dots {
    max-width: var(--vf-container);
    margin: 12px auto 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.slider-dots button {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.24);
    cursor: pointer;
}

.slider-dots button.active {
    width: 28px;
    background: linear-gradient(90deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
}

.vf-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 200;
    transform: translate(-50%, 20px);
    padding: 12px 16px;
    border-radius: 999px;
    color: #190701;
    background: linear-gradient(90deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
    font-weight: 950;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 20px 70px rgba(0,0,0,.34);
    transition: opacity 180ms ease, transform 180ms ease;
}

.vf-toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.admin-shell {
    max-width: 1480px;
    margin: 0 auto;
    padding: 34px 18px 80px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 22px;
}

.admin-sidebar {
    position: sticky;
    top: 92px;
    align-self: start;
    min-height: calc(100vh - 130px);
    padding: 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 0 0, rgba(255, 42, 42, 0.18), transparent 34%),
        rgba(8, 10, 15, 0.88);
    box-shadow: var(--vf-shadow);
    backdrop-filter: blur(18px);
}

.admin-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.admin-sidebar-brand strong,
.admin-sidebar-brand small {
    display: block;
}

.admin-sidebar-brand small {
    color: var(--vf-muted);
}

.admin-sidebar nav {
    display: grid;
    gap: 8px;
}

.admin-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 14px;
    border-radius: 16px;
    color: var(--vf-text);
    text-decoration: none;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid transparent;
}

.admin-nav-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-grid;
    place-items: center;
    color: #190701;
    background:
        linear-gradient(135deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.16) inset,
        0 10px 28px rgba(255, 42, 42, 0.22);
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: 0.04em;
}

.admin-sidebar nav a:hover {
    border-color: rgba(255, 42, 42, 0.35);
    background: rgba(255, 42, 42, 0.14);
}

.admin-sidebar nav a:hover .admin-nav-icon {
    transform: translateY(-1px) scale(1.04);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.22) inset,
        0 16px 34px rgba(255, 42, 42, 0.34);
}

.admin-main {
    display: grid;
    gap: 22px;
}

.admin-hero,
.admin-panel,
.admin-kpi-grid article {
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 100% 0, rgba(255, 138, 0, 0.12), transparent 28%),
        var(--vf-panel);
    box-shadow: var(--vf-shadow);
    backdrop-filter: blur(18px);
}

.admin-hero {
    min-height: 260px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    padding: clamp(28px, 5vw, 54px);
}

.admin-hero h1 {
    max-width: 850px;
    margin: 10px 0 12px;
    font-size: clamp(42px, 6vw, 78px);
    line-height: 0.92;
}

.admin-hero p {
    max-width: 720px;
    color: var(--vf-muted);
    font-size: 18px;
    line-height: 1.65;
}

.admin-live-card {
    min-width: 180px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    gap: 6px;
}

.admin-live-card small {
    color: var(--vf-muted);
}

.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.admin-system-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr) minmax(180px, .42fr);
    gap: 20px;
    align-items: stretch;
    padding: 26px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 90% 0, rgba(60, 255, 143, 0.10), transparent 30%),
        radial-gradient(circle at 0 100%, rgba(255, 42, 42, 0.15), transparent 34%),
        var(--vf-panel);
    box-shadow: var(--vf-shadow);
}

.admin-system-card h2 {
    margin: 8px 0 10px;
    font-size: 34px;
}

.admin-system-card p {
    margin: 0;
    color: var(--vf-muted);
    line-height: 1.6;
}

.admin-system-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.admin-system-metrics article {
    padding: 15px;
    border-radius: 20px;
    background: rgba(0,0,0,.22);
    border: 1px solid rgba(255,255,255,.08);
}

.admin-system-metrics span {
    display: block;
    color: var(--vf-muted);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-system-metrics strong {
    display: block;
    margin-top: 7px;
    color: var(--vf-text);
    font-size: 18px;
}

.admin-tps-trend {
    min-height: 150px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: 9px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(0,0,0,.20);
    border: 1px solid rgba(255,255,255,.08);
}

.admin-tps-trend div {
    height: 100%;
    display: grid;
    grid-template-rows: 1fr auto auto;
    align-items: end;
    gap: 5px;
    text-align: center;
}

.admin-tps-trend span {
    width: 100%;
    min-height: 8px;
    border-radius: 999px 999px 8px 8px;
    background: linear-gradient(180deg, #3cff8f, var(--vf-orange), var(--vf-red));
    box-shadow: 0 14px 30px rgba(255,42,42,.20);
}

.admin-tps-trend strong {
    color: var(--vf-text);
    font-size: 13px;
}

.admin-tps-trend small {
    color: var(--vf-muted);
    font-size: 11px;
    font-weight: 900;
}

.admin-kpi-grid article {
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.admin-kpi-grid article::after {
    content: "";
    position: absolute;
    right: -34px;
    top: -34px;
    width: 112px;
    height: 112px;
    border-radius: 999px;
    background: rgba(255, 42, 42, 0.12);
}

.admin-kpi-grid article i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 14px;
    color: #190701;
    background: linear-gradient(135deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
    box-shadow: 0 12px 32px rgba(255, 42, 42, 0.24);
    font-style: normal;
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: 0.04em;
}

.admin-kpi-grid span,
.admin-kpi-grid strong {
    position: relative;
    z-index: 1;
    display: block;
}

.admin-kpi-grid span {
    color: var(--vf-muted);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-kpi-grid strong {
    margin-top: 8px;
    font-size: 34px;
}

.admin-grid.two {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
    gap: 22px;
}

.admin-panel {
    padding: 24px;
}

.admin-panel h2 {
    margin: 8px 0 18px;
    font-size: 30px;
}

.admin-panel-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.admin-panel-head small {
    color: var(--vf-muted);
}

.admin-chart {
    height: 260px;
    display: grid;
    grid-template-columns: repeat(14, minmax(0, 1fr));
    gap: 10px;
    align-items: end;
    padding-top: 18px;
}

.admin-bar {
    height: 100%;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 8px;
    align-items: end;
    text-align: center;
}

.admin-bar span {
    align-self: end;
    min-height: 8px;
    border-radius: 999px 999px 8px 8px;
    background: linear-gradient(180deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
    box-shadow: 0 0 30px rgba(255, 42, 42, 0.24);
}

.admin-bar small {
    color: var(--vf-muted);
    font-size: 11px;
    transform: rotate(-28deg);
}

.admin-status-list,
.admin-table {
    display: grid;
    gap: 10px;
}

.admin-table-row {
    display: grid;
    grid-template-columns: minmax(180px, 1.5fr) minmax(100px, 1fr) minmax(110px, 0.9fr) minmax(96px, 0.8fr) minmax(120px, 0.8fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-table-row.web {
    grid-template-columns: minmax(180px, 1.5fr) minmax(160px, 1.2fr) minmax(100px, 0.8fr) minmax(120px, 0.8fr) auto;
}

.admin-table-row.appeal {
    grid-template-columns: minmax(180px, 1.1fr) minmax(220px, 1.7fr) minmax(120px, .7fr) minmax(160px, 1fr) auto;
}

.admin-table-row span {
    color: var(--vf-muted);
}

.admin-table-row span strong,
.admin-table-row span small {
    display: block;
}

.admin-table-row span strong {
    color: var(--vf-text);
}

.admin-table-row span small {
    font-size: 12px;
}

.admin-table-row select,
.admin-table-row input {
    width: 100%;
    min-height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.28);
    color: var(--vf-text);
    padding: 0 10px;
}

.economy-form-gap {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.notice-line {
    display: grid;
    gap: 4px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.notice-line:last-child {
    border-bottom: 0;
}

.notice-line span {
    color: var(--vf-muted);
    line-height: 1.45;
}

.notice-line.online strong {
    color: var(--vf-green);
}

.notice-line.waiting strong {
    color: var(--vf-gold);
}

.roadmap-vote-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.roadmap-vote-card {
    display: grid;
    gap: 12px;
}

.roadmap-vote-card span,
.system-pill {
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    color: #190701;
    background: linear-gradient(90deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
    font-size: 12px;
    font-weight: 950;
}

.roadmap-vote-card h3 {
    margin: 0;
    font-size: 24px;
}

.roadmap-vote-card p {
    margin: 0;
    color: var(--vf-muted);
    line-height: 1.55;
}

.faction-showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faction-showcase-card {
    min-height: 190px;
    display: grid;
    align-content: end;
    color: var(--vf-text);
    text-decoration: none;
    background:
        radial-gradient(circle at 70% 20%, rgba(255, 42, 42, 0.35), transparent 32%),
        linear-gradient(135deg, rgba(255, 138, 0, 0.12), rgba(9, 173, 211, 0.08)),
        var(--vf-panel);
}

.faction-showcase-card span,
.faction-showcase-card h3,
.faction-showcase-card p {
    position: relative;
    z-index: 1;
}

.faction-showcase-card h3 {
    margin: 12px 0 6px;
    font-size: 34px;
}

.faction-showcase-card p {
    margin: 0;
    color: var(--vf-muted);
}

.portal-system-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.leaderboard-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.leaderboard-counter {
    min-width: 160px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255,255,255,.1);
    text-align: center;
}

.leaderboard-counter span,
.leaderboard-counter strong {
    display: block;
}

.leaderboard-counter span {
    color: var(--vf-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px;
    font-weight: 950;
}

.leaderboard-counter strong {
    margin-top: 6px;
    color: var(--vf-gold);
    font-size: 44px;
}

.league-strip {
    max-width: var(--vf-container);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255,255,255,.08);
}

.league-strip a {
    padding: 12px 16px;
    border-radius: 999px;
    color: var(--vf-muted-strong);
    text-decoration: none;
    font-weight: 950;
}

.league-strip a:hover {
    color: #170902;
    background: linear-gradient(90deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
}

.leaderboard-premium {
    background:
        radial-gradient(circle at 80% 0%, rgba(255, 138, 0, 0.16), transparent 34%),
        var(--vf-panel);
}

.footer {
    padding: 34px 24px 42px;
    background:
        linear-gradient(180deg, rgba(5, 6, 10, 0), rgba(5, 6, 10, 0.92)),
        rgba(6, 7, 13, 0.92);
    border-top: 1px solid rgba(255,255,255,.08);
}

.footer-inner {
    max-width: var(--vf-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.8fr 2fr;
    gap: 30px;
    align-items: start;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-brand strong,
.footer-brand small {
    display: block;
}

.footer-brand strong {
    font-size: 24px;
}

.footer-brand small {
    margin-top: 4px;
    color: var(--vf-muted);
}

.footer-socials {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.footer-socials a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #190701;
    text-decoration: none;
    background: linear-gradient(135deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
    font-size: 11px;
    font-weight: 1000;
}

.footer-socials svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.footer-column-card {
    min-height: 190px;
    padding: 20px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.09);
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 42, 42, .14), transparent 34%),
        rgba(255,255,255,.045);
}

.footer-column-card.accent {
    border-color: rgba(255, 138, 0, .28);
    background:
        radial-gradient(circle at 22% 0%, rgba(255, 138, 0, .20), transparent 36%),
        linear-gradient(145deg, rgba(255, 42, 42, .10), rgba(255,255,255,.045));
}

.footer-column-card span {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    color: #190705;
    background: linear-gradient(135deg, var(--vf-red), var(--vf-orange), var(--vf-gold));
    font-size: 11px;
    font-weight: 1000;
}

.footer-columns h4 {
    margin: 14px 0 8px;
    color: var(--vf-gold);
}

.footer-columns p {
    margin: 0 0 12px;
    color: var(--vf-muted);
    font-size: 13px;
    line-height: 1.45;
}

.footer-columns a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 0;
    color: var(--vf-muted-strong);
    text-decoration: none;
    font-weight: 850;
}

.footer-columns a::after {
    content: "›";
    color: var(--vf-orange);
    opacity: .78;
}

.footer-columns a:hover {
    color: var(--vf-text);
}

.footer-bottom {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: var(--vf-muted);
}

@media (max-width: 920px) {
    .portal-hero,
    .leaderboard-hero,
    .command-center-grid,
    .game-card-grid,
    .network-feature-grid,
    .roadmap-vote-grid,
    .faction-showcase-grid,
    .portal-system-grid,
    .footer-inner,
    .footer-columns {
        grid-template-columns: 1fr;
    }

    .leaderboard-hero {
        align-items: stretch;
    }

    .portal-hero-art {
        min-height: 300px;
    }

    .portal-hero-image,
    .portal-art-card.main {
        inset: 20px 20px 60px 20px;
        width: calc(100% - 40px);
        height: calc(100% - 80px);
    }

    .footer-bottom {
        flex-direction: column;
    }

    .network-top-strip,
    .admin-hero,
    .admin-system-card,
    .admin-panel-head,
    #featured-news .section-head {
        align-items: stretch;
        flex-direction: column;
    }

    .network-top-strip {
        border-radius: 22px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .admin-system-card {
        grid-template-columns: 1fr;
    }

    .hero-screenshot-frame {
        display: none;
    }

    .featured-news-rail {
        grid-auto-columns: minmax(280px, 88vw);
    }

    .featured-news-card {
        grid-template-columns: 1fr;
    }

    .featured-news-visual {
        min-height: 170px;
    }

    .admin-shell,
    .admin-grid.two {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: relative;
        top: auto;
        min-height: 0;
    }

    .admin-sidebar nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-system-metrics {
        grid-template-columns: 1fr;
    }

    .admin-table-row,
    .admin-table-row.web,
    .admin-table-row.appeal {
        grid-template-columns: 1fr;
    }

    .admin-chart {
        overflow-x: auto;
        grid-template-columns: repeat(14, 36px);
    }
}

/* ===============================
   Clean Network Refresh
   =============================== */

body {
    background:
        linear-gradient(180deg, #050507 0%, #090a0e 44%, #050507 100%);
}

.page-home .topbar {
    position: absolute;
    background: linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,0));
    border-bottom: 0;
    backdrop-filter: none;
}

.topbar {
    background: rgba(7, 8, 12, .86);
    border-bottom: 1px solid rgba(255,255,255,.07);
    backdrop-filter: blur(20px);
}

.topbar-inner {
    display: grid;
    grid-template-columns: minmax(190px, 1fr) auto minmax(280px, 1fr);
    align-items: center;
    gap: 18px;
    padding-block: 14px;
}

.brand {
    justify-self: start;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    box-shadow: 0 12px 34px rgba(255, 108, 0, .24);
}

.brand-text span {
    letter-spacing: .14em;
}

.nav {
    justify-self: center;
    padding: 5px;
    background: rgba(255,255,255,.055);
    border-color: rgba(255,255,255,.09);
}

.nav-link {
    padding: 9px 18px;
    font-weight: 900;
}

.nav-link:hover,
.nav-link.active {
    color: #1d0b02;
    background: linear-gradient(135deg, #ff5a1f, #ff8a00 60%, #ffc247);
}

.header-right {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.header-playbar {
    padding: 0;
    gap: 0;
    overflow: hidden;
    border-color: rgba(255, 138, 0, .26);
    background: rgba(255, 138, 0, .08);
    box-shadow: 0 16px 40px rgba(0,0,0,.22);
}

.play-ip {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff5a1f, #ff8a00 60%, #ffc247);
    box-shadow: none;
}

.play-ip span {
    display: none;
}

.play-count {
    min-height: 42px;
    padding: 0 13px;
    border-radius: 0 999px 999px 0;
    background: rgba(0,0,0,.22);
}

.auth-buttons {
    gap: 8px;
}

.auth-link {
    min-height: 40px;
    border-radius: 999px;
}

.hero {
    min-height: min(820px, 92vh);
    padding: 150px 24px 120px;
    justify-content: flex-start;
    background: #030305;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.68) 33%, rgba(0,0,0,.20) 70%, rgba(0,0,0,.46) 100%),
        linear-gradient(0deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.16) 52%, rgba(0,0,0,.46) 100%),
        url('/assets/img/hero-warzone.jpg?v=clean-network') center/cover;
    opacity: .92;
}

.embers-canvas,
.hero-glow,
.logo-wrap {
    display: none;
}

.hero-screenshot-frame {
    display: none;
}

.hero-content {
    width: min(var(--vf-container), calc(100vw - 48px));
    max-width: var(--vf-container);
    margin: 0 auto;
    text-align: left;
}

.eyebrow,
.section-kicker {
    color: var(--vf-orange);
    letter-spacing: .14em;
}

.hero-title {
    max-width: 700px;
    margin-top: 18px;
    font-size: clamp(58px, 7.4vw, 106px);
    line-height: .88;
    letter-spacing: -.075em;
}

.hero-title span {
    background: linear-gradient(90deg, #ff4b1f, #ff8a00 62%, #ffd84d);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-tags {
    margin-top: 24px;
    color: rgba(255,255,255,.92);
    font-size: 13px;
}

.hero-text {
    max-width: 540px;
    margin: 22px 0 0;
    color: rgba(232, 236, 246, .82);
    font-size: 18px;
    line-height: 1.72;
}

.server-copy-card {
    max-width: 560px;
    margin-top: 34px;
}

.server-copy-card > span {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 1000;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.server-copy-card > div {
    display: grid;
    grid-template-columns: 1fr auto;
    min-height: 54px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0,0,0,.36);
}

.server-copy-card button {
    border: 0;
    padding: 0 18px;
    color: rgba(255,255,255,.88);
    background: rgba(255,255,255,.20);
    font-size: 17px;
    text-align: left;
    cursor: pointer;
}

.server-copy-card strong {
    display: grid;
    place-items: center;
    padding: 0 24px;
    color: #fff;
    background: #ef3728;
    font-size: 15px;
    font-weight: 900;
}

.server-copy-card small {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    color: rgba(255,255,255,.86);
    font-size: 15px;
}

.server-copy-card i {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #ffd84d;
    box-shadow: 0 0 20px rgba(255,216,77,.6);
}

.hero-social-row {
    display: none;
    align-items: center;
    gap: 28px;
    margin-top: 78px;
}

.hero-social-row a {
    min-width: 270px;
    min-height: 74px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    background: rgba(23, 40, 48, .86);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 20px 60px rgba(0,0,0,.34);
    font-size: 26px;
    font-weight: 800;
}

.hero-social-row a::after {
    content: "››";
    color: #ef3728;
    letter-spacing: -.18em;
}

.btn {
    min-height: 54px;
    padding-inline: 26px;
    border-radius: 999px;
}

.btn-primary {
    color: #1d0b02;
    background: linear-gradient(135deg, #ff5a1f, #ff8a00 58%, #ffc247);
    box-shadow: 0 18px 42px rgba(255, 108, 0, .24);
}

.btn-primary:hover {
    box-shadow: 0 22px 54px rgba(255, 108, 0, .34);
}

.btn-secondary {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.16);
}

.section {
    padding: 52px 24px;
}

.section-dark {
    background: transparent;
    border-block: 0;
}

.section-head {
    max-width: var(--vf-container);
    margin-bottom: 30px;
    text-align: center;
}

.section-head h2,
.discord-card h2 {
    font-size: clamp(32px, 4.2vw, 54px);
}

.section-head p,
.discord-card p {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(232, 236, 246, .70);
}

.game-card-grid {
    gap: 18px;
}

.game-card {
    min-height: 450px;
    border-radius: 16px;
    border-color: rgba(255,255,255,.10);
    box-shadow: 0 22px 70px rgba(0,0,0,.36);
}

.game-status-chip {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    color: #f8fbff;
    background: rgba(0,0,0,.54);
    border: 1px solid rgba(255,255,255,.13);
    backdrop-filter: blur(10px);
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.game-status-chip::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #41d987;
    box-shadow: 0 0 18px rgba(65, 217, 135, .76);
}

.game-status-chip.soon::before {
    background: #ffb13b;
    box-shadow: 0 0 18px rgba(255, 177, 59, .76);
}

.game-card::after {
    background:
        linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.18) 34%, rgba(0,0,0,.86)),
        linear-gradient(135deg, rgba(255, 114, 0, .14), transparent 42%);
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 138, 0, .44);
    box-shadow: 0 30px 90px rgba(255, 108, 0, .14), 0 22px 70px rgba(0,0,0,.42);
}

.game-card-body {
    min-height: 100%;
    padding: 28px;
    align-content: end;
}

.game-card span {
    color: #ffc247;
    background: rgba(0,0,0,.46);
}

.game-card h3 {
    font-size: clamp(44px, 5.4vw, 78px);
    letter-spacing: -.065em;
}

.game-card strong,
.latest-post-copy strong {
    background: linear-gradient(135deg, #ff5a1f, #ff8a00 60%, #ffc247);
    box-shadow: 0 14px 32px rgba(255, 108, 0, .22);
}

.game-card strong {
    margin-top: 10px;
    padding: 12px 18px;
    font-size: 13px;
}

.latest-post-section {
    padding-top: 68px;
}

.latest-post-card {
    min-height: 320px;
    grid-template-columns: .9fr 1.1fr;
    border-radius: 18px;
    border-color: rgba(255,255,255,.10);
    background: rgba(13, 15, 22, .94);
    box-shadow: 0 22px 70px rgba(0,0,0,.34);
}

.latest-post-media {
    min-height: 320px;
}

.latest-post-copy {
    padding: clamp(28px, 4vw, 46px);
}

.latest-post-copy h3 {
    font-size: clamp(30px, 4vw, 52px);
}

.discord-section {
    display: none;
}

.discord-card {
    max-width: var(--vf-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(255, 108, 0, .10), rgba(255,255,255,.035)),
        rgba(9, 10, 14, .98);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 22px 70px rgba(0,0,0,.34);
}

.footer {
    background: #030305;
    border-top-color: rgba(255,255,255,.07);
}

.footer-inner {
    padding-block: 22px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
}

.footer-brand small {
    color: rgba(232,236,246,.58);
}

.footer-socials {
    display: none;
}

.footer-compact-links {
    justify-self: end;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-compact-links a {
    padding: 8px 12px;
    border-radius: 999px;
    color: rgba(232,236,246,.68);
    text-decoration: none;
    font-size: 13px;
    font-weight: 850;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.07);
}

.footer-compact-links a:hover {
    color: #fff;
    border-color: rgba(255,138,0,.30);
}

.footer-bottom {
    display: none;
}

@media (max-width: 920px) {
    .topbar-inner {
        grid-template-columns: 1fr auto;
    }

    .brand {
        grid-column: 1;
    }

    .header-right {
        grid-column: 2;
    }

    .nav {
        grid-column: 1 / -1;
        width: 100%;
        justify-content: center;
    }

    .header-playbar .play-count {
        display: none;
    }

    .hero {
        min-height: 720px;
        padding: 124px 20px 74px;
    }

    .hero-content,
    .section-head {
        text-align: left;
    }

    .hero-actions {
        justify-content: flex-start;
    }

    .server-copy-card > div {
        grid-template-columns: 1fr;
    }

    .server-copy-card strong {
        min-height: 48px;
    }

    .hero-social-row {
        margin-top: 44px;
        display: grid;
        gap: 12px;
    }

    .hero-social-row a {
        min-width: 0;
        min-height: 58px;
        font-size: 20px;
    }

    .discord-card,
    .latest-post-card {
        grid-template-columns: 1fr;
    }

    .game-card {
        min-height: 340px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .footer-compact-links {
        justify-self: start;
        margin-top: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===============================
   Network Polish Pass
   =============================== */

:root {
    --vf-blue: #2e5cb8;
    --vf-blue-soft: rgba(46, 92, 184, .18);
    --vf-red-clean: #ef3728;
}

.network-wordmark {
    display: inline-grid;
    gap: 0;
    align-content: center;
    width: max-content;
    justify-self: start;
    color: #fff;
    text-decoration: none;
    transform: rotate(-5deg) skew(-7deg);
    transform-origin: left center;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .44));
}

.network-logo-img {
    width: clamp(142px, 13vw, 210px);
    height: auto;
    display: block;
}

.network-wordmark .wordmark-line {
    display: block;
    font-weight: 1000;
    line-height: .76;
    letter-spacing: -.08em;
    text-transform: uppercase;
    -webkit-text-stroke: 1px rgba(0, 0, 0, .36);
}

.network-wordmark .wordmark-vetro {
    color: #ff8a00;
    font-size: clamp(26px, 2.6vw, 38px);
}

.network-wordmark .wordmark-forgenet {
    margin-left: 18px;
    color: var(--vf-red-clean);
    font-size: clamp(24px, 2.25vw, 34px);
}

.page-home .nav-link:hover,
.page-home .nav-link.active,
.nav-link:hover,
.nav-link.active {
    color: #f7fbff;
    background: rgba(46, 92, 184, .92);
    box-shadow: 0 10px 30px rgba(46, 92, 184, .22);
}

.page-home .header-playbar,
.header-playbar {
    border-color: rgba(46, 92, 184, .32);
    background: var(--vf-blue-soft);
}

.page-home .play-ip,
.play-ip,
.page-home .auth-link.primary,
.auth-link.primary {
    color: #fff;
    background: linear-gradient(135deg, #244fa7, var(--vf-blue));
    box-shadow: 0 14px 34px rgba(46, 92, 184, .26);
}

.page-home .auth-link,
.auth-link {
    color: #f5f7fb;
    border-color: rgba(46, 92, 184, .34);
    background: rgba(46, 92, 184, .13);
}

.page-home .auth-link:hover,
.auth-link:hover,
.page-home .play-ip:hover,
.play-ip:hover {
    color: #fff;
    border-color: rgba(80, 130, 230, .62);
    background: rgba(46, 92, 184, .82);
}

.server-copy-card {
    max-width: 500px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.server-copy-card > span {
    margin-bottom: 9px;
    color: rgba(255, 255, 255, .9);
    letter-spacing: .11em;
}

.server-copy-card > div {
    grid-template-columns: minmax(0, 1fr) 142px;
    min-height: 58px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 12px;
    background: rgba(6, 9, 16, .58);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .32);
}

.server-copy-card button {
    padding-inline: 20px;
    color: #f8fbff;
    background: rgba(255, 255, 255, .06);
    font-size: 18px;
    font-weight: 850;
}

.server-copy-card strong {
    padding-inline: 18px;
    color: #fff;
    background: var(--vf-blue);
    font-size: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.server-copy-card small {
    margin-top: 12px;
    font-size: 14px;
}

.server-copy-card i {
    background: #41d987;
    box-shadow: 0 0 20px rgba(65, 217, 135, .7);
}

.hero-network-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: min(720px, 100%);
    margin-top: 42px;
}

.hero-network-buttons a {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(46, 92, 184, .18), rgba(255, 255, 255, .035)),
        rgba(8, 13, 20, .76);
    border: 1px solid rgba(255, 255, 255, .11);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .34);
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.hero-network-buttons a::after {
    content: "››";
    color: var(--vf-red-clean);
    font-size: 26px;
    font-weight: 1000;
    letter-spacing: -.18em;
}

.hero-network-buttons a:hover {
    transform: translateY(-3px);
    border-color: rgba(46, 92, 184, .55);
    background:
        linear-gradient(135deg, rgba(46, 92, 184, .34), rgba(255, 255, 255, .05)),
        rgba(8, 13, 20, .88);
}

.hero-network-buttons strong {
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 1000;
    letter-spacing: -.04em;
}

.hero-network-buttons span {
    color: rgba(232, 236, 246, .62);
    font-size: 13px;
    font-weight: 800;
}

.game-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.game-card {
    min-height: 315px;
    border-radius: 18px;
}

.game-card:hover {
    border-color: rgba(46, 92, 184, .52);
    box-shadow: 0 28px 72px rgba(46, 92, 184, .14), 0 22px 70px rgba(0, 0, 0, .44);
}

.game-card-body {
    padding: 24px;
}

.game-card-body > span {
    display: none;
}

.game-card h3 {
    font-size: clamp(36px, 4.8vw, 62px);
}

.game-card strong {
    color: #fff;
    background: rgba(46, 92, 184, .92);
    box-shadow: 0 14px 30px rgba(46, 92, 184, .22);
}

.footer-compact-links a[href*="appeal"] {
    min-width: max-content;
}

@media (max-width: 920px) {
    .network-wordmark .wordmark-vetro {
        font-size: 27px;
    }

    .network-wordmark .wordmark-forgenet {
        margin-left: 18px;
        font-size: 24px;
    }

    .hero-network-buttons {
        margin-top: 28px;
    }

    .game-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .game-card {
        min-height: 260px;
    }

    .game-card-body {
        padding: 18px;
    }

    .game-card h3 {
        font-size: clamp(28px, 6vw, 42px);
    }

    .game-card strong {
        padding: 10px 14px;
        font-size: 11px;
    }
}

@media (max-width: 700px) {
    .hero-network-buttons,
    .game-card-grid {
        grid-template-columns: 1fr;
    }

    .server-copy-card > div {
        grid-template-columns: 1fr;
    }

    .game-card {
        min-height: 300px;
    }
}

/* ===============================
   Griefer-style Network Header
   =============================== */

.page-home .topbar {
    padding-top: 18px;
}

.topbar-inner {
    width: calc(100vw - 56px);
    max-width: 1380px;
    margin-inline: auto;
    grid-template-columns: minmax(150px, auto) minmax(520px, 1fr) auto;
    gap: 22px;
}

.nav {
    width: 100%;
    min-height: 70px;
    justify-content: center;
    gap: clamp(22px, 4vw, 58px);
    padding: 0 22px;
    border-radius: 0;
    background:
        linear-gradient(90deg, rgba(4, 18, 34, .82), rgba(7, 29, 48, .72)),
        rgba(4, 12, 22, .74);
    border: 1px solid rgba(80, 150, 220, .14);
    box-shadow: 0 20px 70px rgba(0, 0, 0, .24);
}

.nav-link {
    min-height: 70px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    color: rgba(245, 247, 251, .88);
    background: transparent;
    border-radius: 0;
    font-size: clamp(17px, 1.65vw, 25px);
    font-weight: 650;
    letter-spacing: -.025em;
    text-transform: uppercase;
}

.page-home .nav-link:hover,
.page-home .nav-link.active,
.nav-link:hover,
.nav-link.active {
    color: #ff334b;
    background: transparent;
    box-shadow: none;
}

.header-right {
    justify-self: end;
    gap: 12px;
}

.account-zone {
    min-width: 0;
}

.account-chip,
.header-shop-button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .24);
    transition: transform .18s ease, filter .18s ease;
}

.account-chip {
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    padding: 9px 16px;
    min-width: 148px;
    background: rgba(8, 20, 34, .76);
    border: 1px solid rgba(255, 255, 255, .1);
}

.account-chip span {
    color: rgba(232, 236, 246, .62);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.account-chip strong {
    font-size: 15px;
    font-weight: 1000;
}

.header-shop-button {
    padding: 0 22px;
    min-width: 142px;
    background: linear-gradient(135deg, #f51d25, #d60010);
    border: 1px solid rgba(255, 255, 255, .14);
}

.shop-cart-icon {
    width: 28px;
    height: 28px;
    color: #fff;
    filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .18));
}

.header-shop-button strong {
    font-size: 20px;
    font-weight: 1000;
    text-transform: uppercase;
}

.account-chip:hover,
.header-shop-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.auth-buttons,
.header-playbar {
    display: none;
}

.hero {
    padding-top: 170px;
}

.server-copy-card > div {
    grid-template-columns: minmax(0, 1fr) 132px;
    min-height: 64px;
    border-radius: 8px;
    background: rgba(70, 70, 72, .82);
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.server-copy-card > div:hover,
.server-copy-card > div:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(239, 29, 36, .34);
    box-shadow: 0 22px 54px rgba(0, 0, 0, .42);
    outline: none;
}

.server-copy-card button {
    font-size: 22px;
    font-weight: 520;
}

.server-copy-card strong {
    background: #ef1d24;
    font-size: 18px;
    text-transform: none;
}

.vf-toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1000;
    transform: translateY(18px);
    opacity: 0;
    pointer-events: none;
    padding: 12px 16px;
    border-radius: 999px;
    color: #fff;
    background: rgba(6, 18, 30, .94);
    border: 1px solid rgba(65, 217, 135, .3);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .42);
    font-size: 14px;
    font-weight: 950;
    transition: opacity .18s ease, transform .18s ease;
}

.vf-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.game-card {
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.game-card:hover {
    transform: translateY(-4px) scale(1.008);
    border-color: rgba(239, 29, 36, .38);
    box-shadow: 0 26px 72px rgba(239, 29, 36, .10), 0 22px 70px rgba(0, 0, 0, .44);
}

.network-stats-section {
    position: relative;
    padding: 86px 24px;
    background:
        radial-gradient(circle at 24% 12%, rgba(46, 92, 184, .18), transparent 34%),
        linear-gradient(180deg, #050507, #071524 52%, #05080d);
    border-top: 1px solid rgba(255, 255, 255, .06);
    overflow: hidden;
}

.network-stats-section::before,
.network-help-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: .22;
}

.network-stats-inner {
    position: relative;
    width: min(980px, 100%);
    margin-inline: auto;
    text-align: center;
}

.network-stats-inner h2 {
    margin: 8px 0 34px;
    color: #f7fbff;
    font-size: clamp(40px, 5vw, 70px);
    font-weight: 500;
    letter-spacing: -.05em;
}

.network-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.network-stat-card {
    min-height: 248px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 9px;
    padding: 24px 18px;
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(24, 71, 102, .18), rgba(5, 45, 71, .74)),
        rgba(5, 30, 48, .9);
    border: 1px solid rgba(95, 159, 220, .16);
    box-shadow: 0 22px 58px rgba(0, 0, 0, .34);
}

.stat-render {
    width: min(100%, 170px);
    aspect-ratio: 22 / 15;
    object-fit: cover;
    border-radius: 13px;
    margin-bottom: 8px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .28);
    border: 1px solid rgba(255, 255, 255, .12);
}

.network-stat-card span {
    color: rgba(119, 198, 248, .78);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.network-stat-card strong {
    color: #f7fbff;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 500;
    letter-spacing: -.04em;
}

.network-stat-card small {
    color: rgba(119, 198, 248, .72);
    font-size: 15px;
}

.network-help-section {
    position: relative;
    padding: 70px 24px;
    background: linear-gradient(180deg, #071524, #020508);
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.network-help-inner {
    position: relative;
    width: min(1120px, 100%);
    margin-inline: auto;
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    align-items: center;
    gap: 48px;
}

.network-help-logo {
    width: max-content;
    transform: rotate(-5deg) skew(-7deg);
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, .46));
}

.network-help-logo .wordmark-line {
    display: block;
    font-weight: 1000;
    line-height: .78;
    letter-spacing: -.08em;
    text-transform: uppercase;
}

.network-help-logo .wordmark-vetro {
    color: #fff;
    font-size: clamp(42px, 6vw, 78px);
}

.network-help-logo .wordmark-forgenet {
    margin-left: 52px;
    color: #ef1d24;
    font-size: clamp(34px, 5vw, 62px);
}

.network-help-copy h2 {
    margin: 0 0 18px;
    color: #f7fbff;
    font-size: clamp(32px, 3.6vw, 48px);
    font-weight: 500;
    text-transform: uppercase;
}

.network-help-copy p {
    max-width: 620px;
    color: rgba(232, 236, 246, .76);
    font-size: 18px;
    line-height: 1.7;
}

.network-help-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.network-help-actions a {
    padding: 12px 18px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    font-weight: 900;
}

.network-help-actions a:first-child {
    background: #ef1d24;
}

@media (max-width: 1040px) {
    .topbar-inner {
        grid-template-columns: auto 1fr;
    }

    .nav {
        order: 3;
        grid-column: 1 / -1;
        min-height: 58px;
    }

    .nav-link {
        min-height: 58px;
        font-size: 18px;
    }

    .hero {
        padding-top: 220px;
    }
}

@media (max-width: 760px) {
    .page-home .topbar {
        position: absolute;
        padding-top: 12px;
    }

    .topbar-inner {
        width: calc(100vw - 24px);
        grid-template-columns: 1fr auto;
        gap: 12px;
    }

    .network-wordmark {
        transform: none;
    }

    .network-logo-img {
        width: 132px;
    }

    .account-chip {
        display: none;
    }

    .header-shop-button {
        min-width: 104px;
        min-height: 46px;
        padding-inline: 14px;
    }

    .header-shop-button strong {
        font-size: 16px;
    }

    .nav {
        min-height: auto;
        justify-content: flex-start;
        gap: 10px;
        padding: 10px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .nav::-webkit-scrollbar {
        display: none;
    }

    .nav-link {
        min-height: 38px;
        flex: 0 0 auto;
        padding-inline: 8px;
        font-size: 15px;
    }

    .hero {
        min-height: 610px;
        padding: 164px 18px 38px;
    }

    .hero-title {
        font-size: clamp(42px, 15vw, 64px);
    }

    .hero-text {
        margin-top: 14px;
        font-size: 16px;
        line-height: 1.5;
    }

    .server-copy-card > div {
        grid-template-columns: 1fr;
    }

    .server-copy-card button,
    .server-copy-card strong {
        min-height: 52px;
    }

    .hero-network-buttons {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 20px;
    }

    .hero-network-buttons a {
        min-height: 58px;
        padding: 13px 16px;
    }

    .hero-network-buttons span {
        display: none;
    }

    .network-stat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .network-help-inner {
        grid-template-columns: 1fr;
        gap: 34px;
    }
}

@media (max-width: 520px) {
    .network-stat-grid {
        grid-template-columns: 1fr;
    }

    .network-help-section,
    .network-stats-section {
        padding-inline: 18px;
    }
}

/* ===============================
   Modern Auth Polish
   =============================== */

.page-profile .page-hero {
    background:
        radial-gradient(circle at 18% 15%, rgba(46, 92, 184, .24), transparent 32%),
        linear-gradient(135deg, rgba(6, 13, 25, .95), rgba(12, 16, 24, .98));
}

.page-profile .account-grid {
    align-items: stretch;
    gap: 22px;
}

.page-profile .auth-card {
    position: relative;
    overflow: hidden;
    padding: clamp(26px, 3vw, 38px);
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(46, 92, 184, .16), rgba(255, 255, 255, .045)),
        rgba(6, 10, 18, .88);
    border: 1px solid rgba(255, 255, 255, .11);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
}

.page-profile .auth-card::before {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    right: -70px;
    top: -80px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(239, 29, 36, .34), transparent 62%);
    pointer-events: none;
}

.page-profile .auth-card h2 {
    margin-bottom: 18px;
    font-size: clamp(32px, 4vw, 48px);
    letter-spacing: -.06em;
}

.page-profile .auth-card label {
    color: rgba(232, 236, 246, .76);
}

.page-profile .auth-card input {
    min-height: 54px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .12);
    font-size: 16px;
}

.page-profile .auth-card input:focus {
    border-color: rgba(46, 92, 184, .72);
    box-shadow: 0 0 0 4px rgba(46, 92, 184, .18);
}

.page-profile .auth-card .btn {
    width: 100%;
    margin-top: 12px;
    min-height: 56px;
    border-radius: 14px;
    justify-content: center;
}

.page-profile #login .btn {
    background: linear-gradient(135deg, #244fa7, #2e5cb8);
    color: #fff;
}

.page-profile #register .btn {
    background: linear-gradient(135deg, #ef1d24, #ff5a45);
    color: #fff;
    border-color: rgba(255, 255, 255, .14);
}

.page-profile .link-flow {
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(46, 92, 184, .13), rgba(239, 29, 36, .09)),
        rgba(7, 12, 20, .92);
}

.page-leaderboards .leaderboard-hero {
    margin-top: 172px;
}

@media (max-width: 1040px) {
    .page-leaderboards .leaderboard-hero {
        margin-top: 196px;
    }
}

@media (max-width: 760px) {
    .page-leaderboards .leaderboard-hero {
        margin-top: 182px;
    }
}

/* ===============================
   Portal Pages: Forum / News / Wiki / Vote
   =============================== */

.copy-ip-bar.is-copied {
    border-color: rgba(65, 217, 135, .52);
}

.copy-ip-bar.is-copied strong {
    background: #25b86f;
}

.auth-tabs-card {
    max-width: 820px;
    margin: 0 auto;
    border-radius: 26px;
    padding: 12px;
    background:
        linear-gradient(145deg, rgba(46, 92, 184, .17), rgba(239, 29, 36, .08)),
        rgba(5, 9, 16, .9);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .34);
}

.auth-tabs-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 6px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .055);
}

.auth-tabs-head button {
    min-height: 50px;
    border: 0;
    border-radius: 14px;
    color: rgba(232, 236, 246, .72);
    background: transparent;
    font-size: 16px;
    font-weight: 1000;
    cursor: pointer;
}

.auth-tabs-head button.active {
    color: #fff;
    background: linear-gradient(135deg, #244fa7, #2e5cb8);
    box-shadow: 0 14px 32px rgba(46, 92, 184, .28);
}

.auth-tabs-body {
    padding: 10px;
}

.auth-tab-panel {
    display: none;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.auth-tab-panel.active {
    display: grid;
}

.forum-layout {
    max-width: var(--vf-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 22px;
}

.forum-sidebar,
.forum-compose,
.forum-post-card,
.news-feature-card,
.vote-current {
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(46, 92, 184, .12), rgba(255, 255, 255, .035)),
        rgba(7, 12, 20, .92);
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .3);
}

.forum-sidebar {
    padding: 18px;
    align-self: start;
    display: grid;
    gap: 12px;
}

.forum-category {
    display: grid;
    gap: 5px;
    padding: 14px;
    color: #fff;
    text-decoration: none;
    border-radius: 16px;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .08);
}

.forum-category.active,
.forum-category:hover {
    border-color: rgba(239, 29, 36, .35);
    background: rgba(239, 29, 36, .12);
}

.forum-category small,
.forum-category em {
    color: rgba(232, 236, 246, .62);
    font-style: normal;
}

.forum-main {
    display: grid;
    gap: 18px;
}

.forum-compose {
    padding: 20px;
    display: grid;
    gap: 12px;
}

.forum-compose input,
.forum-compose textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    padding: 14px 16px;
    color: #fff;
    background: rgba(255, 255, 255, .07);
}

.forum-post-list {
    display: grid;
    gap: 14px;
}

.forum-post-card {
    padding: 22px;
}

.forum-post-card.pinned {
    border-color: rgba(255, 216, 77, .35);
    background:
        linear-gradient(145deg, rgba(255, 216, 77, .10), rgba(239, 29, 36, .08)),
        rgba(7, 12, 20, .94);
}

.forum-post-card h3 {
    margin: 8px 0;
    color: #fff;
    font-size: clamp(24px, 3vw, 34px);
}

.forum-post-card p {
    color: rgba(232, 236, 246, .76);
    line-height: 1.65;
}

.forum-post-card footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    color: rgba(232, 236, 246, .58);
}

.forum-post-card footer button {
    border: 0;
    border-radius: 999px;
    padding: 8px 12px;
    color: #fff;
    background: rgba(46, 92, 184, .82);
    cursor: pointer;
}

.news-feature-card {
    max-width: var(--vf-container);
    margin: 0 auto 24px;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    overflow: hidden;
}

.news-feature-card > div:last-child {
    padding: clamp(26px, 4vw, 48px);
}

.news-feature-card h2 {
    margin: 10px 0 14px;
    color: #fff;
    font-size: clamp(34px, 5vw, 64px);
    letter-spacing: -.06em;
}

.news-feature-art {
    min-height: 360px;
    background:
        linear-gradient(135deg, rgba(239, 29, 36, .2), rgba(46, 92, 184, .2)),
        url('/assets/img/stat-book.svg') center/cover;
}

.news-grid,
.wiki-grid {
    max-width: var(--vf-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.news-tags span {
    padding: 7px 10px;
    border-radius: 999px;
    color: rgba(255, 255, 255, .82);
    background: rgba(255, 255, 255, .08);
    font-size: 12px;
    font-weight: 900;
}

.wiki-card {
    min-height: 270px;
}

.vote-current {
    max-width: var(--vf-container);
    margin: 0 auto 18px;
    padding: 18px 22px;
    color: rgba(232, 236, 246, .8);
}

.roadmap-vote-card.active {
    border-color: rgba(65, 217, 135, .45);
    box-shadow: 0 22px 60px rgba(65, 217, 135, .12);
}

@media (max-width: 920px) {
    .forum-layout,
    .news-feature-card,
    .news-grid,
    .wiki-grid {
        grid-template-columns: 1fr;
    }

    .forum-post-card footer {
        align-items: flex-start;
        flex-direction: column;
    }
}
