:root {
    --bg-deep: #000000;
    --bg-surface: #07090e;
    --bg-elevated: rgba(12, 16, 26, 0.82);
    --bg-card: rgba(10, 14, 22, 0.88);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-bright: rgba(255, 255, 255, 0.16);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --brand-amber: #ff7b00;
    --brand-amber-glow: rgba(255, 123, 0, 0.35);
    --brand-crimson: #ef4444;
    --brand-blue: #3b82f6;
    --brand-cyan: #06b6d4;
    --brand-emerald: #10b981;
    --faction-accent: #ef4444;
    --faction-glow: rgba(239, 68, 68, 0.28);
    --font-display: 'Barlow Condensed', sans-serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

img, svg {
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
}

@media print {
    html, body {
        display: none !important;
    }
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: var(--font-sans);
    overflow-x: hidden;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    line-height: 1.6;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

img, a {
    -webkit-user-drag: none;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #05070b;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 99px;
    border: 2px solid #05070b;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brand-amber);
}

#tactical-canvas,
.ambient-orb {
    display: none;
}

.top-hero-zone {
    position: relative;
    background-color: #000000;
    overflow: hidden;
}

.ambient-grid {
    display: none;
}

.hero-bg-slider {
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 1.4s ease-in-out, transform 6s ease-out;
}
.hero-bg-slide.active {
    opacity: 0.9;
    transform: scale(1);
}
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.16) 45%, rgba(0, 0, 0, 0.25) 78%, rgba(0, 0, 0, 0.88) 96%, #000000 100%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.1) 55%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.ambient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(130px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
    transition: background 0.8s ease;
}
.orb-1 {
    width: 540px;
    height: 540px;
    top: -160px;
    left: -120px;
    background: radial-gradient(circle, rgba(255, 123, 0, 0.45), transparent 70%);
}
.orb-2 {
    width: 600px;
    height: 600px;
    top: 22%;
    right: -180px;
    background: radial-gradient(circle, var(--faction-glow), transparent 70%);
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.telemetry-bar {
    position: relative;
    z-index: 40;
    background: rgba(6, 9, 15, 0.92);
    border-bottom: 1px solid var(--border-subtle);
    font-size: 12px;
    padding: 8px 0;
    backdrop-filter: blur(12px);
}
.telemetry-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.telemetry-left, .telemetry-right {
    display: flex;
    align-items: center;
    gap: 18px;
}
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-weight: 600;
    color: #e2e8f0;
}
.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-emerald);
    box-shadow: 0 0 12px var(--brand-emerald);
    animation: pulseGlow 2s infinite;
}
@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.65; }
}
.telemetry-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}
.telemetry-tag strong {
    color: var(--brand-amber);
}
.ip-quick-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 123, 0, 0.1);
    border: 1px solid rgba(255, 123, 0, 0.3);
    color: #fff;
    padding: 3px 10px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.ip-quick-pill:hover {
    background: rgba(255, 123, 0, 0.22);
    border-color: var(--brand-amber);
    transform: translateY(-1px);
}

.navbar {
    position: relative;
    z-index: 50;
    padding: 16px 0;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(12, 17, 29, 0.78);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 10px 18px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}
