: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;
}

body {
  font-family: var(--font-body);
  background-color: var(--charcoal);
  color: var(--text-main);
  overflow-x: hidden;
}

h1, h2, h3, .font-display {
  font-family: var(--font-display);
}

.page-hero {
  position: relative;
  min-height: 50vh;
  background: linear-gradient(135deg, rgba(190,18,60,0.25), rgba(234,88,12,0.15)), url('https://yqcdn.fuhua95.com/game/20241220/75db32e8a0cffe4b9d487e6b262612e2.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,10,5,0.5) 0%, rgba(26,10,5,0.9) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--war-gold);
  text-shadow: 0 4px 16px rgba(234,88,12,0.5);
}

/* 时间线 */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--flame-orange), var(--crimson), var(--war-gold));
}
.timeline-item {
  position: relative;
  padding-left: 70px;
  margin-bottom: 3rem;
}
.timeline-dot {
  position: absolute;
  left: 12px;
  top: 4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--flame-orange);
  border: 4px solid var(--charcoal);
  box-shadow: 0 0 0 2px var(--war-gold);
  z-index: 2;
}
.timeline-card {
  background: var(--charcoal-light);
  border: 1px solid rgba(253,224,71,0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform 0.3s, border-color 0.3s;
}
.timeline-card:hover {
  transform: translateX(6px);
  border-color: rgba(253,224,71,0.35);
}
.timeline-card h3 {
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  color: var(--war-gold);
  margin-bottom: 0.75rem;
}
.timeline-card p,
.timeline-card li {
  color: var(--text-muted);
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  line-height: 1.7;
}
.timeline-card ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.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;
}

/* 按钮变体 */
.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);
}

@media (min-width: 768px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
  .timeline-item {
    padding-left: 0;
    width: 50%;
  }
  .timeline-item:nth-child(odd) {
    margin-left: 0;
    padding-right: 3rem;
    text-align: right;
  }
  .timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-left: 3rem;
    text-align: left;
  }
  .timeline-dot {
    left: auto;
    right: -14px;
  }
  .timeline-item:nth-child(even) .timeline-dot {
    left: -14px;
    right: auto;
  }
  .timeline-card:hover {
    transform: translateX(0) scale(1.02);
  }
}
