/* ============================================
   LIVE-FORTRESS 主样式表
   CSS前缀: lf-
   军事堡垒风格体育直播聚合站
   ============================================ */

/* --- Google Fonts 本地替代 --- */
@font-face {
  font-family: 'LF-Stencil';
  src: local('Stencil Std'), local('Impact');
  font-weight: bold;
  font-display: swap;
}

/* --- CSS变量 --- */
:root {
  --lf-camo-green: #4B5320;
  --lf-camo-dark: #3a4119;
  --lf-camo-deeper: #2d3313;
  --lf-steel-gray: #8C8C8C;
  --lf-steel-dark: #5a5a5a;
  --lf-signal-red: #FF0000;
  --lf-signal-red-dark: #cc0000;
  --lf-ammo-yellow: #FFD700;
  --lf-white: #f0f0f0;
  --lf-text-light: #d0d0d0;
  --lf-text-dim: #999999;
  --lf-bg-dark: #1a1e0f;
  --lf-bg-footer: #222222;
  --lf-border-steel: #6a6a6a;
  --lf-radius: 2px;
  --lf-spacing-unit: 10px;
  --lf-module-gap: 60px;
  --lf-card-padding: 20px;
  --lf-nav-height: 70px;
}

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

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

body {
  font-family: 'Roboto', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--lf-bg-dark);
  color: var(--lf-text-light);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--lf-ammo-yellow);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--lf-signal-red);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Impact', 'LF-Stencil', 'Arial Black', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lf-white);
  line-height: 1.3;
}

/* --- 导航栏 --- */
#lf-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--lf-nav-height);
  background: linear-gradient(180deg, #7a7a7a 0%, var(--lf-steel-gray) 50%, #6a6a6a 100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 3px 8px rgba(0,0,0,0.6);
  border-bottom: 2px solid var(--lf-steel-dark);
}

.lf-logo {
  font-family: 'Impact', 'LF-Stencil', 'Arial Black', sans-serif;
  font-size: 1.6rem;
  color: var(--lf-white);
  letter-spacing: 4px;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  white-space: nowrap;
}

.lf-logo span {
  color: var(--lf-signal-red);
}

.lf-nav {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.lf-nav li a {
  display: block;
  padding: 0 16px;
  height: var(--lf-nav-height);
  line-height: var(--lf-nav-height);
  color: var(--lf-white);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.lf-nav li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.05) 2px,
    rgba(255,255,255,0.05) 4px
  );
  transition: left 0.4s;
}

.lf-nav li a:hover::before {
  left: 0;
}

.lf-nav li a:hover {
  background: rgba(255,255,255,0.1);
  color: var(--lf-white);
}

.lf-nav li a.lf-active {
  background: var(--lf-signal-red);
  color: #fff;
}

/* 汉堡菜单 */
.lf-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 10001;
}

.lf-hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--lf-white);
  border-radius: 1px;
  transition: all 0.3s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.lf-hamburger.lf-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.lf-hamburger.lf-open span:nth-child(2) {
  opacity: 0;
}

.lf-hamburger.lf-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* 移动端侧边栏 */
.lf-mobile-panel {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100vh;
  background: rgba(75, 83, 32, 0.95);
  z-index: 10000;
  transition: left 0.3s ease;
  padding-top: calc(var(--lf-nav-height) + 20px);
  overflow-y: auto;
}

.lf-mobile-panel.lf-open {
  left: 0;
}

.lf-mobile-panel .lf-mobile-search {
  padding: 0 20px;
  margin-bottom: 20px;
}

.lf-mobile-panel .lf-mobile-search input {
  width: 100%;
  padding: 10px 14px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--lf-steel-gray);
  color: var(--lf-white);
  font-size: 0.9rem;
  border-radius: var(--lf-radius);
}

.lf-mobile-panel .lf-mobile-search input::placeholder {
  color: var(--lf-text-dim);
}

.lf-mobile-nav {
  list-style: none;
}

.lf-mobile-nav li a {
  display: block;
  padding: 14px 24px;
  color: var(--lf-white);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s;
}

.lf-mobile-nav li a:hover,
.lf-mobile-nav li a.lf-active {
  background: var(--lf-signal-red);
}

.lf-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  display: none;
}

.lf-overlay.lf-open {
  display: block;
}

/* --- 模块1: 战情中心巨幕 --- */
#lf-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  margin-top: var(--lf-nav-height);
}

.lf-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lf-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(75, 83, 32, 0.65);
}

