/* ============================================
   道谓何 - 暗黑电影式游戏展示页
   灵感来源: gamesci.cn/wukong/ 设计语言
   ============================================ */

/* === 页面基础 === */
.daoweih-page { background: #000; }

/* === Hero 首屏 === */
.dwh-hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.dwh-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(139, 30, 30, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(60, 20, 10, 0.3) 0%, transparent 50%),
    linear-gradient(180deg, #0a0000 0%, #0d0505 40%, #000 100%);
}
.dwh-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px);
  animation: dwh-scanline 8s linear infinite;
}
@keyframes dwh-scanline {
  0% { transform: translateY(0); }
  100% { transform: translateY(4px); }
}

/* 粒子 */
.dwh-hero-particles { position: absolute; inset: 0; pointer-events: none; }
.dwh-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(180, 60, 40, 0.6);
  border-radius: 50%;
  animation: dwh-float 6s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(180, 60, 40, 0.3);
}
@keyframes dwh-float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-40px) scale(1.5); opacity: 0.8; }
}

/* Hero 内容 */
.dwh-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}
.dwh-hero-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border: 2px solid rgba(180, 50, 40, 0.6);
  color: rgba(180, 50, 40, 0.8);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 32px;
  transform: rotate(5deg);
  animation: dwh-seal-pulse 3s ease-in-out infinite;
  font-family: 'STKaiti', 'KaiTi', 'Kaiti SC', serif;
}
@keyframes dwh-seal-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(180, 50, 40, 0.2); }
  50% { box-shadow: 0 0 40px rgba(180, 50, 40, 0.4); }
}
.dwh-hero-title {
  font-size: clamp(48px, 10vw, 96px);
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #fff;
  text-shadow: 0 0 60px rgba(180, 50, 40, 0.4), 0 4px 30px rgba(0,0,0,0.8);
  margin-bottom: 12px;
  font-family: var(--font-cn);
}
.dwh-hero-subtitle {
  font-size: clamp(14px, 2.5vw, 20px);
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  font-family: var(--font-en);
  margin-bottom: 24px;
}
.dwh-hero-tagline {
  font-size: clamp(14px, 2vw, 18px);
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}
.dwh-hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.dwh-hero-cta .btn {
  padding: 14px 36px;
  font-size: 15px;
  letter-spacing: 0.08em;
}

/* 滚动提示 */
.dwh-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255,255,255,0.3);
  font-size: 12px;
  letter-spacing: 0.2em;
  animation: dwh-bounce 2s ease-in-out infinite;
}
.dwh-scroll-arrow {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.2);
  margin: 8px auto 0;
}
@keyframes dwh-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* === 游戏概述 === */
.dwh-about { background: var(--color-bg-primary); }
.dwh-about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.dwh-about-text p {
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.dwh-about-text strong { color: var(--color-text-primary); }
.dwh-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.dwh-badge {
  padding: 6px 16px;
  border: 1px solid var(--color-border);
  font-size: 13px;
  color: var(--color-text-muted);
  transition: all 0.3s;
}
.dwh-badge:hover { border-color: rgba(255,255,255,0.3); color: var(--color-text-secondary); }
.dwh-badge.accent { border-color: var(--color-accent); color: var(--color-accent); }

/* 项目视觉 */
.dwh-visual-frame {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1a0a0a 0%, #0d0505 50%, #0a0a1a 100%);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.dwh-visual-frame::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(180,50,40,0.15) 0%, transparent 50%);
  pointer-events: none;
}
.dwh-visual-frame img {
  width: min(72%, 360px);
  height: auto;
  filter: drop-shadow(0 24px 60px rgba(126, 20, 255, 0.32));
  opacity: 0.94;
}
.dwh-visual-caption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}

/* === 游戏特色（全屏卡片） === */
.dwh-features { background: var(--color-bg-primary); padding-bottom: 0; }
.dwh-features .section-header { padding: 0 24px; margin-bottom: 64px; }

.dwh-feature-list {
  display: flex;
  flex-direction: column;
}
.dwh-feature-item {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.dwh-feature-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 8s ease;
  filter: brightness(0.4) saturate(0.7);
}
.dwh-fb-1 { background: linear-gradient(135deg, #1a0505 0%, #0d0a05 40%, #05050d 100%); }
.dwh-fb-2 { background: linear-gradient(135deg, #0d0508 0%, #05080d 50%, #0a0510 100%); }
.dwh-fb-3 { background: linear-gradient(135deg, #0a0a10 0%, #100805 50%, #050a0d 100%); }
.dwh-fb-4 { background: linear-gradient(135deg, #080510 0%, #050d10 50%, #100a05 100%); }
.dwh-feature-item:hover .dwh-feature-bg { transform: scale(1.05); filter: brightness(0.5) saturate(0.8); }
.dwh-feature-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.75) 100%);
}
.dwh-feature-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 48px;
  text-align: center;
}
.dwh-feature-number {
  font-size: 64px;
  font-weight: 800;
  color: rgba(180, 50, 40, 0.3);
  line-height: 1;
  margin-bottom: 16px;
  font-family: var(--font-en);
}
.dwh-feature-content h3 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 16px;
}
.accent-text { color: rgba(180, 50, 40, 0.8); }
.dwh-feature-content p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  text-align: center;
}

/* === 技术亮点 === */
.dwh-tech { background: var(--color-bg-secondary); }
.dwh-tech-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dwh-tech-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s;
}
.dwh-tech-card:hover {
  border-color: rgba(180,50,40,0.3);
  background: rgba(180,50,40,0.05);
  transform: translateY(-4px);
}
.dwh-tech-icon { font-size: 32px; margin-bottom: 16px; }
.dwh-tech-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}
.dwh-tech-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* === 荣誉 === */
.dwh-accolades { background: var(--color-bg-primary); }
.dwh-accolades-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.dwh-accolade-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s;
}
.dwh-accolade-item:hover {
  border-color: rgba(180,50,40,0.2);
  background: rgba(180,50,40,0.03);
}
.dwh-accolade-icon { font-size: 36px; flex-shrink: 0; }
.dwh-accolade-info h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}
.dwh-accolade-info p {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* === CTA === */
.dwh-cta-section { background: var(--color-bg-secondary); }
.dwh-cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
}
.dwh-cta-inner h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}
.dwh-cta-inner p {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}
.dwh-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.dwh-cta-buttons .btn { padding: 12px 32px; }

/* === 响应式 === */
@media (max-width: 900px) {
  .dwh-about-inner { grid-template-columns: 1fr; gap: 40px; }
  .dwh-tech-grid { grid-template-columns: 1fr 1fr; }
  .dwh-feature-item { min-height: 400px; }
  .dwh-feature-content { padding: 40px 24px; }
  .dwh-feature-number { font-size: 48px; }
  .dwh-feature-content h3 { font-size: 22px; }
  .dwh-hero-seal { width: 60px; height: 60px; font-size: 28px; }
}
@media (max-width: 600px) {
  .dwh-tech-grid { grid-template-columns: 1fr; }
  .dwh-feature-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.85) 100%);
  }
  .dwh-accolade-item { flex-direction: column; text-align: center; gap: 12px; }
}
