/* Google Fonts are loaded in templates/head.php (deferred, non-render-blocking) */

:root {
    /* Layout & structure */
    --margins: 120px;
    --wrapper-width: 1300px;
    --border-radius: 4px;

    /* Fonts */
    --font-primary: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-mono: "SF Mono", "Cascadia Code", Consolas, "Courier New", monospace;

    /* Transitions */
    --transition-fast: 0.2s;
    --transition-default: 0.3s;
    --transition-slow: 0.9s;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* Brand — single source of truth for the NolimitHost purple */
    --primary: #8c52ff;
    --primary-hsl: 270, 70%, 60%;
    --primary-strong: #7b3fe4;         /* darker press / hover */
    --primary-alt: #a855f7;            /* lighter variant for gradients/accent */
    --primary-glow: #c084fc;           /* soft glow / highlight */
    --primary-transparent: rgb(140, 82, 255, 0.125);

    /* Surfaces (backgrounds) */
    --background: #0a0a0a;
    --background-raised: #111111;
    --background-overlay: #0d0d0d;
    --background-subtle: #141417;
    --surface: #161616;
    --surface-inline: rgb(255, 255, 255, 0.06);

    /* Text */
    --text: #ffffff;
    --text-soft: #e4e4e7;
    --text-muted: #a1a1aa;
    --text-dim: #71717a;
    --text-faint: #52525b;

    /* Borders */
    --border-color: rgb(255, 255, 255, 0.1);
    --border-color-light: rgb(255, 255, 255, 0.15);
    --border-color-lighter: rgb(255, 255, 255, 0.25);
    --border-subtle: rgb(255, 255, 255, 0.06);

    /* Semantic accents */
    --success: #10b981;
    --success-soft: rgb(34, 197, 94, 0.08);
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #60a5fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: scroll;        /* Reserve scrollbar width to prevent CLS */
    scrollbar-gutter: stable;  /* Modern browsers: reserve scrollbar space without forcing visual scrollbar */
    max-width: 100%;
    box-sizing: border-box;
}

body {
    background-color: var(--background);
    color: var(--text);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
}

body.loading {
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

#products {
    scroll-margin-top: 100px;
}

.wrapper {
    max-width: var(--wrapper-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: transparent;
    backdrop-filter: blur(0px);
    z-index: 10000;
    transition: all 0.3s ease;
    overflow-x: visible;
    overflow-y: visible;
    isolation: isolate;
}

header.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-inner {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 8%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: relative;
    z-index: 10001;
}

.nav-center {
    display: flex;
    justify-content: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-end;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: auto;
    justify-self: start;
}

.logo img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
    transition: opacity var(--transition-fast);
}

.nav-links a:hover {
    opacity: 1;
}

/* ── Mega dropdown ─────────────────────────────────────────── */
.dropdown-mega {
    min-width: 600px;
    gap: 0;
    padding: 20px;
}

.dropdown-mega.mega-3col {
    min-width: 860px;
}

.mega-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.mega-col-header {
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: rgba(255, 255, 255, 0.28);
    font-weight: 700;
    padding: 2px 10px 12px 10px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mega-col-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 0 8px;
    align-self: stretch;
    flex-shrink: 0;
}

/* ── Login CTA button ──────────────────────────────────────── */
.btn-nav-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text) !important;
    text-decoration: none;
    transition: opacity var(--transition-fast);
    white-space: nowrap;
    opacity: 0.6 !important;
    cursor: pointer;
}

.btn-nav-login:hover,
.nav-dropdown:hover .btn-nav-login,
.nav-dropdown.dropdown-open .btn-nav-login {
    opacity: 1 !important;
    color: var(--text) !important;
    background: transparent;
}

/* ── Nav chevron ───────────────────────────────────────────── */
.nav-chevron {
    font-size: 0.5rem;
    transition: transform 0.2s ease;
    opacity: 0.45;
    vertical-align: middle;
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown.dropdown-open .nav-chevron {
    transform: rotate(180deg);
    opacity: 0.8;
}

/* ── Nav search wrapper ────────────────────────────────────── */
.nav-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-links {
    position: relative;
    z-index: 10001;
}

.nav-dropdown>a {
    display: inline-block;
    position: relative;
}

.nav-dropdown:hover>a {
    opacity: 1;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px;
    min-width: 550px;
    max-width: calc(100vw - 40px);
    display: flex;
    flex-direction: row;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 10002;
    pointer-events: none;
    visibility: hidden;
    overflow: visible;
    isolation: isolate;
}

.nav-dropdown:hover .dropdown-menu,
.dropdown-menu:hover,
.nav-dropdown.js-dropdown.dropdown-open .dropdown-menu {
    display: flex;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
    visibility: visible;
}

.nav-dropdown.dropdown-right .dropdown-menu {
    left: auto;
    right: 15px;
    transform: translateY(-10px);
    z-index: 10002;
    isolation: isolate;
}

.nav-dropdown.dropdown-right .dropdown-menu-column {
    transform: translateY(-10px);
}

.nav-dropdown.dropdown-right:hover .dropdown-menu-column,
.nav-dropdown.dropdown-right.js-dropdown.dropdown-open .dropdown-menu-column {
    transform: translateY(0);
}

.nav-dropdown.dropdown-right:hover .dropdown-menu,
.nav-dropdown.dropdown-right.js-dropdown.dropdown-open .dropdown-menu {
    transform: translateY(0);
}

.nav-dropdown.js-dropdown:not(.dropdown-open):not(:hover) .dropdown-menu {
    display: flex;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 8px;
    background: transparent;
    pointer-events: none;
}

.dropdown-menu-column {
    flex-direction: column;
    min-width: auto;
    width: fit-content;
    max-width: 280px;
}

.dropdown-menu-column .dropdown-item {
    flex: none;
    width: 100%;
    min-width: auto;
    margin-bottom: 4px;
    white-space: nowrap;
}

.dropdown-menu-column .dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    text-decoration: none;
    opacity: 1 !important;
    flex: 1;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    min-width: 160px;
    box-sizing: border-box;
}

.dropdown-item:hover {
    background: rgba(140, 82, 255, 0.1);
}

.dropdown-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(140, 82, 255, 0.15);
    border: 1px solid rgba(140, 82, 255, 0.3);
    flex-shrink: 0;
    color: var(--primary);
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.dropdown-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(140, 82, 255, 0.2), rgba(140, 82, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dropdown-item:hover .dropdown-icon::before {
    opacity: 1;
}

.dropdown-icon i {
    position: relative;
    z-index: 1;
}

.dropdown-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    position: relative;
    z-index: 1;
}

.dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.dropdown-title {
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    opacity: 1 !important;
    visibility: visible !important;
    white-space: nowrap;
}

.dropdown-subtitle {
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: none;
    letter-spacing: 0;
    opacity: 0.8;
    visibility: visible !important;
    white-space: normal;
    line-height: 1.3;
    word-break: break-word;
    overflow-wrap: break-word;
}

.nav-lang-dropdown .dropdown-menu-column {
    min-width: 160px;
    padding: 6px 0;
}
.nav-lang-dropdown .dropdown-item {
    padding: 6px 12px;
    margin-bottom: 0;
}
.nav-lang-dropdown .dropdown-item+.dropdown-item {
    margin-top: 2px;
}
.nav-lang-dropdown .lang-flag-icon {
    width: auto;
    min-width: auto;
    height: auto;
    background: transparent;
    border: none;
    border-radius: 0;
    font-size: 1.2rem;
    line-height: 1;
}
.nav-lang-dropdown .dropdown-item:hover .lang-flag-icon::before {
    display: none;
}

.corner-lang-switcher {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9998;
    font-family: inherit;
}
.corner-lang-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(30, 30, 30, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text);
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.corner-lang-trigger:hover {
    background: rgba(45, 45, 45, 0.98);
    border-color: rgba(255, 255, 255, 0.15);
}
.corner-lang-flag {
    font-size: 1.1rem;
    line-height: 1;
}
.corner-lang-chevron {
    font-size: 0.6rem;
    margin-left: 4px;
    transition: transform 0.2s;
}
.corner-lang-switcher.open .corner-lang-chevron {
    transform: rotate(180deg);
}
.corner-lang-dropdown {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    min-width: 160px;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 6px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.corner-lang-switcher.open .corner-lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.corner-lang-dropdown[hidden] {
    display: none !important;
}
.corner-lang-switcher.open .corner-lang-dropdown:not([hidden]) {
    display: block;
}
.corner-lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.15s;
}
.corner-lang-option:hover {
    background: rgba(255, 255, 255, 0.06);
}

.btn-outline {
    border: 1px solid var(--border-color-lighter);
    background: transparent;
    color: var(--text);
    padding: 10px 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all var(--transition-fast);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 200px 8% 140px !important;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
    isolation: isolate;
}

.hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(140, 82, 255, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 120px;
    align-items: center;
    max-width: 1800px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 15px;
}

.eyebrow-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.eyebrow-text {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    font-weight: 600;
}

#hero h1 {
    font-size: 7rem;
    line-height: 0.95;
    font-weight: 400;
    letter-spacing: -4px;
    margin: 0;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-glow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    font-weight: 500;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    max-width: 550px;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-primary {
    padding: 18px 36px;
    background: white;
    color: #000;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.btn-primary i {
    font-size: 0.7rem;
    transition: transform var(--transition-fast);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12);
}

.btn-primary:hover i {
    transform: translateX(3px);
}

.btn-secondary {
    padding: 18px 36px;
    background: transparent;
    color: var(--text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all var(--transition-fast);
    cursor: pointer;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.25);
}

.hero-stats {
    display: flex;
    gap: 0;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    flex: 1;
    padding: 0 10px;
}

.stat-item:first-child {
    padding-left: 0;
}

.stat-item:last-child {
    padding-right: 0;
}

.stat-number {
    font-size: 2rem;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -1px;
    white-space: nowrap;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.4;
    max-width: 100%;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
    margin: 0 20px;
    flex-shrink: 0;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(140, 82, 255, 0.08) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.hero-card {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 32px;
    backdrop-filter: blur(20px);
    position: relative;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(140, 82, 255, 0.5), transparent);
}

.card-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.status-indicator {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px var(--primary);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.status-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.card-metrics {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.metric-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.metric-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.5px;
}

.metric-graph {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 32px;
}

.graph-bar {
    width: 3px;
    height: var(--height);
    background: linear-gradient(to top, var(--primary), rgba(140, 82, 255, 0.4));
    border-radius: 2px;
    animation: barPulse 3s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * 0.1s);
}

.graph-bar:nth-child(1) {
    --i: 0;
}

.graph-bar:nth-child(2) {
    --i: 1;
}

.graph-bar:nth-child(3) {
    --i: 2;
}

.graph-bar:nth-child(4) {
    --i: 3;
}

.graph-bar:nth-child(5) {
    --i: 4;
}

.metric-trend {
    display: flex;
    align-items: center;
}

.trend-text {
    font-size: 0.7rem;
    color: var(--primary);
    letter-spacing: 0.3px;
}

@media (max-width: 1600px) {
    #hero h1 {
        font-size: 6rem;
    }
}

@media (max-width: 1400px) {
    #hero h1 {
        font-size: 5rem;
    }

    .hero-content {
        gap: 80px;
    }
}

@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    #hero h1 {
        font-size: 5rem;
    }

    .hero-visual {
        justify-content: flex-start;
    }

    .hero-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    #hero {
        padding: 160px 6% 100px !important;
    }
    #hero h1 { 
        font-size: 3.5rem;
        letter-spacing: -2px;
    }
    .hero-description { 
        font-size: 1rem;
        max-width: 100%;
    }
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .btn-primary,
    .btn-secondary {
        text-align: center;
        justify-content: center;
    }
    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .stat-item {
        padding: 0;
        flex: none;
        width: 100%;
    }
    .stat-divider {
        display: none;
    }
    .hero-card {
        padding: 24px;
    }
    .metric-graph {
        height: 24px;
    }
}

section:not([class*="nh-"]) {
    padding: 140px 10%;
    border-top: 1px solid var(--border-color);
    background-color: var(--background);
    overflow-x: hidden;
    position: relative;
    max-width: 100%;
    box-sizing: border-box;
}

/* Section glow removed - solid clean dark backgrounds */
section::before,
section::after {
    display: none !important;
    content: none !important;
}

main {
    position: relative;
    overflow-x: hidden;
    max-width: 100%;
    box-sizing: border-box;
}

body.product-page main {
    position: relative;
    background-color: var(--background);
}

body.product-page #product-hero {
    position: relative;
    box-shadow: 0 -200px 250px -100px rgba(0, 0, 0, 0.4) inset;
}

body.product-page main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(to bottom,
            var(--background) 0%,
            rgba(10, 10, 10, 0.99) 8%,
            rgba(10, 10, 10, 0.95) 20%,
            rgba(10, 10, 10, 0.85) 45%,
            rgba(10, 10, 10, 0.6) 75%,
            transparent 100%);
    pointer-events: none;
    z-index: 0;
    margin-top: -300px;
}

body.product-page main .wrapper {
    position: relative;
    z-index: 1;
}

/* Shared product page layout */
.product-page main {
    padding-top: 110px;
}

/* Game product pages using the new plan-hero (nh- design): neutralise the
   legacy gray <main> band so the hero flows straight into the sections. */
body.game-product-page main {
    background-color: var(--background);
    padding-top: 0;
}

body.game-product-page main::before {
    content: none;
    display: none;
}

.locations-section {
    margin-top: 0;
}

/* Game product hero — body.game-product-page sets --game-hero-bg per page */
body.game-product-page #product-hero {
    overflow: visible !important;
}

body.game-product-page #product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    min-height: 100%;
    background-image: var(--game-hero-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(3px);
    z-index: 0;
    pointer-events: none;
}

body.game-product-page #product-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    min-height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 0;
    pointer-events: none;
}

body.game-product-page #product-hero > :not(.hero-glow) {
    position: relative;
    z-index: 1;
}

#roadmap-section {
    padding: 140px 10% !important;
    border-top: 1px solid var(--border-color);
    background-color: var(--background);
    position: relative;
    overflow: hidden;
}

#roadmap-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(140, 82, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 80px;
    position: relative;
    z-index: 1;
}

.roadmap-item {
    position: relative;
    padding: 48px 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.roadmap-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(140, 82, 255, 0), transparent);
    transition: all 0.4s ease;
}

.roadmap-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(140, 82, 255, 0.03) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.roadmap-item:hover {
    border-color: rgba(140, 82, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(140, 82, 255, 0.1);
}

.roadmap-item:hover::before {
    background: linear-gradient(90deg, transparent, rgba(140, 82, 255, 0.5), transparent);
}

.roadmap-item:hover::after {
    opacity: 1;
}

.roadmap-item.featured {
    border-color: rgba(140, 82, 255, 0.25);
    background: rgba(140, 82, 255, 0.04);
}

.roadmap-item.featured::before {
    background: linear-gradient(90deg, transparent, rgba(140, 82, 255, 0.4), transparent);
}

.roadmap-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-glow));
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    z-index: 2;
}

.roadmap-icon-wrapper {
    position: relative;
    width: 72px;
    height: 72px;
    margin-bottom: 32px;
}

.roadmap-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(140, 82, 255, 0.1);
    border: 1px solid rgba(140, 82, 255, 0.2);
    border-radius: 16px;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.roadmap-item:hover .roadmap-icon {
    background: rgba(140, 82, 255, 0.15);
    border-color: rgba(140, 82, 255, 0.4);
    transform: scale(1.05);
}

.roadmap-icon i {
    font-size: 1.8rem;
    color: var(--primary);
    transition: transform 0.4s ease;
}

.roadmap-item:hover .roadmap-icon i {
    transform: scale(1.1);
}

.roadmap-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(140, 82, 255, 0.2) 0%, transparent 70%);
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.roadmap-item:hover .roadmap-glow {
    opacity: 1;
}

.roadmap-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.roadmap-item h3 {
    font-size: 2rem;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.5px;
}

.roadmap-description {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.roadmap-text {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
    flex: 1;
}

.roadmap-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
    margin-bottom: 32px;
}

.roadmap-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.feature-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(140, 82, 255, 0.5);
}

.roadmap-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.roadmap-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-glow));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.roadmap-cta:hover {
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(140, 82, 255, 0.3);
}

.roadmap-cta:hover::before {
    opacity: 1;
}

.roadmap-cta i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.roadmap-cta:hover i {
    transform: translateX(4px);
}

.roadmap-item.featured .roadmap-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-glow));
    border-color: transparent;
}

