/* ========================================
   三角洲行动跑刀攻略 - 暗色游戏风格样式
   ======================================== */

/* ---------- CSS 变量 ---------- */
:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #0d1222;
  --bg-card: #141b2d;
  --bg-card-hover: #1a2340;
  --bg-nav: rgba(10, 14, 23, 0.92);
  --text-primary: #e0e6ed;
  --text-secondary: #8892a6;
  --text-muted: #5a6478;
  --gold: #f0a500;
  --gold-glow: rgba(240, 165, 0, 0.4);
  --orange: #ff6b35;
  --orange-glow: rgba(255, 107, 53, 0.4);
  --accent-green: #00c853;
  --accent-red: #ff3d00;
  --border: #2a3a5c;
  --border-light: #1e2d4a;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.6);
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Microsoft YaHei", "PingFang SC", "Helvetica Neue", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--orange);
}

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

::selection {
  background: var(--gold);
  color: var(--bg-primary);
}

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ---------- 容器 ---------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 通用区块 ---------- */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--bg-secondary);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.section-title .gold {
  margin-right: 8px;
}

.section-desc {
  text-align: center;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
}

.section-highlight {
  text-align: center;
  font-size: 1.15rem;
  margin-bottom: 40px;
  padding: 16px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 导航栏 ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

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

.nav-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
}
.nav-logo:hover {
  color: var(--gold);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: all var(--transition);
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: var(--gold);
  background: rgba(240, 165, 0, 0.08);
}

/* 汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero 首页 ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a0e17 0%, #0f1628 30%, #1a1525 60%, #0a0e17 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(240, 165, 0, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 107, 53, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(0, 200, 83, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  background: rgba(240, 165, 0, 0.12);
  color: var(--gold);
  border: 1px solid rgba(240, 165, 0, 0.3);
  border-radius: 20px;
  padding: 6px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: 3px;
  text-shadow: 0 2px 40px rgba(240, 165, 0, 0.15);
}

.gold {
  color: var(--gold);
  text-shadow: 0 0 30px var(--gold-glow);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 48px;
  letter-spacing: 1px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}
.hero-stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}
.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.hero-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(240, 165, 0, 0.1);
}
.hero-card:hover::before {
  opacity: 1;
}
.hero-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--gold);
}
.hero-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ---------- 表格通用样式 ---------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 0.93rem;
}
thead {
  background: var(--bg-primary);
}
th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  color: var(--gold);
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}
tr:hover td {
  background: rgba(240, 165, 0, 0.03);
}
.row-highlight td {
  color: var(--text-primary);
  background: rgba(240, 165, 0, 0.04);
}
.row-highlight:hover td {
  background: rgba(240, 165, 0, 0.08);
}
.row-bad td {
  color: var(--text-muted);
  opacity: 0.7;
}

/* ---------- 装备区块 ---------- */
.gear-category {
  margin-bottom: 40px;
}
.gear-category h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--gold);
  padding-left: 16px;
  border-left: 3px solid var(--gold);
}

/* ---------- 对比表格 ---------- */
.compare-table {
  margin-top: 32px;
}
.compare-table h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--gold);
}

/* ---------- Tip Box ---------- */
.tip-box {
  margin-top: 32px;
  padding: 20px 24px;
  background: rgba(240, 165, 0, 0.06);
  border: 1px solid rgba(240, 165, 0, 0.2);
  border-radius: var(--radius);
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ---------- 地图区块 ---------- */
.map-block {
  margin-bottom: 48px;
}
.map-block h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--gold);
  padding-left: 16px;
  border-left: 3px solid var(--gold);
}

