/* N3XT public experience v2
   Visual layer only: live data hooks and form behavior remain unchanged. */

:root {
    --background: #02050a;
    --background-soft: #06101a;
    --panel: rgba(5, 11, 19, 0.92);
    --panel-light: rgba(9, 19, 31, 0.9);
    --border: rgba(144, 164, 185, 0.19);
    --border-red: rgba(255, 31, 51, 0.58);
    --red: #f0182d;
    --red-bright: #ff263e;
    --red-dark: #8f0818;
    --blue: #1eb8ff;
    --green: #21e694;
    --white: #f7f9fc;
    --text: #c9d2dc;
    --muted: #82909f;
    --sidebar-width: 244px;
    --content-width: 1480px;
    --radius: 12px;
    --shadow-red: 0 0 18px rgba(240, 24, 45, 0.16), 0 18px 54px rgba(0, 0, 0, 0.3);
}

html {
    background: var(--background);
}

body.public-shell {
    min-width: 320px;
    color: var(--text);
    background:
        radial-gradient(circle at 72% 4%, rgba(0, 116, 194, 0.08), transparent 28%),
        radial-gradient(circle at 44% 34%, rgba(154, 0, 21, 0.08), transparent 34%),
        #02050a;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.55;
}

body.public-shell::before {
    z-index: 0;
    opacity: 0.62;
    background-size: 64px 64px;
}

