/* ============================================
   巅峰国际·机甲指挥中心 - 核心样式表
   Combat Command Center Grid Layout
   ============================================ */

/* --- CSS变量定义 --- */
:root {
  --mech-titanium: #37474f;
  --mech-titanium-dark: #263238;
  --mech-titanium-light: #455a64;
  --mech-energy-red: #f44336;
  --mech-energy-red-glow: rgba(244, 67, 54, 0.6);
  --mech-blue: #0277bd;
  --mech-blue-glow: rgba(2, 119, 189, 0.5);
  --mech-core-yellow: #ffc107;
  --mech-core-yellow-glow: rgba(255, 193, 7, 0.5);
  --mech-armor-white: #eceff1;
  --mech-armor-light: #cfd8dc;
  --mech-bg-dark: #1a2332;
  --mech-bg-panel: rgba(38, 50, 56, 0.92);
  --mech-border: rgba(2, 119, 189, 0.3);
  --mech-font-title: 'Chakra Petch', 'Microsoft YaHei', sans-serif;
  --mech-font-body: 'Space Grotesk', 'Microsoft YaHei', sans-serif;
  --mech-radius: 4px;
  --mech-glow-sm: 0 0 8px;
  --mech-glow-md: 0 0 16px;
  --mech-glow-lg: 0 0 32px;
}

/* --- 全局重置 --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--mech-font-body);
  background-color: var(--mech-bg-dark);
  color: var(--mech-armor-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--mech-blue);
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
  color: var(--mech-energy-red);
  text-shadow: var(--mech-glow-sm) var(--mech-energy-red-glow);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--mech-font-title);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 1px;
}

/* --- 机甲启动序列 --- */
#cmd-boot-sequence {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--mech-bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.8s ease;
}

#cmd-boot-sequence.mech-boot-done {
  opacity: 0;
  pointer-events: none;
}

.mech-energy-core {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--mech-blue);
  position: relative;
  animation: mech-core-spin 1.5s linear infinite;
}

.mech-energy-core::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background: var(--mech-core-yellow);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: var(--mech-glow-lg) var(--mech-core-yellow-glow);
  animation: mech-core-pulse 0.8s ease-in-out infinite alternate;
}

.mech-energy-core::after {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--mech-blue);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: var(--mech-glow-md) var(--mech-blue-glow);
}

.mech-boot-text {
  font-family: var(--mech-font-title);
  font-size: 1.1rem;
  color: var(--mech-blue);
  margin-top: 24px;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0;
  animation: mech-text-appear 0.5s ease forwards 1s;
}

@keyframes mech-core-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes mech-core-pulse {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

@keyframes mech-text-appear {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* --- 导航栏 --- */
#cmd-nav-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(26, 35, 50, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mech-border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.mech-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 64px;
}

.mech-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mech-logo-img {
  height: 40px;
  width: auto;
}

.mech-nav-list {
  display: flex;
  list-style: none;
  gap: 0;
}

.mech-nav-item {
  position: relative;
}

.mech-nav-link {
  display: block;
  padding: 20px 14px;
  font-family: var(--mech-font-title);
  font-size: 0.88rem;
  color: var(--mech-armor-white);
  letter-spacing: 1px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.mech-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--mech-energy-red);
  box-shadow: var(--mech-glow-sm) var(--mech-energy-red-glow);
  transition: width 0.3s ease, left 0.3s ease;
}

.mech-nav-link:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.mech-nav-link:hover::after {
  width: 80%;
  left: 10%;
}

.mech-nav-link.mech-active {
  color: var(--mech-core-yellow);
}

.mech-nav-link.mech-active::after {
  width: 80%;
  left: 10%;
  background: var(--mech-core-yellow);
  box-shadow: var(--mech-glow-sm) var(--mech-core-yellow-glow);
}

/* 移动端菜单按钮 */
.mech-menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--mech-blue);
  color: var(--mech-armor-white);
  padding: 8px 12px;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: var(--mech-radius);
}

/* --- 通用容器 --- */
.mech-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- 战术模块通用样式 --- */
.cmd-module {
  position: relative;
  margin-bottom: 40px;
  padding: 40px 30px;
  background: var(--mech-bg-panel);
  border: 1px solid var(--mech-border);
  border-radius: var(--mech-radius);
  overflow: hidden;
}