.lf-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 0 20px;
}

.lf-hero-slogan {
  font-size: 3.2rem;
  color: #fff;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
  margin-bottom: 30px;
  letter-spacing: 6px;
}

.lf-btn-red {
  display: inline-block;
  padding: 16px 40px;
  background: var(--lf-signal-red);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--lf-radius);
  cursor: pointer;
  box-shadow: inset 0 -3px 0 var(--lf-signal-red-dark), 0 4px 12px rgba(255,0,0,0.3);
  transition: all 0.2s;
  text-decoration: none;
}

.lf-btn-red:hover {
  background: #e60000;
  transform: translateY(-2px);
  box-shadow: inset 0 -3px 0 #b30000, 0 6px 16px rgba(255,0,0,0.4);
  color: #fff;
}

/* --- 模块2: 紧急信号警报 --- */
#lf-alert-bar {
  background: linear-gradient(180deg, #5a5a5a, var(--lf-steel-gray), #5a5a5a);
  padding: 12px 0;
  overflow: hidden;
  border-top: 2px solid var(--lf-signal-red);
  border-bottom: 2px solid var(--lf-signal-red);
  position: relative;
}

.lf-alert-track {
  display: flex;
  animation: lf-scroll-left 30s linear infinite;
  white-space: nowrap;
}

@keyframes lf-scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.lf-alert-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 40px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--lf-white);
}

.lf-alert-dot-live {
  width: 10px;
  height: 10px;
  background: var(--lf-signal-red);
  border-radius: 50%;
  animation: lf-blink 1s infinite;
  flex-shrink: 0;
}

@keyframes lf-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.lf-alert-dot-wait {
  width: 10px;
  height: 10px;
  background: var(--lf-ammo-yellow);
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- 通用模块容器 --- */
.lf-section {
  padding: var(--lf-module-gap) 30px;
  max-width: 1280px;
  margin: 0 auto;
}

.lf-section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  color: var(--lf-ammo-yellow);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  position: relative;
}

.lf-section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--lf-signal-red);
  margin: 12px auto 0;
}

/* --- 模块3: 情报分析简报 --- */
.lf-intel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lf-intel-card {
  background: linear-gradient(135deg, rgba(75,83,32,0.4), rgba(30,33,15,0.8));
  border: 1px solid var(--lf-border-steel);
  border-radius: var(--lf-radius);
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
}

.lf-intel-card-header {
  background: rgba(0,0,0,0.3);
  padding: 16px var(--lf-card-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--lf-border-steel);
}

.lf-intel-card-header .lf-match-teams {
  font-size: 1rem;
  font-weight: 700;
  color: var(--lf-white);
}

.lf-intel-card-header .lf-match-vs {
  color: var(--lf-signal-red);
  font-weight: 900;
  margin: 0 8px;
}

.lf-intel-card-body {
  padding: var(--lf-card-padding);
}

.lf-source-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.lf-source-row:last-child {
  border-bottom: none;
}

.lf-source-name {
  font-weight: 600;
  color: var(--lf-text-light);
}

.lf-signal-bars {
  display: flex;
  gap: 3px;
  align-items: flex-end;
}

.lf-signal-bar {
  width: 5px;
  background: var(--lf-steel-gray);
  border-radius: 1px;
}

.lf-signal-bar:nth-child(1) { height: 8px; }
.lf-signal-bar:nth-child(2) { height: 12px; }
.lf-signal-bar:nth-child(3) { height: 16px; }

.lf-signal-excellent .lf-signal-bar { background: #00cc00; }
.lf-signal-good .lf-signal-bar:nth-child(1),
.lf-signal-good .lf-signal-bar:nth-child(2) { background: var(--lf-ammo-yellow); }
.lf-signal-fair .lf-signal-bar:nth-child(1) { background: var(--lf-signal-red); }

/* --- 模块4: 兵种武器库 --- */
#lf-arsenal {
  background: rgba(75, 83, 32, 0.15);
  border-top: 1px solid var(--lf-border-steel);
  border-bottom: 1px solid var(--lf-border-steel);
}

.lf-arsenal-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.lf-arsenal-item {
  text-align: center;
  width: 160px;
  padding: 20px;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--lf-border-steel);
  border-radius: var(--lf-radius);
  transition: transform 0.2s, border-color 0.2s;
}

.lf-arsenal-item:hover {
  transform: translateY(-4px);
  border-color: var(--lf-ammo-yellow);
}

