/*!
 * TrafficSiege.com - Proprietary Master Stylesheet
 * Copyright (c) 2026 TrafficSiege.com. All Rights Reserved.
 * Unauthorized copying, reproduction, or redistribution is strictly prohibited.
 */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Barlow:wght@400;500;600;700&display=swap');

:root {
    --bg-slate: #0B1120;
    --bg-hud: #0F172A;
    --bg-panel: #131C31;
    --bg-card: #1A253C;
    --border-subtle: #273552;
    --gold: #F59E0B;
    --gold-bright: #FBBF24;
    --gold-dim: rgba(245, 158, 11, 0.16);
    --emerald: #10B981;
    --emerald-dim: rgba(16, 185, 129, 0.15);
    --crimson: #EF4444;
    --crimson-dim: rgba(239, 68, 68, 0.20);
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --font-display: 'Barlow Condensed', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body: 'Barlow', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* =========================================================================
   RESET & BASE LAYOUT
   ========================================================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-slate);
    background-image:
        radial-gradient(circle at 20% 14%, rgba(16, 185, 129, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 80% 16%, rgba(245, 158, 11, 0.07) 0%, transparent 42%),
        linear-gradient(rgba(39, 53, 82, 0.21) 1px, transparent 1px),
        linear-gradient(90deg, rgba(39, 53, 82, 0.21) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
    color: var(--text-main);
    line-height: 1.45;
}

html:has(body.surf-page),
body.surf-page {
    height: 100%;
    overflow: hidden;
    background-image: none;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4,
.brand,
.nav-links,
.hero-title,
.panel-header,
.section-heading,
.auth-header-label,
.auth-tab-btn,
.btn,
.btn-submit-gold,
.btn-promo,
.citadel-node,
.sponsor-tag,
.hud-main-val,
.hud-brand {
    font-family: var(--font-display);
}

/* =========================================================================
   SHARED TOP NAVIGATION BAR
   ========================================================================= */
.topbar {
    background: rgba(11, 17, 32, 0.95);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 66px;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: 0.8px;
}

.brand-shield {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #1E293B, #0F172A);
    border: 2px solid var(--gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.1rem;
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.28);
}

.brand-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.32));
}

.brand .siege-word {
    color: var(--gold);
    text-shadow: 0 0 18px rgba(245, 158, 11, 0.35);
}

.brand .tld {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.nav-links a {
    color: #CBD5E1;
    transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

.nav-cta,
.nav-pill-btn {
    background: var(--gold);
    color: #0B1120 !important;
    padding: 7px 14px;
    border-radius: 6px;
    font-weight: 900;
    font-size: 0.84rem;
}

.wallet-badge {
    background: #131C31;
    border: 1px solid #2D3D5E;
    padding: 6px 11px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--gold-bright);
}

/* =========================================================================
   SHARED UI ELEMENTS (FLASH BANNERS, PANELS, FORMS, BUTTONS, TABLES, FOOTER)
   ========================================================================= */
.flash-banner {
    margin-top: 18px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flash-banner.success {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.26) 0%, rgba(6, 78, 59, 0.55) 100%);
    border: 2px solid var(--emerald);
    color: #ECFDF5;
    min-height: 88px;
    padding: 22px 24px;
    font-size: 1.06rem;
    font-weight: 800;
    line-height: 1.45;
    box-shadow: 0 0 26px rgba(16, 185, 129, 0.28);
}

.flash-banner.error {
    background: var(--crimson-dim);
    border: 1px solid var(--crimson);
    color: #FECACA;
}

.panel-box {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
}