body.public-shell::after {
    z-index: 0;
    background:
        linear-gradient(135deg, transparent 0 73%, rgba(255, 31, 51, 0.024) 73% 73.25%, transparent 73.25%),
        linear-gradient(45deg, transparent 0 82%, rgba(30, 184, 255, 0.02) 82% 82.2%, transparent 82.2%);
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 12px;
    z-index: 3000;
    padding: 10px 14px;
    color: #fff;
    background: #c70b20;
    border-radius: 6px;
    transform: translateY(-160%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.public-shell :focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

.public-shell .container {
    width: min(calc(100% - 64px), var(--content-width));
}

.site-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
    grid-template-rows: minmax(100vh, auto);
    min-height: 100vh;
}

.site-main {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    min-height: 100vh;
}

.site-content {
    min-height: 70vh;
    overflow: clip;
}

/* Brand lockup */
.brand-slashes {
    color: var(--red-bright);
    font-weight: 1000;
    font-style: italic;
    letter-spacing: -0.14em;
    text-shadow: 0 0 18px rgba(255, 38, 62, 0.3);
}

.brand-word {
    color: #f7f9fc;
    font-weight: 950;
    font-style: italic;
    letter-spacing: 0.045em;
}

.brand-word > span {
    color: var(--red-bright);
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 0;
    z-index: 1000;
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    padding: 28px 20px 22px;
    overflow-y: auto;
    background:
        radial-gradient(circle at 96% 18%, rgba(237, 18, 43, 0.13), transparent 29%),
        linear-gradient(180deg, rgba(3, 8, 14, 0.995), rgba(2, 6, 11, 0.995));
    border-right: 1px solid rgba(255, 38, 62, 0.34);
    box-shadow: 18px 0 60px rgba(0, 0, 0, 0.34);
}

.sidebar::before {
    background:
        linear-gradient(143deg, transparent 0 73%, rgba(255, 38, 62, 0.07) 73% 73.4%, transparent 73.4%),
        linear-gradient(0deg, rgba(255, 38, 62, 0.04), transparent 28%);
}

.sidebar-brand {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 1px;
    min-height: 82px;
    margin: 0 2px 31px;
    padding: 6px 0 23px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-brand-lockup {
    display: flex;
    align-items: center;
    gap: 7px;
    line-height: 1;
}

.sidebar-brand .brand-slashes {
    font-size: 34px;
}

.sidebar-brand .brand-word {
    font-size: 32px;
}

.sidebar-brand-subtitle {
    color: var(--red-bright);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.34em;
}

.sidebar-section-label {
    position: relative;
    z-index: 1;
    margin: 0 12px 10px;
    color: #596877;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.22em;
}

.sidebar-nav {
    padding: 0;
    gap: 7px;
}

.sidebar-link {
    min-height: 54px;
    gap: 12px;
    padding: 11px 13px;
    color: #c7d0da;
    font-size: 14px;
    font-weight: 680;
    border-radius: 7px;
}

.sidebar-link:hover {
    transform: translateX(2px);
    background: rgba(255, 255, 255, 0.033);
    border-color: rgba(255, 255, 255, 0.08);
}

.sidebar-link.active {
    color: #fff;
    background: linear-gradient(90deg, rgba(169, 5, 27, 0.34), rgba(82, 4, 14, 0.14));
    border-color: rgba(255, 38, 62, 0.62);
    box-shadow: inset 3px 0 0 var(--red-bright), 0 0 24px rgba(240, 24, 45, 0.1);
}

.sidebar-link.active::after {
    right: 13px;
    width: 5px;
    height: 5px;
}

.sidebar-icon {
    width: 27px;
    height: 27px;
    color: #edf2f7;
    font-size: 19px;
}

.sidebar-login {
    margin-top: 22px;
    padding-top: 21px;
}

.sidebar-login-button {
    min-height: 50px;
    font-size: 14px;
    border-radius: 7px;
}

.sidebar-community {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 7px;
    margin-top: 19px;
    padding: 17px 13px;
    background: rgba(8, 18, 30, 0.6);
    border: 1px solid rgba(30, 184, 255, 0.16);
    border-radius: 8px;
}

.sidebar-community > span {
    color: #647486;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.18em;
}

.sidebar-community a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #d8e6f2;
    font-size: 13px;
    font-weight: 750;
}

.sidebar-community a:hover {
    color: var(--blue);
}

.sidebar-footer {
    gap: 7px;
    margin-top: auto;
    padding: 28px 7px 0;
    letter-spacing: 0.05em;
}

.sidebar-footer strong {
    font-size: 12px;
}

.sidebar-footer small {
    color: #566473;
    font-size: 10px;
}

.sidebar-online {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 750;
}

.sidebar-online i,
.featured-card-topline strong i {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    background: currentColor;
    border-radius: 50%;
    box-shadow: 0 0 12px currentColor;
}

.sidebar-backdrop {
    display: none;
}

.mobile-header {
    display: none;
}

/* Shared controls */
.public-shell .button {
    gap: 10px;
    min-height: 51px;
    padding: 11px 22px;
    font-size: 13px;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    border-radius: 6px;
}

.public-shell .button.primary {
    background: linear-gradient(180deg, #e51631, #a5081b);
    border-color: rgba(255, 53, 76, 0.9);
}

.public-shell .button.secondary {
    background: linear-gradient(180deg, rgba(8, 31, 51, 0.94), rgba(4, 14, 26, 0.98));
}

/* Home hero */
.home-hero {
    position: relative;
    isolation: isolate;
    min-height: 690px;
    padding: 74px 0 0;
    overflow: hidden;
    background-image: url("/public-static/img/n3xt-hero-server-room-v2.png");
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(2, 5, 10, 0.98) 0%, rgba(2, 6, 12, 0.89) 39%, rgba(2, 6, 12, 0.36) 70%, rgba(2, 5, 10, 0.32) 100%),
        linear-gradient(180deg, rgba(2, 5, 10, 0.1) 58%, #02060b 100%);
}

.home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.36;
    background-image:
        linear-gradient(120deg, transparent 0 69%, rgba(255, 32, 51, 0.22) 69% 69.18%, transparent 69.18%),
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: auto, 54px 54px, 54px 54px;
    mask-image: linear-gradient(to bottom, #000, transparent 95%);
}

.home-hero-glow {
    position: absolute;
    top: -180px;
    left: 17%;
    width: 620px;
    height: 380px;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 32, 51, 0.1), transparent 68%);
    filter: blur(22px);
}

.home-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.75fr);
    align-items: center;
    gap: clamp(42px, 5vw, 90px);
}

.home-hero-copy {
    max-width: 840px;
    animation: n3xt-rise 600ms ease both;
}

.home-hero .eyebrow {
    gap: 9px;
    margin-bottom: 21px;
    padding: 8px 12px;
    color: #ff4257;
    background: rgba(84, 3, 14, 0.34);
    border-color: rgba(255, 38, 62, 0.45);
    font-size: 10px;
}

.home-hero .eyebrow i {
    width: 17px;
    height: 2px;
    background: var(--red-bright);
    box-shadow: 0 0 8px var(--red-bright);
}