.cmd-module::before {
  content: attr(data-module-id);
  position: absolute;
  top: 8px;
  right: 12px;
  font-family: var(--mech-font-title);
  font-size: 0.7rem;
  color: var(--mech-blue);
  opacity: 0.5;
  letter-spacing: 2px;
}

.cmd-module::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--mech-blue), transparent);
}

/* --- 模块标题 --- */
.mech-section-title {
  text-align: center;
  margin-bottom: 36px;
}

.mech-section-title h2 {
  font-size: 1.8rem;
  color: var(--mech-armor-white);
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.mech-section-title h2 span {
  color: var(--mech-energy-red);
}

.mech-section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--mech-energy-red);
  box-shadow: var(--mech-glow-sm) var(--mech-energy-red-glow);
}

.mech-section-title p {
  margin-top: 12px;
  color: var(--mech-armor-light);
  font-size: 0.95rem;
}

/* --- Hero模块 --- */
#cmd-hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--mech-bg-dark) 0%, var(--mech-titanium-dark) 50%, #0d1b2a 100%);
  overflow: hidden;
  margin-top: 64px;
}

.mech-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 30% 50%, rgba(2, 119, 189, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(244, 67, 54, 0.1) 0%, transparent 60%);
  z-index: 1;
}

.mech-hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(2, 119, 189, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 119, 189, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 2;
}

.mech-hero-content {
  position: relative;
  z-index: 10;
  padding: 0 20px;
}

.mech-hero-content h1 {
  font-size: 3.2rem;
  color: var(--mech-armor-white);
  text-shadow: 0 0 40px rgba(2, 119, 189, 0.4);
  margin-bottom: 16px;
}

.mech-hero-slogan {
  font-family: var(--mech-font-title);
  font-size: 1.3rem;
  color: var(--mech-core-yellow);
  letter-spacing: 6px;
  margin-bottom: 32px;
  text-shadow: var(--mech-glow-sm) var(--mech-core-yellow-glow);
}

.mech-hero-desc {
  font-size: 1rem;
  color: var(--mech-armor-light);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* --- CTA按钮 --- */
.mech-btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--mech-energy-red);
  color: #fff;
  font-family: var(--mech-font-title);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  border: none;
  border-radius: var(--mech-radius);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
}

.mech-btn-primary::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 2px solid var(--mech-energy-red);
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: none;
}

.mech-btn-primary:hover {
  background: #d32f2f;
  box-shadow: var(--mech-glow-md) var(--mech-energy-red-glow);
  color: #fff;
  transform: translateY(-1px);
}

.mech-btn-primary:hover::before {
  opacity: 1;
  animation: mech-lock-on 1.5s linear infinite;
}

@keyframes mech-lock-on {
  0%, 100% { border-color: var(--mech-energy-red); }
  50% { border-color: var(--mech-core-yellow); }
}

.mech-btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  background: transparent;
  color: var(--mech-blue);
  font-family: var(--mech-font-title);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  border: 2px solid var(--mech-blue);
  border-radius: var(--mech-radius);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.mech-btn-secondary:hover {
  background: var(--mech-blue);
  color: #fff;
  box-shadow: var(--mech-glow-md) var(--mech-blue-glow);
}

/* --- 赔率战术数据屏 --- */
#cmd-tactical-screen {
  background: linear-gradient(180deg, rgba(2, 119, 189, 0.08) 0%, var(--mech-bg-panel) 100%);
  border-color: var(--mech-blue);
}

.mech-odds-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mech-font-title);
}

.mech-odds-table thead th {
  background: rgba(2, 119, 189, 0.2);
  color: var(--mech-blue);
  padding: 12px 16px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  border-bottom: 2px solid var(--mech-blue);
  text-align: center;
}

.mech-odds-table tbody td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(2, 119, 189, 0.15);
  font-size: 0.95rem;
  transition: background 0.3s ease;
}

.mech-odds-table tbody tr:hover td {
  background: rgba(2, 119, 189, 0.08);
}

.mech-odds-best {
  color: var(--mech-energy-red);
  font-weight: 700;
  text-shadow: var(--mech-glow-sm) var(--mech-energy-red-glow);
  animation: mech-blink 2s ease-in-out infinite;
}

.mech-odds-badge {
  display: inline-block;
  background: var(--mech-energy-red);
  color: #fff;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 2px;
  margin-left: 4px;
  vertical-align: middle;
}