.roadmap-item.featured .roadmap-cta::before {
    background: linear-gradient(135deg, var(--primary-alt), var(--primary-glow));
}

@media (max-width: 1200px) {
    .roadmap-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    .section-header h2 {
        font-size: 3.5rem;
    }
    .roadmap-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #roadmap-section {
        padding: 80px 6% !important;
    }
    .roadmap-grid {
        margin-top: 50px;
        gap: 20px;
    }
    .roadmap-item {
        padding: 32px 24px;
    }
    .roadmap-icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 24px;
    }
    .roadmap-icon {
        width: 60px;
        height: 60px;
        border-radius: 12px;
    }
    .roadmap-icon i {
        font-size: 1.5rem;
    }
    .roadmap-item h3 {
        font-size: 1.6rem;
    }
    .roadmap-description {
        font-size: 0.7rem;
    }
    .roadmap-text {
        font-size: 0.95rem;
    }
    .roadmap-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .roadmap-feature {
        font-size: 0.8rem;
    }
    .roadmap-badge {
        top: 16px;
        right: 16px;
        font-size: 0.6rem;
        padding: 5px 12px;
    }
}

section:has(+ section) {
    border-top: 1px solid var(--border-color);
}

#ddos-details+section {
    border-top: none !important;
}

.locations-section {
    border-top: none !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.section-header {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
    align-items: flex-end;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-size: 4.5rem;
    line-height: 0.9;
    font-weight: 500;
    letter-spacing: -2px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

.border-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.grid-item {
    padding: 60px;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s;
    display: flex;
    flex-direction: column;
}

.grid-item:hover {
    background: rgba(255, 255, 255, 0.01);
}

.grid-item-top {
    height: 300px;
    flex-shrink: 0;
}

.grid-item h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.grid-item p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

.comp-table {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 25px;
    flex-shrink: 0;
}

.comp-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.comp-us {
    color: var(--primary);
    font-weight: 700;
}

.comp-them {
    color: var(--text-muted);
}

.stats-block-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border-color);
}

.stat-block {
    padding: 60px;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
}

.stat-block h2 {
    font-size: 3.2rem;
    font-weight: 400;
    margin: 0 0 12px 0;
    line-height: 1.1;
    text-align: left;
    white-space: nowrap;
    width: 100%;
    min-height: 3.52rem;
    display: flex;
    align-items: center;
}

.stat-block span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
    text-align: left;
    display: block;
}

footer {
    border-top: 1px solid var(--border-color);
    background-color: var(--background);
    overflow-x: hidden;
    width: 100%;
    text-align: center;
}

footer .wrapper {
    padding-top: 100px;
    padding-bottom: 40px;
    padding-left: var(--spacing-lg);
    padding-right: var(--spacing-lg);
    width: calc(100% - 2 * var(--spacing-lg));
    max-width: var(--wrapper-width);
    margin: 0 auto !important;
    box-sizing: border-box;
    display: block;
    position: relative;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 40px;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    max-width: 100%;
}

@media (max-width: 1100px) {
    .footer-links-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 850px) {
    .footer-links-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.footer-col h4 {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 15px;
}

.footer-col a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-col a:hover {
    opacity: 1;
}

/* Footer Social Icon Grid */
.footer-social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none !important;
    color: var(--text) !important;
    font-size: 0.8rem;
    opacity: 0.7;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.footer-social-icon i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.footer-social-icon span {
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.footer-social-icon:hover {
    opacity: 1 !important;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.footer-social-icon[title="Discord"]:hover i { color: #5865f2; }
.footer-social-icon[title="TikTok"]:hover i { color: #fff; }
.footer-social-icon[title="YouTube"]:hover i { color: #ff0000; }
.footer-social-icon[title="Instagram"]:hover i { color: #e1306c; }

@media (max-width: 850px) {
    .footer-social-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .footer-social-icon span {
        display: none;
    }
    .footer-social-icon {
        justify-content: center;
        padding: 10px;
    }
    .footer-social-icon i {
        font-size: 1.3rem;
        width: auto;
    }
}

.footer-bottom {
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    width: 100%;
    max-width: 100%;
}

.products-table-wrapper {
    margin-top: 60px;
    margin-bottom: 80px;
    overflow: hidden !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    max-height: none !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
}

#ddos-details {
    margin-top: 80px;
    padding-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    border-top: none !important;
    border-bottom: none !important;
}

.games-content-section+#ddos-details,
section+#ddos-details {
    border-top: none !important;
    margin-top: 0;
    padding-top: 0 !important;
}

#ddos-details .section-header {
    border-top: none !important;
    border-bottom: none !important;
}

#ddos-details .stats-block-grid {
    margin-bottom: 0;
    padding-bottom: 0;
    border-top: none !important;
}

#ddos-details .stat-block {
    padding-bottom: 20px;
}

#ddos-details {
    margin-bottom: -20px;
}

#game-panel-section::before,
#game-panel-section::after,
#modpack-panel-section::before,
#modpack-panel-section::after {
    display: none !important;
}

#game-panel-section+section,
#modpack-panel-section+section,
section+#game-panel-section,
section+#modpack-panel-section {
    border-top: none !important;
}

.panel-container,
.panel-container * {
    border: none !important;
}

.panel-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 0;
}

.panel-visual {
    order: 2;
}

.panel-content {
    order: 1;
}

.panel-reverse .panel-visual {
    order: 1;
}

.panel-reverse .panel-content {
    order: 2;
}

.panel-visual {
    position: relative;
}

.panel-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;   /* Prevent CLS: reserve space before image loads */
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.panel-visual:hover .panel-image {
    transform: translateY(-4px);
}

.panel-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.panel-title {
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--text);
    margin: 0;
}

.panel-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

.panel-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 8px;
}

.panel-feature {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.panel-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(140, 82, 255, 0.1);
    border: 1px solid rgba(140, 82, 255, 0.2);
    border-radius: 8px;
    color: var(--primary);
    font-size: 1.25rem;
}

.panel-feature-content {
    flex: 1;
}

.panel-feature-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.panel-feature-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

#game-panel-section {
    margin-top: 0;
    padding: 0 8% 0 8%;
    margin-bottom: 0;
    padding-bottom: 0 !important;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
}

#modpack-panel-section {
    margin-top: 90px;
    padding: 0 8%;
    padding-top: 0 !important;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
}

#game-panel-section .panel-container {
    margin-bottom: 0;
}

#modpack-panel-section .panel-container {
    margin-top: 0;
}

#gamepanel-features-section {
    margin-top: 90px;
    padding: 0 8%;
    border: none !important;
    border-top: none !important;
}

#gamepanel-features-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

#gamepanel-features-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

#gamepanel-features-section .section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 8px 0;
    line-height: 1.6;
}

.panel-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.panel-feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
}

.panel-feature-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(140, 82, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.panel-feature-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(140, 82, 255, 0.2), rgba(99, 102, 241, 0.2));
    border-radius: 12px;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 1.5rem;
}

.panel-feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.panel-feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        overflow: hidden;
    }
    to {
        opacity: 1;
        max-height: 2000px;
    }
}

.wrapper .products-table-wrapper {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    overflow-x: visible;
    overflow-y: visible;
    display: flex;
    flex-direction: column;
}

.wrapper #products-container {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
}

.products-table-header {
    display: flex;
    flex-direction: column;
    padding: 0;
    background: rgba(25, 25, 25, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px 8px 0 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.products-table-header-row {
    display: grid;
    grid-template-columns: minmax(180px, 1.2fr) minmax(260px, 2.5fr) minmax(160px, 1.3fr) minmax(160px, 1.2fr) minmax(100px, 0.8fr) minmax(100px, 0.8fr) minmax(120px, 0.8fr);
    column-gap: 16px;
    padding: 16px 24px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text);
    align-items: center;
}

.products-table-header-row .table-col {
    display: flex;
    align-items: center;
    gap: 8px;
}

.products-table-header-row .table-col i {
    font-size: 0.9rem;
    opacity: 0.7;
}

.product-options-bar {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 16px;
    padding: 16px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: visible;
    min-width: 0;
}

.product-options-bar .product-options-locations {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    flex-shrink: 1;
    min-width: 0;
}

.product-options-bar .product-options-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.product-options-bar .locations-inline {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
}

.product-options-bar .locations-inline .location-box {
    padding: 10px 16px;
    margin: 0;
    min-width: auto;
    flex-shrink: 0;
}

.product-options-bar .locations-inline .location-box .location-left {
    gap: 4px;
    flex-shrink: 0;
    min-width: 0;
    overflow: visible;
}

.product-options-bar .locations-inline .location-box .location-name {
    white-space: nowrap;
    overflow: visible;
}

.product-options-bar .locations-inline .location-box .location-right {
    gap: 2px;
}

.product-options-bar .locations-inline .location-box .ping-display {
    min-width: 40px;
    width: 40px;
}

.product-options-bar .locations-inline .location-box .ping-time,
.product-options-bar .locations-inline .location-box .ping-status {
    min-width: 40px;
    width: 40px;
    font-size: 0.65rem;
}

.product-options-bar .locations-inline .location-flag {
    font-size: 1.2rem;
}

.product-options-bar .locations-inline .location-name {
    font-size: 0.95rem;
    font-weight: 600;
}

.product-options-bar .product-options-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.product-options-bar .billing-cycle-switcher {
    padding: 0;
    background: none;
    border: none;
    flex: 1;
    flex-shrink: 0;
    flex-wrap: nowrap;
    overflow: visible;
    gap: 24px;
    justify-content: flex-end;
    align-items: center;
}

.product-options-bar .billing-cycle-switcher .billing-cycle-btns {
    flex-wrap: nowrap;
    overflow: visible;
    flex-shrink: 0;
    gap: 8px;
}

.product-options-bar .billing-cycle-btn {
    padding: 10px 22px;
    font-size: 0.9rem;
    white-space: nowrap;
    min-width: 90px;
    box-sizing: border-box;
}

.billing-cycle-switcher {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(20, 20, 20, 0.6);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.billing-cycle-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.billing-cycle-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.billing-cycle-btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    overflow: visible;
    flex-shrink: 0;
}

.billing-cycle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    border-color: rgba(140, 82, 255, 0.3);
}

.billing-cycle-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 2px 12px rgba(140, 82, 255, 0.35);
}

.billing-cycle-btn.active:hover {
    background: var(--primary-strong);
    border-color: var(--primary-strong);
}

.products-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: visible !important;
    position: relative;
    max-height: none !important;
    height: auto !important;
    width: 100%;
    box-sizing: border-box;
}

.product-table-row {
    background: rgba(25, 25, 25, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: none;
    padding: 20px 24px;
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: minmax(180px, 1.2fr) minmax(260px, 2.5fr) minmax(160px, 1.3fr) minmax(160px, 1.2fr) minmax(100px, 0.8fr) minmax(100px, 0.8fr) minmax(120px, 0.8fr);
    column-gap: 16px;
    row-gap: 0;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
    flex-shrink: 0;
}

.product-table-row:last-child {
    border-radius: 0 0 8px 8px;
}

.table-col {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    padding-top: 2px;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

.table-col-server {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    overflow: visible;
    padding-top: 2px;
}

.location-flag {
    font-size: 1.5rem;
    line-height: 1;
}

.server-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    width: 100%;
}

.server-code {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    padding: 2px 9px;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(178, 145, 255, 0.85);
    background: rgba(140, 82, 255, 0.07);
    border: 1px solid rgba(140, 82, 255, 0.22);
    border-radius: 100px;
    white-space: nowrap;
    line-height: 1.6;
    width: fit-content;
}

.server-location {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.spec-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    background: rgba(140, 82, 255, 0.1);
    border: 1px solid rgba(140, 82, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.spec-icon i {
    font-size: 0.9rem;
    color: var(--primary);
}

.spec-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
    justify-content: flex-start;
}

.spec-main {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
    white-space: nowrap;
    display: block;
}

.spec-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;
    display: block;
    margin-top: 2px;
}

.setup-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
}

.badge-green {
    background: var(--success);
}

.badge-orange {
    background: #f97316;
}

.price-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.price-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: #22c55e;
    line-height: 1.2;
}

.price-period-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.price-period {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.price-discount {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--success);
}

.stock-badge {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 50px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--danger);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    line-height: 1.2;
}

.btn-order-now {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.btn-order-available {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-order-available:hover {
    background: var(--primary-strong);
    box-shadow: 0 4px 12px rgba(140, 82, 255, 0.4);
}

.btn-order-disabled {
    background: rgba(156, 163, 175, 0.2);
    color: var(--text-muted);
    border: 1px solid rgba(156, 163, 175, 0.3);
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-order-disabled:hover {
    background: rgba(156, 163, 175, 0.2);
    transform: none;
    box-shadow: none;
}

.table-col-order {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-rack-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(140, 82, 255, 0.3), transparent);
}

.product-rack-card:hover {
    border-color: rgba(140, 82, 255, 0.4);
    background: rgba(10, 10, 10, 0.8);
    box-shadow: 0 8px 32px rgba(140, 82, 255, 0.1);
}

.rack-header {
    min-width: 180px;
    flex-shrink: 0;
}

.rack-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: var(--text);
    text-align: left;
    line-height: 1.2;
}

.rack-specs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: center;
    flex: 1;
}

.rack-spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.rack-spec-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.rack-spec-icon i {
    font-size: 1.1rem;
    color: var(--info);
}

.rack-spec-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rack-spec-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    white-space: nowrap;
}

.rack-spec-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
    white-space: nowrap;
}

.rack-footer {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
    min-width: 200px;
    justify-content: flex-end;
}

.price-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-display .currency {
    color: var(--success);
    font-size: 1.1rem;
    font-weight: 700;
}

.price-display .amount {
    color: var(--success);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.price-display .period {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 400;
    margin-left: 2px;
}

.btn-rack-order {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn-rack-order i {
    font-size: 0.9rem;
}

.btn-green {
    background: var(--success);
    color: white;
    border: none;
}

.btn-green:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade {
    animation: fadeIn var(--transition-default) ease-out forwards;
}

.animate-slide-up {
    animation: slideUp var(--transition-default) ease-out forwards;
}

.scroll-discover {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-discover::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text), transparent);
}

@media (max-width: 1200px) {
    .section-header h2 {
        font-size: 3.5rem;
    }
}

.product-hero {
    padding: 110px 10% 40px !important;
    border-top: none !important;
    border-bottom: none !important;
    background-color: var(--background);
}

.product-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.product-hero h1 {
    font-size: 4.5rem;
    font-weight: 400;
    letter-spacing: -2px;
    margin-bottom: 20px;
    color: var(--text);
}

.product-hero h2 {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 30px;
}

.product-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 30px;
}

.product-hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.product-stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 30px;
}

.product-stat-number {
    font-size: 2rem;
    font-weight: 500;
    color: var(--primary);
    letter-spacing: -1px;
}

.product-stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.5);
}

.product-stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border-color);
}

@media (max-width: 768px) {
    .product-hero {
        padding: 110px 6% 60px !important;
    }

    .product-hero h1 {
        font-size: 3rem;
    }

    .product-hero h2 {
        font-size: 1.2rem;
    }

    .product-hero p {
        font-size: 1rem;
    }

    .product-hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .product-stat-divider {
        display: none;
    }

    .product-stat-item {
        padding: 0;
    }
}

.locations-section {
    margin-bottom: 60px;
    margin-top: 0;
    padding-top: 20px !important;
    text-align: center;
    border-top: none !important;
    padding-bottom: 0 !important;
}

/* Keep locations visually transparent so the page ambient glow shows through */
.locations-section {
    background: transparent !important;
}

.locations-section::before {
    display: none !important;
}

/* Prevent any accidental scrolling inside the locations area and ensure boxes don't mask the background */
.games-content-section .locations-grid,
.locations-grid {
    overflow: hidden !important;
}

.games-content-section .location-box,
.locations-section .location-box {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}

.games-content-section .location-box .location-left,
.games-content-section .location-box .location-right {
    position: relative;
    z-index: 1;
}

.locations-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-weight: 600;
}

.locations-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: visible;
}

.location-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex: 0 1 auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

.location-box:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(140, 82, 255, 0.3);
}

.location-box.active {
    border-color: var(--primary);
    background: rgba(140, 82, 255, 0.1);
}

.location-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-flag {
    font-size: 1.1rem;
    line-height: 1;
}

.location-name {
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 500;
}

.location-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.ping-display {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.ping-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    width: 52px;
    height: 28px;
    padding: 0;
    background: rgba(140, 82, 255, 0.15);
    border: 1px solid rgba(140, 82, 255, 0.3);
    border-radius: 4px;
    color: var(--primary);
    font-size: 0.7rem;
}