.panel-header {
    font-size: 0.86rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.form-group {
    margin-bottom: 12px;
}

.form-label {
    display: block;
    font-size: 0.73rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.form-input,
.form-select {
    width: 100%;
    background: #0B1120;
    border: 1px solid #2D3D5E;
    color: var(--text-main);
    padding: 8px 11px;
    border-radius: 6px;
    font-size: 0.85rem;
    outline: none;
}

.form-input:focus,
.form-select:focus {
    border-color: var(--gold);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 15px;
    border-radius: 7px;
    font-weight: 900;
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: none;
    cursor: pointer;
    transition: filter 0.15s ease;
}

.btn:hover {
    filter: brightness(1.07);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-gold {
    background: linear-gradient(180deg, #FBBF24 0%, #D97706 100%);
    color: #0B1120;
}

.btn-emerald {
    background: linear-gradient(180deg, #10B981 0%, #059669 100%);
    color: #0B1120;
}

.btn-crimson {
    background: linear-gradient(180deg, #EF4444 0%, #B91C1C 100%);
    color: #FFFFFF;
}

.btn-outline {
    background: #0E1627;
    color: #CBD5E1;
    border: 1px solid #334466;
}

.btn-sm {
    padding: 6px 10px;
    font-size: 0.74rem;
}

.data-table,
.ledger-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    margin-top: 10px;
}

.data-table th,
.data-table td,
.ledger-table th,
.ledger-table td {
    padding: 8px 9px;
    border-bottom: 1px solid #22304B;
    text-align: left;
}

.data-table th,
.ledger-table th {
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
}

.bottom-2col {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 18px;
    margin-bottom: 40px;
}

.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 20px 0 32px;
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
}

.footer-links {
    display: flex;
    gap: 18px;
}

.footer-links a:hover {
    color: var(--gold);
}

/* =========================================================================
   INDEX.PHP - WAR ROOM HERO, AUTH FLANK, CITADEL PYRAMID & BOTTOM GRID
   ========================================================================= */
.war-room-stage {
    position: relative;
    padding: 16px 0 26px;
}
.radar-backdrop {
    position: absolute;
    top: -8px;
    left: 210px;
    width: 260px;
    height: 260px;
    object-fit: contain;
    opacity: 0.45;
    mix-blend-mode: screen;
    filter: brightness(1.35) contrast(1.15);
    pointer-events: none;
    z-index: 1;
    -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 55%, rgba(0, 0, 0, 0) 82%);
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 55%, rgba(0, 0, 0, 0) 82%);
}

.hero-flank {
    position: absolute;
    top: 16px;
    left: 0;
    width: 335px;
    z-index: 10;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(19, 28, 49, 0.92);
    border: 1px solid var(--border-subtle);
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--emerald);
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.hero-eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 8px var(--emerald);
}

.hero-title {
    font-size: 2.65rem;
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hero-title .siege-highlight {
    color: var(--gold);
    text-shadow: 0 0 22px rgba(245, 158, 11, 0.42);
    display: inline-block;
    border-bottom: 3px solid var(--gold);
    padding-bottom: 1px;
}

.hero-sub {
    font-size: 0.88rem;
    color: #CBD5E1;
    margin-bottom: 12px;
    line-height: 1.4;
}

.hero-stats-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pulse-pill {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    padding: 5px 9px;
    border-radius: 6px;
    font-size: 0.74rem;
    color: var(--text-muted);
}

.pulse-pill strong {
    color: var(--text-main);
}

.pulse-pill.siege-alert strong {
    color: var(--crimson);
}

/* Upper-Right Auth Flank */
.auth-card {
    position: absolute;
    top: 16px;
    right: 0;
    width: 210px;
    z-index: 10;
    background: linear-gradient(180deg, #162038 0%, #10182B 100%);
    border: 1px solid #314266;
    border-radius: 10px;
    padding: 14px 12px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

.auth-card .form-group {
    margin-bottom: 8px;
}

.auth-card .form-input {
    padding: 7px 9px;
    font-size: 0.81rem;
}

.auth-header-label {
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 7px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #0B1120;
    border-radius: 6px;
    padding: 3px;
    margin-bottom: 10px;
    border: 1px solid var(--border-subtle);
}

.auth-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 800;
    font-size: 0.7rem;
    padding: 6px 4px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.auth-tab-btn.active {
    background: var(--gold);
    color: #0B1120;
}

.form-row-2 {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.captcha-label {
    font-size: 0.7rem;
    color: #CBD5E1;
    margin-bottom: 3px;
    display: block;
}

.captcha-label strong {
    color: var(--gold-bright);
    letter-spacing: 0.5px;
}

.btn-submit-gold {
    width: 100%;
    background: linear-gradient(180deg, #FBBF24 0%, #D97706 100%);
    color: #0B1120;
    border: none;
    font-weight: 900;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
    padding: 9px 6px;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 2px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.32);
}

.btn-submit-gold:hover {
    filter: brightness(1.06);
}

.auth-errors {
    background: rgba(239, 68, 68, 0.16);
    border: 1px solid var(--crimson);
    color: #FECACA;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 0.74rem;
    margin-bottom: 8px;
}

.auth-errors ul {
    margin-left: 14px;
}

.auth-footnote {
    font-size: 0.68rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 7px;
}

/* 8-Row Citadel Pyramid */
.pyramid-scroll-wrap {
    overflow-x: auto;
    padding-top: 16px;
}

.pyramid-unified-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 1000px;
}

.pyramid-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.citadel-node {
    position: relative;
    width: 144px;
    min-height: 56px;
    border-radius: 7px;
    padding: 7px 7px;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.citadel-node:hover {
    transform: translateY(-2px);
    z-index: 5;
}

.citadel-node.vip {
    background: linear-gradient(180deg, rgba(251, 191, 36, 0.26) 0%, rgba(39, 34, 25, 0.92) 100%);
    border: 1.5px solid var(--gold-bright);
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.28), inset 0 0 10px rgba(251, 191, 36, 0.14);
}

.citadel-node.inner {
    background: linear-gradient(180deg, rgba(217, 119, 6, 0.30) 0%, rgba(30, 24, 18, 0.92) 100%);
    border: 1.5px solid #D97706;
    box-shadow: 0 0 12px rgba(217, 119, 6, 0.24), inset 0 0 10px rgba(217, 119, 6, 0.14);
}

.citadel-node.top3 {
    width: 192px;
    min-height: 68px;
    padding: 9px 10px;
    border-width: 2px;
    border-color: var(--gold-bright);
    background: linear-gradient(180deg, #2B2418 0%, #131B2E 100%);
    box-shadow: 0 0 22px rgba(251, 191, 36, 0.38), inset 0 0 12px rgba(245, 158, 11, 0.14);
}

.citadel-node.top3 .node-top {
    font-size: 1.02rem;
    letter-spacing: 0.3px;
}

.citadel-node.top3 .node-sub {
    font-size: 0.82rem;
}

.pyramid-row:nth-child(2),
.pyramid-row:nth-child(3) {
    margin-top: 8px;
}

/* Overlapping Star (#1) and Crown (#2 Silver, #3 Gold) Badges */
.rank-crest {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 6;
}

.rank-crest-1 {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0F172A;
    border: 1.5px solid var(--gold-bright);
    color: var(--gold-bright);
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.55);
}

.rank-crest-2,
.rank-crest-3,
.rank-crest-vip {
    top: -11px;
    padding: 1px 6px;
    border-radius: 6px;
    background: #0F172A;
}

.rank-crest-2 {
    color: #E2E8F0;
    filter: drop-shadow(0 0 6px rgba(226, 232, 240, 0.45));
}

.rank-crest-3 {
    color: var(--gold-bright);
    filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.5));
}

.rank-crest-vip {
    top: -10px;
    padding: 1px 5px;
    color: var(--gold);
    filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.4));
}