@keyframes mech-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.mech-timestamp {
  text-align: right;
  font-size: 0.78rem;
  color: var(--mech-armor-light);
  margin-top: 12px;
  font-family: var(--mech-font-title);
}

/* --- 模拟战斗舱 --- */
.mech-sim-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mech-sim-pod {
  background: linear-gradient(180deg, var(--mech-titanium) 0%, var(--mech-titanium-dark) 100%);
  border: 2px solid var(--mech-border);
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.mech-sim-pod::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 60%, rgba(2, 119, 189, 0.15) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mech-sim-pod:hover {
  border-color: var(--mech-blue);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(2, 119, 189, 0.2);
}

.mech-sim-pod:hover::before {
  opacity: 1;
}

.mech-sim-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(2, 119, 189, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border: 2px solid var(--mech-blue);
  position: relative;
  z-index: 1;
}

.mech-sim-pod h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.mech-sim-pod p {
  font-size: 0.85rem;
  color: var(--mech-armor-light);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

/* --- 机甲编队阵列 --- */
.mech-squad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mech-card {
  background: linear-gradient(180deg, var(--mech-titanium) 0%, var(--mech-titanium-dark) 100%);
  border: 1px solid var(--mech-border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
}

.mech-card:hover {
  transform: perspective(800px) rotateX(-3deg) translateY(-6px);
  border-color: var(--mech-energy-red);
  box-shadow: 0 12px 40px rgba(244, 67, 54, 0.2);
}

.mech-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid var(--mech-border);
}

.mech-card-body {
  padding: 20px;
}

.mech-card-name {
  font-family: var(--mech-font-title);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.mech-card-code {
  font-size: 0.78rem;
  color: var(--mech-blue);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.mech-card-score {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 193, 7, 0.15);
  border: 1px solid var(--mech-core-yellow);
  border-radius: 4px;
  padding: 4px 10px;
  font-family: var(--mech-font-title);
  font-size: 0.9rem;
  color: var(--mech-core-yellow);
  margin-bottom: 12px;
}

.mech-card-desc {
  font-size: 0.88rem;
  color: var(--mech-armor-light);
  margin-bottom: 16px;
  line-height: 1.6;
}

.mech-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mech-card:hover .mech-card-tags {
  opacity: 1;
}

.mech-card-tag {
  font-size: 0.72rem;
  padding: 3px 8px;
  background: rgba(244, 67, 54, 0.15);
  border: 1px solid var(--mech-energy-red);
  border-radius: 2px;
  color: var(--mech-energy-red);
}

/* --- 新兵装备补给 --- */
.mech-supply-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.mech-supply-item {
  background: var(--mech-titanium);
  border: 1px solid var(--mech-border);
  border-radius: 6px;
  padding: 20px;
  transition: all 0.3s ease;
}

.mech-supply-item:hover {
  border-color: var(--mech-core-yellow);
  box-shadow: 0 4px 20px rgba(255, 193, 7, 0.15);
}

.mech-supply-platform {
  font-family: var(--mech-font-title);
  font-size: 0.85rem;
  color: var(--mech-blue);
  margin-bottom: 6px;
}

.mech-supply-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mech-core-yellow);
  margin-bottom: 8px;
}

.mech-supply-desc {
  font-size: 0.85rem;
  color: var(--mech-armor-light);
  margin-bottom: 12px;
}

.mech-supply-expire {
  font-size: 0.75rem;
  color: var(--mech-armor-light);
  opacity: 0.7;
}

/* --- 战功勋章榜 --- */
#cmd-medal-wall {
  border-color: var(--mech-core-yellow);
}

#cmd-medal-wall::after {
  background: linear-gradient(180deg, var(--mech-core-yellow), transparent);
}

.mech-medal-list {
  max-height: 360px;
  overflow: hidden;
  position: relative;
}

.mech-medal-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 193, 7, 0.15);
  animation: mech-scroll-up 20s linear infinite;
}

.mech-medal-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mech-core-yellow), #ff8f00);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.mech-medal-info {
  flex: 1;
}

.mech-medal-user {
  font-family: var(--mech-font-title);
  font-size: 0.85rem;
  color: var(--mech-core-yellow);
}

.mech-medal-detail {
  font-size: 0.8rem;
  color: var(--mech-armor-light);
}

.mech-medal-amount {
  font-family: var(--mech-font-title);
  font-size: 1.1rem;
  color: var(--mech-energy-red);
  font-weight: 700;
  white-space: nowrap;
}