.ping-status i {
    font-size: 0.75rem;
    color: var(--primary);
}

.ping-time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    width: 52px;
    height: 28px;
    padding: 0;
    background: rgba(140, 82, 255, 0.15);
    border: 1px solid rgba(140, 82, 255, 0.3);
    border-radius: 4px;
    color: var(--text);
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
}

.location-box.active .ping-time {
    background: rgba(140, 82, 255, 0.25);
    border-color: var(--primary);
    color: var(--primary);
}

/* Product Hero Section */
#product-hero {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 160px 8% 100px !important;
    border-bottom: none;
    position: relative;
    overflow: visible;
    margin-top: 90px;
}

#product-hero .hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(140, 82, 255, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.product-hero-container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 120px;
    align-items: center;
    max-width: 1800px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.product-hero-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.product-hero-text h1 {
    font-size: 5rem;
    line-height: 1;
    font-weight: 400;
    letter-spacing: -3px;
    margin: 0;
}

.product-hero-text h1 .gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-glow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    font-weight: 500;
}

.product-hero-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    max-width: 550px;
    font-weight: 400;
}

.product-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-hero-eyebrow .eyebrow-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.product-hero-eyebrow .eyebrow-text {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    font-weight: 600;
}

.product-hero-cta {
    display: flex;
    gap: 16px;
    align-items: center;
}

.product-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(140, 82, 255, 0.08) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.stats-card {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 32px;
    backdrop-filter: blur(20px);
    position: relative;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(140, 82, 255, 0.5), transparent);
}

.card-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px var(--primary);
}

.stats-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-row.full-width {
    grid-template-columns: 1fr;
}

.stat-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.5px;
}

.stat-value.highlight {
    color: var(--primary);
    font-weight: 600;
}

.stat-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 8px 0;
}

@media (max-width: 1400px) {
    .product-hero-text h1 {
        font-size: 4.5rem;
    }
}

@media (max-width: 1200px) {
    .product-hero-container {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .product-hero-text h1 {
        font-size: 4rem;
    }

    #product-hero {
        padding: 160px 8% 80px !important;
    }
}

@media (max-width: 1024px) {
    .os-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    position: relative;
    margin-left: 0;
    margin-right: 0;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.mobile-menu-toggle span:nth-child(1) {
    top: 8px;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.mobile-menu-toggle span:nth-child(3) {
    bottom: 8px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-50%) translateY(-50%);
}

.mobile-menu-toggle.active span:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(180deg, var(--background) 0%, rgba(10, 10, 10, 0.95) 100%);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
    padding-top: 90px;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-content {
    padding: 12px 20px calc(100px + env(safe-area-inset-bottom));
    max-width: 100%;
    background: transparent;
}

.mobile-menu-content>*:first-child {
    margin-top: 0;
}

.mobile-lang-switcher {
    display: flex;
    gap: 8px;
    padding: 12px 0 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 8px;
}
.mobile-lang-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s ease;
}
.mobile-lang-option:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}
.mobile-lang-option.active {
    background: rgba(140, 82, 255, 0.15);
    border-color: var(--primary);
    color: var(--text);
}

.mobile-menu-category {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    padding: 20px 0 14px;
    margin-bottom: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-menu-category:first-of-type {
    padding-top: 12px;
}

.mobile-menu-category i {
    font-size: 0.95rem;
    color: var(--primary);
    opacity: 0.8;
}

.mobile-menu-item {
    display: block;
    padding: 0;
    margin: 0 0 10px 0;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #242629;
    overflow: hidden;
}

.mobile-menu-item:hover {
    background: #2a2d32;
    transform: translateY(-1px);
}

.mobile-menu-item.active {
    background: #2a2d32;
}

.mobile-menu-item>span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 18px;
}

.mobile-menu-item i {
    font-size: 0.7rem;
    margin-left: auto;
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.4);
}

.mobile-menu-item.active i {
    transform: rotate(180deg);
    color: rgba(255, 255, 255, 0.6);
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
    margin: 0;
    background: transparent;
}

.mobile-menu-item.active .mobile-submenu,
.mobile-submenu.active {
    max-height: 800px;
    padding: 8px 18px 16px;
    margin: 0;
}

.mobile-submenu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 0;
}

.mobile-submenu-grid .mobile-submenu-item {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 0;
    border-radius: 0;
    margin: 0;
    background: transparent;
}

.mobile-submenu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 10px;
    position: relative;
    background: #1f2328;
    margin-bottom: 8px;
}

.mobile-submenu-item:last-child {
    margin-bottom: 0;
}

.mobile-submenu-item:hover {
    color: var(--text);
    background: #25282d;
    transform: translateX(2px);
}

.mobile-submenu-item::after {
    content: '›';
    position: absolute;
    right: 16px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.1rem;
    font-weight: 300;
}

.mobile-submenu-item span:not(.mobile-submenu-icon) {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-submenu-item span strong {
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.3;
}

.mobile-submenu-item span small {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    line-height: 1.2;
}

.mobile-submenu-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: #333744;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.mobile-submenu-icon i {
    font-size: 1.1rem;
    display: block;
    width: 100%;
    text-align: center;
    line-height: 1;
}

.mobile-submenu-icon.vps-icon {
    background: #333744;
    color: rgba(255, 255, 255, 0.9);
}

.mobile-submenu-icon.vds-icon {
    background: #333744;
    color: rgba(255, 255, 255, 0.9);
}

/* Game Items */
.mobile-game-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    opacity: 1;
    transform: translateX(0);
}

.mobile-games-expandable .mobile-game-item {
    animation: slideIn 0.4s ease forwards;
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-games-expandable.show .mobile-game-item {
    opacity: 1;
    transform: translateX(0);
}

.mobile-games-expandable.show .mobile-game-item:nth-child(1) {
    animation-delay: 0.05s;
}

.mobile-games-expandable.show .mobile-game-item:nth-child(2) {
    animation-delay: 0.1s;
}

.mobile-games-expandable.show .mobile-game-item:nth-child(3) {
    animation-delay: 0.15s;
}

.mobile-games-expandable.show .mobile-game-item:nth-child(4) {
    animation-delay: 0.2s;
}

.mobile-games-expandable.show .mobile-game-item:nth-child(5) {
    animation-delay: 0.25s;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-game-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateX(2px);
}

.mobile-game-item::after {
    content: '›';
    position: absolute;
    right: 16px;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
}

.mobile-game-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 8px;
    background: var(--primary-transparent);
    border: 1px solid rgba(140, 82, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.mobile-games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
    padding: 0;
}

.mobile-game-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 4px;
    background: transparent;
    border: none;
    border-radius: 0;
    text-decoration: none;
    color: var(--text);
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.mobile-game-grid-item:hover {
    transform: scale(1.1);
}

.mobile-game-grid-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    overflow: hidden;
    flex-shrink: 0;
}

.mobile-game-grid-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.mobile-games-expandable {
    margin-bottom: 8px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-bottom 0.3s ease;
}

.mobile-games-expandable.show {
    max-height: 1000px;
    opacity: 1;
    margin-bottom: 8px;
}

.mobile-view-all,
.mobile-view-less {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.mobile-view-all[style*="display: none"],
.mobile-view-less[style*="display: none"] {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

.mobile-view-all:hover,
.mobile-view-less:hover {
    background: linear-gradient(135deg, rgba(140, 82, 255, 0.08) 0%, rgba(140, 82, 255, 0.04) 100%);
    border-color: var(--primary);
    transform: translateX(4px);
}

.mobile-view-all i,
.mobile-view-less i {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Hosting Items */
.mobile-hosting-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
    position: relative;
}

.mobile-hosting-item:hover {
    background: linear-gradient(135deg, rgba(140, 82, 255, 0.08) 0%, rgba(140, 82, 255, 0.04) 100%);
    border-color: var(--primary);
    transform: translateX(4px);
}

.mobile-hosting-item::after {
    content: '›';
    position: absolute;
    right: 16px;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
}

.mobile-hosting-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: var(--primary-transparent);
    border: 1px solid rgba(140, 82, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.mobile-hosting-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-hosting-content strong {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.3;
}

.mobile-hosting-content small {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.2;
}

.mobile-status-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
    position: relative;
}

.mobile-status-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateX(2px);
}

.mobile-status-item::after {
    content: '›';
    position: absolute;
    right: 16px;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
}

.mobile-status-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15) 0%, rgba(76, 175, 80, 0.05) 100%);
    border: 1px solid rgba(76, 175, 80, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4caf50;
    font-size: 1.4rem;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

.mobile-menu-cta {
    display: block;
    width: 100%;
    padding: 16px 20px;
    background: var(--primary);
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 12px;
    margin: 24px 0;
    transition: all 0.2s ease;
    border: none;
}

.mobile-menu-cta:hover {
    background: var(--primary-strong);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(140, 82, 255, 0.3);
}

@media (max-width: 768px) {
    .nav-center {
        display: none;
    }

    .nav-search-wrap,
    .nav-right > .nav-dropdown {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-inner {
        padding: 0 6%;
        display: flex;
        justify-content: space-between;
    }

    .nav-right {
        gap: 0;
    }

    .logo {
        flex-shrink: 0;
    }

    .section-header {
        grid-template-columns: 1fr;
    }

    .border-grid {
        grid-template-columns: 1fr;
    }

    .stats-block-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    section:not([class*="nh-"]) {
        padding: 80px 6%;
        overflow-x: hidden;
    }

    .stat-block {
        padding: 30px 20px;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
        min-width: 0;
    }

    .stat-block h2 {
        font-size: 2.5rem;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

    #ddos-details {
        padding: 80px 6% !important;
        overflow-x: hidden;
    }

    #ddos-details .stats-block-grid {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }

    #game-panel-section {
        padding: 0 6%;
        margin-top: 0;
    }

    #modpack-panel-section {
        padding: 0 6%;
        margin-top: 50px;
    }

    #gamepanel-features-section {
        padding: 0 6%;
        margin-top: 50px;
    }

    .panel-features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .panel-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .panel-reverse .panel-visual,
    .panel-reverse .panel-content {
        order: unset;
    }

    .panel-title {
        font-size: 2.5rem;
    }

    .panel-description {
        font-size: 1rem;
    }

    .panel-features {
        gap: 24px;
    }

    #product-hero {
        padding: 140px 6% 80px !important;
        margin-top: 90px;
    }

    .product-hero-text h1 {
        font-size: 3rem;
        letter-spacing: -2px;
    }

    .product-hero-text p {
        font-size: 1rem;
        max-width: 100%;
    }

    .product-hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary {
        text-align: center;
        justify-content: center;
    }

    .stat-row {
        grid-template-columns: 1fr !important;
    }

    .products-table-wrapper {
        overflow: hidden;
        margin-top: 40px;
        margin-bottom: 40px;
        padding: 0 4%;
    }

    .products-grid {
        gap: 16px;
    }

    .products-table-header {
        display: flex;
        flex-direction: column;
    }

    .products-table-header-row {
        display: none;
    }

    .product-table-row {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 20px 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        margin-bottom: 16px;
        background: rgba(25, 25, 25, 0.9);
    }

    .product-table-row:first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .product-table-row:last-child {
        margin-bottom: 0;
    }

    .table-col-server {
        order: -1;
        padding: 0 0 16px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 16px;
        align-items: flex-start;
    }

    .table-col-server .server-code {
        font-size: 1.1rem;
        font-weight: 700;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .table-col-server .server-info {
        width: 100%;
    }

    .table-col-processor,
    .table-col-memory,
    .table-col-storage,
    .table-col-bandwidth {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 12px;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        align-items: start;
    }

    .table-col-processor:last-of-type,
    .table-col-memory:last-of-type,
    .table-col-storage:last-of-type,
    .table-col-bandwidth:last-of-type {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 16px;
        padding-bottom: 16px;
    }

    .table-col-processor .spec-content,
    .table-col-memory .spec-content,
    .table-col-storage .spec-content,
    .table-col-bandwidth .spec-content {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .table-col-processor .spec-main,
    .table-col-memory .spec-main,
    .table-col-storage .spec-main,
    .table-col-bandwidth .spec-main {
        font-size: 0.95rem;
        font-weight: 600;
        line-height: 1.3;
    }

    .table-col-processor .spec-sub,
    .table-col-memory .spec-sub,
    .table-col-storage .spec-sub,
    .table-col-bandwidth .spec-sub {
        font-size: 0.8rem;
        color: var(--text-muted);
    }

    .table-col-processor .spec-icon,
    .table-col-memory .spec-icon,
    .table-col-storage .spec-icon,
    .table-col-bandwidth .spec-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        margin-top: 2px;
    }

    /* Price section */
    .table-col-price {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 0 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 12px;
    }

    .table-col-price .price-info {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    .table-col-price .price-amount {
        font-size: 1.5rem;
        font-weight: 700;
    }
    .table-col-price .price-period {
        font-size: 0.85rem;
    }
    .table-col-order {
        order: 999;
        padding: 0;
        border: none;
    }
    .table-col-order .btn-order-now {
        width: 100%;
        padding: 14px 20px;
        text-align: center;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    .table-col::before {
        display: none;
    }
    .spec-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }
    .spec-icon i {
        font-size: 0.9rem;
    }
    .stock-badge {
        writing-mode: horizontal-tb;
        margin-top: 4px;
        padding: 4px 8px;
        font-size: 0.65rem;
    }
    .locations-grid {
        flex-direction: column;
        align-items: center;
    }
    .location-box {
        width: 100%;
        max-width: 300px;
    }
    .product-options-bar {
        flex-wrap: wrap;
        flex-direction: row;
        gap: 10px;
        padding: 12px 16px;
        overflow: hidden;
        box-sizing: border-box;
    }
    .product-options-bar .product-options-locations {
        flex-wrap: wrap;
        width: 100%;
        min-width: 0;
    }
    .product-options-bar .locations-inline {
        flex-wrap: wrap;
    }
    .product-options-bar .product-options-divider {
        width: 100%;
        height: 1px;
    }
    .product-options-bar .billing-cycle-switcher {
        margin-left: 0;
        flex-wrap: wrap;
        width: 100%;
        box-sizing: border-box;
        gap: 8px;
    }

    .product-options-bar .billing-cycle-switcher .billing-cycle-label {
        width: 100%;
    }

    .product-options-bar .billing-cycle-switcher .billing-cycle-btns {
        flex-wrap: wrap;
        width: 100%;
    }

    .product-options-bar .billing-cycle-btn {
        flex: 1 1 auto;
        min-width: 0;
        text-align: center;
    }
    footer .wrapper {
        padding-top: 60px !important;
        padding-bottom: 30px !important;
    }
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 40px;
    }
    .footer-col {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        padding-top: 30px;
    }
    .footer-bottom>div {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

.search-container {
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    padding: 0;
    transition: 0.3s all;
    position: relative;
}
.search-container::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}
.search-container:focus-within::after {
    width: 100%;
}
.search-container i {
    color: var(--text);
    opacity: 0.6;
    margin-right: 8px;
    font-size: 0.75rem;
    transition: opacity 0.3s;
}
.search-container:focus-within i {
    opacity: 1;
}
.search-container input {
    background: transparent;
    border: none;
    color: var(--text);
    outline: none;
    width: 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: inherit;
    transition: 0.3s width, 0.3s opacity;
    opacity: 0;
    padding: 0;
}
.search-container input::placeholder {
    color: var(--text);
    opacity: 0.8;
    text-transform: uppercase;
}
.search-container:focus-within input {
    width: 130px;
    opacity: 1;
    padding: 0;
}

.search-results {
    position: absolute;
    top: calc(100% + 22px);
    right: 0;
    left: auto;
    width: 320px;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    display: none;
    flex-direction: column;
    z-index: 10002;
    max-height: 400px;
    overflow-y: auto;
    padding: 12px;
    gap: 4px;
}
.search-results::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 8px;
    background: transparent;
    pointer-events: none;
}

