* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background-color: #070b0a;
  color: #d4e6da;
  font-family: SFMono-Regular, Consolas, Menlo, "Courier New", monospace;
  line-height: 1.6;
  overflow-x: hidden;
  background-image: linear-gradient(rgba(125,245,106,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(125,245,106,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* 导航 */
header.nav-header {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(7, 11, 10, 0.95);
  border-bottom: 1px solid #1a2b22;
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; justify-content: space-between; align-items: center; height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: bold; letter-spacing: 1px; }
.brand img { height: 32px; width: auto; border: 1px solid #7df56a; }
.rec-dot {
  width: 10px; height: 10px; background: #ff3b30; border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.nav-links { display: flex; gap: 20px; font-size: 14px; align-items: center; }
.nav-links a { transition: color 0.3s; }
.nav-links a:hover { color: #7df56a; }
.nav-links a.btn-download { color: #ff3b30; font-weight: bold; border: 1px solid #ff3b30; padding: 4px 10px; }
.nav-links a.btn-download:hover { background: #ff3b30; color: #070b0a; }
.menu-toggle { display: none; font-size: 24px; cursor: pointer; color: #7df56a; background: none; border: none; }

/* 通用版块 */
section { padding: 80px 20px; position: relative; }
.container { max-width: 1200px; margin: 0 auto; }
.sec-title {
  font-size: 24px; color: #7df56a; margin-bottom: 30px; text-transform: uppercase;
  border-left: 4px solid #ff3b30; padding-left: 15px; letter-spacing: 2px;
}

/* 首屏 */
#hero { padding-top: 120px; padding-bottom: 60px; border-bottom: 1px solid #1a2b22; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.case-file { color: #ff3b30; font-size: 12px; letter-spacing: 2px; margin-bottom: 20px; }
.hero-title { font-size: 48px; line-height: 1.2; margin-bottom: 15px; color: #fff; text-shadow: 0 0 10px rgba(125,245,106,0.3); }
.hero-sub { color: #b06bff; font-size: 16px; margin-bottom: 20px; }
.hero-desc { margin-bottom: 30px; color: #a0b8a8; }
.hero-btns { display: flex; gap: 20px; margin-bottom: 40px; }
.btn-primary { background: #ff3b30; color: #fff; padding: 12px 24px; border: none; font-family: inherit; font-size: 16px; font-weight: bold; cursor: pointer; display: inline-block; text-align: center; }
.btn-primary:hover { background: #d62c22; }
.btn-ghost { background: transparent; color: #7df56a; padding: 12px 24px; border: 1px solid #7df56a; font-family: inherit; font-size: 16px; cursor: pointer; display: inline-block; }
.btn-ghost:hover { background: rgba(125,245,106,0.1); }
.hero-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 12px; color: #7df56a; }
.hero-meta span { border: 1px solid #1a2b22; padding: 4px 10px; }

/* 监控卡 */
.monitor-card { background: #000; border: 2px solid #7df56a; position: relative; aspect-ratio: 16/9; overflow: hidden; }
.monitor-top { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; font-size: 12px; color: #7df56a; z-index: 2; }
.monitor-bottom { position: absolute; bottom: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; font-size: 12px; color: #7df56a; z-index: 2; }
.monitor-card img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.crosshair { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; transform: translate(-50%, -50%); z-index: 2; border: 1px solid rgba(125,245,106,0.5); }
.crosshair::before, .crosshair::after { content: ''; position: absolute; background: rgba(125,245,106,0.5); }
.crosshair::before { top: 50%; left: 0; width: 100%; height: 1px; }
.crosshair::after { top: 0; left: 50%; width: 1px; height: 100%; }
.scanline { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.3) 3px, rgba(0,0,0,0.3) 4px); z-index: 1; pointer-events: none; }

/* 调查档案 */
.file-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.file-card { background: #0d1412; border: 1px solid #1a2b22; padding: 20px; display: flex; flex-direction: column; }
.file-card img { width: 100%; height: 140px; object-fit: cover; border: 1px solid #1a2b22; margin-bottom: 15px; }
.file-card h3 { color: #ffc247; margin-bottom: 10px; font-size: 18px; }
.file-card p { font-size: 14px; color: #a0b8a8; flex: 1; }

/* 调查流程 */
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card { background: #0d1412; border: 1px solid #1a2b22; padding: 20px; }
.step-card img { width: 100%; height: 180px; object-fit: cover; border: 1px solid #1a2b22; margin-bottom: 15px; }
.step-card h3 { color: #7df56a; margin-bottom: 10px; font-size: 18px; }
.step-card p { font-size: 14px; color: #a0b8a8; }

/* 双阵营 */
.faction-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.faction-card { background: #0d1412; border: 1px solid #1a2b22; padding: 30px; display: flex; flex-direction: column; position: relative; }
.faction-card.survivor { border-top: 4px solid #7df56a; }
.faction-card.ghost { border-top: 4px solid #b06bff; }
.faction-card h3 { font-size: 22px; margin-bottom: 20px; }
.faction-card.survivor h3 { color: #7df56a; }
.faction-card.ghost h3 { color: #b06bff; }
.faction-card ul { margin-bottom: 20px; }
.faction-card li { margin-bottom: 10px; font-size: 15px; position: relative; padding-left: 20px; }
.faction-card li::before { content: '>'; position: absolute; left: 0; color: inherit; }
.faction-card img { width: 100%; height: 200px; object-fit: cover; border: 1px solid #1a2b22; margin-top: auto; }

/* 实机截图 */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-item { position: relative; cursor: pointer; border: 1px solid #1a2b22; overflow: hidden; aspect-ratio: 16/9; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.wide { grid-column: span 2; }

/* 调查设备 */
.equip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.equip-card { background: #0d1412; border: 1px solid #1a2b22; padding: 20px; position: relative; }
.equip-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: #7df56a; }
.equip-card:nth-child(2)::before { background: #ff3b30; }
.equip-card:nth-child(3)::before { background: #b06bff; }
.equip-card:nth-child(4)::before { background: #ffc247; }
.equip-card:nth-child(5)::before { background: #7df56a; }
.equip-card:nth-child(6)::before { background: #b06bff; }
.equip-card h3 { font-size: 18px; margin-bottom: 10px; color: #fff; }
.equip-card p { font-size: 14px; color: #a0b8a8; }

/* 心愿清单 */
.wish-list { display: flex; flex-direction: column; gap: 15px; }
.wish-item { background: #0d1412; border: 1px solid #1a2b22; padding: 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; }
.wish-info { flex: 1; min-width: 200px; }
.wish-info h3 { font-size: 18px; margin-bottom: 10px; color: #d4e6da; }
.wish-bar { height: 6px; background: #1a2b22; width: 100%; max-width: 300px; position: relative; }
.wish-bar span { display: block; height: 100%; background: #7df56a; width: 0; transition: width 0.3s; }
.wish-meta { font-size: 12px; color: #a0b8a8; margin-top: 5px; display: flex; justify-content: space-between; max-width: 300px; }
.wish-btn { background: transparent; border: 1px solid #7df56a; color: #7df56a; padding: 8px 16px; cursor: pointer; font-family: inherit; transition: all 0.3s; }
.wish-btn:hover { background: rgba(125,245,106,0.1); }
.wish-btn.joined { background: #7df56a; color: #070b0a; cursor: not-allowed; }

/* 玩家反馈 */
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.review-card { background: #0d1412; border: 1px solid #1a2b22; padding: 20px; }
.review-head { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 12px; color: #a0b8a8; }
.review-stars { color: #ffc247; letter-spacing: 2px; }
.review-text { font-size: 14px; }

/* 下载区 */
.cta-box { border: 4px solid #7df56a; background: #0d1412; padding: 40px; text-align: center; max-width: 800px; margin: 0 auto; }
.cta-box h2 { font-size: 32px; color: #fff; margin-bottom: 20px; }
.cta-box p { margin-bottom: 30px; color: #a0b8a8; }
.cta-box .btn-primary { font-size: 20px; padding: 15px 40px; }
.platforms { margin-top: 20px; font-size: 12px; color: #7df56a; }

/* 灯箱 */
.lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 2000; align-items: center; justify-content: center; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 90vh; border: 2px solid #7df56a; }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: #7df56a; font-size: 40px; cursor: pointer; background: none; border: none; }

/* 页脚 */
footer { border-top: 1px solid #1a2b22; padding: 40px 20px; text-align: center; font-size: 12px; color: #5a6e62; }
footer a { color: #5a6e62; transition: color 0.3s; }
footer a:hover { color: #7df56a; }
.about-details { margin: 20px auto; max-width: 800px; text-align: left; }
.about-details summary { cursor: pointer; outline: none; display: inline-block; }
.about-details summary::-webkit-details-marker { display: none; }
.about-links { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 10px; }
.about-links a { display: inline-block; border: 1px solid #1a2b22; padding: 4px 8px; }

/* 响应式 */
@media (max-width: 1024px) {
  .file-grid { grid-template-columns: repeat(2, 1fr); }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .equip-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-title { font-size: 36px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; width: 100%; background: #070b0a; border-bottom: 1px solid #1a2b22; padding: 20px; gap: 15px; }
  .nav-links.active { display: flex; }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .file-grid, .step-grid, .faction-grid, .equip-grid, .review-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 2; }
  .hero-btns { flex-direction: column; }
  .hero-title { font-size: 28px; }
  .cta-box h2 { font-size: 24px; }
}