.lf-arsenal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  background: var(--lf-camo-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--lf-ammo-yellow);
  border: 2px solid var(--lf-steel-gray);
}

.lf-arsenal-name {
  font-weight: 700;
  color: var(--lf-white);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.lf-arsenal-code {
  font-size: 0.75rem;
  color: var(--lf-text-dim);
  font-family: 'Courier New', monospace;
}

/* --- 模块5: 作战任务列表 --- */
.lf-mission-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.lf-mission-table thead {
  background: rgba(75, 83, 32, 0.6);
}

.lf-mission-table th {
  padding: 14px 16px;
  text-align: left;
  color: var(--lf-ammo-yellow);
  font-weight: 700;
  letter-spacing: 1px;
  border-bottom: 2px solid var(--lf-signal-red);
  font-size: 0.85rem;
  text-transform: uppercase;
}

.lf-mission-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: var(--lf-text-light);
}

.lf-mission-table tbody tr:hover {
  background: rgba(255, 215, 0, 0.05);
}

.lf-status-pending {
  color: var(--lf-ammo-yellow);
  font-weight: 700;
}

.lf-status-active {
  color: var(--lf-signal-red);
  font-weight: 700;
}

.lf-btn-sm {
  display: inline-block;
  padding: 8px 18px;
  background: var(--lf-signal-red);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: var(--lf-radius);
  text-decoration: none;
  transition: background 0.2s;
}

.lf-btn-sm:hover {
  background: #e60000;
  color: #fff;
}

/* --- 模块6: 新兵训练营 --- */
.lf-training-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.lf-training-video {
  position: relative;
  border: 2px solid var(--lf-border-steel);
  border-radius: var(--lf-radius);
  overflow: hidden;
  aspect-ratio: 16/9;
}

.lf-training-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lf-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(255, 0, 0, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.lf-play-btn::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid #fff;
  margin-left: 4px;
}

.lf-play-btn:hover {
  background: rgba(255, 0, 0, 1);
}

.lf-training-steps {
  list-style: none;
}

.lf-training-steps li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.lf-step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--lf-signal-red);
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--lf-radius);
}

.lf-step-text {
  font-size: 1rem;
  color: var(--lf-text-light);
  line-height: 1.6;
}

.lf-step-text strong {
  color: var(--lf-ammo-yellow);
  display: block;
  margin-bottom: 4px;
}

/* --- 模块7: 军火库(APP下载) --- */
#lf-armory {
  background: url('../images/ammo-crate-bg.jpg') center/cover no-repeat;
  position: relative;
}

#lf-armory::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 30, 15, 0.85);
}

.lf-armory-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.lf-armory-text {
  text-align: center;
}

.lf-armory-text h3 {
  font-size: 1.8rem;
  color: var(--lf-ammo-yellow);
  margin-bottom: 10px;
}

.lf-armory-text p {
  color: var(--lf-text-dim);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.lf-armory-qr {
  text-align: center;
}

.lf-armory-qr img {
  width: 200px;
  height: 200px;
  margin: 0 auto 16px;
  border: 3px solid var(--lf-steel-gray);
}

.lf-download-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.lf-btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--lf-signal-red);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--lf-radius);
  text-decoration: none;
  transition: background 0.2s;
}

.lf-btn-download:hover {
  background: #e60000;
  color: #fff;
}

/* --- 模块8: 战友集结地 --- */
.lf-community-list {
  list-style: none;
  max-width: 700px;
  margin: 0 auto 30px;
}

.lf-community-list li {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--lf-text-light);
  transition: background 0.2s;
}

.lf-community-list li:hover {
  background: rgba(255,215,0,0.05);
}

.lf-fire-icon {
  color: var(--lf-signal-red);
  font-size: 1.2rem;
}

.lf-btn-outline {
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid var(--lf-ammo-yellow);
  color: var(--lf-ammo-yellow);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  border-radius: var(--lf-radius);
  text-decoration: none;
  transition: all 0.2s;
}

.lf-btn-outline:hover {
  background: var(--lf-ammo-yellow);
  color: var(--lf-bg-dark);
}

/* --- 模块9: 战功排行榜 --- */
#lf-leaderboard {
  background: rgba(75, 83, 32, 0.15);
  border-top: 1px solid var(--lf-border-steel);
  border-bottom: 1px solid var(--lf-border-steel);
}

.lf-rank-list {
  max-width: 700px;
  margin: 0 auto;
}