.mobile-search-wrapper {
    margin: 0 0 12px 0;
    position: relative;
    width: 100%;
    padding-bottom: 20px;
}
.mobile-search-wrapper .search-container {
    position: relative;
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    border-radius: 12px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.mobile-search-wrapper .search-container:focus-within {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(140, 82, 255, 0.2);
}

.mobile-search-wrapper .search-container input {
    width: 100%;
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: none;
    padding: 14px 12px;
    font-size: 0.95rem;
    color: var(--text);
    outline: none;
    opacity: 1;
    text-transform: none;
    letter-spacing: normal;
    position: relative;
    z-index: 1;
}

.mobile-search-wrapper .search-container input::placeholder {
    color: rgba(255, 255, 255, 1) !important;
    opacity: 1 !important;
    text-transform: none !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
}

.mobile-search-wrapper .search-container label {
    color: var(--text-muted);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    padding-right: 4px;
}

.mobile-search-wrapper .search-container:focus-within input {
    width: 100%;
}
.mobile-search-wrapper .search-results {
    position: relative;
    top: 5px;
    width: 100%;
    margin-bottom: 15px;
    box-shadow: none;
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.search-result-item:hover {
    background: rgba(140, 82, 255, 0.1);
}
.search-result-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(140, 82, 255, 0.15);
    border: 1px solid rgba(140, 82, 255, 0.3);
    flex-shrink: 0;
    color: var(--primary);
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}
.search-result-icon::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(140, 82, 255, 0.2), rgba(140, 82, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.search-result-item:hover .search-result-icon::before {
    opacity: 1;
}
.search-result-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.search-result-title {
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}
.search-result-category {
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: none;
    letter-spacing: 0;
    opacity: 0.8;
}
.search-no-results {
    padding: 15px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ── Cookie Consent Banner ───────────────────────────────────────────── */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: rgba(12, 12, 14, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 2rem;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.6);
}

.cookie-banner.visible {
    display: block;
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: var(--wrapper-width, 1300px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-banner-text {
    flex: 1;
    min-width: 0;
}

.cookie-banner-text p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-banner-text a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner-text a:hover {
    color: var(--primary-alt);
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.55rem 1.25rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-primary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.cookie-btn-save {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-btn-save:hover {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.cookie-btn-accept {
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
    box-shadow: 0 2px 10px rgba(140, 82, 255, 0.2);
}

.cookie-btn-accept:hover {
    background: var(--primary-alt);
    border-color: var(--primary-alt);
    box-shadow: 0 4px 16px rgba(140, 82, 255, 0.35);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 1rem 1.25rem;
    }

    .cookie-banner-inner {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .cookie-banner-actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   MINIMALIST, SHARP, FLAT GAMING HOSTING STYLES (NO AI GLOW / NO BUBBLES)
   ========================================================================== */
.nh-page {
    background-color: var(--background) !important;
    color: var(--text-soft);
    font-family: var(--font-primary, 'Space Grotesk', system-ui, sans-serif);
    -webkit-font-smoothing: antialiased;
}

.nh-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 28px;
    width: 100%;
    box-sizing: border-box;
}

/* ==========================================================================
   MODERN PREMIUM HEADER – NolimitHost Dark SaaS Aesthetic
   ========================================================================== */
header.nh-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto !important;
    min-height: 68px;
    z-index: 10000;
    padding: 0 !important;
    background: rgba(8, 8, 10, 0.82);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    margin: 0;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.nh-header-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-sizing: border-box;
    height: 68px;
}

/* — Logo & Brand — */
.nh-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.18s ease;
}

.nh-brand:hover {
    opacity: 0.88;
}

.nh-brand-logo,
.nh-brand img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
}

.nh-brand-name,
.nh-brand span {
    color: var(--text);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    font-family: var(--font-primary, 'Space Grotesk', system-ui, sans-serif);
}

/* — Center Navigation — */
.nh-nav-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nh-nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nh-nav-item {
    color: var(--text-muted);
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: -0.01em;
    padding: 8px 14px;
    border-radius: 8px;
    position: relative;
    transition: color 0.18s ease, background 0.18s ease;
    white-space: nowrap;
}

.nh-nav-item:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

/* Remove the old underline pseudo-element — use bg highlight instead */
.nh-nav-item::after {
    display: none;
}

/* — Nav Item Wrapper (for dropdowns) — */
.nh-nav-item-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.nh-nav-item-dropdown {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.nh-nav-chevron {
    font-size: 9px;
    margin-left: 5px;
    color: var(--text-faint);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.nh-nav-item-wrap:hover .nh-nav-chevron,
.nh-nav-item-wrap.open .nh-nav-chevron {
    transform: rotate(180deg);
    color: var(--text-muted);
}

/* ==========================================================================
   MEGA DROPDOWN PANELS – Rich Card-Based Floating Menus
   ========================================================================== */
.nh-mega-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px) scale(0.97);
    background: #0a0a0c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(255, 255, 255, 0.03),
        0 0 40px rgba(0, 0, 0, 0.3);
    padding: 12px;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.22s;
}

/* Invisible bridge to keep hover when moving to dropdown */
.nh-mega-dropdown::before {
    content: '';
    position: absolute;
    top: -18px;
    left: 0;
    right: 0;
    height: 18px;
}

.nh-nav-item-wrap:hover .nh-mega-dropdown,
.nh-nav-item-wrap.open .nh-mega-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
}

/* — Game Servers: wider panel for 5 items — */
.nh-mega-games {
    min-width: 380px;
    max-width: 420px;
}

/* — Products: 2-col grid layout — */
.nh-mega-products {
    min-width: 560px;
    max-width: 640px;
}

/* — Resources: 3-col section layout — */
.nh-mega-resources {
    width: min(940px, calc(100vw - 48px));
    min-width: 0;
    max-width: 940px;
}

/* Compact resource rows preserve the original content and panel alignment. */
.nh-mega-resources .nh-mega-col-items {
    display: grid;
    grid-auto-rows: minmax(52px, auto);
    gap: 2px;
}

.nh-mega-resources .nh-mega-col-title {
    min-height: 28px;
    display: flex;
    align-items: center;
}

.nh-mega-resources .nh-mega-card:hover {
    transform: none;
}

.nh-mega-resources .nh-mega-card:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
}

.nh-mega-cols-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.nh-mega-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nh-mega-col-title {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    padding: 2px 10px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 2px;
}

.nh-mega-col-items {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

/* — Grid Layouts — */
.nh-mega-grid {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.nh-mega-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

/* ==========================================================================
   MEGA DROPDOWN CARDS – Individual interactive items
   ========================================================================== */
.nh-mega-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    text-decoration: none;
    background: transparent;
    border: 1px solid transparent;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
    cursor: pointer;
    position: relative;
}

.nh-mega-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.07);
    transform: translateX(2px);
}

/* — Card Icon — */
.nh-mega-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nh-mega-card:hover .nh-mega-card-icon {
    transform: scale(1.06);
}

/* Image icons inside card icon containers */
.nh-mega-card-img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
    border-radius: 2px;
    image-rendering: auto;
}

/* Game-specific icon colors */
.nh-icon-mc {
    background: rgba(76, 175, 80, 0.12);
    color: #66bb6a;
    border: 1px solid rgba(76, 175, 80, 0.2);
}
.nh-mega-card:hover .nh-icon-mc {
    box-shadow: 0 0 14px rgba(76, 175, 80, 0.2);
}

.nh-icon-fivem {
    background: rgba(255, 152, 0, 0.12);
    color: #ffa726;
    border: 1px solid rgba(255, 152, 0, 0.2);
}
.nh-mega-card:hover .nh-icon-fivem {
    box-shadow: 0 0 14px rgba(255, 152, 0, 0.2);
}

.nh-icon-rust {
    background: rgba(206, 73, 56, 0.12);
    color: #ef5350;
    border: 1px solid rgba(206, 73, 56, 0.2);
}
.nh-mega-card:hover .nh-icon-rust {
    box-shadow: 0 0 14px rgba(206, 73, 56, 0.2);
}

.nh-icon-pal {
    background: rgba(0, 188, 212, 0.12);
    color: #26c6da;
    border: 1px solid rgba(0, 188, 212, 0.2);
}
.nh-mega-card:hover .nh-icon-pal {
    box-shadow: 0 0 14px rgba(0, 188, 212, 0.2);
}

.nh-icon-cs2 {
    background: rgba(255, 193, 7, 0.12);
    color: #ffca28;
    border: 1px solid rgba(255, 193, 7, 0.2);
}
.nh-mega-card:hover .nh-icon-cs2 {
    box-shadow: 0 0 14px rgba(255, 193, 7, 0.2);
}

/* Product-specific icon colors */
.nh-icon-vps-product {
    background: rgba(14, 165, 233, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(14, 165, 233, 0.2);
}
.nh-mega-card:hover .nh-icon-vps-product {
    box-shadow: 0 0 14px rgba(14, 165, 233, 0.2);
}

.nh-icon-dedicated {
    background: rgba(139, 92, 246, 0.12);
    color: var(--primary-glow);
    border: 1px solid rgba(139, 92, 246, 0.2);
}
.nh-mega-card:hover .nh-icon-dedicated {
    box-shadow: 0 0 14px rgba(139, 92, 246, 0.2);
}

.nh-icon-web {
    background: rgba(249, 115, 22, 0.12);
    color: #fb923c;
    border: 1px solid rgba(249, 115, 22, 0.2);
}
.nh-mega-card:hover .nh-icon-web {
    box-shadow: 0 0 14px rgba(249, 115, 22, 0.2);
}

.nh-icon-bot {
    background: rgba(88, 101, 242, 0.12);
    color: #818cf8;
    border: 1px solid rgba(88, 101, 242, 0.2);
}
.nh-mega-card:hover .nh-icon-bot {
    box-shadow: 0 0 14px rgba(88, 101, 242, 0.2);
}

.nh-icon-cache {
    background: rgba(20, 184, 166, 0.12);
    color: #2dd4bf;
    border: 1px solid rgba(20, 184, 166, 0.2);
}
.nh-mega-card:hover .nh-icon-cache {
    box-shadow: 0 0 14px rgba(20, 184, 166, 0.2);
}

/* Resource-specific icon colors */
.nh-icon-dc {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}
.nh-mega-card:hover .nh-icon-dc {
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.2);
}

.nh-icon-faq {
    background: rgba(244, 114, 182, 0.12);
    color: #f472b6;
    border: 1px solid rgba(244, 114, 182, 0.2);
}
.nh-mega-card:hover .nh-icon-faq {
    box-shadow: 0 0 14px rgba(244, 114, 182, 0.2);
}

.nh-icon-list {
    background: rgba(96, 165, 250, 0.12);
    color: var(--info);
    border: 1px solid rgba(96, 165, 250, 0.2);
}
.nh-mega-card:hover .nh-icon-list {
    box-shadow: 0 0 14px rgba(96, 165, 250, 0.2);
}

.nh-icon-tools {
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.2);
}
.nh-mega-card:hover .nh-icon-tools {
    box-shadow: 0 0 14px rgba(251, 191, 36, 0.2);
}

.nh-icon-blog {
    background: rgba(167, 139, 250, 0.12);
    color: var(--primary-glow);
    border: 1px solid rgba(167, 139, 250, 0.2);
}
.nh-mega-card:hover .nh-icon-blog {
    box-shadow: 0 0 14px rgba(167, 139, 250, 0.2);
}

.nh-icon-about {
    background: rgba(140, 82, 255, 0.12);
    color: var(--primary-glow);
    border: 1px solid rgba(140, 82, 255, 0.2);
}
.nh-mega-card:hover .nh-icon-about {
    box-shadow: 0 0 14px rgba(140, 82, 255, 0.2);
}

.nh-icon-hardware {
    background: rgba(139, 92, 246, 0.12);
    color: var(--primary-glow);
    border: 1px solid rgba(139, 92, 246, 0.2);
}
.nh-mega-card:hover .nh-icon-hardware {
    box-shadow: 0 0 14px rgba(139, 92, 246, 0.2);
}

.nh-icon-docs {
    background: rgba(59, 130, 246, 0.12);
    color: var(--info);
    border: 1px solid rgba(59, 130, 246, 0.2);
}
.nh-mega-card:hover .nh-icon-docs {
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.2);
}

.nh-icon-affiliate {
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2);
}
.nh-mega-card:hover .nh-icon-affiliate {
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.2);
}

.nh-icon-reseller {
    background: rgba(236, 72, 153, 0.12);
    color: #f472b6;
    border: 1px solid rgba(236, 72, 153, 0.2);
}
.nh-mega-card:hover .nh-icon-reseller {
    box-shadow: 0 0 14px rgba(236, 72, 153, 0.2);
}

.nh-icon-game-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.nh-mega-card:hover .nh-icon-game-card {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.06);
}

/* — Card Body (title + desc) — */
.nh-mega-card-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.nh-mega-card-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-soft);
    line-height: 1.3;
    transition: color 0.15s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nh-mega-card:hover .nh-mega-card-title {
    color: var(--text);
}

.nh-mega-card-desc {
    font-size: 11.5px;
    color: var(--text-faint);
    line-height: 1.3;
    transition: color 0.15s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nh-mega-card:hover .nh-mega-card-desc {
    color: var(--text-dim);
}

/* — Card Arrow — */
.nh-mega-card-arrow {
    font-size: 10px;
    color: #3f3f46;
    flex-shrink: 0;
    margin-right: 2px;
    transition: color 0.15s ease, transform 0.15s ease;
}

.nh-mega-card:hover .nh-mega-card-arrow {
    color: var(--primary);
    transform: translateX(3px);
}

/* — Mega Dropdown Footer — */
.nh-mega-footer {
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nh-mega-footer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    transition: background 0.18s ease, color 0.18s ease;
}

.nh-mega-footer-link:hover {
    background: rgba(140, 82, 255, 0.08);
    color: var(--primary-glow);
}

.nh-mega-footer-link .fa-arrow-right {
    font-size: 11px;
    transition: transform 0.18s ease;
}

.nh-mega-footer-link:hover .fa-arrow-right {
    transform: translateX(4px);
}

/* — Legacy simple dropdown (fallback, hidden by mega-dropdown replacement) — */
.nh-nav-dropdown {
    display: none !important;
}

/* ==========================================================================
   HEADER SEARCH & ACTIONS
   ========================================================================== */
.nh-header-search-wrap {
    position: relative;
    flex: 0 1 290px;
}

.nh-header-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.nh-search-icon {
    position: absolute;
    left: 12px;
    font-size: 13px;
    color: var(--text-dim);
    pointer-events: none;
    transition: color 0.15s ease;
}

.nh-nav-search-input {
    width: 100%;
    background: var(--background);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
    padding: 7px 38px 7px 34px;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.nh-nav-search-input::placeholder {
    color: var(--text-dim);
}

.nh-nav-search-input:focus {
    background: var(--background-subtle);
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(140, 82, 255, 0.18);
}

.nh-header-search:focus-within .nh-search-icon {
    color: var(--primary);
}

.nh-search-kbd {
    position: absolute;
    right: 10px;
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    padding: 1px 5px;
    pointer-events: none;
}

/* ==========================================================================
   COMMAND PALETTE MODAL OVERLAY (NOLIMITHOST NATIVE SYSTEM STYLE)
   ========================================================================== */
.nh-palette-backdrop {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 4, 6, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 10vh 16px 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
    box-sizing: border-box;
}

.nh-palette-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.nh-palette-dialog {
    width: 100%;
    max-width: 640px;
    background: #0b0b0d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 35px rgba(140, 82, 255, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.97) translateY(-10px);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--font-primary);
}

.nh-palette-backdrop.open .nh-palette-dialog {
    transform: scale(1) translateY(0);
}

/* Top Window Chrome with Mac/Terminal Dots */
.nh-palette-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: var(--background);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    user-select: none;
}

.nh-palette-topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nh-palette-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.nh-palette-title {
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nh-palette-title::before {
    content: "—";
    color: #3f3f46;
}

.nh-palette-topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Header Input Row */
.nh-palette-header {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 14px;
    background: #0e0e11;
}

.nh-palette-search-icon {
    font-size: 15px;
    color: var(--primary);
    flex-shrink: 0;
}

.nh-palette-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    box-sizing: border-box;
}

.nh-palette-input::placeholder {
    color: var(--text-faint);
}

.nh-palette-esc {
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    font-weight: 600;
    color: var(--text-dim);
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 3px;
    padding: 2px 7px;
    cursor: pointer;
    user-select: none;
    transition: all 0.15s ease;
}

.nh-palette-esc:hover {
    background: #27272a;
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Palette Body */
.nh-palette-body {
    max-height: 400px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #0b0b0d;
}

.nh-palette-body::-webkit-scrollbar {
    width: 6px;
}
.nh-palette-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px;
}
.nh-palette-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.22);
}

/* Empty Placeholder (Default state matching NolimitHost aesthetic) */
.nh-palette-placeholder {
    padding: 50px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.nh-palette-placeholder-icon {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    background: #121216;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--primary);
    box-shadow: 0 0 16px rgba(140, 82, 255, 0.15);
}

.nh-palette-placeholder-text {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-muted);
}

.nh-palette-placeholder-sub {
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    color: var(--text-faint);
}

/* Results & Groups */
.nh-palette-results {
    padding: 10px 12px;
}