/* 出生点网格 */
.spawn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.spawn-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}
.spawn-card.good {
  border-color: rgba(0, 200, 83, 0.3);
}
.spawn-card.bad {
  border-color: rgba(255, 61, 0, 0.3);
}
.spawn-header {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.spawn-card.good .spawn-header { color: var(--accent-green); }
.spawn-card.bad .spawn-header { color: var(--accent-red); }
.spawn-card ul {
  list-style: none;
  padding: 0;
}
.spawn-card li {
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 0.93rem;
  border-bottom: 1px solid var(--border-light);
}
.spawn-card li:last-child { border-bottom: none; }

/* 爆率分级 */
.loot-tiers {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.loot-tier {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 18px 20px;
  border: 1px solid var(--border);
}
.tier-header {
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tier-badge {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}
.tier-1 .tier-badge { background: rgba(255, 61, 0, 0.2); color: var(--accent-red); }
.tier-2 .tier-badge { background: rgba(255, 107, 53, 0.2); color: var(--orange); }
.tier-3 .tier-badge { background: rgba(240, 165, 0, 0.2); color: var(--gold); }
.tier-4 .tier-badge { background: rgba(136, 146, 166, 0.2); color: var(--text-secondary); }
.tier-5 .tier-badge { background: rgba(90, 100, 120, 0.2); color: var(--text-muted); }
.tier-items {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.tier-bar {
  height: 6px;
  background: var(--bg-primary);
  border-radius: 3px;
  overflow: hidden;
}
.tier-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1s ease;
}
.tier-1 .tier-fill { background: linear-gradient(90deg, #ff3d00, #ff6b35); }
.tier-2 .tier-fill { background: linear-gradient(90deg, #ff6b35, var(--gold)); }
.tier-3 .tier-fill { background: linear-gradient(90deg, var(--gold), #ffd54f); }
.tier-4 .tier-fill { background: linear-gradient(90deg, #5a6478, #8892a6); }
.tier-5 .tier-fill { background: linear-gradient(90deg, #3a4358, #5a6478); }

.map-note {
  margin-top: 20px;
  color: var(--text-secondary);
  text-align: center;
}

/* 钥匙房表格 */
.key-table td:nth-child(4) {
  white-space: nowrap;
  color: var(--gold);
}

/* 路线列表 */
.route-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.route-item {
  display: flex;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  align-items: flex-start;
  transition: all var(--transition);
}
.route-item:hover {
  border-color: var(--gold);
}
.route-label {
  background: var(--gold);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
}
.route-path {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* ---------- 技巧网格 ---------- */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tip-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
}
.tip-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(240, 165, 0, 0.08);
}
.tip-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.tip-card h3 {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 14px;
}
.tip-card ul {
  list-style: none;
  padding: 0;
}
.tip-card li {
  padding: 5px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  position: relative;
  padding-left: 16px;
}
.tip-card li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ---------- BOSS网格 ---------- */
.boss-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.boss-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
}
.boss-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(240, 165, 0, 0.1);
}

.boss-image {
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  flex-shrink: 0;
}
.boss-saeed { background: linear-gradient(135deg, #1a0505, #2d1111); }
.boss-reis { background: linear-gradient(135deg, #1a0a05, #2d1811); }
.boss-eagle { background: linear-gradient(135deg, #0a0a1a, #111128); }
.boss-mud { background: linear-gradient(135deg, #0a1a0a, #112811); }

.boss-info {
  padding: 20px 24px;
  flex: 1;
}
.boss-info h3 {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 12px;
}
.boss-detail {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
}
.boss-detail .label {
  color: var(--text-muted);
  font-size: 0.82rem;
  flex-shrink: 0;
  min-width: 70px;
}

/* ---------- 干员网格 ---------- */
.operator-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.operator-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}
.operator-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(240, 165, 0, 0.08);
}

.operator-avatar {
  font-size: 3rem;
  margin-bottom: 16px;
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.operator-avatar.wolf { background: linear-gradient(135deg, #1a202c, #2d3a50); }
.operator-avatar.dragon { background: linear-gradient(135deg, #1a0520, #2d1038); }
.operator-avatar.bee { background: linear-gradient(135deg, #1a1500, #2d2400); }
.operator-avatar.hack { background: linear-gradient(135deg, #001a1a, #002d2d); }

.operator-card h3 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.operator-tag {
  display: inline-block;
  padding: 3px 14px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.tag-beginner { background: rgba(0, 200, 83, 0.15); color: var(--accent-green); }
.tag-pro { background: rgba(255, 61, 0, 0.15); color: var(--accent-red); }
.tag-stable { background: rgba(240, 165, 0, 0.15); color: var(--gold); }
.tag-info { background: rgba(100, 149, 237, 0.15); color: #6495ed; }

.operator-skill {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  text-align: left;
}

.operator-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  text-align: left;
  margin-bottom: 16px;
}

.operator-badge {
  background: rgba(240, 165, 0, 0.06);
  border: 1px solid rgba(240, 165, 0, 0.15);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
}

/* ---------- 页脚 ---------- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
}
.footer p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 8px;
}
.footer-note {
  font-size: 0.8rem !important;
  opacity: 0.7;
}

/* ---------- 回到顶部 ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg-primary);
  border: none;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(240, 165, 0, 0.3);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .hero-cards {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  .tips-grid {
    grid-template-columns: 1fr 1fr;
  }
  .operator-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-nav);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .hamburger {
    display: flex;
  }

  .hero-title {
    font-size: 2rem;
    letter-spacing: 1px;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-stats {
    gap: 24px;
  }
  .hero-stat-num {
    font-size: 1.6rem;
  }

  .section {
    padding: 56px 0;
  }
  .section-title {
    font-size: 1.6rem;
  }

  .spawn-grid {
    grid-template-columns: 1fr;
  }
  .boss-grid {
    grid-template-columns: 1fr;
  }
  .boss-card {
    flex-direction: column;
  }
  .boss-image {
    width: 100%;
    height: 80px;
    font-size: 2.5rem;
  }
  .tips-grid {
    grid-template-columns: 1fr;
  }
  .operator-grid {
    grid-template-columns: 1fr 1fr;
  }

  .route-item {
    flex-direction: column;
    gap: 8px;
  }

  table {
    font-size: 0.82rem;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero-title {
    font-size: 1.7rem;
  }
  .hero-content {
    padding: 100px 16px 60px;
  }
  .operator-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 1.4rem;
  }
}

/* ---------- 动画 ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-card:nth-child(1) { animation: fadeInUp 0.6s ease 0.1s both; }
.hero-card:nth-child(2) { animation: fadeInUp 0.6s ease 0.2s both; }
.hero-card:nth-child(3) { animation: fadeInUp 0.6s ease 0.3s both; }

/* ========================================
   地图总览 Section
   ======================================== */
.map-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.map-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
}
.map-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(240, 165, 0, 0.12);
}
.map-card-header {
  padding: 48px 24px 20px;
  text-align: center;
  position: relative;
}
.map-dam { background: linear-gradient(135deg, #0a1a2d, #142840); }
.map-valley { background: linear-gradient(135deg, #1a2d0a, #284014); }
.map-space { background: linear-gradient(135deg, #1a0a2d, #281440); }

.map-card-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}
.map-card-difficulty {
  display: inline-block;
  padding: 3px 14px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.diff-easy { background: rgba(0, 200, 83, 0.15); color: var(--accent-green); }
.diff-medium { background: rgba(240, 165, 0, 0.15); color: var(--gold); }
.diff-hard { background: rgba(255, 61, 0, 0.15); color: var(--accent-red); }

.map-card-body {
  padding: 16px 24px 24px;
}
.map-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.map-card-stat {
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.map-card-stat strong {
  color: var(--gold);
}

/* 地图卡片缩略图 */
.map-card-img {
  width: 100%;
  overflow: hidden;
}
.map-card-img img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.map-card:hover .map-card-img img {
  transform: scale(1.05);
}

/* 地图详情大图 */
.map-image-container {
  margin: 20px 0 24px;
  text-align: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(255, 215, 0, 0.2);
  background: var(--bg-card);
  transition: border-color 0.3s;
}
.map-image-container:hover {
  border-color: rgba(255, 215, 0, 0.5);
}
.map-image-container img {
  width: 100%;
  max-width: 100%;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.map-image-container img.zoomed {
  transform: scale(1.8);
  transform-origin: center center;
  cursor: zoom-out;
  box-shadow: 0 0 60px rgba(0,0,0,0.8);
  position: relative;
  z-index: 10;
}
.map-image-hint {
  padding: 8px 16px;
  font-size: 0.8rem;
  color: var(--text-muted, #8b949e);
  background: rgba(0,0,0,0.3);
  margin: 0;
}
.map-image-hint::selection { background: var(--gold); color: var(--bg-primary); }

.map-compare-table {
  margin-top: 32px;
}
.map-compare-table h3 {
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
}

/* ========================================
   地图详情 Section
   ======================================== */
.map-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin-bottom: 8px;
}
.map-section-icon {
  font-size: 2.4rem;
}
.map-section-badge {
  display: inline-block;
  padding: 3px 14px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
  vertical-align: middle;
}
.map-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.map-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}
.map-info-card .info-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.map-info-card .info-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
}

/* 地图策略卡片 */
.map-strategy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
.strategy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
}
.strategy-card:hover {
  border-color: var(--gold);
}
.strategy-card h4 {
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 12px;
}
.strategy-card ul {
  list-style: none;
  padding: 0;
}
.strategy-card li {
  padding: 5px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 16px;
}
.strategy-card li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.75rem;
}
.strategy-card.good { border-left: 3px solid var(--accent-green); }
.strategy-card.bad { border-left: 3px solid var(--accent-red); }
.strategy-card.info { border-left: 3px solid #6495ed; }

/* 路线步骤 */
.route-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.route-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
}
.route-step:hover {
  border-color: var(--gold);
}
.route-step-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.route-step-num {
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.route-step-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
}
.route-step-path {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.8;
  padding-left: 50px;
}
.route-step-path strong {
  color: var(--gold);
}

/* 撤离方式卡片 */
.evacuation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.evacuation-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all var(--transition);
}
.evacuation-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.evacuation-card .evac-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.evacuation-card h4 {
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 10px;
}
.evacuation-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: left;
}

/* 高价值物资清单 */
.loot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.loot-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  transition: all var(--transition);
}
.loot-card:hover { border-color: var(--gold); }
.loot-tier-label {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.loot-card ul {
  list-style: none;
  padding: 0;
}
.loot-card li {
  padding: 4px 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.tier-t0 { background: rgba(255, 61, 0, 0.15); color: var(--accent-red); }
.tier-t1 { background: rgba(255, 107, 53, 0.15); color: var(--orange); }
.tier-t2 { background: rgba(240, 165, 0, 0.15); color: var(--gold); }

/* ========================================
   使用指南 Section
   ======================================== */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
}
.guide-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.guide-card-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}
.guide-card h3 {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 12px;
}
.guide-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* FAQ折叠面板 */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: color var(--transition);
}
.faq-question:hover {
  color: var(--gold);
}
.faq-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--gold);
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer {
  max-height: 500px;
}
.faq-answer-content {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.8;
}

/* 警告框 */
.warning-box {
  margin-top: 24px;
  padding: 20px 24px;
  background: rgba(255, 61, 0, 0.06);
  border: 1px solid rgba(255, 61, 0, 0.25);
  border-radius: var(--radius);
  color: var(--text-secondary);
  line-height: 1.8;
}
.warning-box strong {
  color: var(--accent-red);
}

/* 快速跳转按钮 */
.quick-nav {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px 0;
}
.quick-nav-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  text-decoration: none;
}
.quick-nav-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(240, 165, 0, 0.06);
}

/* 新增响应式 */
@media (max-width: 1024px) {
  .map-overview-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  .map-info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .map-strategy-grid {
    grid-template-columns: 1fr;
  }
  .evacuation-grid {
    grid-template-columns: 1fr;
  }
  .loot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .guide-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  .route-step-path {
    padding-left: 0;
  }
  .map-card-img img {
    height: 140px;
  }
  .map-image-container img.zoomed {
    transform: scale(1.4);
  }
}

@media (max-width: 480px) {
  .loot-grid {
    grid-template-columns: 1fr;
  }
}