.lf-rank-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s;
}

.lf-rank-item:hover {
  background: rgba(255,215,0,0.05);
}

.lf-rank-num {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  color: var(--lf-text-dim);
  background: rgba(0,0,0,0.2);
  border-radius: var(--lf-radius);
  flex-shrink: 0;
}

.lf-rank-item:nth-child(1) .lf-rank-num {
  background: var(--lf-ammo-yellow);
  color: var(--lf-bg-dark);
}

.lf-rank-item:nth-child(2) .lf-rank-num {
  background: #c0c0c0;
  color: var(--lf-bg-dark);
}

.lf-rank-item:nth-child(3) .lf-rank-num {
  background: #cd7f32;
  color: var(--lf-bg-dark);
}

.lf-rank-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--lf-steel-gray);
  background: var(--lf-camo-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--lf-white);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.lf-rank-name {
  flex: 1;
  font-weight: 600;
  color: var(--lf-white);
}

.lf-rank-badge {
  font-size: 0.7rem;
  background: var(--lf-ammo-yellow);
  color: var(--lf-bg-dark);
  padding: 2px 8px;
  border-radius: var(--lf-radius);
  font-weight: 700;
  margin-left: 8px;
}

.lf-rank-score {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  color: var(--lf-ammo-yellow);
  font-size: 0.95rem;
}

/* --- 模块10: 堡垒荣誉墙 --- */
#lf-honor-wall {
  background: url('../images/brick-wall-bg.jpg') center/cover no-repeat;
  position: relative;
}

#lf-honor-wall::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 30, 15, 0.8);
}

.lf-honor-scroll {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 40px;
  overflow-x: auto;
  padding-bottom: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.lf-honor-item {
  text-align: center;
  min-width: 140px;
  flex-shrink: 0;
}

.lf-honor-item img {
  width: 80px;
  height: 80px;
  margin: 0 auto 10px;
  border-radius: 50%;
  border: 2px solid var(--lf-ammo-yellow);
  object-fit: cover;
}

.lf-honor-item p {
  font-size: 0.8rem;
  color: var(--lf-text-dim);
  line-height: 1.4;
}

/* --- 页脚 --- */
#lf-footer {
  background: var(--lf-bg-footer);
  padding: 50px 30px 0;
  border-top: 3px solid var(--lf-signal-red);
}

.lf-footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.lf-footer-col h4 {
  font-size: 1rem;
  color: var(--lf-ammo-yellow);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

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

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

.lf-footer-links li a {
  color: var(--lf-text-dim);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.lf-footer-links li a:hover {
  color: var(--lf-ammo-yellow);
}

.lf-footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 0;
  text-align: center;
}

.lf-footer-honors {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}

.lf-footer-honor-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--lf-text-dim);
}

.lf-footer-honor-item img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

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

/* --- 内页通用 --- */
.lf-page-hero {
  position: relative;
  height: 350px;
  margin-top: var(--lf-nav-height);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lf-page-hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lf-page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(75, 83, 32, 0.7);
}

.lf-page-hero h1 {
  position: relative;
  z-index: 2;
  font-size: 2.4rem;
  color: #fff;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
  text-align: center;
  padding: 0 20px;
}

/* 内页内容区 */
.lf-page-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 30px;
}

.lf-page-content h2 {
  font-size: 1.6rem;
  color: var(--lf-ammo-yellow);
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--lf-signal-red);
}

.lf-page-content h3 {
  font-size: 1.2rem;
  color: var(--lf-white);
  margin: 30px 0 12px;
}

.lf-page-content p {
  margin-bottom: 16px;
  color: var(--lf-text-light);
  line-height: 1.8;
}

.lf-page-content img {
  margin: 20px 0;
  border: 1px solid var(--lf-border-steel);
  border-radius: var(--lf-radius);
}

/* 信号源列表 */
.lf-source-list {
  list-style: none;
}

.lf-source-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(75, 83, 32, 0.2);
  border: 1px solid var(--lf-border-steel);
  margin-bottom: 8px;
  border-radius: var(--lf-radius);
  transition: border-color 0.2s;
}

.lf-source-list-item:hover {
  border-color: var(--lf-ammo-yellow);
}

.lf-source-list-item .lf-source-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lf-source-list-item .lf-source-badge {
  padding: 4px 10px;
  background: var(--lf-camo-green);
  color: var(--lf-white);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--lf-radius);
}