.brand-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border: none;
    box-shadow: none;
    background: transparent;
    transition: transform 0.2s ease, filter 0.2s ease;
}
.brand-logo:hover img {
    transform: scale(1.06);
    filter: drop-shadow(0 0 12px rgba(255, 123, 0, 0.45));
}
.brand-title {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}
.brand-title .top {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 22px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-style: italic;
}
.brand-title .top span {
    color: var(--brand-amber);
}
.brand-title .sub {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    color: var(--text-secondary);
    text-transform: uppercase;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    flex-wrap: nowrap;
}
.nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 15px;
    border-radius: 10px;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.nav-links a:hover, .nav-links a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.nav-actions .btn {
    height: 44px;
    min-width: 146px;
    padding: 0 22px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 16px;
    line-height: 1;
    height: 44px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0 22px;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: linear-gradient(135deg, #ff8800 0%, #ea580c 100%);
    color: #fff;
    box-shadow: 0 10px 28px -6px rgba(255, 123, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px -6px rgba(255, 123, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-discord {
    background: rgba(88, 101, 242, 0.14);
    border-color: rgba(88, 101, 242, 0.4);
    color: #e0e7ff;
}
.btn-discord:hover {
    background: #5865F2;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -6px rgba(88, 101, 242, 0.6);
}
.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-bright);
    color: #f8fafc;
}
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.hero {
    position: relative;
    padding: 48px 0 84px;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 44px;
    align-items: center;
}
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    border-radius: 99px;
    background: rgba(255, 123, 0, 0.1);
    border: 1px solid rgba(255, 123, 0, 0.3);
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    color: #fdba74;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero-kicker .badge-new {
    background: var(--brand-amber);
    color: #05070b;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 99px;
    font-size: 10px;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 6vw, 5.4rem);
    font-weight: 900;
    font-style: italic;
    line-height: 1.06;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    margin-bottom: 22px;
    text-shadow: 0 6px 28px rgba(0, 0, 0, 0.85);
}
.gradient-amber {
    display: inline-block;
    padding: 0.18em 0.1em 0.12em 0.04em;
    margin: -0.18em -0.1em -0.12em -0.04em;
    background-image: linear-gradient(
        110deg,
        #ff5500 0%,
        #ff9900 30%,
        #ffffff 48%,
        #ffe082 54%,
        #ff9900 70%,
        #ff5500 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 0 16px rgba(255, 123, 0, 0.42));
    animation: amberFlow 2.6s linear infinite;
}
@keyframes amberFlow {
    0% {
        background-position: 200% center;
        filter: drop-shadow(0 0 12px rgba(255, 123, 0, 0.32));
    }
    50% {
        filter: drop-shadow(0 0 24px rgba(255, 166, 0, 0.65));
    }
    100% {
        background-position: 0% center;
        filter: drop-shadow(0 0 12px rgba(255, 123, 0, 0.32));
    }
}
.hero-title .stroke-text {
    color: transparent;
    text-shadow: none;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.72);
}
.hero-desc {
    font-size: 16.5px;
    color: #e2e8f0;
    max-width: 600px;
    margin-bottom: 28px;
    line-height: 1.7;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}
.hero-desc strong {
    color: #f1f5f9;
}

.hero-live-box {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding: 14px 24px;
    border-radius: 16px;
    background: rgba(10, 14, 24, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
}
.hero-live-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-mono);
    font-size: 13.5px;
    letter-spacing: 0.04em;
}
.hero-live-icon {
    color: var(--brand-amber);
    font-size: 14px;
}
.hero-live-label {
    color: #94a3b8;
    font-weight: 600;
}
.hero-live-val {
    color: var(--brand-amber);
    font-weight: 800;
    font-size: 14.5px;
}
.hero-live-divider {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 0.14);
}

