/* ===== PRD 配色变量 ===== */
:root {
  --primary: #6C3FB5;
  --gold: #F0C856;
  --accent: #FF6B6B;
  --bg-dark: #0D0B1A;
  --bg-card: #16132A;
  --text-light: #FFFFFF;
  --text-muted: #B8B5C8;
  --border-color: rgba(240, 200, 86, 0.15);
  --radius: 16px;
  --max-width: 1200px;
}

/* ===== 基础重置 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--gold); text-decoration: none; transition: all 0.3s; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }

/* ===== 容器与通用区块 ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 16px; }
.section { padding: 64px 0; }
.section-title { text-align: center; font-size: 28px; font-weight: 700; margin-bottom: 12px; color: var(--gold); }
.section-desc { text-align: center; color: var(--text-muted); margin-bottom: 40px; font-size: 0.95rem; }
.section-more { text-align: center; margin-top: 32px; }
.section-more a { color: var(--gold); font-size: 1rem; font-weight: 700; }

/* ===== 头部导航 ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent; transition: background 0.3s, backdrop-filter 0.3s;
}
.site-header.scrolled {
  background: rgba(13, 11, 26, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; max-width: var(--max-width); margin: 0 auto;
}
.site-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo-img { height: 50px; width: auto; max-width: 180px; object-fit: contain; display: block; }

/* 导航菜单（桌面端） */
.nav-toggle { display: none; background: none; border: 1px solid var(--gold); color: var(--gold); padding: 6px 12px; border-radius: 6px; font-size: 1.2rem; cursor: pointer; }
.main-nav ul { display: flex; list-style: none; gap: 24px; align-items: center; }
.main-nav a { color: var(--text-light); font-size: 0.95rem; }
.main-nav a:hover { color: var(--gold); }
.btn-nav-download {
  background: linear-gradient(135deg, var(--accent), #FF4757);
  color: #fff !important; padding: 8px 20px; border-radius: 50px; font-weight: 700;
}

/* ===== Hero 首屏 ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 100px 16px 60px; overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.5s ease-in-out;
}
.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
      180deg, 
      rgba(13, 11, 26, 0.6) 0%, 
      rgba(13, 11, 26, 0.85) 50%, 
      rgba(13, 11, 26, 0.95) 100%
  ) !important;
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }

.hero-title {
  font-size: 48px; font-weight: 800; margin-bottom: 12px;
  color: #F0C856 !important;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.9) !important;
  letter-spacing: 4px;
}
.hero-subtitle { font-size: 1.2rem; margin-bottom: 12px; }
.hero-subtitle .highlight {
  background: var(--gold); color: var(--bg-dark); padding: 4px 16px; border-radius: 50px;
  font-weight: 700; font-size: 0.95rem; display: inline-block;
}
.hero-slogan { 
  color: #FFFFFF !important; 
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95) !important; 
  font-weight: 600 !important;
  margin-bottom: 20px; 
  font-size: 1.1rem; 
}
.game-tags { display: flex; justify-content: center; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; position: relative; z-index: 3; }
.game-tags span {
  background: rgba(108, 63, 181, 0.4); border: 1px solid rgba(240, 200, 86, 0.3);
  padding: 6px 20px; border-radius: 50px; font-size: 0.85rem; color: var(--gold);
}

/* ===== 双平台下载按钮 ===== */
.btn-group { display: flex; justify-content: center; gap: 16px; margin-top: 24px; position: relative; z-index: 3; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 36px; border-radius: 50px; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: all 0.3s; text-decoration: none; min-width: 180px; min-height: 48px;
  box-sizing: border-box;
}
.btn-android {
  background: linear-gradient(135deg, #FF6B6B, #FF4757); color: #fff;
  box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4); border: none;
}
.btn-android:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 6px 20px rgba(255, 71, 87, 0.6); color: #fff; }
.btn-ios { background: transparent; color: var(--gold); border: 2px solid var(--gold); }
.btn-ios:hover { background: rgba(240, 200, 86, 0.1); transform: translateY(-2px) scale(1.05); color: var(--gold); }
.pkg-info { margin-top: 16px; font-size: 0.85rem; color: var(--text-muted); position: relative; z-index: 3; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }

/* ===== 游戏简介区 ===== */
.section-intro { background: var(--bg-dark); }
.intro-content { max-width: 800px; margin: 0 auto; }
.intro-text {
    color: var(--text-muted); font-size: 0.95rem; line-height: 1.9;
    text-align: center; margin-bottom: 32px; padding: 0 16px;
}
.intro-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.intro-feature-item {
    display: flex; align-items: center; gap: 14px; background: var(--bg-card);
    border: 1px solid var(--border-color); border-radius: var(--radius);
    padding: 16px 20px; transition: border-color 0.3s, transform 0.3s;
}
.intro-feature-item:hover { border-color: var(--gold); transform: translateY(-2px); }
.intro-feature-icon {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    background: rgba(108, 63, 181, 0.4); border-radius: 10px; color: var(--gold);
    font-size: 1.2rem; flex-shrink: 0;
}
.intro-feature-item span { color: var(--text-light); font-size: 0.9rem; font-weight: 500; }

/* ===== 进服福利区 ===== */
.welfare-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.welfare-card {
  display: flex; align-items: flex-start; gap: 16px; 
  background: var(--bg-card); border: 1px solid var(--border-color); 
  border-radius: var(--radius); padding: 20px; transition: all 0.3s;
}
.welfare-card:hover { border-color: var(--gold); box-shadow: 0 0 15px rgba(240, 200, 86, 0.15); }
.welfare-num {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #d4a830);
  color: var(--bg-dark); font-weight: 800; font-size: 0.9rem; flex-shrink: 0;
}
.welfare-info h3 { font-size: 1rem; color: var(--gold); margin-bottom: 4px; }
.welfare-info p { font-size: 0.85rem; color: var(--text-muted); }

/* ===== 核心特色（纯图片卡片，没有冗余文字） ===== */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius);
  overflow: hidden; transition: all 0.3s;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.feature-img { 
  height: 260px; /* 桌面端高度，契合 1200*540 比例 */
  background-size: cover; 
  background-position: center; 
}