/* --- 多屏指挥中心 --- */
.lf-command-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  min-height: 600px;
}

.lf-command-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
}

.lf-command-cell {
  background: rgba(0,0,0,0.4);
  border: 2px solid var(--lf-border-steel);
  border-radius: var(--lf-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 250px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.lf-command-cell:hover {
  border-color: var(--lf-ammo-yellow);
}

.lf-command-cell-placeholder {
  text-align: center;
  color: var(--lf-text-dim);
}

.lf-command-cell-placeholder .lf-crosshair {
  font-size: 2.5rem;
  margin-bottom: 8px;
  color: var(--lf-steel-gray);
}

.lf-command-sidebar {
  background: rgba(75, 83, 32, 0.3);
  border: 1px solid var(--lf-border-steel);
  border-radius: var(--lf-radius);
  overflow: hidden;
}

.lf-sidebar-tabs {
  display: flex;
  border-bottom: 2px solid var(--lf-signal-red);
}

.lf-sidebar-tab {
  flex: 1;
  padding: 12px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--lf-text-dim);
  background: rgba(0,0,0,0.2);
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.lf-sidebar-tab.lf-active {
  color: var(--lf-white);
  background: rgba(255,0,0,0.2);
}

.lf-sidebar-content {
  padding: 16px;
  max-height: 500px;
  overflow-y: auto;
}

.lf-signal-item {
  padding: 10px;
  margin-bottom: 8px;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--lf-radius);
  cursor: grab;
  transition: border-color 0.2s;
  font-size: 0.85rem;
  color: var(--lf-text-light);
}

.lf-signal-item:hover {
  border-color: var(--lf-ammo-yellow);
}

.lf-signal-item .lf-signal-match {
  font-weight: 700;
  color: var(--lf-white);
  margin-bottom: 4px;
}

.lf-signal-item .lf-signal-source {
  font-size: 0.75rem;
  color: var(--lf-text-dim);
}

.lf-layout-templates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.lf-layout-tpl {
  aspect-ratio: 16/9;
  border: 1px solid var(--lf-border-steel);
  border-radius: var(--lf-radius);
  cursor: pointer;
  background: rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--lf-text-dim);
  transition: border-color 0.2s;
}

.lf-layout-tpl:hover {
  border-color: var(--lf-ammo-yellow);
}

/* --- 响应式断点 --- */
/* 桌面大屏 > 1200px: 默认样式 */

/* 桌面小屏 */
@media (max-width: 1200px) {
  .lf-intel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lf-command-layout {
    grid-template-columns: 1fr 250px;
  }
}

/* 平板 */
@media (max-width: 992px) {
  .lf-nav {
    display: none;
  }
  .lf-hamburger {
    display: flex;
  }
  .lf-hero-slogan {
    font-size: 2.2rem;
  }
  .lf-training-layout {
    grid-template-columns: 1fr;
  }
  .lf-armory-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .lf-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .lf-command-layout {
    grid-template-columns: 1fr;
  }
  .lf-command-grid {
    min-height: 400px;
  }
}

/* 手机横屏 */
@media (max-width: 768px) {
  :root {
    --lf-module-gap: 40px;
  }
  .lf-intel-grid {
    grid-template-columns: 1fr;
  }
  .lf-section-title {
    font-size: 1.5rem;
  }
  .lf-hero-slogan {
    font-size: 1.8rem;
    letter-spacing: 3px;
  }
  .lf-page-hero {
    height: 250px;
  }
  .lf-page-hero h1 {
    font-size: 1.6rem;
  }
  .lf-mission-table {
    font-size: 0.8rem;
  }
  .lf-mission-table th,
  .lf-mission-table td {
    padding: 8px 10px;
  }
  .lf-footer-honors {
    gap: 12px;
  }
}

/* 手机竖屏 */
@media (max-width: 480px) {
  .lf-logo {
    font-size: 1.1rem;
    letter-spacing: 2px;
  }
  .lf-hero-slogan {
    font-size: 1.4rem;
    letter-spacing: 2px;
  }
  .lf-btn-red {
    padding: 12px 28px;
    font-size: 0.9rem;
  }
  .lf-section {
    padding: 30px 16px;
  }
  .lf-arsenal-grid {
    gap: 16px;
  }
  .lf-arsenal-item {
    width: 120px;
    padding: 14px;
  }
  .lf-command-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 200px);
  }
  .lf-rank-item {
    gap: 10px;
    padding: 10px;
  }
}
