/* ==========================================================================
   ArchonClient Official Website - Modern Cyber Dark Theme
   Escape the Backrooms Native DX12 Client
   ========================================================================== */

:root {
  --bg-main: #0a0c12;
  --bg-card: rgba(18, 22, 34, 0.75);
  --bg-card-hover: rgba(26, 32, 50, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 240, 255, 0.35);

  --primary: #00f0ff;
  --primary-rgb: 0, 240, 255;
  --primary-glow: rgba(0, 240, 255, 0.4);
  --secondary: #a855f7;
  --secondary-glow: rgba(168, 85, 247, 0.4);

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, Monaco, monospace;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body.dark-theme {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambient Background Light & Mesh */
.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    radial-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
  pointer-events: none;
  z-index: -2;
  opacity: 0.7;
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.28;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.orb-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #00f0ff 0%, #0077ff 60%, transparent 100%);
  top: -100px;
  left: -100px;
}

.orb-2 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, #a855f7 0%, #ec4899 60%, transparent 100%);
  top: 40%;
  right: -150px;
  animation-duration: 22s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 80px) scale(1.08); }
  100% { transform: translate(-40px, 40px) scale(0.95); }
}

/* Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Helpers */
.text-center { text-align: center; }

.text-gradient {
  background: linear-gradient(135deg, #00f0ff 0%, #70a6ff 45%, #d946ef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.sub-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-header {
  margin-bottom: 56px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #00f0ff 0%, #0077ff 100%);
  color: #050b14;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 240, 255, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}

.btn-ghost:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.glow-button {
  position: relative;
  overflow: hidden;
}

.glow-button::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 40%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 60%
  );
  transform: rotate(25deg);
  transition: all 0.7s;
  pointer-events: none;
}

.glow-button:hover::after {
  left: 100%;
}

/* ==========================================================================
   Header Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(10, 12, 18, 0.75);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(8, 10, 15, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}

.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 240, 255, 0.12));
}

.brand .highlight {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-item {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav-item:hover, .nav-item.active {
  color: var(--primary);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  transition: var(--transition);
}

.nav-item:hover::after, .nav-item.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  gap: 4px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 5px;
  border-radius: 4px;
  transition: var(--transition);
  outline: none;
}

.lang-btn:hover {
  color: #ffffff;
}

.lang-btn.active {
  color: var(--primary);
  font-weight: 700;
}

.lang-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
  user-select: none;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  transition: var(--transition);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 100px 0 80px;
  position: relative;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 980px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(56, 189, 248, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -1.2px;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 800px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero-desc strong {
  color: var(--text-main);
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 60px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.highlight-item {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  transition: var(--transition);
}

.highlight-item:hover {
  transform: translateY(-3px);
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.highlight-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.highlight-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.highlight-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Features Section (6 Categories)
   ========================================================================== */
.features-section {
  padding: 90px 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 34px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.feature-card:hover::before {
  opacity: 1;
}

.card-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-icon-wrapper.esp {
  background: rgba(0, 240, 255, 0.12);
  color: #00f0ff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.card-icon-wrapper.movement {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.card-icon-wrapper.players {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.card-icon-wrapper.server {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.card-icon-wrapper.map {
  background: rgba(236, 72, 153, 0.12);
  color: #f472b6;
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.2);
}

.card-icon-wrapper.core {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 20px;
}

.card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.card-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  color: #d1d5db;
  line-height: 1.6;
  display: block;
}

.card-list .check {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-mono);
  line-height: 1.6;
  user-select: none;
}

.card-list strong {
  color: #ffffff;
  font-weight: 700;
  display: inline;
}

.card-list code {
  color: var(--primary);
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 5px;
  border-radius: 3px;
  display: inline;
  white-space: nowrap;
}

/* 子模块分隔线与子标题 */
.features-inner-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.35), transparent);
  margin: 75px 0 55px;
  position: relative;
}

.sub-header {
  margin-bottom: 36px;
}

/* ==========================================================================
   Core/Managers Architecture Deep Dive Section
   ========================================================================== */