.nh-palette-group-title {
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    padding: 8px 10px 4px;
    margin-top: 6px;
}

.nh-palette-group-title:first-child {
    margin-top: 0;
}

/* Exact NolimitHost Module Button Pattern for Search Items */
.nh-palette-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 4px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-dim);
    text-decoration: none;
    position: relative;
    transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    font-family: var(--font-primary);
}

.nh-palette-item:hover {
    background: var(--background-subtle);
    color: var(--text-soft);
    border-color: rgba(255, 255, 255, 0.06);
}

.nh-palette-item.active {
    background: #15151a;
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.nh-palette-indicator {
    position: absolute;
    left: 0;
    top: 9px;
    bottom: 9px;
    width: 3px;
    border-radius: 0 2px 2px 0;
    background: transparent;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nh-palette-item:hover .nh-palette-indicator,
.nh-palette-item.active .nh-palette-indicator {
    background: var(--primary);
    box-shadow: 0 0 8px rgba(140, 82, 255, 0.6);
    top: 7px;
    bottom: 7px;
}

.nh-palette-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: var(--background-subtle);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: 13px;
    flex-shrink: 0;
    transition: all 0.18s ease;
}

.nh-palette-item:hover .nh-palette-item-icon {
    background: #191920;
    border-color: rgba(255, 255, 255, 0.14);
    color: var(--text-soft);
}

.nh-palette-item.active .nh-palette-item-icon {
    background: rgba(140, 82, 255, 0.1);
    border-color: rgba(140, 82, 255, 0.32);
    color: var(--primary-glow);
    box-shadow: 0 0 10px rgba(140, 82, 255, 0.15);
}

.nh-palette-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.nh-palette-item-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-soft);
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s ease;
}

.nh-palette-item:hover .nh-palette-item-name,
.nh-palette-item.active .nh-palette-item-name {
    color: var(--text);
}

.nh-palette-item-meta {
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    color: var(--text-dim);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s ease;
}

.nh-palette-item:hover .nh-palette-item-meta,
.nh-palette-item.active .nh-palette-item-meta {
    color: var(--text-muted);
}

.nh-palette-item-tag {
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    font-weight: 600;
    color: var(--success);
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 2px 7px;
    border-radius: 3px;
    white-space: nowrap;
}

/* Empty Results */
.nh-palette-empty {
    padding: 42px 20px;
    text-align: center;
    color: var(--text-dim);
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.nh-palette-empty i {
    font-size: 22px;
    color: var(--text-faint);
}

.nh-palette-empty-text {
    max-width: 320px;
    line-height: 1.5;
    font-size: 12.5px;
    color: var(--text-dim);
}

/* Bottom Minimalist Bar */
.nh-palette-footer {
    padding: 10px 18px;
    background: var(--background);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nh-palette-shortcuts {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-mono, monospace);
    font-size: 10.5px;
    color: var(--text-dim);
    flex-wrap: wrap;
}

.nh-shortcut {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nh-key {
    font-family: var(--font-mono, monospace);
    font-size: 9.5px;
    font-weight: 600;
    color: var(--text-muted);
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 3px;
    padding: 1px 5px;
    line-height: 1.2;
}

.nh-palette-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    color: var(--success);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* 5. Right Section: User Actions & Control Panels Login Dropdown */
.nh-nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
    position: relative;
}

/* Search Icon Trigger (Unboxed Minimalist Style) */
.nh-btn-search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 15px;
    padding: 6px 6px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.15s ease, transform 0.15s ease;
    outline: none;
}

.nh-btn-search-icon:hover {
    color: var(--text);
    transform: scale(1.1);
}

/* Discord Icon Trigger (Unboxed Minimalist Style) */
.nh-btn-discord {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 19px;
    padding: 6px 6px;
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
    cursor: pointer;
    line-height: 1;
}

.nh-btn-discord:hover {
    color: #5865f2;
    transform: scale(1.1);
}

/* Login Dropdown Wrapper */
.nh-login-dropdown-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Login Trigger Button (Unboxed Minimalist Style) */
.nh-btn-login-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    border: none;
    padding: 6px 4px;
    color: var(--text-muted);
    font-family: var(--font-primary, 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.15s ease;
    user-select: none;
    outline: none;
}

.nh-btn-login-toggle:hover,
.nh-login-dropdown-wrap:hover .nh-btn-login-toggle,
.nh-login-dropdown-wrap.open .nh-btn-login-toggle {
    color: var(--text);
}

.nh-login-chevron {
    font-size: 11px;
    color: var(--text-muted);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.nh-login-dropdown-wrap:hover .nh-login-chevron,
.nh-login-dropdown-wrap.open .nh-login-chevron {
    transform: rotate(180deg);
    color: var(--text);
}

/* Dropdown Menu Card (Hover and Click Active) */
.nh-login-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 290px;
    max-width: calc(100vw - 24px);
    background: #0b0b0e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.05);
    padding: 16px 14px 12px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px) scale(0.98);
    transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s;
}

/* Invisible bridge so moving cursor to dropdown never drops hover */
.nh-login-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.nh-login-dropdown-wrap:hover .nh-login-menu,
.nh-login-dropdown-wrap.open .nh-login-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* Header inside Dropdown */
.nh-login-menu-header {
    padding: 2px 6px 12px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 8px;
    text-align: left;
}

.nh-login-menu-title {
    font-family: var(--font-primary, 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif);
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}

.nh-login-menu-subtitle {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 3px;
    font-weight: 400;
}

/* Menu Items List */
.nh-login-menu-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nh-login-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 6px;
    text-decoration: none;
    background: transparent;
    border: 1px solid transparent;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.nh-login-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.07);
}

/* Item Circular Badges with Accent Colors */
.nh-login-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.nh-login-item:hover .nh-login-item-icon {
    transform: scale(1.08);
}

.nh-icon-firewall {
    background: rgba(239, 68, 68, 0.14);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.22);
}

.nh-icon-game {
    background: rgba(59, 130, 246, 0.14);
    color: var(--info);
    border: 1px solid rgba(59, 130, 246, 0.22);
}

.nh-icon-vps {
    background: rgba(14, 165, 233, 0.14);
    color: #38bdf8;
    border: 1px solid rgba(14, 165, 233, 0.22);
}

.nh-icon-metal {
    background: rgba(34, 197, 94, 0.14);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.22);
}

.nh-icon-cpanel {
    background: rgba(249, 115, 22, 0.14);
    color: #fb923c;
    border: 1px solid rgba(249, 115, 22, 0.22);
}

.nh-icon-status {
    background: rgba(16, 185, 129, 0.14);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.22);
}

.nh-login-item-name {
    flex: 1;
    min-width: 0;
    display: block;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-soft);
    transition: color 0.15s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

.nh-login-item:hover .nh-login-item-name {
    color: var(--text);
}

.nh-login-item-arrow {
    font-size: 10px;
    color: var(--text-faint);
    transition: color 0.15s ease, transform 0.15s ease;
    margin-right: 2px;
}

.nh-login-item:hover .nh-login-item-arrow {
    color: var(--text);
    transform: translateX(3px);
}

/* Fallback legacy button classes */
.nh-btn-login {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease;
    padding: 6px 0;
    white-space: nowrap;
}

.nh-btn-login:hover {
    color: var(--text);
}

.nh-btn-client {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: var(--text) !important;
    font-size: 13.5px;
    font-weight: 600;
    padding: 0.65rem 1.25rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-decoration: none;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.nh-btn-client:hover {
    background: var(--primary-strong);
    box-shadow: 0 4px 16px rgba(140, 82, 255, 0.3);
}

.nh-btn-arrow {
    font-size: 11px;
    transition: transform 0.15s ease;
}

.nh-btn-client:hover .nh-btn-arrow {
    transform: translateX(3px);
}

@media (max-width: 1200px) {
    .nh-header-search-wrap {
        flex: 0 1 220px;
    }
    .nh-nav-item {
        padding: 8px 10px;
        font-size: 13px;
    }
    .nh-mega-products,
    .nh-mega-resources {
        min-width: 400px;
    }
}

@media (max-width: 1080px) {
    .nh-nav-item {
        font-size: 12.5px;
        padding: 7px 8px;
    }
    .nh-header-container,
    .nh-nav-inner {
        padding: 0 1.25rem;
    }
    .nh-mega-games {
        min-width: 320px;
    }
    .nh-mega-products,
    .nh-mega-resources {
        min-width: 360px;
    }
    .nh-mega-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   MOBILE HAMBURGER BUTTON & SLIDE-OUT DRAWER NAVIGATION
   ========================================================================== */
.nh-hamburger-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--background);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    color: var(--text);
    font-size: 15px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    flex-shrink: 0;
}

.nh-hamburger-btn:hover {
    background: #18181c;
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--primary-glow);
}

@media (max-width: 880px) {
    .nh-nav-center {
        display: none !important;
    }
    .nh-login-dropdown-wrap {
        display: none !important;
    }
    .nh-hamburger-btn {
        display: inline-flex !important;
    }
    .nh-header-container {
        padding: 0 16px;
        height: 62px;
    }
    header.nh-header {
        min-height: 62px;
    }
}

@media (max-width: 600px) {
    .nh-header-search-wrap {
        display: none;
    }
}

/* Full-Screen Mobile Drawer Backdrop */
.nh-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--background);
    display: flex;
    justify-content: center;
    align-items: stretch;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.nh-drawer-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

/* Drawer Panel (100% Full Screen) */
.nh-drawer-panel {
    width: 100%;
    max-width: 100%;
    height: 100%;
    height: 100dvh;
    background: var(--background);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    transform: translateY(12px);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.nh-drawer-backdrop.open .nh-drawer-panel {
    transform: translateY(0);
}

/* Drawer Top Header */
.nh-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 62px;
    background: var(--background);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    box-sizing: border-box;
}

.nh-drawer-close {
    width: 36px;
    height: 36px;
    background: var(--background);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.nh-drawer-close:hover {
    background: #181818;
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text);
}

/* Drawer Scrollable Navigation Body */
.nh-drawer-body {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0;
    background: var(--background);
}

/* Main Top-Level Items */
.nh-drawer-item,
.nh-drawer-acc-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 16px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    font-family: var(--font-primary, 'Space Grotesk', system-ui, sans-serif);
    transition: background 0.15s ease, color 0.15s ease;
    box-sizing: border-box;
    text-align: left;
}

.nh-drawer-item:hover,
.nh-drawer-acc-trigger:hover {
    background: var(--background);
    color: var(--text);
}

.nh-drawer-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nh-drawer-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: all 0.18s ease;
}

.nh-drawer-item:hover .nh-drawer-item-icon,
.nh-drawer-acc-trigger:hover .nh-drawer-item-icon,
.nh-drawer-accordion.open .nh-drawer-item-icon {
    background: #181818;
    border-color: rgba(255, 255, 255, 0.16);
    color: var(--text);
}

.nh-drawer-acc-chevron {
    font-size: 11px;
    color: var(--text-faint);
    transition: transform 0.2s ease, color 0.2s ease;
}

.nh-drawer-accordion.open .nh-drawer-acc-chevron {
    transform: rotate(180deg);
    color: var(--text-muted);
}

.nh-drawer-accordion.open .nh-drawer-acc-trigger {
    background: var(--background-overlay);
    color: var(--text);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* Sub-items list (Accordion Content) */
.nh-drawer-acc-content {
    display: none;
    background: #070707;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0;
}

.nh-drawer-accordion.open .nh-drawer-acc-content {
    display: block;
    animation: nhDrawerFadeIn 0.18s ease-out;
}

@keyframes nhDrawerFadeIn {
    from {
        opacity: 0;
        transform: translateY(-3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nh-drawer-sublist {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nh-drawer-card {
    padding: 9px 12px !important;
    border-radius: 8px !important;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid transparent !important;
}

.nh-drawer-card:hover {
    background: #121212 !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
    transform: none !important;
}

.nh-drawer-login-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 8px;
    text-decoration: none;
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.18s ease;
    width: 100%;
    box-sizing: border-box;
}

.nh-drawer-login-card:hover {
    background: #121212;
    border-color: rgba(255, 255, 255, 0.06);
}

.nh-drawer-login-card:hover .nh-login-item-arrow {
    color: var(--text);
    transform: translateX(2px);
}

.nh-drawer-more-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.15s ease;
    margin-top: 2px;
}

.nh-drawer-more-link:hover {
    background: rgba(140, 82, 255, 0.08);
    color: var(--primary-alt);
}

/* Fixed Bottom Action Footer */
.nh-drawer-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 14px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--background);
    flex-shrink: 0;
    box-sizing: border-box;
}

.nh-drawer-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--background);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text);
    padding: 11px 8px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
    box-sizing: border-box;
}

.nh-drawer-btn-secondary:hover {
    background: #181818;
    border-color: rgba(255, 255, 255, 0.25);
}

.nh-drawer-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    border: 1px solid var(--primary);
    color: var(--text);
    padding: 11px 8px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
    box-sizing: border-box;
}

.nh-drawer-btn-primary:hover {
    background: var(--primary-alt);
    border-color: var(--primary-alt);
}

.nh-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: var(--text) !important;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 4px;
    border: 1px solid var(--primary);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.nh-btn-primary:hover {
    background: var(--primary-alt);
    border-color: var(--primary-alt);
}

.nh-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--text) !important;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    line-height: inherit;
    padding: 8px 18px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.nh-btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.04);
}

/* ==========================================================================
   MASSIVE TYPOGRAPHY HERO SECTION (GAMING HOSTING STYLE)
   ========================================================================== */

/* ── Homepage Hero (moved from style.css into critical.css for above-the-fold) ── */
.nh-hero-massive {
    position: relative;
    min-height: 100vh;
    height: auto;
    padding: 140px 0 100px;
    background: var(--background);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    width: 100%;
    display: flex;
    align-items: center;
    contain: paint;
    isolation: isolate;
}

.nh-hero-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    width: 100vw;
    max-width: none;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    contain: strict;
    isolation: isolate;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

/* Extended diagonal tilted & skewed marquee canvas across entire hero width */
.nh-marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 140vw;
    min-width: 140%;
    margin-left: -20vw;
    transform: rotate(-3deg) skewX(-1.5deg) scale(1.18) translateZ(0);
    transform-origin: center center;
    opacity: 0.78; /* High clarity and vibrancy for background cards */
    overflow: visible;
    backface-visibility: hidden;
}

.nh-marquee-row {
    display: flex;
    overflow: hidden;
    user-select: none;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.nh-marquee-track {
    display: flex;
    gap: 16px;
    width: max-content;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.nh-marquee-group {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
    animation: nhMarqueeLeft 52s linear infinite;
}

/* Alternating reverse row glides smoothly to the right */
.nh-marquee-reverse .nh-marquee-group {
    animation: nhMarqueeRight 52s linear infinite;
}

/* Pause animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .nh-marquee-group {
        animation: none !important;
    }
}

/* Bigger, bold, easily recognizable game cover cards */
.nh-bg-card {
    flex-shrink: 0;
    width: 320px;
    height: 180px;
    background: var(--background);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    backface-visibility: hidden;
    transform: translateZ(0);
}

.nh-bg-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Butter-smooth, mathematically seamless infinite marquee animations */
@keyframes nhMarqueeLeft {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(calc(-100% - 16px), 0, 0);
    }
}

@keyframes nhMarqueeRight {
    from {
        transform: translate3d(calc(-100% - 16px), 0, 0);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

/* Robust dark radial and linear gradient overlays for 100% sharp text readability */
.nh-backdrop-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 68% 62% at 26% 45%,
            rgba(10, 10, 10, 0.94) 0%,
            rgba(10, 10, 10, 0.80) 45%,
            rgba(10, 10, 10, 0.30) 75%,
            transparent 100%),
        linear-gradient(90deg,
            rgba(10, 10, 10, 0.92) 0%,
            rgba(10, 10, 10, 0.68) 32%,
            rgba(10, 10, 10, 0.22) 65%,
            rgba(10, 10, 10, 0.50) 100%),
        linear-gradient(180deg,
            rgba(10, 10, 10, 0.88) 0%,
            rgba(10, 10, 10, 0.40) 25%,
            rgba(10, 10, 10, 0.50) 65%,
            rgba(10, 10, 10, 0.95) 90%,
            var(--background) 100%);
}

.nh-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.nh-hero-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    background: var(--background);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 24px;
}

.nh-status-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 8px var(--success);
    animation: nh-status-blink 1.3s ease-in-out infinite;
    flex-shrink: 0;
}

.nh-hero-status-tag .nh-sep {
    color: rgba(255, 255, 255, 0.2);
}