.home-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(39px, 4.2vw, 74px);
    font-weight: 900;
    font-style: italic;
    line-height: 0.96;
    letter-spacing: -0.045em;
    text-transform: uppercase;
    text-shadow: 0 7px 28px rgba(0, 0, 0, 0.48);
}

.home-hero h1 span,
.home-hero h1 strong {
    display: block;
}

.home-hero h1 strong {
    margin: 8px 0;
    color: var(--red-bright);
    font-size: 1.08em;
    letter-spacing: -0.055em;
    text-shadow: 0 0 30px rgba(240, 24, 45, 0.16);
}

.home-hero-copy > p {
    max-width: 690px;
    margin: 25px 0 0;
    color: #bac5d1;
    font-size: 17px;
}

.home-hero .hero-actions {
    margin-top: 29px;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 13px 24px;
    margin: 30px 0 0;
    padding: 19px 0 0;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.hero-proof li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #929fad;
    font-size: 11px;
    font-weight: 720;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-proof li span {
    color: #e7edf4;
}

.featured-server-card {
    position: relative;
    padding: 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 8%, rgba(199, 7, 31, 0.18), transparent 28%),
        linear-gradient(145deg, rgba(7, 16, 27, 0.95), rgba(3, 8, 15, 0.98));
    border: 1px solid rgba(255, 38, 62, 0.66);
    border-radius: 12px 3px 12px 3px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.025) inset, 0 0 42px rgba(240, 24, 45, 0.13), 0 30px 80px rgba(0, 0, 0, 0.44);
    backdrop-filter: blur(10px);
    animation: n3xt-rise 680ms 90ms ease both;
}

.featured-server-card::before,
.featured-server-card::after {
    content: "";
    position: absolute;
    width: 74px;
    height: 2px;
    background: var(--red-bright);
    box-shadow: 0 0 11px var(--red-bright);
}

.featured-server-card::before { top: -1px; left: 28px; }
.featured-server-card::after { right: 28px; bottom: -1px; }