.citadel-node.mid {
    width: 126px;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.25) 0%, rgba(15, 29, 48, 0.92) 100%);
    border: 1.5px solid #38BDF8;
    box-shadow: 0 0 11px rgba(56, 189, 248, 0.20), inset 0 0 10px rgba(56, 189, 248, 0.12);
}

.citadel-node.outer {
    width: 118px;
    background: linear-gradient(180deg, rgba(100, 116, 139, 0.28) 0%, rgba(22, 31, 48, 0.92) 100%);
    border: 1.5px solid #64748B;
    box-shadow: 0 0 10px rgba(100, 116, 139, 0.18), inset 0 0 8px rgba(100, 116, 139, 0.12);
}

.citadel-node.in-siege {
    background: linear-gradient(180deg, #450A0A 0%, #1F090D 100%);
    border: 1.5px solid var(--crimson);
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.45);
    animation: siegePulse 2s infinite ease-in-out;
}

@keyframes siegePulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(239, 68, 68, 0.35);
    }
    50% {
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.72);
    }
}

.citadel-node.queued-siege {
    background: linear-gradient(180deg, #2E1065 0%, #170B2B 100%);
    border: 1.5px dashed #A78BFA;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.35);
}

.citadel-node.queued-siege .queued-label {
    font-size: 0.68rem;
    font-weight: 900;
    color: #DDD6FE;
    letter-spacing: 0.2px;
}

.citadel-node.queued-siege .node-sub {
    color: #C4B5FD;
}

.citadel-node.open-slot {
    border-style: dashed;
}

.citadel-node.vip.open-slot {
    border-color: rgba(251, 191, 36, 0.75);
}

.citadel-node.inner.open-slot {
    border-color: rgba(217, 119, 6, 0.8);
}

.citadel-node.mid.open-slot {
    border-color: rgba(56, 189, 248, 0.75);
}

.citadel-node.outer.open-slot {
    border-color: rgba(100, 116, 139, 0.85);
}

.node-top {
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-main);
}

.node-rank {
    color: var(--gold-bright);
}

.node-sub {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--gold);
    margin-top: 2px;
}

.citadel-node.outer .node-sub {
    color: #CBD5E1;
}

.citadel-node.mid .node-sub {
    color: #7DD3FC;
}

.siege-label {
    font-size: 0.68rem;
    font-weight: 900;
    color: #FCA5A5;
    letter-spacing: 0.2px;
}

.siege-timer-row {
    font-size: 0.71rem;
    font-weight: 900;
    color: #FFFFFF;
    margin-top: 2px;
}

.siege-bid-tag {
    color: var(--gold-bright);
    margin-left: 2px;
}

.citadel-legend-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 8px 14px;
    background: rgba(19, 28, 49, 0.85);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #CBD5E1;
}

.tier-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.swatch {
    width: 11px;
    height: 11px;
    border-radius: 3px;
}