/* --- 机甲编年史 --- */
.mech-timeline {
  position: relative;
  padding: 20px 0;
}

.mech-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--mech-blue);
  transform: translateX(-50%);
}

.mech-timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
}

.mech-timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.mech-timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.mech-timeline-dot {
  position: absolute;
  top: 28px;
  width: 20px;
  height: 20px;
  background: var(--mech-bg-dark);
  border: 3px solid var(--mech-blue);
  border-radius: 50%;
  z-index: 2;
}

.mech-timeline-item:nth-child(odd) .mech-timeline-dot {
  right: -10px;
}

.mech-timeline-item:nth-child(even) .mech-timeline-dot {
  left: -10px;
}

.mech-timeline-year {
  font-family: var(--mech-font-title);
  font-size: 1.4rem;
  color: var(--mech-core-yellow);
  margin-bottom: 6px;
}

.mech-timeline-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.mech-timeline-desc {
  font-size: 0.88rem;
  color: var(--mech-armor-light);
  line-height: 1.6;
}

/* --- 牌照认证 --- */
#cmd-license-module {
  text-align: center;
  border-color: var(--mech-core-yellow);
}

.mech-license-badge {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 3px solid var(--mech-core-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mech-font-title);
  font-size: 0.75rem;
  color: var(--mech-core-yellow);
  text-align: center;
  line-height: 1.3;
  animation: mech-hologram 4s ease-in-out infinite;
  background: rgba(255, 193, 7, 0.08);
}

@keyframes mech-hologram {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 193, 7, 0.3); }
  50% { box-shadow: 0 0 40px rgba(255, 193, 7, 0.6); }
}

.mech-license-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.92rem;
  color: var(--mech-armor-light);
  line-height: 1.8;
}

.mech-cert-logos {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.mech-cert-item {
  padding: 10px 20px;
  border: 1px solid var(--mech-border);
  border-radius: 4px;
  font-family: var(--mech-font-title);
  font-size: 0.8rem;
  color: var(--mech-armor-light);
}

/* --- 代理招募 --- */
#cmd-recruit-module {
  background: linear-gradient(135deg, var(--mech-bg-panel) 0%, rgba(244, 67, 54, 0.08) 100%);
  border-color: var(--mech-energy-red);
}

.mech-recruit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.mech-recruit-info h3 {
  font-size: 1.4rem;
  color: var(--mech-energy-red);
  margin-bottom: 16px;
}

.mech-recruit-info p {
  font-size: 0.92rem;
  color: var(--mech-armor-light);
  margin-bottom: 20px;
  line-height: 1.8;
}

.mech-recruit-benefits {
  list-style: none;
  margin-bottom: 20px;
}

.mech-recruit-benefits li {
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--mech-armor-white);
  position: relative;
  padding-left: 20px;
}

.mech-recruit-benefits li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--mech-energy-red);
  font-family: var(--mech-font-title);
  font-weight: 700;
}

.mech-form-group {
  margin-bottom: 16px;
}

.mech-form-label {
  display: block;
  font-family: var(--mech-font-title);
  font-size: 0.82rem;
  color: var(--mech-blue);
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.mech-form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--mech-titanium-dark);
  border: 1px solid var(--mech-border);
  border-radius: var(--mech-radius);
  color: var(--mech-armor-white);
  font-family: var(--mech-font-body);
  font-size: 0.9rem;
  transition: border-color 0.3s ease;
}

.mech-form-input:focus {
  outline: none;
  border-color: var(--mech-blue);
  box-shadow: 0 0 10px var(--mech-blue-glow);
}

.mech-form-textarea {
  min-height: 100px;
  resize: vertical;
}

/* --- 负责任博弈 --- */
#cmd-responsible-module {
  text-align: center;
  border-color: var(--mech-energy-red);
  background: linear-gradient(180deg, var(--mech-bg-panel) 0%, rgba(244, 67, 54, 0.05) 100%);
}

.mech-age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid var(--mech-energy-red);
  font-family: var(--mech-font-title);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--mech-energy-red);
  margin-bottom: 16px;
}

.mech-responsible-text {
  max-width: 700px;
  margin: 0 auto;
  font-size: 0.92rem;
  color: var(--mech-armor-light);
  line-height: 1.8;
}

/* --- 页脚 --- */
#cmd-footer {
  background: var(--mech-titanium-dark);
  border-top: 2px solid var(--mech-border);
  padding: 40px 0 20px;
  margin-top: 60px;
}

