:root {
  --flame-orange: #EA580C;
  --crimson: #BE123C;
  --war-gold: #FDE047;
  --charcoal: #1a0a05;
  --charcoal-light: #2a120a;
  --text-main: #fff7ed;
  --text-muted: #fdba74;
  --font-display: 'ZCOOL KuaiLe', 'Ma Shan Zheng', cursive;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--charcoal);
  color: var(--text-main);
}

h1, h2, h3, .font-display {
  font-family: var(--font-display);
}

/* Hero */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: url('https://yqcdn.fuhua95.com/game/20241220/75db32e8a0cffe4b9d487e6b262612e2.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,10,5,0.3) 0%, rgba(26,10,5,0.85) 70%, var(--charcoal) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 1rem;
}
.hero-title {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(234,88,12,0.6), 0 0 60px rgba(190,18,60,0.4);
  letter-spacing: 0.05em;
}
.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--war-gold);
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
.hero-tags span {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(253,224,71,0.5);
  border-radius: 9999px;
  background: rgba(234,88,12,0.15);
  color: var(--war-gold);
  font-size: clamp(0.75rem, 2vw, 0.95rem);
  margin: 0.25rem;
  backdrop-filter: blur(4px);
}

/* 特色区横向滚动手风琴 */
.feature-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1.5rem 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.feature-scroll::-webkit-scrollbar {
  height: 6px;
}
.feature-scroll::-webkit-scrollbar-thumb {
  background: var(--flame-orange);
  border-radius: 4px;
}
.feature-panel {
  flex: 0 0 80%;
  min-width: 260px;
  max-width: 340px;
  height: 420px;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  scroll-snap-align: center;
  transition: flex 0.4s ease, transform 0.4s ease;
  cursor: pointer;
  border: 1px solid rgba(253,224,71,0.1);
}
.feature-panel:hover {
  flex: 0 0 90%;
  transform: translateY(-6px);
  border-color: rgba(253,224,71,0.5);
}
.feature-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.feature-panel:hover img {
  transform: scale(1.08);
}
.feature-panel .panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(26,10,5,0.95) 0%, rgba(26,10,5,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.feature-panel h3 {
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  color: var(--war-gold);
  margin-bottom: 0.5rem;
}
.feature-panel p {
  color: var(--text-muted);
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  line-height: 1.6;
  opacity: 0.9;
}

/* 区块标题装饰 */
.section-title {
  position: relative;
  display: inline-block;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  color: var(--war-gold);
  padding-bottom: 0.75rem;
  margin-bottom: 2rem;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--flame-orange), var(--crimson), var(--war-gold));
  border-radius: 2px;
}
.section-title.left::after {
  left: 0;
  transform: none;
}

/* 下载区进度条 */
.download-area {
  background: linear-gradient(135deg, rgba(234,88,12,0.12), rgba(190,18,60,0.12));
  border: 1px solid rgba(253,224,71,0.15);
  border-radius: 1rem;
  padding: 2rem;
}
.progress-track {
  width: 100%;
  height: 12px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 1rem;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--flame-orange), var(--war-gold));
  border-radius: 999px;
  transition: width 0.2s linear;
  box-shadow: 0 0 12px rgba(234,88,12,0.6);
}

/* 按钮变体 */
.btn-flame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-weight: 700;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: #1a0a05;
  background: linear-gradient(90deg, var(--flame-orange) 0%, var(--war-gold) 100%);
  border: none;
  border-radius: 0.75rem;
  box-shadow: 0 4px 20px rgba(234,88,12,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.btn-flame:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(234,88,12,0.6);
}
.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  color: var(--war-gold);
  background: transparent;
  border: 2px solid var(--war-gold);
  border-radius: 9999px;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-outline-gold:hover {
  background: var(--war-gold);
  color: var(--charcoal);
}

/* 卡片变体 */
.card-glass {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(253,224,71,0.08);
  border-radius: 1rem;
  backdrop-filter: blur(6px);
  transition: transform 0.3s, border-color 0.3s;
}
.card-glass:hover {
  transform: translateY(-4px);
  border-color: rgba(253,224,71,0.3);
}
.card-solid {
  background: var(--charcoal-light);
  border-left: 4px solid var(--flame-orange);
  border-radius: 0 1rem 1rem 0;
}

/* 页脚 */
.footer-contact {
  background: #120503;
  border-top: 1px solid rgba(234,88,12,0.2);
}
.qr-code {
  width: 96px;
  height: 96px;
  border-radius: 0.75rem;
  border: 2px solid rgba(253,224,71,0.3);
  object-fit: cover;
}

/* 导航 */
.nav-link {
  position: relative;
  color: var(--text-main);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover {
  color: var(--war-gold);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--flame-orange);
  transition: width 0.3s;
}
.nav-link:hover::after {
  width: 100%;
}

/* 动画 */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
body.loaded .fade-in-up {
  opacity: 1;
  transform: translateY(0);
}
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

@media (min-width: 768px) {
  .feature-panel {
    flex: 0 0 28%;
    min-width: 240px;
  }
  .feature-panel:hover {
    flex: 0 0 38%;
  }
}