/* ===== 游戏攻略 ===== */
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-card {
  background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius);
  padding: 28px 24px; transition: all 0.3s;
}
.guide-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.guide-icon { font-size: 1.8rem; margin-bottom: 12px; }
.guide-card h3 { font-size: 1.05rem; color: var(--gold); margin-bottom: 10px; }
.guide-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.8; }

/* ===== 游戏活动 ===== */
.events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.event-card {
  background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius);
  padding: 24px; transition: all 0.3s;
}
.event-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.event-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.event-icon { font-size: 1.4rem; }
.event-header h3 { font-size: 1.05rem; color: var(--gold); margin: 0; flex: 1; }
.event-tag { font-size: 0.7rem; padding: 2px 10px; border-radius: 50px; }
.tag-active { background: rgba(76, 175, 80, 0.2); color: #4CAF50; border: 1px solid #4CAF50; }
.tag-long { background: rgba(108, 63, 181, 0.3); color: #a78bfa; border: 1px solid #a78bfa; }
.tag-season { background: rgba(255, 193, 7, 0.2); color: #FFC107; border: 1px solid #FFC107; }
.tag-limit { background: rgba(255, 71, 87, 0.2); color: #FF4757; border: 1px solid #FF4757; }
.event-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.event-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.event-tags span { background: rgba(255,255,255,0.05); padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; color: var(--text-muted); }

/* ===== 游戏信息 ===== */
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.info-card {
  background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius);
  padding: 24px 20px; text-align: center; transition: all 0.3s;
}
.info-card:hover { border-color: var(--gold); }
.info-icon { font-size: 1.6rem; margin-bottom: 8px; }
.info-label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 4px; }
.info-value { font-size: 0.95rem; color: var(--gold); font-weight: 700; }

/* ===== FAQ 常见问题 ===== */
.section-faq { background: var(--bg-dark); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { 
  background: var(--bg-card); border: 1px solid var(--border-color); 
  border-radius: var(--radius); padding: 20px 24px; margin-bottom: 16px; 
  transition: all 0.3s;
}
.faq-item:hover { border-color: var(--gold); }
.faq-item h3 { font-size: 1rem; color: var(--gold); margin-bottom: 12px; line-height: 1.5; }
.faq-item p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; }

/* ===== 底部下载区 ===== */
.section-download-bottom { background: linear-gradient(180deg, var(--bg-dark), #1a0f2e); text-align: center; }
.download-title { font-size: 32px; color: var(--gold); margin-bottom: 8px; font-weight: 800; }
.download-desc { color: var(--text-muted); margin-bottom: 24px; }

/* ===== 底部版权 ===== */
.site-footer { background: #080612; border-top: 1px solid var(--border-color); padding: 48px 16px 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; max-width: var(--max-width); margin: 0 auto 40px; }
.footer-col h4 { color: var(--gold); font-size: 1rem; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--text-muted); font-size: 0.85rem; }
.footer-col ul a:hover { color: var(--gold); }
.footer-info p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 8px; }
.footer-info span { color: var(--text-light); }

.footer-qualifications {
  max-width: var(--max-width); margin: 0 auto 32px; background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color); border-radius: var(--radius); padding: 24px;
}
.footer-qualifications h4 { color: var(--gold); font-size: 0.95rem; margin-bottom: 16px; text-align: center; }
.qual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.qual-item { display: flex; gap: 8px; font-size: 0.8rem; color: var(--text-muted); }
.qual-item span { color: var(--text-light); }

.footer-contact { text-align: center; margin-bottom: 24px; font-size: 0.85rem; color: var(--text-muted); }
.footer-contact span { margin: 0 12px; }

.footer-copyright { text-align: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 24px; }
.footer-copyright p { color: var(--text-muted); font-size: 0.75rem; line-height: 1.8; }
.footer-copyright .warning { color: #8a8a9a; font-size: 0.7rem; }

/* ===== 呼吸光效 ===== */
@keyframes breathe {
  0% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(255, 71, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}
.btn-android { animation: breathe 2s infinite; }

/* ===== 滚动动画类 ===== */
.fade-in-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

/* ===== 移动端适配 ===== */
@media (max-width: 1024px) {
  .guides-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .qual-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { 
    display: block; 
    background: rgba(13, 11, 26, 0.6) !important;
    border-radius: 8px;
    backdrop-filter: blur(5px);
  }
  
  .main-nav { 
    position: fixed; top: 70px; left: 0; right: 0; 
    background: rgba(13, 11, 26, 0.98); backdrop-filter: blur(12px); 
    padding: 20px; transform: translateY(-100%); opacity: 0; visibility: hidden; transition: all 0.3s; 
    border-bottom: 1px solid var(--border-color); 
  }
  .main-nav.active { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 1rem; }
  
  .hero { min-height: auto; padding: 100px 16px 60px; }
  .hero-title { font-size: 32px; letter-spacing: 2px; }
  .hero-slogan { font-size: 0.95rem; }
  
  .btn-group { flex-direction: column; align-items: stretch; gap: 20px !important; }
  .btn { width: 100%; }
  
  .features-grid { grid-template-columns: 1fr; }
  .guides-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .intro-features { grid-template-columns: 1fr; }
  .welfare-grid { grid-template-columns: 1fr; }
  
  .section { padding: 48px 0; }
  .section-title { font-size: 24px; }
  .download-title { font-size: 24px; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  
  .header-inner { padding: 10px 16px !important; }
  .logo-img { height: 50px !important; max-height: 50px !important; max-width: 160px !important; }
  
  /* 移动端核心特色图片降高，防止比例失调 */
  .feature-img { height: 180px !important; }
}

@media (max-width: 480px) {
  .info-grid { grid-template-columns: 1fr; }
}
/* ===== 攻略页专属样式 ===== */
.guides-section {
  padding: 64px 0;
  background-color: var(--bg-card);
}

.guides-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

.guides-main-title {
  text-align: center;
  margin-bottom: 40px;
}

.guides-main-title span {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, #a78bfa, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.guides-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* 文章卡片 */
.guide-article {
  background-color: var(--bg-dark); /* 使用深色背景以突出内容 */
  border: 1px solid rgba(108, 63, 181, 0.2);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.guide-article:hover {
  border-color: rgba(240, 200, 86, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 文章头部 */
.article-header {
  padding: 24px;
  border-bottom: 1px solid rgba(108, 63, 181, 0.15);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.article-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(108, 63, 181, 0.3), rgba(108, 63, 181, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.article-title-box {
  display: flex;
  flex-direction: column;
}

.article-tag {
  font-size: 0.75rem;
  color: #a78bfa;
  font-weight: 500;
  margin-bottom: 2px;
}

.article-title {
  font-size: 1.15rem;
  color: var(--text-light);
  font-weight: 700;
  margin: 0;
}

.article-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* 文章正文 */
.article-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-heading {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.section-num {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background-color: rgba(240, 200, 86, 0.15);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.section-content {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  padding-left: 30px;
  margin: 0;
}

/* 实用技巧区块 */
.article-tips-box {
  margin: 0 24px 24px;
  background-color: rgba(108, 63, 181, 0.08);
  border: 1px solid rgba(108, 63, 181, 0.15);
  border-radius: 12px;
  padding: 16px;
}

.tips-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.tips-icon {
  font-size: 1rem;
}

.tips-title {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 700;
}

.tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tips-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.tip-check {
  color: #4CAF50;
  font-size: 0.8rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* 滚动动画绑定的 class（你现有的 JS 会捕捉这个） */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 移动端适配 */
@media (max-width: 768px) {
  .guides-section { padding: 40px 0; }
  .guides-main-title span { font-size: 24px; }
  .article-header, .article-body { padding: 16px; }
  .article-tips-box { margin: 0 16px 16px; }
  .article-title { font-size: 1.05rem; }
  .section-content { padding-left: 0; }
}