.command-dock {
    background: rgba(12, 17, 29, 0.85);
    border: 1px solid var(--border-bright);
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 28px;
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.dock-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}
.dock-server-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.dock-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 123, 0, 0.14);
    border: 1px solid rgba(255, 123, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-amber);
    font-size: 18px;
}
.dock-label {
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.dock-ip-value {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}
.dock-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.dock-bottom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.mini-stat {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 8px 12px;
}
.mini-stat .val {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    color: #fff;
    line-height: 1.1;
}
.mini-stat .lbl {
    font-size: 11px;
    color: var(--text-secondary);
}

.hero-visual {
    position: relative;
    perspective: 1200px;
}
.holo-card {
    position: relative;
    border-radius: 24px;
    background: linear-gradient(165deg, rgba(20, 28, 46, 0.85) 0%, rgba(8, 12, 22, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    overflow: hidden;
    box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.8), 0 0 50px -10px var(--faction-glow);
    transition: transform 0.25s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
}
.holo-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: rgba(5, 8, 15, 0.75);
    border-bottom: 1px solid var(--border-subtle);
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-secondary);
}
.holo-poster-wrap {
    position: relative;
    height: 410px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 35%, var(--faction-glow), transparent 68%),
        linear-gradient(180deg, rgba(8,12,20,0.2) 0%, rgba(5,7,11,0.96) 100%);
}
.holo-poster-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}
.holo-card:hover .holo-poster-wrap img {
    transform: scale(1.04);
}
.holo-overlay-info {
    position: absolute;
    inset: auto 0 0 0;
    padding: 24px 22px 20px;
    background: linear-gradient(180deg, transparent 0%, rgba(5, 7, 11, 0.94) 55%, #05070b 100%);
}
.holo-unit-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    margin-bottom: 8px;
    border-left: 3px solid var(--faction-accent);
}
.holo-unit-title {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.05;
    margin-bottom: 6px;
}
.holo-unit-sub {
    font-size: 13px;
    color: var(--text-secondary);
}
.holo-quick-switcher {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 12px 16px 16px;
    background: #05070b;
    border-top: 1px solid var(--border-subtle);
}
.holo-switch-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 8px 6px;
    border-radius: 10px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}
.holo-switch-btn:hover, .holo-switch-btn.active {
    background: rgba(255, 123, 0, 0.15);
    border-color: var(--brand-amber);
    color: #fff;
}

.tactical-ticker {
    position: relative;
    z-index: 2;
    background: rgba(10, 14, 24, 0.9);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 12px 0;
    overflow: hidden;
}
.ticker-track {
    display: flex;
    width: max-content;
    gap: 0;
    animation: tickerScroll 36s linear infinite;
}
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-right: 48px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #cbd5e1;
    white-space: nowrap;
}
.ticker-item i {
    color: var(--brand-amber);
}
.ticker-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.2));
}
.ticker-logo.ticker-ak {
    width: 26px;
    height: 26px;
}
@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

section {
    padding: 96px 0;
    position: relative;
    z-index: 2;
}
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-amber);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 10px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.2vw, 3.6rem);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    line-height: 1.08;
}
.section-desc {
    max-width: 520px;
    color: var(--text-secondary);
    font-size: 15px;
}

.faction-tabs-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}
.faction-tab {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: #fff;
    cursor: pointer;
    text-align: left;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.faction-tab::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--tab-color, var(--brand-amber));
    opacity: 0.35;
    transition: opacity 0.25s ease, width 0.25s ease;
}
.faction-tab:hover, .faction-tab.active {
    border-color: var(--tab-color, var(--brand-amber));
    background: rgba(18, 25, 42, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.65);
}
.faction-tab.active::before {
    opacity: 1;
    width: 6px;
}
.faction-tab-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--tab-color, var(--brand-amber));
    flex-shrink: 0;
    padding: 6px;
}
.faction-tab-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.faction-tab-icon img.tab-ak {
    transform: scale(1.1);
}
.faction-tab-meta .code {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-secondary);
}
.faction-tab-meta .name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.1;
}

.faction-stage {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 28px;
    background: linear-gradient(145deg, rgba(14, 20, 34, 0.9) 0%, rgba(7, 10, 18, 0.96) 100%);
    border: 1px solid var(--border-bright);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.8);
}
.faction-poster-col {
    position: relative;
    min-height: 500px;
    background: radial-gradient(circle at 50% 35%, var(--faction-glow), transparent 70%);
    overflow: hidden;
}
.faction-poster-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}
.faction-poster-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 24px;
    background: linear-gradient(180deg, transparent 0%, rgba(5, 7, 11, 0.92) 70%, #05070b 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.faction-details-col {
    padding: 36px 36px 36px 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.faction-badge-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.unit-tag-chip {
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #f8fafc;
}
.faction-main-title {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 3.4vw, 3rem);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    line-height: 1.02;
    margin-bottom: 14px;
}
.faction-main-desc {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 24px;
}
.subunits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 26px;
}
.subunit-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 12px 14px;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.subunit-card:hover {
    border-color: var(--faction-accent);
    background: rgba(255, 255, 255, 0.055);
}
.subunit-card .stitle {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.subunit-card .stitle span {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--faction-accent);
}
.subunit-card .sdesc {
    font-size: 12.5px;
    color: var(--text-secondary);
    margin-top: 3px;
}