/* Pre-Launch Founding Traffic Roadmap */
.prelaunch-roadmap {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, #131C31 55%, rgba(16, 185, 129, 0.10) 100%);
    border: 1.5px solid var(--gold);
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.14);
}

.prelaunch-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.prelaunch-eyebrow {
    font-size: 0.72rem;
    font-weight: 900;
    color: var(--gold-bright);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.prelaunch-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 2px 0 4px;
}

.prelaunch-sub {
    font-size: 0.84rem;
    color: #CBD5E1;
    max-width: 780px;
}

.prelaunch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.milestone-card {
    background: rgba(11, 17, 32, 0.85);
    border: 1px solid #2D3D5E;
    border-radius: 9px;
    padding: 12px 14px;
    text-align: center;
}

.milestone-card.highlight {
    border-color: var(--gold-bright);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.16) 0%, rgba(11, 17, 32, 0.92) 100%);
}

.milestone-pop {
    font-size: 0.7rem;
    font-weight: 900;
    color: var(--emerald);
    letter-spacing: 0.4px;
}

.milestone-vip {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--gold-bright);
    line-height: 1.1;
    margin: 4px 0 2px;
}

.milestone-vip span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.milestone-zone {
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 5px;
}

.milestone-others {
    font-size: 0.71rem;
    color: var(--text-muted);
}



/* Homepage Bottom Tactical Grid */
.bottom-grid {
    display: grid;
    grid-template-columns: 1fr 2.6fr;
    gap: 18px;
    padding-bottom: 42px;
    align-items: stretch;
}

.ladder-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
}

.ladder-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0E1627;
    border: 1px solid rgba(16, 185, 129, 0.45);
    border-radius: 6px;
    padding: 7px 11px;
    font-size: 0.82rem;
}

.ladder-rank {
    color: var(--emerald);
    font-weight: 900;
    margin-right: 8px;
}

.ladder-domain {
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
}

.ladder-status {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--emerald);
    white-space: nowrap;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    flex: 1;
}

.sponsor-card {
    background: #0E1627;
    border: 1px solid #2E3F63;
    border-radius: 8px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.sponsor-card.crate-slot {
    border-color: rgba(16, 185, 129, 0.6);
}

.sponsor-tag {
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.3px;
    color: #CBD5E1;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.sponsor-preview {
    background: linear-gradient(135deg, #1E293B, #0F172A);
    border: 1px solid #334155;
    border-radius: 6px;
    width: 100%;
    aspect-ratio: 16 / 10;
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
    overflow: hidden;
}

.sponsor-preview.has-thumb {
    padding: 0;
}

.sponsor-preview.has-thumb img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.sponsor-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.sponsor-preview img.sponsor-default-icon {
    width: 88px;
    height: 88px;
    object-fit: contain;
    border-radius: 0;
    margin-bottom: 4px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.35));
}

.sponsor-preview img.crate-default-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 0;
    margin-bottom: 5px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.35));
}

.sponsor-book-link {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--gold-bright);
    padding: 5px 4px;
    border-radius: 5px;
    background: rgba(245, 158, 11, 0.14);
    display: block;
}

.sponsor-book-link:hover {
    background: rgba(245, 158, 11, 0.28);
}

.crate-slot .sponsor-book-link {
    color: var(--emerald);
    background: var(--emerald-dim);
}

.crate-slot .sponsor-book-link:hover {
    background: rgba(16, 185, 129, 0.28);
}

.promo-dual {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.promo-card.crate-lead {
    border: 1.5px solid var(--emerald);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.1) 0%, var(--bg-panel) 100%);
}

.promo-card.crate-lead h3 {
    color: var(--emerald);
}

.promo-card {
    background: var(--bg-panel);
    border-radius: 12px;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.promo-card.advertisers {
    border: 1.5px solid var(--gold);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.1) 0%, var(--bg-panel) 100%);
}

.promo-card.surfers {
    border: 1.5px solid var(--emerald);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.1) 0%, var(--bg-panel) 100%);
}

.promo-card h3 {
    font-size: 0.92rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.promo-card.advertisers h3 {
    color: var(--gold-bright);
}

.promo-card.surfers h3 {
    color: var(--emerald);
}

.promo-list {
    list-style: none;
    font-size: 0.81rem;
    color: #E2E8F0;
    margin-bottom: 14px;
}

.promo-list li {
    margin-bottom: 6px;
    padding-left: 14px;
    position: relative;
}

.promo-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--gold);
}

.promo-card.surfers .promo-list li::before {
    color: var(--emerald);
}