.mech-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.mech-footer-col h4 {
  font-family: var(--mech-font-title);
  font-size: 0.95rem;
  color: var(--mech-blue);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.mech-footer-links {
  list-style: none;
}

.mech-footer-links li {
  margin-bottom: 8px;
}

.mech-footer-links a {
  font-size: 0.85rem;
  color: var(--mech-armor-light);
  transition: color 0.3s ease;
}

.mech-footer-links a:hover {
  color: var(--mech-energy-red);
}

.mech-footer-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  justify-content: center;
}

.mech-partner-badge {
  padding: 6px 14px;
  border: 1px solid var(--mech-border);
  border-radius: 4px;
  font-family: var(--mech-font-title);
  font-size: 0.78rem;
  color: var(--mech-armor-light);
  transition: border-color 0.3s ease;
}

.mech-partner-badge:hover {
  border-color: var(--mech-blue);
}

.mech-footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--mech-border);
}

.mech-footer-bottom p {
  font-size: 0.8rem;
  color: var(--mech-armor-light);
  opacity: 0.7;
  margin-bottom: 6px;
}

.mech-footer-18 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--mech-energy-red);
}

.mech-footer-18 span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 2px solid var(--mech-energy-red);
  border-radius: 50%;
  font-family: var(--mech-font-title);
  font-weight: 700;
  font-size: 0.75rem;
}

/* --- 面包屑 --- */
.mech-breadcrumb {
  padding: 16px 0;
  margin-top: 64px;
}

.mech-breadcrumb-list {
  display: flex;
  list-style: none;
  gap: 8px;
  font-size: 0.82rem;
}

.mech-breadcrumb-list li::after {
  content: '>';
  margin-left: 8px;
  color: var(--mech-blue);
}

.mech-breadcrumb-list li:last-child::after {
  display: none;
}

.mech-breadcrumb-list a {
  color: var(--mech-armor-light);
}

.mech-breadcrumb-list .mech-current {
  color: var(--mech-core-yellow);
}

/* --- 内页通用 --- */
.mech-page-hero {
  padding: 100px 0 40px;
  text-align: center;
  background: linear-gradient(180deg, var(--mech-bg-dark) 0%, var(--mech-titanium-dark) 100%);
  margin-top: 64px;
}

.mech-page-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.mech-page-hero p {
  color: var(--mech-armor-light);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.mech-content-area {
  padding: 40px 0;
}

.mech-article {
  max-width: 900px;
  margin: 0 auto;
}

.mech-article h2 {
  font-size: 1.5rem;
  color: var(--mech-armor-white);
  margin: 32px 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--mech-energy-red);
}

.mech-article h3 {
  font-size: 1.2rem;
  color: var(--mech-blue);
  margin: 24px 0 12px;
}

.mech-article p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--mech-armor-light);
}

.mech-article img {
  border-radius: 6px;
  border: 1px solid var(--mech-border);
  margin: 20px 0;
}

/* --- 评测雷达图/评分 --- */
.mech-rating-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.mech-rating-item {
  text-align: center;
  padding: 16px 8px;
  background: var(--mech-titanium);
  border: 1px solid var(--mech-border);
  border-radius: 6px;
}

.mech-rating-label {
  font-family: var(--mech-font-title);
  font-size: 0.78rem;
  color: var(--mech-blue);
  margin-bottom: 8px;
  display: block;
}

.mech-rating-value {
  font-family: var(--mech-font-title);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--mech-core-yellow);
}

.mech-rating-bar {
  width: 100%;
  height: 4px;
  background: var(--mech-titanium-dark);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}

.mech-rating-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--mech-blue), var(--mech-core-yellow));
  border-radius: 2px;
  transition: width 1s ease;
}

/* --- 优缺点对比 --- */
.mech-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}

.mech-pros, .mech-cons {
  padding: 20px;
  border-radius: 6px;
}

.mech-pros {
  background: rgba(2, 119, 189, 0.1);
  border: 1px solid var(--mech-blue);
}

.mech-cons {
  background: rgba(244, 67, 54, 0.08);
  border: 1px solid var(--mech-energy-red);
}

.mech-pros h4 {
  color: var(--mech-blue);
  margin-bottom: 12px;
}

.mech-cons h4 {
  color: var(--mech-energy-red);
  margin-bottom: 12px;
}