.faction-stats-bars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--border-subtle);
    margin-bottom: 24px;
}
.fstat-item .flbl {
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
}
.fstat-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    overflow: hidden;
}
.fstat-fill {
    height: 100%;
    background: var(--faction-accent);
    border-radius: 99px;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}
.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 22px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.bento-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 123, 0, 0.11), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.bento-card:hover::after {
    opacity: 1;
}
.bento-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 123, 0, 0.35);
}
.col-7 { grid-column: span 7; }
.col-6 { grid-column: span 6; }
.col-5 { grid-column: span 5; }
.col-4 { grid-column: span 4; }
.col-8 { grid-column: span 8; }

.bento-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 123, 0, 0.12);
    border: 1px solid rgba(255, 123, 0, 0.3);
    color: var(--brand-amber);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 18px;
}
.bento-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.bento-text {
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.65;
}

.ai-voice-demo {
    margin-top: 22px;
    background: rgba(5, 8, 15, 0.85);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.voice-wave {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 28px;
}
.voice-wave span {
    width: 4px;
    background: var(--brand-amber);
    border-radius: 99px;
    animation: waveBounce 1.2s ease-in-out infinite;
}
.voice-wave span:nth-child(1) { height: 10px; animation-delay: 0.0s; }
.voice-wave span:nth-child(2) { height: 22px; animation-delay: 0.15s; }
.voice-wave span:nth-child(3) { height: 16px; animation-delay: 0.3s; }
.voice-wave span:nth-child(4) { height: 26px; animation-delay: 0.45s; }
.voice-wave span:nth-child(5) { height: 14px; animation-delay: 0.6s; }
.voice-wave span:nth-child(6) { height: 24px; animation-delay: 0.25s; }
.voice-wave span:nth-child(7) { height: 12px; animation-delay: 0.4s; }
@keyframes waveBounce {
    0%, 100% { transform: scaleY(0.45); opacity: 0.55; }
    50% { transform: scaleY(1.15); opacity: 1; }
}

.steps-wrapper {
    display: grid;
    grid-template-columns: 0.42fr 0.58fr;
    gap: 28px;
    align-items: stretch;
}
.step-selector-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.step-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    padding: 20px 22px;
    text-align: left;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.25s ease;
}
.step-btn:hover, .step-btn.active {
    border-color: var(--brand-amber);
    background: rgba(255, 123, 0, 0.08);
    transform: translateX(4px);
}
.step-num {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    font-style: italic;
    color: var(--brand-amber);
    line-height: 1;
    min-width: 36px;
}
.step-btn h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.step-btn p {
    font-size: 13.5px;
    color: var(--text-secondary);
}
.step-content-box {
    background: linear-gradient(145deg, rgba(15, 22, 38, 0.92), rgba(7, 10, 18, 0.96));
    border: 1px solid var(--border-bright);
    border-radius: 22px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.terminal-box {
    background: #04060a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 18px;
    font-family: var(--font-mono);
    font-size: 13.5px;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 20px 0;
}
.terminal-box code {
    color: #fb923c;
}

.store-filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.store-filter-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 9px 18px;
    border-radius: 99px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}