.nh-massive-title {
    font-family: var(--font-primary, 'Space Grotesk', system-ui, sans-serif);
    font-size: clamp(38px, 7.8vw, 84px);
    font-weight: 800;
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    text-shadow:
        0 4px 30px rgba(0, 0, 0, 0.98),
        0 2px 10px rgba(0, 0, 0, 0.95),
        0 0 45px rgba(10, 10, 10, 0.9);
}

.nh-massive-title .line-white {
    color: var(--text);
}

.nh-massive-title .line-accent {
    color: var(--primary-alt);
}

.nh-massive-subtext {
    font-size: clamp(16px, 1.8vw, 19px);
    line-height: 1.6;
    color: var(--text);
    max-width: 680px;
    margin-top: 24px;
    margin-bottom: 36px;
    font-weight: 400;
    text-shadow:
        0 2px 14px rgba(0, 0, 0, 0.95),
        0 1px 4px rgba(0, 0, 0, 0.95);
}

.nh-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
}

.nh-btn-lg {
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
}

.nh-btn-ghost {
    color: var(--text-dim);
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    text-decoration: none;
    transition: color 0.15s ease;
}

.nh-btn-ghost:hover {
    color: var(--text);
}

@media (max-width: 1024px) {
    .nh-marquee-wrapper {
        width: 150vw;
        min-width: 150%;
        margin-left: -25vw;
        transform: rotate(-3deg) skewX(-1.5deg) scale(1.2);
    }
    .nh-bg-card {
        width: 270px;
        height: 152px;
    }
}

@media (max-width: 768px) {
    .nh-hero-massive {
        min-height: calc(100svh - 62px);
        padding: 95px 0 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }
    .nh-hero-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .nh-hero-status-tag {
        margin: 0 auto 16px auto;
        justify-content: center;
        text-align: center;
        flex-wrap: wrap;
        max-width: 100%;
    }
    .nh-massive-title {
        text-align: center;
        align-items: center;
        font-size: clamp(32px, 8.8vw, 48px);
        line-height: 1.05;
        width: 100%;
        max-width: 100%;
    }
    .nh-massive-subtext {
        font-size: 14.5px;
        line-height: 1.6;
        margin: 16px auto 26px auto;
        text-align: center;
        width: 100%;
        max-width: 100%;
    }
    .nh-hero-buttons {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        gap: 10px;
        margin: 0 auto 24px auto;
        align-items: stretch;
    }
    .nh-hero-buttons .nh-btn-primary,
    .nh-hero-buttons .nh-btn-secondary {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
        padding: 13px 20px;
        font-size: 13px;
    }
    .nh-hero-buttons .nh-btn-ghost {
        width: 100%;
        justify-content: center;
        padding: 10px;
    }
    .nh-marquee-wrapper {
        gap: 12px;
        width: 160vw;
        min-width: 160%;
        margin-left: -30vw;
        transform: rotate(-2.5deg) skewX(-1.5deg) scale(1.22);
    }
    .nh-marquee-track,
    .nh-marquee-group {
        gap: 12px;
    }
    .nh-bg-card {
        width: 200px;
        height: 112px;
    }
    @keyframes nhMarqueeLeft {
        from { transform: translate3d(0, 0, 0); }
        to { transform: translate3d(calc(-100% - 12px), 0, 0); }
    }
    @keyframes nhMarqueeRight {
        from { transform: translate3d(calc(-100% - 12px), 0, 0); }
        to { transform: translate3d(0, 0, 0); }
    }
}

/* Section Common */
section.nh-section,
.nh-section {
    padding: 80px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--background) !important;
    position: relative;
    width: 100% !important;
    box-sizing: border-box !important;
}

.nh-section::before,
.nh-section::after {
    display: none !important;
    content: none !important;
}

.nh-sec-header {
    margin-bottom: 36px;
}

.nh-sec-kicker {
    font-family: var(--font-mono, monospace);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.nh-sec-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.nh-sec-desc {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 650px;
    line-height: 1.6;
}

/* Interactive Game Catalog Controls (Prominent Search & Modern Filter Hub) */
.nh-catalog-hub {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

/* Large Prominent Search Hero */
.nh-search-hero {
    position: relative;
    width: 100%;
}

.nh-search-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    background: var(--background-raised);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.nh-search-box:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: var(--surface);
}

.nh-search-box:focus-within {
    border-color: var(--primary);
    background: #141418;
    box-shadow: 0 0 0 3px rgba(140, 82, 255, 0.18), 0 8px 30px rgba(0, 0, 0, 0.5);
}

.nh-search-box .nh-search-icon {
    position: absolute;
    left: 20px;
    font-size: 16px;
    color: var(--text-dim);
    pointer-events: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nh-search-box:focus-within .nh-search-icon {
    color: var(--primary-glow);
    transform: scale(1.1);
}

.nh-search-input-lg {
    width: 100%;
    height: 56px;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 15.5px;
    font-weight: 400;
    font-family: inherit;
    padding: 0 140px 0 54px;
    box-sizing: border-box;
}

.nh-search-input-lg::placeholder {
    color: var(--text-dim);
    font-size: 15px;
    transition: opacity 0.2s ease;
}

.nh-search-box:focus-within .nh-search-input-lg::placeholder {
    opacity: 0.6;
}

.nh-search-clear {
    position: absolute;
    right: 112px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--text-muted);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
}

.nh-search-clear:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: scale(1.08);
}

.nh-search-badge {
    position: absolute;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    pointer-events: none;
}

.nh-search-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    font-family: var(--font-mono);
    letter-spacing: -0.2px;
    white-space: nowrap;
}

/* Category Filter Bar */
.nh-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.nh-tabs-scrollable,
.nh-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px 2px;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
}

.nh-tabs-scrollable::-webkit-scrollbar,
.nh-tabs::-webkit-scrollbar {
    display: none;
}

.nh-filter-pill,
.nh-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    background: var(--background-raised);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 13.5px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.nh-filter-pill i,
.nh-tab-btn i {
    font-size: 13px;
    color: var(--text-dim);
    transition: color 0.15s ease;
}

.nh-filter-pill .nh-pill-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-dim);
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-mono);
    line-height: 1;
    transition: all 0.15s ease;
}

.nh-filter-pill:hover,
.nh-tab-btn:hover {
    color: var(--text);
    background: var(--surface);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.nh-filter-pill:hover i,
.nh-tab-btn:hover i {
    color: var(--text-soft);
}

.nh-filter-pill.active,
.nh-tab-btn.active {
    background: rgba(140, 82, 255, 0.14);
    border-color: var(--primary);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 0 14px rgba(140, 82, 255, 0.18);
}

.nh-filter-pill.active i,
.nh-tab-btn.active i {
    color: var(--primary-glow);
}

.nh-filter-pill.active .nh-pill-count {
    background: rgba(140, 82, 255, 0.35);
    color: #fff;
}

/* Filter status badge on the right */
.nh-filter-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--text-dim);
    white-space: nowrap;
}

.nh-status-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 8px var(--success);
}

/* Empty State Card */
.nh-no-games {
    text-align: center;
    padding: 64px 20px;
    background: var(--background-raised);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    margin: 20px 0;
}

.nh-no-games-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(140, 82, 255, 0.1);
    border: 1px solid rgba(140, 82, 255, 0.25);
    color: var(--primary-glow);
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.nh-no-games-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.nh-no-games-desc {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 440px;
    margin: 0 auto 20px;
    line-height: 1.5;
}

/* Backward compatibility for legacy classes */
.nh-games-bar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}
.nh-search-wrap {
    position: relative;
    width: 100%;
}
.nh-search-input {
    width: 100%;
    height: 48px;
    background: var(--background-raised);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text);
    font-size: 14px;
    padding: 8px 12px 8px 40px;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.nh-search-input:focus {
    border-color: var(--primary);
    background: var(--surface);
}

/* 5-Column Game Cards Grid & Taller Cards Layout */
.nh-games-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    contain: layout style;
}

.nh-game-card {
    position: relative;
    background: var(--background-raised);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    height: 380px;
    box-sizing: border-box;
    contain: paint;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nh-game-card:hover {
    border-color: rgba(140, 82, 255, 0.45);
    transform: translateY(-3px) translateZ(0);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(140, 82, 255, 0.15);
}

/* 1. Full-Cover Background Image Container */
.nh-game-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background: var(--background-raised);
    border-bottom: none;
}

.nh-game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.3s ease;
}

.nh-game-card:hover .nh-game-thumb img {
    transform: scale(1.06) translateZ(0);
    filter: brightness(1.05);
}

/* 2. Deep Multi-Stop Gradient Overlay for Crystal-Clear Readability */
.nh-game-overlay,
.nh-game-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.25) 0%,
        rgba(10, 10, 10, 0.10) 25%,
        rgba(10, 10, 10, 0.65) 55%,
        rgba(10, 10, 10, 0.92) 80%,
        var(--background) 100%
    );
    z-index: 1;
    transition: background 0.3s ease;
}

.nh-game-card:hover .nh-game-thumb::after,
.nh-game-card:hover .nh-game-overlay {
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.15) 0%,
        rgba(10, 10, 10, 0.05) 20%,
        rgba(10, 10, 10, 0.58) 50%,
        rgba(10, 10, 10, 0.90) 78%,
        var(--background) 100%
    );
}

/* Floating Clean Tag Badge */
.nh-game-pending {
    color: #c5a9ff;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.nh-game-tag.nh-game-tag-soon {
    color: #dac8ff;
    border-color: rgba(140, 82, 255, 0.6);
    background: rgba(32, 20, 52, 0.96);
}

.nh-game-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(14, 15, 18, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    font-weight: 600;
    color: var(--text);
    padding: 4px 9px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Floating Clean Platform Compatibility Badges */
.nh-game-platforms {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(18, 19, 24, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 4px 8px;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    pointer-events: auto;
}

.nh-game-card:hover .nh-game-platforms {
    border-color: rgba(140, 82, 255, 0.38);
    background: rgba(22, 23, 30, 0.98);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 12px rgba(140, 82, 255, 0.15);
}

.nh-platform-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.42);
    font-size: 11px;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease, text-shadow 0.2s ease, filter 0.2s ease;
    cursor: default;
}

.nh-platform-icon i {
    font-size: 11px;
    line-height: 1;
    display: block;
}

.nh-platform-icon svg {
    width: 11px;
    height: 11px;
    fill: currentColor;
    display: block;
}

.nh-game-card:hover .nh-platform-icon {
    color: rgba(255, 255, 255, 0.78);
}

.nh-platform-icon:hover {
    color: #ffffff !important;
    transform: scale(1.2);
    text-shadow: 0 0 8px rgba(140, 82, 255, 0.8);
    filter: drop-shadow(0 0 6px rgba(140, 82, 255, 0.8));
}

/* 3. Layered Content Container Positioned Directly on the Poster */
.nh-game-body {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 18px 16px 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
    margin-top: auto;
}

.nh-game-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
    margin: 0 0 6px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Anchored Bottom Pricing & Action Bar */
.nh-game-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 12px;
}

/* Inline Game Price and /mo with clean green accent */
.nh-game-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
}

.nh-game-price span,
.nh-game-price .nh-price-label,
.nh-game-price .nh-price-period {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    font-family: inherit;
    white-space: nowrap;
}

.nh-game-price .nh-price-val {
    font-size: 14px;
    font-weight: 700;
    color: #22c55e;
    font-family: inherit;
    letter-spacing: -0.01em;
}

.nh-game-link-text {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text);
    background: rgba(140, 82, 255, 0.22);
    border: 1px solid rgba(140, 82, 255, 0.4);
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.nh-game-card:hover .nh-game-link-text {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text);
    box-shadow: 0 0 16px rgba(140, 82, 255, 0.5);
}

.nh-game-link-text i {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.nh-game-card:hover .nh-game-link-text i {
    transform: translateX(3px);
}

@media (max-width: 1280px) {
    .nh-games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

@media (max-width: 1024px) {
    .nh-games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .nh-game-card {
        height: 370px;
    }
}

@media (max-width: 768px) {
    .nh-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .nh-game-card {
        height: 360px;
    }
}

@media (max-width: 520px) {
    .nh-games-grid {
        grid-template-columns: 1fr;
    }
    .nh-game-card {
        height: 340px;
    }
    .nh-search-input-lg {
        padding: 0 40px 0 40px;
        font-size: 13.5px;
    }
    .nh-search-badge {
        display: none;
    }
    .nh-search-clear {
        right: 12px;
    }
}

/* ==========================================================================
   2-COLUMN GLOBAL HUBS - DATACENTER LOCATIONS
   ========================================================================== */
.nh-locations-section {
    position: relative;
    background: var(--background) !important;
}

.nh-loc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.nh-loc-card {
    background: var(--background-raised);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 38px 36px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.nh-loc-card:hover {
    border-color: rgba(140, 82, 255, 0.4);
    background: var(--background-subtle);
    transform: translateY(-2px);
}

.nh-loc-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.nh-loc-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.nh-loc-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.01em;
}

.nh-loc-flag {
    font-size: 24px;
    line-height: 1;
}

.nh-facility-badge {
    font-family: var(--font-mono, monospace);
    font-size: 11.5px;
    color: var(--text-muted);
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.02em;
}

.nh-ping-indicator {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    color: var(--success);
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 4px 10px;
    border-radius: 3px;
    line-height: 1.2;
    white-space: nowrap;
}

.nh-ping-indicator .ping-status,
.nh-ping-indicator .ping-time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0 !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: 500 !important;
    line-height: inherit !important;
}

.nh-ping-indicator .ping-status i {
    color: inherit !important;
    font-size: 10px !important;
}

.nh-loc-routing {
    font-size: 14px;
    color: var(--text-soft);
    margin-bottom: 14px;
    line-height: 1.55;
}

.nh-routing-highlight {
    color: var(--text);
    font-weight: 600;
}

.nh-loc-desc {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 26px;
    flex: 1;
}

.nh-loc-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 22px;
}

.nh-loc-spec-item {
    font-family: var(--font-mono, monospace);
    font-size: 12.5px;
    color: var(--text-soft);
    display: flex;
    align-items: center;
    gap: 9px;
}

.nh-loc-spec-item i {
    color: var(--primary);
    font-size: 11px;
    width: 14px;
    text-align: center;
}

/* Top-Right Compact Looking Glass Button */
.nh-lg-btn-top {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-mono, monospace);
    font-size: 12px;
    color: var(--text-muted);
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 5px 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.nh-lg-btn-top:hover {
    color: var(--text);
    background: #1e1e1e;
    border-color: rgba(255, 255, 255, 0.2);
}

.nh-lg-btn-top i {
    font-size: 10px;
    color: var(--text-dim);
    transition: color 0.15s ease;
}

.nh-lg-btn-top:hover i {
    color: var(--text);
}

/* Card Bottom Footer: Sleek Minimalist Green Ping Badge */
.nh-loc-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: auto;
    padding-top: 6px;
}

.nh-ping-indicator-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono, monospace);
    font-size: 12.5px;
    color: var(--success);
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.22);
    padding: 6px 14px;
    border-radius: 4px;
    line-height: 1.2;
    white-space: nowrap;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.nh-ping-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
    flex-shrink: 0;
}

.nh-ping-indicator-badge.is-pinging .nh-ping-dot {
    animation: nhPingPulse 0.9s infinite ease-in-out;
}

@keyframes nhPingPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
    }
    50% {
        transform: scale(1.4);
        box-shadow: 0 0 12px rgba(16, 185, 129, 0.95);
    }
}

.nh-ping-badge-label {
    color: var(--text-muted);
    font-weight: 500;
}

/* Neutralize global purple .ping-time and .ping-status inside location cards */
.nh-loc-card .ping-time,
.nh-loc-footer .ping-time,
.nh-ping-indicator-badge .ping-time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0 !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--success) !important;
    font-family: var(--font-mono, monospace) !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    line-height: inherit !important;
}

.nh-loc-card .ping-status,
.nh-loc-footer .ping-status,
.nh-ping-indicator-badge .ping-status {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 0 !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    color: var(--success) !important;
}

.nh-loc-card .ping-status[style*="inline-flex"],
.nh-loc-footer .ping-status[style*="inline-flex"],
.nh-ping-indicator-badge .ping-status[style*="inline-flex"] {
    display: inline-flex !important;
}

.nh-loc-card .ping-status[style*="none"],
.nh-loc-footer .ping-status[style*="none"],
.nh-ping-indicator-badge .ping-status[style*="none"] {
    display: none !important;
}