.managers-section {
  padding: 90px 0;
  background: linear-gradient(180deg, rgba(8, 10, 15, 0.7) 0%, rgba(16, 20, 32, 0.4) 100%);
  position: relative;
}

.managers-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.manager-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.manager-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  opacity: 0;
  transition: var(--transition);
}

.manager-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.manager-card:hover::before {
  opacity: 1;
}

/* 独立主色系高光 */
.manager-card.highlight-cyan:hover {
  border-color: rgba(0, 240, 255, 0.35);
}
.manager-card.highlight-cyan::before {
  background: linear-gradient(90deg, transparent, #00f0ff, transparent);
}

.manager-card.highlight-purple:hover {
  border-color: rgba(168, 85, 247, 0.35);
}
.manager-card.highlight-purple::before {
  background: linear-gradient(90deg, transparent, #a855f7, transparent);
}

.manager-card.highlight-yellow:hover {
  border-color: rgba(245, 158, 11, 0.35);
}
.manager-card.highlight-yellow::before {
  background: linear-gradient(90deg, transparent, #fbbf24, transparent);
}

.manager-card.highlight-emerald:hover {
  border-color: rgba(16, 185, 129, 0.35);
}
.manager-card.highlight-emerald::before {
  background: linear-gradient(90deg, transparent, #10b981, transparent);
}

.manager-card.highlight-blue:hover {
  border-color: rgba(59, 130, 246, 0.35);
}
.manager-card.highlight-blue::before {
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.manager-card.highlight-red:hover {
  border-color: rgba(239, 68, 68, 0.35);
}
.manager-card.highlight-red::before {
  background: linear-gradient(90deg, transparent, #ef4444, transparent);
}

.manager-card.highlight-teal:hover {
  border-color: rgba(20, 184, 166, 0.35);
}
.manager-card.highlight-teal::before {
  background: linear-gradient(90deg, transparent, #14b8a6, transparent);
}

.m-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.m-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 1px;
}

.highlight-cyan .m-badge {
  background: rgba(0, 240, 255, 0.1);
  color: var(--primary);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.highlight-purple .m-badge {
  background: rgba(168, 85, 247, 0.1);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.highlight-yellow .m-badge {
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.highlight-emerald .m-badge {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.highlight-blue .m-badge {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.highlight-red .m-badge {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.highlight-teal .m-badge {
  background: rgba(20, 184, 166, 0.1);
  color: #2dd4bf;
  border: 1px solid rgba(20, 184, 166, 0.3);
}

.m-icon {
  font-size: 2rem;
}

.m-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.m-lead {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.m-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
}

.m-specs li {
  font-size: 0.86rem;
  color: #d1d5db;
  line-height: 1.55;
  position: relative;
  padding-left: 14px;
}

.m-specs li::before {
  content: '•';
  color: var(--primary);
  position: absolute;
  left: 0;
  top: 0;
}

.m-specs strong {
  color: #ffffff;
}

.m-specs code {
  font-family: var(--font-mono);
  color: var(--primary);
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 0.8rem;
}

/* ==========================================================================
   ChatSystem Completely Rewritten Standalone Chat & Command Center
   ========================================================================== */
.chat-section {
  padding: 90px 0;
  background: linear-gradient(180deg, rgba(16, 20, 32, 0.4) 0%, rgba(10, 12, 18, 0.9) 100%);
  position: relative;
}

/* 4大核心特性 2x2 网格 */
.chat-features-quad {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.chat-quad-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.chat-quad-card:hover {
  border-color: rgba(0, 240, 255, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.cqc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.cqc-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.cqc-icon {
  font-size: 1.8rem;
}

.cqc-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.cqc-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.68;
}

.cqc-desc code {
  font-family: var(--font-mono);
  color: var(--primary);
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 5px;
  border-radius: 3px;
  white-space: nowrap;
}

/* 28+ 内置命令调度面板 */
.chat-commands-panel {
  background: rgba(14, 18, 26, 0.95);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 240, 255, 0.08);
}

.cmd-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cmd-panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
}

.cmd-icon {
  color: var(--primary);
  font-size: 1.3rem;
}

.cmd-panel-sub {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.cmd-groups-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.cmd-group-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cg-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.cg-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cg-list li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.84rem;
}

.cg-list li code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--primary);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.22);
  padding: 2px 7px;
  border-radius: 4px;
  width: fit-content;
  white-space: nowrap;
}

.cg-list li span {
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   ArchonGUI In-Game DX12/ImGui Authentic Mockup & About Window
   ========================================================================== */
.preview-section {
  padding: 90px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(16, 20, 30, 0.5) 50%, transparent 100%);
}

.archon-gui-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}

/* 主控制台窗口 (精确还原 760px x 475px, 对应实机 380*2 x 237.5*2) */
.archon-gui {
  width: 760px;
  height: 475px;
  background: rgba(22, 25, 28, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  box-shadow: 0 0 35px rgba(10, 14, 20, 0.8), 0 20px 60px rgba(0, 0, 0, 0.75);
  display: flex;
  overflow: hidden;
  position: relative;
  font-family: var(--font-main);
  user-select: none;
}

/* 左侧边栏 (Sidebar: 100px, 对应实机 m_sidebarWidth = 100.0f) */
.gui-sidebar {
  width: 100px;
  background: rgba(20, 24, 26, 0.98);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

/* 顶部 Logo 按钮 (点击可触发 About 窗口) */
.gui-logo-btn {
  width: 60px;
  height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
  padding: 4px;
}

.gui-logo-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: scale(1.05);
}

.sidebar-logo {
  width: 45px;
  height: 35px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.35));
}

.logo-tip-badge {
  position: absolute;
  bottom: -4px;
  font-size: 0.65rem;
  background: rgba(0, 240, 255, 0.2);
  color: var(--primary);
  border: 1px solid rgba(0, 240, 255, 0.4);
  padding: 1px 5px;
  border-radius: 4px;
  line-height: 1;
  font-family: var(--font-mono);
}

.sidebar-sep {
  width: 50px;
  height: 1px;
  background: rgba(128, 128, 128, 0.35);
  margin: 14px 0 16px;
}

/* 4 大分类按钮组 (实机 itemHeight = 40.0f) */
.sidebar-tabs {
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.sidebar-tab {
  height: 40px;
  width: 100%;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.sidebar-tab:hover {
  color: rgba(255, 255, 255, 0.85);
}

.sidebar-tab.active {
  color: #ffffff;
}

/* 分类左侧高亮白色指示条 */
.sidebar-indicator {
  position: absolute;
  left: 0;
  top: 5px;
  width: 3px;
  height: 30px;
  background: #ffffff;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  transition: top 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

/* 底部 Steam 头像与 Tooltip (实机 avatarSize = 44.0f) */
.sidebar-profile {
  margin-top: auto;
  position: relative;
  cursor: pointer;
}

.profile-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: block;
  transition: var(--transition);
}

.sidebar-profile:hover .profile-avatar {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

/* 实机 ImGui Tooltip 浮层 */
.steam-tooltip {
  position: absolute;
  left: 54px;
  bottom: -6px;
  background: rgba(22, 25, 28, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  gap: 5px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: var(--transition);
  z-index: 100;
  font-size: 0.82rem;
}

.sidebar-profile:hover .steam-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.tt-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e5e7eb;
}

.tt-row strong {
  color: #9ca3af;
  min-width: 60px;
}

.tt-row code {
  font-family: var(--font-mono);
  color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
  padding: 1px 4px;
  border-radius: 3px;
}

.usertype-badge {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.75rem;
}

/* 右侧内容主区域 */
.gui-content {
  flex: 1;
  padding: 14px 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gui-pane {
  display: none;
  height: 100%;
  animation: fadeIn 0.25s ease;
}

.gui-pane.active {
  display: block;
}

/* --------------------------------------------------------------------------
   1. Players 分类 (左列 220px, 右列详情)
   -------------------------------------------------------------------------- */
.players-columns {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  height: 100%;
}

.players-list-col {
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding-right: 14px;
  display: flex;
  flex-direction: column;
}

.col-title {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.players-scroll-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}

.player-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.85rem;
}

.player-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.player-item.selected {
  background: rgba(255, 255, 255, 0.12);
  border-left: 2px solid var(--primary);
}

.p-name {
  color: #ffffff;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p-name.host {
  color: #ff5252;
  font-weight: 700;
}

.p-name.dead {
  color: #7f1d1d;
  text-decoration: line-through;
}

/* 语音状态指示器 */
.player-voice-status {
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.voice-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
}

.voice-bars i {
  display: block;
  width: 2px;
  height: 4px;
  background: #4ade80;
  border-radius: 1px;
}

.voice-bars.active i:nth-child(1) { height: 6px; animation: voiceBar 0.8s infinite ease-in-out; }
.voice-bars.active i:nth-child(2) { height: 10px; animation: voiceBar 0.6s infinite ease-in-out 0.2s; }
.voice-bars.active i:nth-child(3) { height: 7px; animation: voiceBar 0.7s infinite ease-in-out 0.4s; }

@keyframes voiceBar {
  0%, 100% { height: 3px; }
  50% { height: 10px; }
}

.voice-rec-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulseRec 1.2s infinite;
}

@keyframes pulseRec {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

.voice-muted-icon {
  font-size: 0.7rem;
  color: #ef4444;
}

/* 玩家右侧详情区 */
.players-detail-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.detail-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.detail-avatar {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.detail-name-box {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.detail-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.mini-archon-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.detail-ids {
  display: flex;
  gap: 14px;
  font-size: 0.76rem;
  color: var(--text-dim);
}

.detail-ids code {
  color: var(--primary);
  font-family: var(--font-mono);
}

.detail-stats-grid {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.s-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.s-val {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
}

.s-val.green { color: #34d399; }
.s-val.cyan { color: var(--primary); }

.bar-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 2px;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #00f0ff, #34d399);
}

.detail-tabs-bar {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 5px;
  padding: 2px;
  gap: 4px;
}

.d-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 4px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.d-tab-btn.active, .d-tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.voice-tab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.audio-wave-plot {
  background: #090c12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px 8px;
}

.wave-svg {
  width: 100%;
  height: 100%;
}

.ac-status-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
  color: #d1d5db;
}

.ac-status-box strong.green {
  color: #34d399;
}

.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.action-group-title {
  font-size: 0.76rem;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

.action-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ImGui 原生按钮风格 */
.imgui-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e5e7eb;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
  outline: none;
}

.imgui-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.imgui-btn.primary {
  background: rgba(0, 240, 255, 0.18);
  border-color: rgba(0, 240, 255, 0.4);
  color: var(--primary);
  font-weight: 600;
}

.imgui-btn.primary:hover {
  background: rgba(0, 240, 255, 0.3);
}

.imgui-btn.danger {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.imgui-btn.danger:hover {
  background: rgba(239, 68, 68, 0.3);
}

.imgui-btn.danger-outline {
  background: transparent;
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  font-size: 0.78rem;
}

/* --------------------------------------------------------------------------
   2. Modules 分类 (深度 1:1 复刻 Archon 实机 ModuleRenderer 控件)
   -------------------------------------------------------------------------- */
.modules-two-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  height: 100%;
  overflow-y: auto;
  padding: 6px 12px 14px;
}

.mod-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.archon-mod-card {
  background: rgba(30, 32, 34, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  overflow: hidden;
  transition: var(--transition);
}

.archon-mod-card.active {
  background: #14181a;
  border-color: rgba(0, 240, 255, 0.28);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.1);
}

.archon-mod-card.inactive {
  background: rgba(22, 25, 28, 0.6);
  opacity: 0.75;
}

.mod-header-line {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}

.mod-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.mod-name.dim {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

.mod-keybind {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  padding: 2px 7px;
  border-radius: 4px;
}

.mod-keybind.dim {
  color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* 模块子参数树形层级 */
.mod-tree-settings {
  position: relative;
  padding: 6px 14px 12px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tree-line {
  position: absolute;
  left: 14px;
  top: 10px;
  bottom: 12px;
  width: 2px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 1px;
}

.mod-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
  height: 26px;
}

.set-label {
  color: #d1d5db;
  min-width: 70px;
  font-size: 0.8rem;
}

.set-slider-track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  position: relative;
}

.set-slider-fill {
  height: 100%;
  background: #ffffff;
  border-radius: 2px;
}

.set-slider-knob {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  position: absolute;
  top: -3px;
  transform: translateX(-50%);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.6);
}

.set-val-box {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1px 6px;
  border-radius: 3px;
  min-width: 38px;
  text-align: right;
}

.set-bool-track {
  width: 36px;
  height: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  position: relative;
}

.set-bool-track.active {
  background: rgba(0, 240, 255, 0.25);
  border-color: rgba(0, 240, 255, 0.5);
}

.set-bool-knob {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #00f0ff;
  position: absolute;
  top: 2px;
  right: 2px;
  box-shadow: 0 0 6px #00f0ff;
}

.set-bool-knob.off {
  background: #6b7280;
  right: auto;
  left: 2px;
  box-shadow: none;
}

.set-mode-box {
  font-size: 0.76rem;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   3. MapLoad 分类 (双列地图搜索与模式加载)
   -------------------------------------------------------------------------- */
.mapload-columns {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 18px;
  height: 100%;
}

.map-list-col {
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding-right: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.map-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  padding: 6px 10px;
}

.map-search-bar input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.82rem;
  width: 100%;
}

.map-scroll-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}

.map-entry {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: var(--transition);
}

.map-entry:hover {
  background: rgba(255, 255, 255, 0.06);
}

.map-entry.active {
  background: rgba(236, 72, 153, 0.12);
  border-left: 2px solid #ec4899;
}

.map-idx {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

.map-text {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.map-text strong {
  font-size: 0.84rem;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.map-text small {
  font-size: 0.68rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.map-detail-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.map-info-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
}

.info-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-line span { color: var(--text-muted); }
.info-line code { color: #f472b6; font-family: var(--font-mono); }

.map-mode-select {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
}

.imgui-combo {
  background: rgba(20, 24, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 5px;
  outline: none;
  font-family: var(--font-main);
  font-size: 0.85rem;
}

.map-options-line {
  display: flex;
  gap: 20px;
  font-size: 0.82rem;
}

.imgui-chk-label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: #d1d5db;
}

.map-action-box {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.map-status-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #34d399;
  font-family: var(--font-mono);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px #34d399;
}

/* --------------------------------------------------------------------------
   4. ServerList 分类 (双协议大厅浏览器)
   -------------------------------------------------------------------------- */
.serverlist-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.server-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.server-mode-btns {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px;
  border-radius: 6px;
}

.server-mode-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.server-mode-btn.active {
  background: rgba(0, 240, 255, 0.2);
  color: var(--primary);
}

.server-filter-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.server-cards-scroll {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.server-row {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 5px;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: 2fr 1fr 0.8fr 0.8fr 1fr;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  transition: var(--transition);
}

.server-row:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.s-col-name {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.s-col-name strong { color: #fff; }

.proto-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 700;
}

.proto-tag.steam {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.proto-tag.eos {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.s-col-host span { color: #9ca3af; }
.s-col-players strong { color: #fff; font-family: var(--font-mono); }

.ping-badge {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 2px 6px;
  border-radius: 4px;
}

.ping-badge.green { color: #34d399; background: rgba(16, 185, 129, 0.1); }
.ping-badge.yellow { color: #fbbf24; background: rgba(245, 158, 11, 0.1); }

/* --------------------------------------------------------------------------
   5. 悬浮窗口: About Archon / GUI Settings (实机 DrawAboutWindow 复刻)
   -------------------------------------------------------------------------- */
.about-window {
  width: 250px;
  height: 310px;
  background: rgba(22, 25, 28, 0.96);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
  display: none;
  flex-direction: column;
  position: absolute;
  top: 40px;
  right: -270px;
  z-index: 50;
  animation: fadeIn 0.2s ease;
}

.about-window.open {
  display: flex;
}

.about-header {
  height: 30px;
  background: rgba(30, 32, 34, 0.95);
  border-radius: 5px 5px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.about-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
}

.about-close-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1;
}

.about-close-btn:hover {
  color: #ff5252;
}

.about-body {
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-subtitle {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

.about-sep {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.about-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #d1d5db;
}

.theme-bubbles {
  display: flex;
  gap: 8px;
}

.theme-bubble {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition);
}

.theme-bubble.dark { background: #16191c; }
.theme-bubble.light { background: #e5e7eb; }
.theme-bubble.blue { background: #1b1c2c; }

.theme-bubble.active, .theme-bubble:hover {
  outline: 2px solid #3b82f6;
  outline-offset: 1px;
}

.about-sliders {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.about-slider-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
}

.s-name {
  min-width: 50px;
  color: #9ca3af;
}

.s-track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  position: relative;
}

.s-fill {
  height: 100%;
  background: #ffffff;
  border-radius: 2px;
}

.s-thumb {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  position: absolute;
  top: -2px;
  transform: translateX(-50%);
}

.s-num {
  font-family: var(--font-mono);
  color: #ffffff;
  min-width: 26px;
  text-align: right;
}

/* 响应式适配 */
@media (max-width: 1024px) {
  .archon-gui-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .about-window {
    position: static;
    margin-top: 14px;
  }
}

@media (max-width: 768px) {
  .archon-gui {
    width: 100%;
    height: auto;
    min-height: 460px;
    flex-direction: column;
  }
  .gui-sidebar {
    width: 100%;
    height: auto;
    flex-direction: row;
    padding: 8px 12px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    justify-content: space-between;
  }
  .sidebar-sep {
    display: none;
  }
  .sidebar-tabs {
    flex-direction: row;
    width: auto;
    gap: 4px;
  }
  .sidebar-tab {
    width: auto;
    padding: 0 8px;
  }
  .sidebar-indicator {
    display: none;
  }
  .players-columns, .modules-two-cols, .mapload-columns {
    grid-template-columns: 1fr;
  }
  .server-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ==========================================================================
   Pricing Section (Monthly 19.99, Half-Year 69, Annual 109)
   ========================================================================== */
.pricing-section {
  padding: 90px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 40px;
}

.pricing-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.pricing-card.popular {
  background: linear-gradient(180deg, rgba(24, 30, 48, 0.9) 0%, rgba(14, 18, 30, 0.95) 100%);
  border: 1.5px solid var(--primary);
  box-shadow: 0 20px 50px rgba(0, 240, 255, 0.18);
  transform: scale(1.03);
  z-index: 2;
}

.pricing-card.popular:hover {
  transform: scale(1.03) translateY(-6px);
  box-shadow: 0 25px 60px rgba(0, 240, 255, 0.28);
}

.popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #00f0ff, #0077ff);
  color: #050b14;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.plan-name {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  min-height: 42px;
  margin-bottom: 20px;
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.currency {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
}

.amount {
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-main);
  letter-spacing: -1px;
}

.period {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-left: 6px;
}

.pricing-features {
  flex-grow: 1;
  margin-bottom: 30px;
}

.pricing-features ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.pricing-features li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  color: #d1d5db;
  line-height: 1.6;
  display: block;
}

.pricing-features .check {
  position: absolute;
  left: 0;
  top: 0;
  color: #10b981;
  font-weight: 700;
  font-family: var(--font-mono);
  line-height: 1.6;
  user-select: none;
}

.pricing-features li strong {
  color: #ffffff;
  font-weight: 700;
  display: inline;
}

.pricing-features code {
  color: var(--primary);
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 5px;
  border-radius: 3px;
  display: inline;
  white-space: nowrap;
}

.pricing-footer {
  margin-top: auto;
}

/* ==========================================================================
   Commitments Section (包更新 · 包安装 · 包售后)
   ========================================================================== */
.commitments-section {
  padding: 80px 0;
  position: relative;
  background: linear-gradient(180deg, rgba(16, 20, 32, 0.3) 0%, rgba(10, 12, 18, 0.8) 100%);
}

.commitments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.commitment-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  text-align: center;
}

.commitment-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.commitment-icon {
  font-size: 2.8rem;
  margin-bottom: 18px;
}

.commitment-title {
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.commitment-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.commitment-desc strong {
  color: var(--primary);
}

/* ==========================================================================
   FAQ Accordion Section
   ========================================================================== */
.faq-section {
  padding: 90px 0;
}

.faq-accordion {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: rgba(0, 240, 255, 0.35);
  background: var(--bg-card-hover);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-main);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
}

.faq-toggle-icon {
  font-size: 1.4rem;
  color: var(--primary);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
  margin-left: 16px;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 26px;
}

.faq-item.active .faq-answer {
  max-height: 280px;
  padding: 0 26px 24px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-answer strong {
  color: var(--text-main);
}

/* ==========================================================================
   Community & Support Section
   ========================================================================== */
.community-section {
  padding: 80px 0 100px;
}

.community-card {
  background: linear-gradient(135deg, rgba(20, 26, 42, 0.9) 0%, rgba(13, 17, 27, 0.95) 100%);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(0, 240, 255, 0.1);
}

.community-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.community-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.qq-info-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 28px;
}

.qq-avatar img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.qq-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.qq-number-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.92rem;
}

.qq-label {
  color: var(--text-dim);
}

.qq-code {
  color: var(--primary);
  font-weight: 600;
}

.btn-copy {
  background: rgba(0, 240, 255, 0.15);
  color: var(--primary);
  border: 1px solid rgba(0, 240, 255, 0.3);
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-copy:hover {
  background: var(--primary);
  color: #000;
}

.action-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.community-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.qr-placeholder-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed rgba(0, 240, 255, 0.35);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  max-width: 240px;
  cursor: pointer;
  transition: var(--transition);
}

.qr-placeholder-box:hover {
  border-color: var(--primary);
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
}

.qr-image {
  width: 160px;
  height: 160px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 12px;
}

.qr-tip {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Modal & Toast
   ========================================================================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}

.modal-box {
  position: relative;
  background: #121724;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 36px;
  width: 90%;
  max-width: 360px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 10;
}

.modal.open .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text-main);
}

.modal-title {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.modal-qr {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.modal-img {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  border: 2px solid var(--primary);
  object-fit: cover;
}

.modal-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #111827;
  color: #fff;
  border: 1px solid var(--primary);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.3);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #080a0f;
  border-top: 1px solid var(--border-color);
  padding: 70px 0 40px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 14px;
}

.footer-logo {
  height: 28px;
  width: auto;
}

.footer-slogan {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #f3f4f6;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--primary);
}

.disclaimer-col .disclaimer-text {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-highlights {
    grid-template-columns: repeat(2, 1fr);
  }
  .managers-cards-grid {
    grid-template-columns: 1fr;
  }
  .chat-features-quad {
    grid-template-columns: 1fr;
  }
  .cmd-groups-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .pricing-card.popular {
    transform: none;
  }
  .pricing-card.popular:hover {
    transform: translateY(-6px);
  }
  .commitments-grid {
    grid-template-columns: 1fr;
  }
  .community-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .community-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .action-buttons {
    justify-content: center;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 67px;
    left: 0;
    width: 100%;
    background: rgba(10, 12, 18, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-desc {
    font-size: 1.05rem;
  }

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

  .features-grid {
    grid-template-columns: 1fr;
  }

  .mockup-body {
    grid-template-columns: 1fr;
  }

  .mockup-sidebar {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }

  .mock-tab.active {
    border-left: none;
    border-bottom: 2px solid var(--primary);
  }

  .player-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .mock-modules-grid {
    grid-template-columns: 1fr;
  }

  .server-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}