.store-filter-btn:hover, .store-filter-btn.active {
    background: var(--brand-amber);
    border-color: var(--brand-amber);
    color: #05070b;
}
.store-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.store-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
.store-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 123, 0, 0.45);
    box-shadow: 0 22px 50px -15px rgba(0, 0, 0, 0.7);
}
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--brand-amber);
    background: rgba(255, 123, 0, 0.12);
    border: 1px solid rgba(255, 123, 0, 0.3);
    padding: 4px 10px;
    border-radius: 99px;
    width: max-content;
    margin-bottom: 14px;
}
.store-card h3 {
    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.store-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 18px;
}
.store-perks {
    list-style: none;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.store-perks li {
    font-size: 13.5px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 8px;
}
.store-perks li i {
    color: var(--brand-emerald);
    font-size: 12px;
}

.faq-community-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: start;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}
.faq-item.open {
    border-color: rgba(255, 123, 0, 0.4);
}
.faq-q {
    width: 100%;
    padding: 18px 22px;
    background: transparent;
    border: none;
    color: #fff;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}
.faq-q i {
    color: var(--brand-amber);
    transition: transform 0.25s ease;
}
.faq-item.open .faq-q i {
    transform: rotate(180deg);
}
.faq-a {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 22px;
    color: var(--text-secondary);
    font-size: 14.5px;
    transition:
        max-height 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        padding-bottom 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.22s ease;
}
.faq-item.open .faq-a {
    max-height: 160px;
    opacity: 1;
    padding-bottom: 18px;
}

.community-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.comm-card {
    background: linear-gradient(145deg, rgba(16, 23, 40, 0.9), rgba(8, 12, 22, 0.95));
    border: 1px solid var(--border-bright);
    border-radius: 20px;
    padding: 26px;
}
.comm-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.comm-card p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 18px;
}
.social-pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.social-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
}
.social-pill:hover {
    border-color: var(--brand-amber);
    background: rgba(255, 123, 0, 0.14);
    transform: translateY(-2px);
}
.social-wordmark {
    height: 22px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}
.social-ig-text {
    height: 24px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: linear-gradient(180deg, #04060a 0%, #020305 100%);
    padding: 36px 0;
    position: relative;
    z-index: 2;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}
.footer-logo-img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(255, 123, 0, 0.25));
}
.footer-divider {
    width: 1px;
    height: 36px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}
.footer-brand-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.footer-brand-name {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 21px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-style: italic;
    color: #fff;
    line-height: 1.05;
}
.footer-brand-name span {
    color: var(--brand-amber);
}
.footer-brand-sub {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    text-transform: uppercase;
}
.footer-copy {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(3, 5, 9, 0.84);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-card {
    width: 100%;
    max-width: 480px;
    background: #0a0f1c;
    border: 1px solid rgba(255, 123, 0, 0.4);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    position: relative;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85), 0 0 50px rgba(255, 123, 0, 0.2);
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: #fff;
    cursor: pointer;
}

.toast {
    position: fixed;
    bottom: 26px;
    right: 26px;
    z-index: 120;
    background: rgba(12, 18, 30, 0.95);
    border: 1px solid var(--brand-emerald);
    color: #fff;
    padding: 14px 20px;
    border-radius: 14px;
    font-family: var(--font-mono);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
    transform: translateY(120%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast.show {
    transform: translateY(0);
    opacity: 1;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1040px) {
    .hero-grid,
    .faction-stage,
    .steps-wrapper,
    .faq-community-grid {
        grid-template-columns: 1fr;
    }
    .faction-tabs-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .store-grid {
        grid-template-columns: 1fr;
    }
    .col-7, .col-6, .col-5, .col-4, .col-8 {
        grid-column: span 12;
    }
    .nav-links {
        display: none;
    }
    .faction-details-col {
        padding: 24px;
    }
}
@media (max-width: 640px) {
    .dock-bottom,
    .faction-tabs-bar,
    .subunits-grid {
        grid-template-columns: 1fr;
    }
    .telemetry-right {
        display: none;
    }
}