.featured-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 19px;
    color: var(--red-bright);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.13em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.featured-card-topline strong {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.featured-server-identity {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 18px;
    padding: 25px 0 22px;
}

.featured-game-mark {
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    color: #fff;
    font-size: 22px;
    font-weight: 950;
    font-style: italic;
    background: radial-gradient(circle, rgba(151, 7, 25, 0.58), rgba(30, 4, 9, 0.9));
    border: 2px solid #d4112c;
    border-radius: 50%;
    box-shadow: 0 0 0 7px rgba(240, 24, 45, 0.07), 0 0 27px rgba(240, 24, 45, 0.22);
}

.featured-server-identity small {
    color: #768696;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.17em;
}

.featured-server-identity h2 {
    margin: 3px 0 1px;
    color: #fff;
    font-size: clamp(25px, 2.1vw, 35px);
    line-height: 1.1;
}

.featured-server-identity p {
    margin: 0;
    color: #9aa7b4;
    font-size: 13px;
    text-transform: uppercase;
}

.featured-address {
    display: grid;
    gap: 5px;
    padding: 16px 17px;
    background: rgba(1, 5, 10, 0.68);
    border: 1px solid rgba(145, 166, 186, 0.19);
    border-left: 2px solid var(--red-bright);
    border-radius: 5px;
}

.featured-address span {
    color: #748392;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.14em;
}

.featured-address strong {
    color: #f4f7fb;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.featured-assurance {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 18px 0;
    color: #758493;
    font-size: 10px;
}

.featured-assurance span:first-child {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #9ddbbf;
}

.featured-assurance i {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 9px var(--green);
}

.featured-server-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 11px 16px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    background: linear-gradient(90deg, rgba(119, 5, 20, 0.44), rgba(36, 3, 9, 0.58));
    border: 1px solid rgba(255, 38, 62, 0.57);
    border-radius: 5px;
    transition: background 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.featured-server-link:hover {
    transform: translateY(-2px);
    background: linear-gradient(90deg, rgba(178, 8, 28, 0.56), rgba(66, 3, 12, 0.7));
    box-shadow: 0 0 20px rgba(240, 24, 45, 0.15);
}

.home-trust-strip {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 58px;
    padding: 0;
    background: rgba(2, 7, 13, 0.91);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-bottom: 1px solid rgba(255, 38, 62, 0.34);
    border-radius: 8px 8px 0 0;
    backdrop-filter: blur(12px);
}

.home-trust-strip > div {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 12px;
    min-height: 76px;
    padding: 15px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.home-trust-strip > div:last-child { border-right: 0; }
.home-trust-strip > div > span { grid-row: 1 / 3; color: var(--red-bright); font-size: 25px; }
.home-trust-strip strong { color: #f3f7fb; font-size: 12px; text-transform: uppercase; }
.home-trust-strip small { color: #71808f; font-size: 10px; }

/* Home sections */
.home-section {
    position: relative;
    padding: 76px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.home-servers {
    background:
        radial-gradient(circle at 80% 0%, rgba(19, 123, 185, 0.06), transparent 24%),
        linear-gradient(180deg, #030810, #02060b);
}

.home-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 27px;
}

.home-section-heading.compact { margin-bottom: 31px; }

.section-kicker {
    color: #8493a2;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.16em;
}

.section-kicker i {
    margin-right: 7px;
    color: var(--red-bright);
    font-size: 15px;
    font-style: italic;
    letter-spacing: -0.12em;
}

.home-section-heading h2,
.hub-intelligence-copy h2 {
    margin: 8px 0 0;
    color: #f5f8fb;
    font-size: clamp(29px, 2.9vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.home-section-heading > a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9da9b6;
    font-size: 11px;
    font-weight: 780;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.home-section-heading > a span { color: var(--red-bright); font-size: 18px; }
.home-section-heading > a:hover { color: #fff; }

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

.home-game-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    min-height: 156px;
    padding: 23px;
    overflow: hidden;
    background:
        linear-gradient(140deg, rgba(11, 24, 38, 0.93), rgba(4, 10, 17, 0.97));
    border: 1px solid rgba(135, 158, 180, 0.21);
    border-radius: 9px;
    transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

.home-game-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 62px;
    height: 2px;
    background: var(--red-bright);
    box-shadow: 0 0 10px rgba(255, 38, 62, 0.72);
}

.home-game-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 38, 62, 0.48);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3), 0 0 24px rgba(240, 24, 45, 0.08);
}

.home-game-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    background: radial-gradient(circle, rgba(131, 8, 24, 0.46), rgba(31, 4, 9, 0.72));
    border: 1px solid rgba(255, 38, 62, 0.56);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(240, 24, 45, 0.11);
}

.ark-card .home-game-icon { color: #ccefff; background: radial-gradient(circle, rgba(0, 96, 161, 0.48), rgba(3, 17, 29, 0.8)); border-color: rgba(30, 184, 255, 0.55); }
.minecraft-card .home-game-icon { color: #b9f4d4; background: radial-gradient(circle, rgba(11, 113, 69, 0.45), rgba(3, 26, 17, 0.8)); border-color: rgba(33, 230, 148, 0.48); border-radius: 12px; }
.home-game-card small { color: #71808f; font-size: 9px; font-weight: 850; letter-spacing: 0.12em; }
.home-game-card h3 { margin: 5px 0 6px; color: #fff; font-size: 20px; }
.home-game-card p { margin: 0; color: #8d9aa7; font-size: 12px; }
.home-card-arrow { color: var(--red-bright); font-size: 21px; }

.hub-intelligence-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 27% 54%, rgba(30, 184, 255, 0.09), transparent 27%),
        radial-gradient(circle at 12% 60%, rgba(240, 24, 45, 0.08), transparent 24%),
        linear-gradient(125deg, #040b13, #02060b 60%);
}

.hub-intelligence-section::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.24;
    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: 46px 46px;
    mask-image: radial-gradient(circle at 30% 50%, #000, transparent 46%);
}

.hub-intelligence-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(55px, 8vw, 130px);
}

.hub-orbit {
    position: relative;
    display: grid;
    place-items: center;
    width: min(100%, 440px);
    aspect-ratio: 1;
    margin-inline: auto;
}

.hub-orbit::before {
    content: "";
    position: absolute;
    inset: 17%;
    background: radial-gradient(circle, rgba(240, 24, 45, 0.18), transparent 62%);
    filter: blur(10px);
}

.hub-orbit-ring {
    position: absolute;
    border: 1px solid rgba(96, 142, 176, 0.28);
    border-radius: 50%;
}

.ring-one { inset: 8%; animation: n3xt-spin 24s linear infinite; border-style: dashed; }
.ring-two { inset: 23%; animation: n3xt-spin 17s linear infinite reverse; border-color: rgba(255, 38, 62, 0.38); }

.hub-core-mark {
    position: relative;
    display: grid;
    place-items: center;
    align-content: center;
    width: 154px;
    height: 154px;
    color: #fff;
    background: radial-gradient(circle at 50% 35%, rgba(97, 15, 27, 0.98), rgba(7, 12, 20, 0.98) 70%);
    border: 2px solid var(--red-bright);
    border-radius: 50%;
    box-shadow: 0 0 0 10px rgba(240, 24, 45, 0.045), 0 0 55px rgba(240, 24, 45, 0.22), inset 0 0 28px rgba(240, 24, 45, 0.14);
}

.hub-core-mark span { font-size: 27px; font-weight: 950; font-style: italic; letter-spacing: 0.02em; }
.hub-core-mark small { color: var(--red-bright); font-size: 9px; font-weight: 900; letter-spacing: 0.32em; }
.orbit-node { position: absolute; width: 10px; height: 10px; background: var(--blue); border: 2px solid #d8f4ff; border-radius: 50%; box-shadow: 0 0 14px var(--blue); }
.node-one { top: 8%; left: 48%; }
.node-two { right: 13%; bottom: 23%; background: var(--red-bright); box-shadow: 0 0 14px var(--red-bright); }
.node-three { left: 15%; bottom: 26%; background: var(--green); box-shadow: 0 0 14px var(--green); }

.hub-intelligence-copy > p {
    max-width: 680px;
    margin: 19px 0 0;
    color: #98a6b4;
    font-size: 15px;
}

.hub-capabilities {
    display: grid;
    gap: 10px;
    margin-top: 29px;
}

.hub-capabilities article {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 17px;
    padding: 16px 18px;
    background: linear-gradient(90deg, rgba(10, 22, 35, 0.78), rgba(5, 11, 19, 0.45));
    border: 1px solid rgba(133, 157, 180, 0.15);
    border-left-color: rgba(255, 38, 62, 0.5);
    border-radius: 7px;
}

.hub-capabilities article > span { color: var(--red-bright); font-size: 11px; font-weight: 900; }
.hub-capabilities h3 { margin: 0 0 3px; color: #fff; font-size: 15px; }
.hub-capabilities p { margin: 0; color: #82909e; font-size: 12px; }

.home-benefits { background: #030810; }
.home-benefit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.home-benefit-grid article { position: relative; min-height: 190px; padding: 23px; overflow: hidden; background: linear-gradient(145deg, rgba(10, 21, 34, 0.92), rgba(4, 10, 17, 0.96)); border: 1px solid rgba(133, 157, 180, 0.17); border-radius: 8px; }
.home-benefit-grid article::after { content: ""; position: absolute; right: -23px; bottom: -24px; width: 76px; height: 76px; border: 1px solid rgba(255, 38, 62, 0.13); transform: rotate(45deg); }
.home-benefit-grid article > span { display: grid; place-items: center; width: 43px; height: 43px; color: var(--red-bright); font-size: 20px; background: rgba(126, 5, 20, 0.24); border: 1px solid rgba(255, 38, 62, 0.38); border-radius: 8px; }
.home-benefit-grid h3 { margin: 20px 0 7px; color: #fff; font-size: 16px; }
.home-benefit-grid p { margin: 0; color: #84919e; font-size: 12px; }

.home-community { padding: 48px 0; background: #02060b; }
.community-banner { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; min-height: 144px; padding: 28px 31px; overflow: hidden; background: radial-gradient(circle at 72% 50%, rgba(30, 184, 255, 0.12), transparent 24%), linear-gradient(105deg, rgba(13, 28, 44, 0.96), rgba(7, 12, 21, 0.97)); border: 1px solid rgba(30, 184, 255, 0.28); border-radius: 10px; }
.community-banner::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.23; background-image: linear-gradient(135deg, transparent 0 76%, rgba(255, 38, 62, 0.35) 76% 76.4%, transparent 76.4%); }
.community-mark { display: grid; place-items: center; width: 74px; height: 74px; color: #75d3ff; font-size: 37px; background: rgba(17, 82, 124, 0.22); border: 1px solid rgba(30, 184, 255, 0.44); border-radius: 50%; }
.community-banner > div:nth-child(2) { position: relative; }
.community-banner > div > span { color: var(--blue); font-size: 9px; font-weight: 850; letter-spacing: 0.18em; }
.community-banner h2 { margin: 5px 0 3px; color: #fff; font-size: 25px; }
.community-banner p { margin: 0; color: #8e9dab; font-size: 13px; }
.community-banner .button { position: relative; min-width: 210px; }

/* Existing public pages: common visual language */
.public-shell .section,
.public-shell .contact-portal {
    position: relative;
    padding: 72px 0;
    background:
        radial-gradient(circle at 88% 0%, rgba(161, 4, 25, 0.1), transparent 28%),
        linear-gradient(180deg, #030810, #02060b);
}

.public-shell .public-games-section,
.public-shell .public-status-page {
    min-height: 70vh;
}

.public-shell .public-games-heading,
.public-shell .public-status-heading,
.public-shell .contact-hero {
    position: relative;
    padding: 29px 31px;
    overflow: hidden;
    background:
        linear-gradient(100deg, rgba(8, 18, 30, 0.96), rgba(4, 9, 16, 0.82)),
        url("/public-static/img/n3xt-hero-server-room-v2.png") center / cover;
    border: 1px solid rgba(134, 158, 181, 0.18);
    border-left: 3px solid var(--red-bright);
    border-radius: 9px;
}

.public-shell .public-games-heading > span,
.public-shell .public-status-heading > div:first-child > span,
.public-shell .contact-eyebrow {
    color: var(--red-bright);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.18em;
}

.public-shell .public-games-heading h1,
.public-shell .public-status-heading h1,
.public-shell .contact-hero h1 {
    margin: 8px 0 7px;
    color: #fff;
    font-size: clamp(31px, 3vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.public-shell .public-games-heading p,
.public-shell .public-status-heading p,
.public-shell .contact-hero p {
    max-width: 750px;
    margin: 0;
    color: #98a6b4;
}

body.public-shell .public-games-summary,
body.public-shell .public-status-summary {
    gap: 1px;
    margin: 18px 0;
    padding: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(133, 157, 180, 0.18);
    border-radius: 8px;
}

body.public-shell .public-games-summary article,
body.public-shell .public-status-summary article {
    min-height: 86px;
    padding: 17px 20px;
    background: rgba(5, 13, 22, 0.97);
    border: 0;
    border-radius: 0;
}

body.public-shell .public-games-summary span,
body.public-shell .public-status-summary span {
    color: #71808e;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.public-shell .public-games-summary strong,
body.public-shell .public-status-summary strong {
    color: #fff;
    font-size: 22px;
}

body.public-shell .public-games-grid { gap: 16px; }

body.public-shell .public-game-card {
    background:
        radial-gradient(circle at 94% 4%, rgba(173, 6, 27, 0.1), transparent 25%),
        linear-gradient(145deg, rgba(10, 21, 34, 0.95), rgba(4, 10, 17, 0.98));
    border-color: rgba(133, 157, 180, 0.2);
    border-radius: 9px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.21);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

body.public-shell .public-game-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 38, 62, 0.43);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.32), 0 0 25px rgba(240, 24, 45, 0.07);
}

body.public-shell .public-game-card::before { background: var(--red-bright); box-shadow: 0 0 10px var(--red-bright); }
body.public-shell .public-game-icon { background: rgba(114, 5, 18, 0.24); border-color: rgba(255, 38, 62, 0.44); }
body.public-shell .public-game-connection,
body.public-shell .public-game-ports,
body.public-shell .public-game-player-help { background: rgba(2, 7, 13, 0.66); border-color: rgba(133, 157, 180, 0.15); }
body.public-shell .public-game-connection button { border-radius: 5px; }

/* Status page */
body.public-shell .public-status-heading { align-items: center; }
body.public-shell .public-status-overall { background: rgba(2, 8, 14, 0.82); border-color: rgba(133, 157, 180, 0.22); backdrop-filter: blur(8px); }
body.public-shell .public-status-core-card,
body.public-shell .public-status-list-panel { background: linear-gradient(145deg, rgba(10, 21, 34, 0.94), rgba(4, 10, 17, 0.98)); border-color: rgba(133, 157, 180, 0.19); border-radius: 9px; }
body.public-shell .public-status-core-card.is-online { border-color: rgba(33, 230, 148, 0.34); }
body.public-shell .public-status-core-icon { background: rgba(126, 5, 20, 0.25); border-color: rgba(255, 38, 62, 0.42); }
body.public-shell .public-status-row { border-color: rgba(255, 255, 255, 0.065); }

/* Contact portal */
body.public-shell .contact-hero { margin-bottom: 20px; }
body.public-shell .contact-address-card,
body.public-shell .contact-tabs,
body.public-shell .contact-form-layout {
    background: linear-gradient(145deg, rgba(10, 21, 34, 0.94), rgba(4, 10, 17, 0.98));
    border-color: rgba(133, 157, 180, 0.19);
    border-radius: 9px;
}

body.public-shell .contact-address-card.complaint { border-color: rgba(255, 38, 62, 0.3); }
body.public-shell .contact-address-icon { background: rgba(126, 5, 20, 0.25); border-color: rgba(255, 38, 62, 0.4); }
body.public-shell .contact-tab { border-radius: 6px; }
body.public-shell .contact-tab.active { background: linear-gradient(180deg, rgba(156, 6, 25, 0.5), rgba(57, 3, 11, 0.46)); }
body.public-shell .contact-form-introduction { background: rgba(2, 8, 14, 0.45); border-color: rgba(133, 157, 180, 0.15); }
body.public-shell .contact-form input,
body.public-shell .contact-form select,
body.public-shell .contact-form textarea { background: rgba(2, 8, 14, 0.92); border-color: rgba(133, 157, 180, 0.22); }
body.public-shell .contact-submit-button { border-radius: 6px; }

/* Footer */
.site-footer {
    padding: 46px 48px 0;
    background:
        linear-gradient(135deg, transparent 0 86%, rgba(255, 38, 62, 0.04) 86% 86.3%, transparent 86.3%),
        linear-gradient(180deg, #030810, #010407);
    border-top: 1px solid rgba(255, 38, 62, 0.25);
}

.footer-main {
    grid-template-columns: 1.3fr 0.65fr 0.8fr 1fr;
    gap: 40px;
    padding-bottom: 38px;
}

.footer-logo { display: flex; align-items: center; gap: 6px; line-height: 1; }
.footer-logo .brand-slashes { font-size: 26px; }
.footer-logo .brand-word { font-size: 24px; }
.footer-brand p { margin-top: 13px; color: #74818f; }
.footer-column strong,
.footer-status strong { color: #e9eef4; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-column a { color: #788693; font-size: 12px; }
.footer-status p { color: #6f7c89; font-size: 12px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; color: #53606d; font-size: 11px; }
.footer-bottom strong { color: #7a8794; font-size: 11px; letter-spacing: 0.1em; }

@keyframes n3xt-rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes n3xt-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 1280px) {
    .home-hero { min-height: 730px; }
    .home-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr); gap: 38px; }
    .home-hero h1 { font-size: clamp(37px, 4.3vw, 61px); }
    .home-game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-game-card:last-child { grid-column: 1 / -1; }
    .home-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
    body.menu-open { overflow: hidden; }

    .public-shell .container { width: min(calc(100% - 40px), var(--content-width)); }

    .site-layout {
        display: block;
        padding-top: 66px;
    }

    .site-main { min-height: calc(100vh - 66px); }

    .mobile-header {
        position: fixed;
        inset: 0 0 auto 0;
        z-index: 1100;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 66px;
        padding: 9px 19px;
        background: rgba(2, 7, 12, 0.94);
        border-bottom: 1px solid rgba(255, 38, 62, 0.36);
        backdrop-filter: blur(16px);
    }

    .mobile-brand { display: flex; align-items: center; gap: 5px; line-height: 1; }
    .mobile-brand .brand-slashes { font-size: 25px; }
    .mobile-brand .brand-word { font-size: 23px; }

    .mobile-menu-button {
        display: grid;
        place-items: center;
        width: 43px;
        height: 43px;
        padding: 0;
        color: #fff;
        background: rgba(113, 5, 18, 0.28);
        border: 1px solid rgba(255, 38, 62, 0.56);
        border-radius: 6px;
    }

    .sidebar {
        position: fixed;
        inset: 66px auto 0 0;
        z-index: 1200;
        width: min(290px, 86vw);
        height: calc(100vh - 66px);
        transform: translateX(-105%);
        transition: transform 220ms ease;
    }

    .sidebar.mobile-open { transform: translateX(0); }

    .sidebar-backdrop {
        position: fixed;
        inset: 66px 0 0;
        z-index: 1150;
        display: block;
        width: 100%;
        padding: 0;
        visibility: hidden;
        opacity: 0;
        background: rgba(0, 3, 7, 0.68);
        border: 0;
        backdrop-filter: blur(3px);
        transition: opacity 200ms ease, visibility 200ms ease;
    }

    body.menu-open .sidebar-backdrop { visibility: visible; opacity: 1; }

    .home-hero {
        min-height: auto;
        padding-top: 56px;
        background-position: 64% center;
    }

    .home-hero-grid { grid-template-columns: 1fr; }
    .home-hero-copy { max-width: 780px; }
    .featured-server-card { max-width: 680px; }
    .home-trust-strip { margin-top: 48px; }
    .hub-intelligence-grid { grid-template-columns: 0.75fr 1.25fr; gap: 42px; }
    .hub-orbit { min-width: 310px; }
    .community-banner { grid-template-columns: auto 1fr; }
    .community-banner .button { grid-column: 2; justify-self: start; }
    .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .public-shell .container { width: min(calc(100% - 28px), var(--content-width)); }

    .home-hero { padding-top: 42px; background-position: 69% center; }
    .home-hero::before { background: linear-gradient(90deg, rgba(2, 5, 10, 0.98), rgba(2, 6, 12, 0.76)), linear-gradient(180deg, transparent 50%, #02060b); }
    .home-hero h1 { font-size: clamp(34px, 10.4vw, 52px); }
    .home-hero-copy > p { font-size: 15px; }
    .home-hero .hero-actions { display: grid; }
    .home-hero .button { width: 100%; }
    .hero-proof { display: grid; gap: 10px; }
    .featured-server-card { padding: 22px; }
    .featured-server-identity { grid-template-columns: 1fr; }
    .featured-game-mark { width: 61px; height: 61px; }
    .featured-assurance { display: grid; }
    .home-trust-strip { grid-template-columns: repeat(2, 1fr); }
    .home-trust-strip > div { border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
    .home-trust-strip > div:nth-child(2n) { border-right: 0; }

    .home-section { padding: 58px 0; }
    .home-section-heading { align-items: start; flex-direction: column; gap: 15px; }
    .home-game-grid { grid-template-columns: 1fr; }
    .home-game-card:last-child { grid-column: auto; }
    .home-game-card { grid-template-columns: auto 1fr; }
    .home-card-arrow { display: none; }
    .hub-intelligence-grid { grid-template-columns: 1fr; }
    .hub-orbit { min-width: 0; max-width: 330px; }
    .hub-intelligence-copy { order: -1; }
    .home-benefit-grid { grid-template-columns: 1fr; }
    .community-banner { grid-template-columns: 1fr; text-align: center; }
    .community-mark { margin-inline: auto; }
    .community-banner .button { grid-column: 1; justify-self: stretch; }

    .public-shell .section,
    .public-shell .contact-portal { padding: 46px 0; }
    .public-shell .public-games-heading,
    .public-shell .public-status-heading,
    .public-shell .contact-hero { padding: 23px 21px; }

    .site-footer { padding: 38px 22px 0; }
    .footer-main { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { align-items: start; flex-direction: column; }
}

@media (max-width: 430px) {
    .home-trust-strip { grid-template-columns: 1fr; }
    .home-trust-strip > div { border-right: 0; }
    .home-game-card { grid-template-columns: 1fr; }
    .featured-card-topline { align-items: start; flex-direction: column; }
    .hub-capabilities article { grid-template-columns: 1fr; }
}

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