.btn-promo {
    display: block;
    text-align: center;
    padding: 9px 8px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.btn-promo.gold {
    background: var(--gold);
    color: #0B1120;
}

.btn-promo.emerald {
    background: var(--emerald);
    color: #0B1120;
}

/* =========================================================================
   SIEGE.PHP - LIVE 12H CITADEL SIEGE AUCTIONS
   ========================================================================= */

body.siege-page {
    position: relative;
    z-index: 0;
    background-image: none;
}

body.siege-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(180deg, rgba(11, 17, 32, 0.72) 0%, rgba(11, 17, 32, 0.56) 38%, rgba(11, 17, 32, 0.88) 100%),
        url('images/ts-siege-bg2.png');
    background-size: cover;
    background-position: center 66px;
    background-repeat: no-repeat;
}

body.siege-page .siege-hero {
    background: linear-gradient(135deg, rgba(22, 34, 59, 0.35) 0%, rgba(16, 24, 43, 0.45) 100%);
    backdrop-filter: blur(1.5px);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

body.siege-page .panel-box,
body.siege-page .siege-card {
    background: rgba(19, 28, 49, 0.86);
    backdrop-filter: blur(4px);
}

body.siege-page .siege-card.vip-tier {
    background: linear-gradient(180deg, rgba(43, 34, 24, 0.88) 0%, rgba(19, 28, 49, 0.88) 100%);
}

body.siege-page .siege-card.inner-tier {
    background: linear-gradient(180deg, rgba(30, 27, 46, 0.88) 0%, rgba(19, 28, 49, 0.88) 100%);
}

body.siege-page .siege-card.mid-tier {
    background: linear-gradient(180deg, rgba(19, 37, 59, 0.88) 0%, rgba(19, 28, 49, 0.88) 100%);
}


.siege-hero {
    margin: 20px 0;
    background: linear-gradient(135deg, #16223B 0%, #10182B 100%);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.wallet-box {
    background: #0B1120;
    border: 1px solid var(--gold);
    border-radius: 9px;
    padding: 11px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.sieges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    justify-content: center;
    gap: 88px;  /* left/right spacing */
    margin-bottom: 28px;
}

.siege-card {
    background: var(--bg-panel);
    border: 1.5px solid var(--crimson);
    border-radius: 12px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 0 22px rgba(239, 68, 68, 0.14);
}

.siege-card.inner-tier {
    background: linear-gradient(180deg, #1E1B2E 0%, var(--bg-panel) 100%);
}

.siege-card.vip-tier {
    background: linear-gradient(180deg, #2B2218 0%, var(--bg-panel) 100%);
}

.siege-card.mid-tier {
    background: linear-gradient(180deg, #13253B 0%, var(--bg-panel) 100%);
}

.siege-card.is-leading {
    border-color: var(--emerald);
    box-shadow: 0 0 22px rgba(16, 185, 129, 0.18);
}

.tier-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 3px 9px;
    border-radius: 5px;
    text-transform: uppercase;
}

.tier-tag.vip {
    background: rgba(251, 191, 36, 0.22);
    color: var(--gold-bright);
    border: 1px solid var(--gold-bright);
}

.tier-tag.inner {
    background: var(--gold-dim);
    color: var(--gold-bright);
    border: 1px solid var(--gold);
}

.tier-tag.mid {
    background: rgba(56, 189, 248, 0.16);
    color: #7DD3FC;
    border: 1px solid rgba(56, 189, 248, 0.65);
}

.tier-tag.outer {
    background: rgba(148, 163, 184, 0.15);
    color: #CBD5E1;
    border: 1px solid #475569;
}

.timer-strip {
    background: #0B1120;
    border: 1px solid #2A3958;
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bid-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background: #0D1526;
    border: 1px solid #22304B;
    border-radius: 8px;
    padding: 10px 12px;
}

.spotlight-box {
    background: linear-gradient(135deg, #241522 0%, #131C31 60%);
    border: 2px solid var(--gold);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
}

/* =========================================================================
   SPONSOR.PHP - 30-DAY SPONSOR RESERVATION CALENDAR
   ========================================================================= */
.sponsor-hero {
    margin: 20px 0;
    background: linear-gradient(135deg, #16223B 0%, #10182B 100%);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 20px 24px;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 20px;
    align-items: center;
}

.telemetry-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.telemetry-card {
    background: #0B1120;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 12px 14px;
}

.telemetry-card.main-tier {
    border-color: var(--gold);
}

.telemetry-card.crate-tier {
    border-color: var(--emerald);
}

.booking-workspace {
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: 20px;
    align-items: start;
    margin-bottom: 30px;
}

.sticky-summary {
    position: sticky;
    top: 84px;
}

.matrix-scroll {
    overflow-x: auto;
    max-height: 680px;
    overflow-y: auto;
    border: 1px solid #22304B;
    border-radius: 9px;
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    min-width: 680px;
}

.calendar-table thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #0D1526;
    color: #CBD5E1;
    padding: 10px 8px;
    border-bottom: 1.5px solid var(--border-subtle);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-align: center;
}

.calendar-table thead th:first-child {
    text-align: left;
    padding-left: 12px;
}

.calendar-table tbody td {
    padding: 6px;
    border-bottom: 1px solid #1E2B45;
    text-align: center;
}

.date-cell {
    text-align: left !important;
    padding-left: 12px !important;
    font-weight: 800;
    white-space: nowrap;
    background: rgba(11, 17, 32, 0.45);
}

.date-cell .dow {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    margin-left: 4px;
}

.slot-btn {
    display: block;
    width: 100%;
    padding: 7px 6px;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 800;
    cursor: pointer;
    border: 1px solid #2E3F63;
    background: #0E1627;
    color: #E2E8F0;
    transition: all 0.12s ease;
    user-select: none;
}

.slot-btn:hover {
    border-color: var(--gold);
    color: var(--gold-bright);
}

.slot-btn.crate-cell:hover {
    border-color: var(--emerald);
    color: #6EE7B7;
}

.slot-btn.selected {
    background: linear-gradient(180deg, #FBBF24 0%, #D97706 100%);
    color: #0B1120;
    border-color: var(--gold-bright);
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
}

.slot-booked {
    display: block;
    width: 100%;
    padding: 7px 6px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    background: rgba(30, 41, 59, 0.55);
    border: 1px solid #1E293B;
    color: #64748B;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 118px;
    margin: 0 auto;
}

.calendar-table tbody td {
    vertical-align: middle;
}

.calendar-table .slot-main-tall {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    min-height: 86px;
    font-size: 0.88rem;
    font-weight: 900;
}

.crate-stack {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.calendar-table .crate-stack-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    min-height: 26px;
    padding: 3px 6px;
    font-size: 0.72rem;
    line-height: 1.1;
}

.highlight-col {
    background: rgba(245, 158, 11, 0.06);
}

.picked-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 10px 0 14px;
    max-height: 175px;
    overflow-y: auto;
}

.picked-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0E1627;
    border: 1px solid #293856;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.8rem;
}

.wallet-strip {
    background: #0B1120;
    border: 1px solid #2D3D5E;
    border-radius: 8px;
    padding: 9px 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

/* =========================================================================
   STORE.PHP — ARMORY STORE, COMMANDER PRO & CREDIT PACKS
   ========================================================================= */
.armory-header {
    margin: 20px 0;
    background: linear-gradient(135deg, #16223B 0%, #10182B 100%);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.armory-header .wallet-strip {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 0;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.wallet-pill {
    background: #0B1120;
    border: 1px solid #2B3B5C;
    border-radius: 9px;
    padding: 10px 16px;
}

.pro-showcase {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, #131C31 55%, #0F172A 100%);
    border: 2px solid var(--gold);
    border-radius: 14px;
    padding: 26px;
    margin-bottom: 28px;
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 24px;
    align-items: center;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
}

.perk-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}

.perk-item {
    background: rgba(11, 17, 32, 0.72);
    border: 1px solid #2A3B5E;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.82rem;
}

.perk-item strong {
    color: var(--gold-bright);
    display: block;
    margin-bottom: 2px;
}

.pro-cta-box {
    background: #0B1120;
    border: 1px solid #304269;
    border-radius: 12px;
    padding: 22px;
    text-align: center;
}

.packs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.pack-card {
    background: var(--bg-panel);
    border: 1.5px solid var(--border-subtle);
    border-radius: 12px;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    position: relative;
}

.pack-card.featured {
    border-color: var(--gold);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.12) 0%, var(--bg-panel) 100%);
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.18);
}

.popular-ribbon {
    background: var(--gold);
    color: #0B1120;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
    display: inline-block;
    margin: 0 auto 8px;
    letter-spacing: 0.4px;
}

.dispatch-modal {
    background: linear-gradient(135deg, #1A2642 0%, #10182B 100%);
    border: 2px solid var(--gold);
    border-radius: 12px;
    padding: 22px;
    margin: 18px 0 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* =========================================================================
   SURF.PHP — 60PX TACTICAL SURF HUD & FULLSCREEN VIEWPORT
   ========================================================================= */
.surf-hud {
    height: 60px;
    background: linear-gradient(180deg, #162038 0%, #0B1120 100%);
    border-bottom: 1.5px solid var(--border-subtle);
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    position: relative;
    z-index: 50;
}

.hud-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.hud-brand {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 900;
    font-size: 1rem;
    color: var(--text-main);
    text-decoration: none;
    white-space: nowrap;
}

.hud-brand span.gold {
    color: var(--gold);
}

.mission-pill {
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid var(--gold);
    color: var(--gold-bright);
    font-size: 0.7rem;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 5px;
    white-space: nowrap;
}

.progress-wrap {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 135px;
}

.progress-text {
    font-size: 0.74rem;
    font-weight: 800;
    color: #CBD5E1;
    display: flex;
    justify-content: space-between;
}

.progress-bar-bg {
    width: 100%;
    height: 6px;
    background: #090E1A;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid #263450;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--emerald), #34D399);
    transition: width 0.25s ease;
}

.hud-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.timer-box {
    background: #090E1A;
    border: 1px solid #334466;
    padding: 6px 14px;
    border-radius: 7px;
    font-size: 0.88rem;
    font-weight: 900;
    color: var(--gold-bright);
    display: flex;
    align-items: center;
    gap: 8px;
}

.verify-box {
    display: none;
    align-items: center;
    gap: 8px;
}

.verify-prompt {
    font-size: 0.8rem;
    font-weight: 900;
    color: var(--emerald);
    white-space: nowrap;
}

.verify-target-num {
    background: var(--gold);
    color: #0B1120;
    font-size: 0.95rem;
    font-weight: 900;
    padding: 3px 9px;
    border-radius: 5px;
}

.num-btn {
    background: #1E293B;
    border: 1.5px solid #475569;
    color: #FFFFFF;
    font-size: 0.92rem;
    font-weight: 900;
    padding: 6px 13px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.12s ease;
}

.num-btn:hover {
    background: var(--gold);
    border-color: var(--gold-bright);
    color: #0B1120;
}

.num-btn:disabled {
    opacity: 0.5;
    cursor: wait;
}

.hud-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.intel-badge {
    background: #131C31;
    border: 1px solid #2E3F63;
    color: #CBD5E1;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

.intel-icon-btn {
    position: relative;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #131C31;
    border: 1px solid #314266;
    border-radius: 6px;
    color: var(--gold-bright);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.intel-icon-btn:hover,
.intel-icon-btn:focus-visible {
    border-color: var(--gold);
    background: #1E293B;
    outline: none;
}

.intel-icon-btn::after {
    content: attr(data-intel);
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #0F172A;
    border: 1px solid var(--gold);
    color: #F8FAFC;
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.14s ease;
    z-index: 90;
}

.intel-icon-btn:hover::after,
.intel-icon-btn:focus-visible::after {
    opacity: 1;
    visibility: visible;
}

.hud-skip10-btn {
    background: rgba(245, 158, 11, 0.16);
    border-color: var(--gold);
    color: var(--gold-bright);
}

.hud-skip10-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #314266;
    color: #94A3B8;
}

.hud-link-btn {
    background: #18233C;
    border: 1px solid #314266;
    color: #CBD5E1;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.hud-link-btn:hover {
    border-color: var(--gold);
    color: var(--gold-bright);
}

.pro-nudge {
    position: fixed;
    top: 68px;
    right: 16px;
    z-index: 60;
    background: linear-gradient(135deg, #1E293B, #0F172A);
    border: 1.5px solid var(--gold);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.78rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55);
    display: none;
    max-width: 340px;
}

.surf-viewport {
    width: 100%;
    height: calc(100vh - 60px);
    background: #FFFFFF;
    position: relative;
}

.surf-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.arena-overlay {
    width: 100%;
    height: calc(100vh - 60px);
    background: radial-gradient(circle at center, #16223B 0%, #0B1120 85%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.mission-card {
    background: #131C31;
    border: 1.5px solid var(--gold);
    border-radius: 14px;
    padding: 32px 28px;
    max-width: 540px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
}

.btn-big {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 900;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-decoration: none;
    margin: 6px;
}

.hud-toast {
    position: fixed;
    top: 68px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 70;
    background: #450A0A;
    border: 1.5px solid var(--crimson);
    color: #FECACA;
    padding: 8px 16px;
    border-radius: 7px;
    font-size: 0.82rem;
    font-weight: 800;
    display: none;
}

/* =========================================================================
   DASHBOARD.PHP — COMMAND CENTER HUD, TERRITORY SLOTS & CRATE BANNER
   ========================================================================= */
.bailout-alert-bar {
    margin-top: 18px;
    background: linear-gradient(90deg, #450A0A 0%, #1F090D 100%);
    border: 1.5px solid var(--crimson);
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    box-shadow: 0 0 22px rgba(239, 68, 68, 0.35);
}

.hud-grid {
    display: grid;
    grid-template-columns: 0.5fr 1fr 1fr 1fr;
    gap: 14px;
    margin: 20px 0;
}

.hud-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: 11px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hud-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hud-main-val {
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1.15;
}

.hud-sub {
    font-size: 0.78rem;
    color: #CBD5E1;
    margin-top: 6px;
}

.rank-delta {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 2px 7px;
    border-radius: 5px;
    margin-left: 6px;
}

.rank-delta.up {
    background: var(--emerald-dim);
    color: var(--emerald);
}

.rank-delta.down {
    background: var(--crimson-dim);
    color: var(--crimson);
}

.progress-track {
    width: 100%;
    height: 7px;
    background: #0B1120;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 7px;
    border: 1px solid #24324D;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--emerald), #34D399);
    border-radius: 999px;
}

.section-heading {
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 24px 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.territory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(390px, 1fr));
    gap: 18px;
}

.slot-card {
    background: var(--bg-panel);
    border: 1.5px solid var(--border-subtle);
    border-radius: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.slot-card.citadel-tier {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.12);
}

.slot-card.defended-state {
    border-color: rgba(16, 185, 129, 0.65);
}

.slot-card.danger-state {
    border-color: var(--crimson);
}

.pro-upsell-crest {
    display: block;
    width: 270px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.32));
}

.slot-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.rank-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 3px 9px;
    border-radius: 6px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.rank-badge.citadel {
    background: var(--gold-dim);
    color: var(--gold-bright);
    border: 1px solid var(--gold);
}

.rank-badge.ladder {
    background: var(--emerald-dim);
    color: var(--emerald);
    border: 1px solid rgba(16, 185, 129, 0.5);
}

.rank-badge.warn {
    background: var(--crimson-dim);
    color: #FCA5A5;
    border: 1px solid var(--crimson);
}

.status-chip {
    font-size: 0.72rem;
    font-weight: 900;
    padding: 5px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    white-space: nowrap;
}

.status-chip.safe {
    background: var(--emerald-dim);
    color: var(--emerald);
    border: 1px solid var(--emerald);
}

.status-chip.unprotected {
    background: var(--crimson-dim);
    color: #FCA5A5;
    border: 1px solid var(--crimson);
}

.status-chip.qualify {
    background: var(--gold-dim);
    color: var(--gold-bright);
    border: 1px solid var(--gold);
}

.stats-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    background: #0D1526;
    border: 1px solid #22304B;
    border-radius: 8px;
    padding: 9px;
    text-align: center;
}

.stat-mini-label {
    font-size: 0.66rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 800;
}

.stat-mini-val {
    font-size: 0.95rem;
    font-weight: 900;
    color: var(--text-main);
    margin-top: 2px;
}

.url-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.url-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: #0E1627;
    border: 1px solid #23314D;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
}

.url-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #E2E8F0;
    max-width: 240px;
}

.tactical-2col {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 18px;
    margin: 22px 0 40px;
}

.crate-banner {
    background: linear-gradient(135deg, #16233B 0%, #10192D 100%);
    border: 1.5px solid var(--gold);
    border-radius: 12px;
    padding: 18px;
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.odds-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.odds-pill {
    background: #0B1120;
    border: 1px solid #2B3B5C;
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 0.74rem;
    color: #CBD5E1;
}

/* =========================================================================
   RESPONSIVE BREAKPOINTS (CONSOLIDATED)
   ========================================================================= */
@media (max-width: 1120px) {
    .hero-flank {
        position: static;
        width: 100%;
        margin-bottom: 16px;
    }

    .auth-card {
        position: static;
        width: 100%;
        max-width: 420px;
        margin: 0 auto 18px;
    }

    .bottom-grid {
        grid-template-columns: 1fr;
    }

    .sponsor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1040px) {
    .hud-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pro-showcase,
    .sponsor-hero,
    .booking-workspace,
    .tactical-2col,
    .bottom-2col {
        grid-template-columns: 1fr;
    }

    .sticky-summary {
        position: static;
    }

    .packs-grid, .promo-dual, .prelaunch-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 960px) {
    .spotlight-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .topbar-inner {
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
        gap: 8px;
    }

    .brand {
        font-size: 1.4rem;
    }

    .brand-logo {
        width: 36px;
        height: 36px;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        gap: 6px;
        font-size: 0.78rem;
    }

    .nav-links a {
        background: #131C31;
        border: 1px solid #273552;
        padding: 5px 9px;
        border-radius: 6px;
        white-space: nowrap;
    }

    .nav-links a.active {
        border-color: var(--gold);
        color: var(--gold-bright);
    }

    .nav-links .nav-pill-btn,
    .nav-links .nav-cta {
        background: var(--gold);
        color: #0B1120 !important;
        padding: 5px 10px;
        font-size: 0.78rem;
        border: none;
    }

    .surf-hud {
        padding: 0 8px;
        gap: 6px;
    }

    .surf-hud .mission-pill,
    .surf-hud .hud-right .hud-link-btn:not(.hud-skip10-btn) {
        display: none;
    }

    .surf-hud .progress-wrap {
        min-width: 90px;
    }

    .hud-grid, .territory-grid, .sieges-grid, .promo-dual,
    .telemetry-pair, .perk-grid, .packs-grid, .prelaunch-grid {
        grid-template-columns: 1fr;
    }
}