.nh-loc-card .ping-time[style*="none"],
.nh-loc-footer .ping-time[style*="none"],
.nh-ping-indicator-badge .ping-time[style*="none"] {
    display: none !important;
}

.nh-loc-card .ping-status i,
.nh-ping-indicator-badge .ping-status i {
    color: var(--success) !important;
    font-size: 11px !important;
}

@media (max-width: 900px) {
    .nh-loc-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Fluid Core Metrics */
.nh-ddos-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding: 36px 0;
    margin-bottom: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nh-ddos-metric {
    display: flex;
    flex-direction: column;
    padding-right: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.nh-ddos-metric:last-child {
    border-right: none;
    padding-right: 0;
}

.nh-metric-num {
    font-family: var(--font-mono, monospace);
    font-size: 38px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 10px;
}

.nh-metric-num span {
    font-size: 20px;
    font-weight: 500;
    color: var(--primary);
    margin-left: 2px;
}

.nh-metric-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.nh-metric-sub {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
}

.nh-dot-live {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    animation: nhDotPulse 1.8s infinite;
}

@keyframes nhDotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

/* =================================================================
   Game Control Panel (Two-Column Interactive Showcase - Full Width)
   ================================================================= */
.nh-panel-section {
    position: relative;
    padding: 80px 0;
}

.nh-panel-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 24px;
    align-items: stretch;
    width: 100%;
    margin: 0;
}

/* Left: Interactive Clean Module Sidebar */
.nh-panel-sidebar {
    background: var(--background-raised);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nh-panel-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 10px;
}

.nh-sidebar-label {
    font-family: var(--font-mono, monospace);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-dim);
    letter-spacing: 0.08em;
}

.nh-panel-module-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nh-module-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 4px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-dim);
    cursor: pointer;
    text-align: left;
    transition: all 0.15s ease;
    width: 100%;
    position: relative;
    font-family: inherit;
}

.nh-module-btn:hover {
    background: var(--surface);
    color: var(--text-soft);
    border-color: rgba(255, 255, 255, 0.06);
}

.nh-module-btn.active {
    background: #181818;
    border-color: rgba(140, 82, 255, 0.35);
    color: var(--text);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.nh-module-indicator {
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
    border-radius: 2px;
    background: transparent;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nh-module-btn.active .nh-module-indicator {
    background: var(--primary);
    box-shadow: 0 0 10px rgba(140, 82, 255, 0.7);
    top: 6px;
    bottom: 6px;
}

.nh-module-icon {
    width: 34px;
    height: 34px;
    border-radius: 4px;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--text-dim);
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.nh-module-btn:hover .nh-module-icon {
    color: var(--text-soft);
    background: #1c1c1c;
}

.nh-module-btn.active .nh-module-icon {
    background: var(--primary);
    color: var(--text);
    border-color: var(--primary);
    transform: scale(1.02);
    box-shadow: 0 0 12px rgba(140, 82, 255, 0.4);
}

.nh-module-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.nh-module-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-soft);
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nh-module-btn.active .nh-module-title {
    color: var(--text);
}

.nh-module-sub {
    font-size: 11px;
    color: var(--text-dim);
    line-height: 1.3;
    font-family: var(--font-mono, monospace);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nh-module-btn.active .nh-module-sub {
    color: var(--text-muted);
}

/* Right: Dashboard Preview Window Frame */
.nh-panel-window {
    background: var(--background-raised);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

/* Window Chrome / Top Bar */
.nh-panel-topbar {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    background: var(--background);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    user-select: none;
    gap: 14px;
}

.nh-window-dots {
    display: flex;
    gap: 7px;
    align-items: center;
}

.nh-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.nh-dot-red {
    background: #ff5f56;
}

.nh-dot-yellow {
    background: #ffbd2e;
}

.nh-dot-green {
    background: #27c93f;
}

.nh-panel-window-title {
    font-size: 11.5px;
    font-family: var(--font-mono, monospace);
    color: var(--text-dim);
    font-weight: 500;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nh-panel-window-title::before {
    content: "—";
    color: #3f3f46;
}

/* Viewport & Screenshots */
.nh-panel-viewport {
    position: relative;
    width: 100%;
    background: var(--background);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
}

.nh-panel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.985);
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0.5s;
    pointer-events: none;
    will-change: opacity, transform;
}

.nh-panel-slide img {
    width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: contain;
    object-position: top center;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

/* Active incoming slide: smooth dissolve in + settling to 1.0 */
.nh-panel-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
    pointer-events: auto;
}

/* Outgoing slide: smooth dissolve out + soft subtle zoom */
.nh-panel-slide.fade-out {
    opacity: 0;
    visibility: visible;
    transform: scale(1.015);
    z-index: 1;
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0.5s;
}

.nh-panel-title-text.text-switch,
.nh-panel-window-title.text-switch {
    animation: nhPanelTextFade 0.3s ease-out forwards;
}

@keyframes nhPanelTextFade {
    0% {
        opacity: 0.3;
        transform: translateY(3px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bottom Minimalist Bar */
.nh-panel-bottombar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: var(--background);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    gap: 16px;
    flex-wrap: wrap;
}

.nh-panel-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nh-panel-counter {
    font-family: var(--font-mono, monospace);
    font-size: 11.5px;
    color: var(--text-dim);
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 9px;
    border-radius: 4px;
    font-weight: 600;
}

.nh-panel-title-text {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
}

.nh-panel-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nh-dot-btn {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nh-dot-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.nh-dot-btn.active {
    background: var(--text);
    width: 22px;
    border-radius: 4px;
}

.nh-panel-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nh-ctrl-btn {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.15s ease;
}

.nh-ctrl-btn:hover {
    background: #222222;
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--text);
}

/* 5-Second Auto-Cycle Progress Timeline Bar */
.nh-panel-timeline {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.nh-panel-timeline-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--primary-alt));
    box-shadow: 0 0 10px rgba(140, 82, 255, 0.6);
}

.nh-panel-timeline-fill.animating {
    animation: nhPanelTimeline 5s linear forwards;
}

@keyframes nhPanelTimeline {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* =================================================================
   REUSABLE GAME PANEL FEATURES ("WHAT'S INCLUDED") — nh- design
   ================================================================= */
.nh-panel-features-section {
    position: relative;
    background: var(--background) !important;
}

.nh-pf-featured {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.nh-pf-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.nh-pf-feature {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--background-raised);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 24px 22px;
    transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.nh-pf-feature:hover {
    border-color: rgba(140, 82, 255, 0.4);
    background: var(--background-subtle);
    transform: translateY(-2px);
}

.nh-pf-feature-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.nh-pf-num {
    font-family: var(--font-mono, monospace);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--primary);
}

.nh-pf-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 4px;
    background: rgba(140, 82, 255, 0.1);
    border: 1px solid rgba(140, 82, 255, 0.2);
    color: var(--primary-glow);
    font-size: 14px;
    flex-shrink: 0;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nh-pf-feature:hover .nh-pf-icon {
    background: rgba(140, 82, 255, 0.2);
    border-color: rgba(140, 82, 255, 0.4);
    color: var(--primary-glow);
}

.nh-pf-title {
    font-family: var(--font-primary, 'Space Grotesk', system-ui, sans-serif);
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.nh-pf-feature-hero .nh-pf-title {
    font-size: 18px;
}

.nh-pf-desc {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-muted);
    font-weight: 400;
}

@media (max-width: 1024px) {
    .nh-pf-featured {
        grid-template-columns: repeat(3, 1fr);
    }
    .nh-pf-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nh-pf-featured {
        grid-template-columns: 1fr;
    }
    .nh-pf-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .nh-pf-grid {
        grid-template-columns: 1fr;
    }
}

/* =================================================================
   REUSABLE GAME GUIDES / DOCS ("MASTER YOUR SERVER") — nh- design
   ================================================================= */
.nh-game-guides-section {
    position: relative;
    background: var(--background) !important;
}

.nh-game-guides-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}

.nh-game-guides-head-left {
    max-width: 720px;
}

.nh-game-guides-title {
    font-family: var(--font-primary, 'Space Grotesk', system-ui, sans-serif);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.02;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 16px;
}

.nh-game-guides-title .nh-game-guides-accent {
    color: var(--primary, var(--primary));
}

.nh-game-guides-sub {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
}

.nh-game-guides-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.nh-guide-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 100%;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--background-raised);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.nh-guide-hero:hover {
    border-color: rgba(140, 82, 255, 0.4);
}

.nh-guide-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    filter: brightness(0.7);
}

.nh-guide-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.2) 0%, rgba(10, 10, 10, 0.95) 100%);
}

.nh-guide-hero-inner {
    position: relative;
    z-index: 2;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nh-guide-start-tag {
    align-self: flex-start;
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary, var(--primary));
}

.nh-guide-hero-title {
    font-family: var(--font-primary, 'Space Grotesk', system-ui, sans-serif);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--text);
}

.nh-guide-hero-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-soft);
    max-width: 520px;
    margin: 0;
}

.nh-guide-read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
    transition: color 0.15s ease;
}

.nh-guide-hero:hover .nh-guide-read {
    color: var(--primary, var(--primary));
}

.nh-guide-hero:hover .nh-guide-read .fa-arrow-right {
    transform: translateX(3px);
}

.nh-guide-read .fa-arrow-right {
    transition: transform 0.15s ease;
}

.nh-guide-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 100%;
    background: var(--background-raised);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 14px;
}

.nh-guide-list-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.nh-guide-list-item:hover {
    background: var(--surface);
}

.nh-guide-list-num {
    font-family: var(--font-mono, monospace);
    font-size: 12px;
    font-weight: 600;
    color: var(--primary, var(--primary));
    padding-top: 2px;
    flex-shrink: 0;
}

.nh-guide-list-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.nh-guide-list-title {
    font-family: var(--font-primary, 'Space Grotesk', system-ui, sans-serif);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}

.nh-guide-list-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

.nh-guide-list-arrow {
    margin-left: auto;
    align-self: center;
    font-size: 12px;
    color: var(--text-dim);
    flex-shrink: 0;
    transition: color 0.15s ease, transform 0.15s ease;
}

.nh-guide-list-item:hover .nh-guide-list-arrow {
    color: var(--primary, var(--primary));
    transform: translateX(3px);
}

@media (max-width: 900px) {
    .nh-game-guides-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .nh-game-guides-layout {
        grid-template-columns: 1fr;
    }
    .nh-guide-hero {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .nh-guide-hero-title {
        font-size: 24px;
    }
}

/* =================================================================
   REUSABLE GAME PLAN HERO ("STARTER / STANDARD / PREMIUM + BUILD YOUR OWN")
   ================================================================= */
.nh-plan-hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 60px;
    background: var(--background);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    display: flex;
    align-items: flex-start;
}

.nh-plan-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.45;
    filter: brightness(0.7);
}

.nh-plan-hero-bgoverlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.55) 45%, rgba(10, 10, 10, 0.35) 100%);
}

.nh-plan-hero .nh-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Header Area */
.nh-plan-hero-header {
    max-width: 820px;
    margin-bottom: 48px;
    text-align: left;
}

.nh-sec-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono, monospace);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-alt);
    margin-bottom: 16px;
    font-weight: 600;
}

.nh-kicker-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-alt);
    box-shadow: 0 0 8px var(--primary-alt);
}

.nh-plan-hero-title {
    font-family: var(--font-primary, 'Space Grotesk', system-ui, sans-serif);
    font-size: clamp(38px, 5.5vw, 68px);
    font-weight: 800;
    line-height: 1.02;
    text-transform: uppercase;
    letter-spacing: -0.035em;
    color: var(--text);
    margin-bottom: 18px;
}

.nh-plan-hero-title .nh-plan-hero-accent {
    color: var(--primary, var(--primary));
    background: linear-gradient(135deg, var(--primary-glow) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nh-plan-hero-sub {
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 660px;
    margin-bottom: 22px;
    font-weight: 400;
}

/* Clean Horizontal Inline Highlights */
.nh-plan-hero-highlights {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 14px;
    margin-bottom: 28px;
}

.nh-hero-hl-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-soft);
    letter-spacing: -0.01em;
}

.nh-hl-check {
    color: var(--primary-alt);
    font-size: 11px;
}

.nh-hl-sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 9px;
    user-select: none;
}

/* Stacked variant — used by the VPS-only game heroes (no plan grid underneath),
   where the highlights sit one per row instead of inline. */
.nh-plan-hero-highlights.nh-hl-stack {
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 11px;
    margin-bottom: 32px;
}

.nh-plan-hero-highlights.nh-hl-stack .nh-hero-hl-item {
    gap: 10px;
    font-size: 14px;
}

/* Pricing & Floating Pill Billing Toggle Bar */
.nh-plan-hero-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
}

.nh-plan-hero-price-tag {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-family: var(--font-primary, system-ui, sans-serif);
}

.nh-price-label {
    font-family: var(--font-mono, monospace);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
}

.nh-price-val {
    font-size: 20px;
    font-weight: 700;
    color: #22c55e;
    letter-spacing: -0.02em;
}

.nh-price-per {
    font-size: 13px;
    color: var(--text-dim);
}

/* Hero 2-Day Free Trial Pill */
.nh-hero-trial-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 9999px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #4ade80;
    font-family: var(--font-mono, monospace);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    user-select: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.nh-hero-trial-pill:hover {
    background: rgba(34, 197, 94, 0.14);
    border-color: rgba(34, 197, 94, 0.4);
}

.nh-trial-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: nh-trial-pulse 2s infinite ease-in-out;
}

@keyframes nh-trial-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

/* Floating Pill Switcher */
.nh-plan-billing-pill,
.nh-plan-billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    padding: 3px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.nh-plan-billing-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: transparent;
    border: none;
    border-radius: 9999px;
    color: #9ca3af;
    font-family: var(--font-primary, system-ui, sans-serif);
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.nh-plan-billing-btn:not(.active):hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.nh-plan-billing-btn.active {
    background: var(--primary, var(--primary));
    color: var(--text);
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(140, 82, 255, 0.35);
}

.nh-plan-billing-badge {
    font-size: 9.5px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    color: var(--text);
    padding: 1px 5px;
    border-radius: 9999px;
    letter-spacing: -0.01em;
}

.nh-plan-billing-btn:not(.active) .nh-plan-billing-badge {
    background: rgba(140, 82, 255, 0.16);
    color: var(--primary-glow);
}

.nh-plan-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
}

.nh-plan-card {
    display: flex;
    flex-direction: column;
    background: var(--background-raised);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 26px 22px;
    height: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.nh-plan-card:hover {
    border-color: rgba(140, 82, 255, 0.4);
    transform: translateY(-2px);
}

.nh-plan-card-featured {
    border-color: rgba(140, 82, 255, 0.5);
    background: #13111a;
}

.nh-plan-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.nh-plan-card-name {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text);
}

.nh-plan-card-name-custom {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--primary, var(--primary));
}

.nh-plan-card-tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(140, 82, 255, 0.16);
    color: var(--primary-glow);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(140, 82, 255, 0.3);
}

.nh-plan-card-badges {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nh-plan-card-trial-tag {
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(34, 197, 94, 0.08);
    color: #4ade80;
    padding: 3px 7px;
    border-radius: 4px;
    border: 1px solid rgba(34, 197, 94, 0.28);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.nh-plan-card-trial-tag i {
    font-size: 9px;
}

.nh-plan-card-sub {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
    margin-bottom: 18px;
    min-height: 38px;
}

.nh-plan-card-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 14px 0;
    margin-bottom: 18px;
}

.nh-plan-card-location {
    position: relative;
    margin-bottom: 18px;
}

.nh-plan-location-label {
    display: block;
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dim);
    margin-bottom: 6px;
}

.nh-plan-loc-dd {
    position: relative;
}

.nh-plan-loc-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: var(--text-soft);
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s ease, background 0.15s ease;
    box-sizing: border-box;
}

.nh-plan-loc-trigger:hover,
.nh-plan-loc-dd.open .nh-plan-loc-trigger {
    border-color: rgba(140, 82, 255, 0.4);
    background: #1a1820;
}

.nh-plan-loc-trigger-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.nh-plan-loc-active-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nh-plan-loc-chevron {
    flex-shrink: 0;
    font-size: 11px;
    color: var(--text-dim);
    transition: transform 0.18s ease;
}

.nh-plan-loc-dd.open .nh-plan-loc-chevron {
    transform: rotate(180deg);
    color: var(--primary-glow);
}

.nh-plan-loc-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 30;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

/* Respect the hidden attribute / dropdown closed state. */
.nh-plan-loc-menu[hidden] {
    display: none;
}

.nh-plan-loc-dd:not(.open) .nh-plan-loc-menu {
    display: none;
}