.mech-list {
  list-style: none;
}

.mech-list li {
  padding: 6px 0 6px 20px;
  font-size: 0.88rem;
  color: var(--mech-armor-light);
  position: relative;
}

.mech-list li::before {
  content: '>';
  position: absolute;
  left: 0;
  font-family: var(--mech-font-title);
  font-weight: 700;
}

.mech-pros .mech-list li::before {
  color: var(--mech-blue);
}

.mech-cons .mech-list li::before {
  color: var(--mech-energy-red);
}

/* --- FAQ --- */
.mech-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.mech-faq-item {
  border: 1px solid var(--mech-border);
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}

.mech-faq-question {
  padding: 16px 20px;
  background: var(--mech-titanium);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mech-font-title);
  font-size: 0.95rem;
  transition: background 0.3s ease;
}

.mech-faq-question:hover {
  background: var(--mech-titanium-light);
}

.mech-faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  font-size: 0.9rem;
  color: var(--mech-armor-light);
  line-height: 1.7;
}

.mech-faq-item.mech-open .mech-faq-answer {
  max-height: 500px;
  padding: 16px 20px;
}

.mech-faq-toggle {
  color: var(--mech-blue);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.mech-faq-item.mech-open .mech-faq-toggle {
  transform: rotate(45deg);
}

/* --- APP下载 --- */
.mech-download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 30px 0;
}

.mech-download-card {
  background: var(--mech-titanium);
  border: 2px solid var(--mech-border);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.mech-download-card:hover {
  border-color: var(--mech-blue);
  box-shadow: 0 8px 30px var(--mech-blue-glow);
}

.mech-download-card h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--mech-blue);
}

.mech-qr-placeholder {
  width: 160px;
  height: 160px;
  margin: 0 auto 16px;
  border: 2px solid var(--mech-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mech-font-title);
  font-size: 0.8rem;
  color: var(--mech-armor-light);
  background: rgba(2, 119, 189, 0.08);
}

/* --- 干扰标签 --- */
.jammer-block {
  opacity: 0.01;
  position: absolute;
  z-index: -1;
  pointer-events: none;
  left: -9999px;
}

/* --- 模块加载动画 --- */
.mech-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.mech-reveal.mech-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- 响应式设计 --- */
@media (max-width: 1024px) {
  .mech-squad-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .mech-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .mech-rating-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .mech-nav-list {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: rgba(26, 35, 50, 0.98);
    flex-direction: column;
    border-top: 1px solid var(--mech-border);
  }
  
  .mech-nav-list.mech-nav-open {
    display: flex;
  }
  
  .mech-nav-link {
    padding: 14px 20px;
    border-bottom: 1px solid var(--mech-border);
  }
  
  .mech-menu-toggle {
    display: block;
  }
  
  .mech-hero-content h1 {
    font-size: 2rem;
  }
  
  .mech-hero-slogan {
    font-size: 1rem;
    letter-spacing: 3px;
  }
  
  .cmd-module {
    padding: 24px 16px;
  }
  
  .mech-section-title h2 {
    font-size: 1.4rem;
  }
  
  .mech-sim-grid {
    grid-template-columns: 1fr;
  }
  
  .mech-squad-grid {
    grid-template-columns: 1fr;
  }
  
  .mech-supply-list {
    grid-template-columns: 1fr;
  }
  
  .mech-recruit-grid {
    grid-template-columns: 1fr;
  }
  
  .mech-timeline::before {
    left: 20px;
  }
  
  .mech-timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding-left: 50px;
    padding-right: 16px;
  }
  
  .mech-timeline-dot {
    left: 10px !important;
    right: auto !important;
  }
  
  .mech-pros-cons {
    grid-template-columns: 1fr;
  }
  
  .mech-rating-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .mech-download-grid {
    grid-template-columns: 1fr;
  }
  
  .mech-footer-grid {
    grid-template-columns: 1fr;
  }
  
  .mech-page-hero {
    padding: 80px 0 30px;
  }
  
  .mech-page-hero h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .mech-hero-content h1 {
    font-size: 1.6rem;
  }
  
  .mech-btn-primary {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  
  .mech-odds-table {
    font-size: 0.78rem;
  }
  
  .mech-odds-table thead th,
  .mech-odds-table tbody td {
    padding: 8px 6px;
  }
}

/* --- 滚动条美化 --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--mech-bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--mech-titanium-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--mech-blue);
}