.nh-plan-location-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    color: var(--text-soft);
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.nh-plan-location-opt:hover {
    border-color: rgba(140, 82, 255, 0.4);
    background: rgba(140, 82, 255, 0.08);
}

.nh-plan-location-opt.active {
    border-color: var(--primary, var(--primary));
    background: rgba(140, 82, 255, 0.14);
    color: var(--text);
}

.nh-plan-location-flag {
    flex-shrink: 0;
    font-size: 15px;
}

.nh-plan-location-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nh-plan-location-ping {
    font-family: var(--font-mono, monospace);
    font-size: 12px;
    color: var(--text-dim);
    flex-shrink: 0;
}

.nh-plan-location-opt.active .nh-plan-location-ping {
    color: var(--primary-glow);
}

.nh-plan-spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.nh-plan-spec-num {
    font-family: var(--font-mono, monospace);
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.nh-plan-spec-unit {
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nh-plan-card-price {
    margin-bottom: 18px;
    min-height: 58px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.nh-plan-price-period-opt {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.nh-plan-price-period-opt.hidden {
    display: none !important;
}

.nh-plan-price-main {
    display: flex;
    align-items: baseline;
    gap: 6px;
    line-height: 1;
}

.nh-plan-price-amount {
    font-family: var(--font-mono, monospace);
    font-size: 30px;
    font-weight: 700;
    color: #22c55e;
    line-height: 1;
}

.nh-plan-price-unit {
    font-size: 13px;
    color: var(--text-dim);
    font-family: var(--font-mono, monospace);
}

.nh-plan-discount-badge {
    font-family: var(--font-mono, monospace);
    font-size: 10.5px;
    font-weight: 700;
    background: rgba(140, 82, 255, 0.18);
    color: var(--primary-glow);
    border: 1px solid rgba(140, 82, 255, 0.35);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
    line-height: 1;
}

.nh-plan-price-sub {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 3px;
}

.nh-plan-price-total {
    color: var(--text-dim);
    font-weight: 400;
}

.nh-plan-price-sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 9px;
}

.nh-plan-price-save {
    color: var(--success);
    font-weight: 600;
}

.nh-plan-price-standard {
    color: var(--text-dim);
    font-weight: 400;
}

.nh-plan-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: auto;
    padding: 11px 16px;
    background: var(--primary);
    color: var(--text);
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.1s ease;
    box-sizing: border-box;
}

.nh-plan-btn:hover {
    background: var(--primary-alt);
    transform: translateY(-1px);
    color: var(--text);
}

.nh-plan-card-custom {
    justify-content: center;
    text-align: center;
}

.nh-plan-card-custom .nh-plan-card-head {
    justify-content: center;
}

.nh-plan-card-custom .nh-plan-card-name-custom {
    text-align: center;
}

.nh-plan-card-custom .nh-plan-card-sub {
    margin-bottom: 24px;
    margin-left: auto;
    margin-right: auto;
    max-width: 220px;
    min-height: auto;
}

.nh-plan-custom-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text);
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.nh-plan-custom-btn:hover {
    border-color: var(--primary, var(--primary));
    background: rgba(140, 82, 255, 0.12);
    color: var(--primary-glow);
}

.nh-plan-config-wrap {
    margin-top: 12px;
}

.nh-plan-config-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 8px 14px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: var(--text-muted);
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.nh-plan-config-back:hover {
    color: var(--text);
    border-color: rgba(140, 82, 255, 0.5);
}

.nh-plan-config-empty {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    padding: 40px 20px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 8px;
}

@media (max-width: 1024px) {
    .nh-plan-hero-header {
        margin-bottom: 40px;
    }
    .nh-plan-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nh-plan-hero-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        width: 100%;
    }
    .nh-plan-hero-price-tag {
        align-self: flex-start;
    }
    .nh-hero-trial-pill {
        align-self: flex-start;
    }
    .nh-plan-billing-pill,
    .nh-plan-billing-toggle {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        padding: 6px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.025);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-sizing: border-box;
    }
    .nh-plan-billing-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 9px 10px;
        font-size: 12px;
        font-weight: 500;
        border-radius: 8px;
        min-height: 40px;
        box-sizing: border-box;
        text-align: center;
        width: 100%;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: #d1d5db;
        transition: all 0.18s ease;
    }
    .nh-plan-billing-btn:not(.active):hover,
    .nh-plan-billing-btn:not(.active):active {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.18);
        color: #ffffff;
    }
    .nh-plan-billing-btn.active {
        border-radius: 8px;
        background: var(--primary, #8c52ff);
        border-color: var(--primary, #8c52ff);
        color: #ffffff;
        font-weight: 600;
        box-shadow: 0 2px 14px rgba(140, 82, 255, 0.45);
    }
    .nh-plan-billing-badge {
        font-size: 10px;
        padding: 2px 6px;
        border-radius: 6px;
        line-height: 1.2;
    }
    .nh-plan-billing-btn:not(.active) .nh-plan-billing-badge {
        background: rgba(140, 82, 255, 0.18);
        color: #c084fc;
        border: 1px solid rgba(140, 82, 255, 0.25);
    }
}

@media (max-width: 680px) {
    .nh-plan-hero {
        padding: 130px 0 50px;
    }
    .nh-plan-hero-header {
        margin-bottom: 32px;
    }
    .nh-plan-hero-highlights {
        gap: 10px 12px;
    }
    .nh-plan-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 380px) {
    .nh-plan-billing-btn {
        font-size: 11px;
        padding: 7px 4px;
        gap: 4px;
    }
    .nh-plan-billing-badge {
        font-size: 9px;
        padding: 1px 4px;
    }
}

/* Reviews */
.nh-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.nh-review-card {
    background: var(--background-raised);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.nh-review-card:hover {
    border-color: rgba(140, 82, 255, 0.4);
    background: var(--background-subtle);
    transform: translateY(-2px);
}

.nh-review-stars {
    color: var(--warning);
    font-size: 12px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.nh-review-quote {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-soft);
    margin-bottom: 16px;
    flex: 1;
}

.nh-review-author {
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nh-author-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.nh-author-role {
    font-size: 11px;
    color: var(--text-dim);
    font-family: var(--font-mono, monospace);
}

/* ─── Operating Systems Component (Matches .nh-loc-card & .nh-pf-feature) ─── */
.nh-os-section {
    background: var(--background) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nh-os-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.nh-os-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--background-raised);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
    user-select: none;
}

.nh-os-card:hover {
    border-color: rgba(140, 82, 255, 0.4);
    background: var(--background-subtle);
    transform: translateY(-2px);
}

.nh-os-icon-wrap {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nh-os-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.nh-os-card:hover .nh-os-img {
    transform: scale(1.05);
}

.nh-os-fa-icon {
    font-size: 24px;
    color: var(--primary);
    transition: color 0.2s ease, transform 0.2s ease;
}

.nh-os-card:hover .nh-os-fa-icon {
    color: var(--primary-alt);
    transform: scale(1.05);
}

.nh-os-name {
    font-family: var(--font-primary, 'Space Grotesk', sans-serif);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 1100px) {
    .nh-os-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
}

@media (max-width: 850px) {
    .nh-os-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .nh-os-card {
        padding: 14px 16px;
        gap: 12px;
    }
    .nh-os-icon-wrap {
        width: 30px;
        height: 30px;
    }
    .nh-os-img {
        width: 28px;
        height: 28px;
    }
    .nh-os-fa-icon {
        font-size: 20px;
    }
    .nh-os-name {
        font-size: 13.5px;
    }
}

@media (max-width: 560px) {
    .nh-os-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* Minimal Text Footer */
.nh-footer {
    background: #080808;
    padding: 56px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left; /* Explicitly overrides global footer { text-align: center } */
}

.nh-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(4, 1fr);
    gap: 36px;
    margin-bottom: 40px;
    text-align: left;
}

.nh-footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.nh-footer-brand-col .nh-brand {
    margin-bottom: 12px;
}

.nh-footer-desc {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.65;
    max-width: 320px;
    margin: 0 0 16px 0;
    text-align: left;
}

.nh-footer-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nh-footer-social a {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: var(--background);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: 13.5px;
    transition: all 0.15s ease;
    text-decoration: none;
}

.nh-footer-social a:hover {
    background: #181818;
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--text);
    transform: translateY(-1px);
}

.nh-footer-col h5 {
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text);
    margin-bottom: 14px;
    font-weight: 600;
}

.nh-footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin: 0;
    text-align: left;
}

.nh-footer-col a {
    color: var(--text-dim);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.15s ease;
}

.nh-footer-col a:hover {
    color: var(--text);
}

.nh-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
    color: var(--text-dim);
    flex-wrap: wrap;
    gap: 16px;
    text-align: left;
}

.nh-footer-copy {
    color: var(--text-dim);
    font-size: 12px;
    line-height: 1.6;
    text-align: left;
}

.nh-footer-copy a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.nh-footer-copy a:hover {
    color: var(--primary-alt);
    text-decoration: underline;
}

.nh-footer-legal {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nh-footer-legal a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.15s ease;
}

.nh-footer-legal a:hover {
    color: var(--text);
}

@media (max-width: 1024px) {
    .nh-specs-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .nh-spec-cell:nth-child(2) {
        border-right: none;
    }
    .nh-spec-cell:nth-child(1),
    .nh-spec-cell:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .nh-ddos-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
    .nh-ddos-metric:nth-child(2) {
        border-right: none;
        padding-right: 0;
    }
    .nh-panel-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .nh-panel-module-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }
    .nh-panel-viewport {
        min-height: 320px;
    }
    .nh-reviews-grid {
        grid-template-columns: 1fr;
    }
    .nh-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 880px) {
    .nh-container {
        padding: 0 16px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 768px) {
    .nh-nav-links {
        display: none;
    }
    section.nh-section,
    .nh-section {
        padding: 56px 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    section.nh-hero-massive,
    .nh-hero-massive {
        padding: 110px 0 60px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .nh-sec-header {
        margin-bottom: 24px;
    }
    .nh-sec-title {
        font-size: 24px;
        line-height: 1.2;
    }
    .nh-sec-desc {
        font-size: 14px;
        line-height: 1.55;
    }
    /* Interactive Catalog Controls in Mobile */
    .nh-catalog-hub {
        gap: 12px;
        margin-bottom: 20px;
        width: 100%;
    }
    .nh-search-box {
        border-radius: 8px;
    }
    .nh-search-input-lg {
        height: 48px;
        font-size: 14px;
        padding: 0 96px 0 44px;
    }
    .nh-search-box .nh-search-icon {
        left: 15px;
        font-size: 14px;
    }
    .nh-search-clear {
        right: 76px;
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
    .nh-search-badge {
        right: 8px;
        padding: 4px 8px;
    }
    .nh-search-count {
        font-size: 11px;
    }
    .nh-filter-bar {
        width: 100%;
        gap: 0;
    }
    .nh-filter-status {
        display: none !important;
    }
    .nh-tabs-scrollable,
    .nh-tabs {
        width: 100%;
        flex: 1 1 100%;
        display: flex;
        flex-wrap: wrap;
        overflow-x: visible;
        gap: 8px;
        padding: 0;
    }
    .nh-filter-pill,
    .nh-tab-btn {
        flex: 1 1 calc(50% - 6px);
        min-width: 130px;
        justify-content: center;
        padding: 9px 12px;
        font-size: 13px;
        gap: 7px;
        box-sizing: border-box;
    }
    .nh-filter-pill:first-child,
    .nh-tab-btn:first-child {
        flex: 1 1 100%;
    }
    .nh-search-wrap {
        width: 100%;
        min-width: 100%;
    }
    .nh-search-input {
        width: 100%;
        height: 38px;
        font-size: 13px;
    }
    .nh-games-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
    }
    .nh-game-card {
        width: 100%;
        height: 320px;
    }
    .nh-loc-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
    }
    .nh-loc-card {
        padding: 22px 18px;
        width: 100%;
        box-sizing: border-box;
    }
    .nh-loc-specs {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 16px 0;
    }
    .nh-ddos-metrics {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px 0;
        margin-bottom: 24px;
    }
    .nh-ddos-metric {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        padding-bottom: 16px;
    }
    .nh-ddos-metric:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .nh-panel-layout {
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
        max-width: 100%;
    }
    .nh-panel-sidebar {
        padding: 14px;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    .nh-panel-module-list {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 100%;
    }
    .nh-module-btn {
        width: 100%;
        box-sizing: border-box;
        padding: 9px 12px;
        min-width: 0;
    }
    .nh-module-text {
        min-width: 0;
        flex: 1;
    }
    .nh-module-title {
        font-size: 13px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .nh-module-sub {
        font-size: 11px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .nh-panel-window {
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    .nh-panel-viewport {
        min-height: 200px;
        max-height: 380px;
        aspect-ratio: 16 / 10;
        width: 100%;
    }
    .nh-panel-bottombar {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px 14px;
        box-sizing: border-box;
        width: 100%;
    }
    .nh-panel-info {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
        min-width: 0;
    }
    .nh-panel-title-text {
        font-size: 13px;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .nh-panel-dots {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        gap: 6px;
        order: 2;
    }
    .nh-panel-controls {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        gap: 10px;
        order: 3;
    }
    .nh-ctrl-btn {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
    .nh-specs-strip {
        grid-template-columns: 1fr;
    }
    .nh-spec-cell {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .nh-spec-cell:last-child {
        border-bottom: none;
    }
    .nh-pf-featured {
        grid-template-columns: 1fr;
        gap: 14px;
        width: 100%;
    }
    .nh-pf-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
    }
    .nh-pf-feature {
        width: 100%;
        padding: 20px 18px;
        box-sizing: border-box;
    }
    .nh-reviews-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        width: 100%;
    }
    .nh-review-card {
        width: 100%;
        padding: 20px 18px;
        box-sizing: border-box;
    }
    .nh-footer {
        padding: 48px 0 28px;
    }
    .nh-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        width: 100%;
    }
    .nh-footer-col {
        width: 100%;
        text-align: left;
    }
}

/* ==========================================================================
   MINIMALIST HERO HEADER (NOLIMITHOST STYLE - DEDICATE / VPS / VDS)
   ========================================================================== */
.nh-cloud-hero-wrap {
    padding: 130px 1.5rem 36px;
    position: relative;
    background: transparent;
}

.nh-dedi-hero {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 52px;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.nh-cloud-hero-wrap .nh-dedi-hero {
    margin-bottom: 0;
}

/* Sleek Pill Badge with Pulsing Accent Dot */
.nh-dedi-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(140, 82, 255, 0.08);
    border: 1px solid rgba(140, 82, 255, 0.2);
    border-radius: 9999px;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-glow);
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(140, 82, 255, 0.1);
    transition: all 0.2s ease;
}

.nh-dedi-badge:hover {
    background: rgba(140, 82, 255, 0.14);
    border-color: rgba(140, 82, 255, 0.35);
    box-shadow: 0 0 24px rgba(140, 82, 255, 0.18);
}

.nh-dedi-badge-dot {
    width: 6.5px;
    height: 6.5px;
    border-radius: 50%;
    background: var(--primary-alt);
    box-shadow: 0 0 8px var(--primary-alt);
    animation: nh-dedi-pulse 2s infinite ease-in-out;
}

@keyframes nh-dedi-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.85);
    }
}

/* Prominent Bold Title */
.nh-dedi-title {
    font-family: var(--font-primary, 'Space Grotesk', system-ui, sans-serif);
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.nh-dedi-title-accent {
    background: linear-gradient(135deg, var(--primary-glow) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Subtitle Description */
.nh-dedi-desc {
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0;
    font-weight: 400;
}

/* Minimalist Inline Feature Highlights */
.nh-dedi-highlights {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-top: 24px;
}

.nh-dedi-hl-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-soft);
    letter-spacing: -0.01em;
    transition: color 0.15s ease;
}

.nh-dedi-hl-item:hover {
    color: var(--text);
}

.nh-dedi-hl-check {
    color: var(--primary-alt);
    font-size: 11.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nh-dedi-hl-sep {
    color: rgba(255, 255, 255, 0.22);
    font-size: 9px;
    user-select: none;
}

@media (max-width: 640px) {
    .nh-dedi-hl-sep {
        display: none;
    }
    .nh-dedi-highlights {
        gap: 8px 14px;
    }
}

/* Fix spacing for product-page main following nh-cloud-hero-wrap */
body.product-page .nh-cloud-hero-wrap + main {
    padding-top: 10px !important;
}

body.product-page .nh-cloud-hero-wrap + main::before {
    display: none !important;
    content: none !important;
}
