/* ===== CSS变量定义 ===== */
:root {
  /* 主题配色 */
  --primary-color: #19969d;
  --secondary-color: #ad7758;
  --accent-color: #462b2c;
  --dark-color: #6f4938;
  
  /* 渐变色 */
  --gradient-primary: linear-gradient(135deg, #19969d, #ad7758);
  --gradient-secondary: linear-gradient(135deg, #462b2c, #6f4938);
  --gradient-hero: linear-gradient(135deg, rgba(25, 150, 157, 0.9), rgba(173, 119, 88, 0.9));
  
  /* 文字颜色 */
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #ffffff;
  --text-muted: #999999;
  
  /* 背景色 */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-dark: #2c2c2c;
  --bg-overlay: rgba(0, 0, 0, 0.7);
  
  /* 阴影 */
  --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.2);
  
  /* 字体 */
  --font-primary: 'Noto Sans SC', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
  
  /* 边距和间距 */
  --container-max-width: 1200px;
  --section-padding: 80px 0;
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

/* ===== 重置样式 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}

/* ===== 通用组件 ===== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-color);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

/* ===== 头部导航 ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-light);
  z-index: 1000;
  transition: var(--transition);
}

.navbar {
  padding: 15px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo-icon {
  width: 32px;
  height: 32px;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover {
  background: var(--gradient-primary);
  color: var(--text-light);
  transform: translateY(-2px);
}

.nav-link i {
  font-size: 0.9rem;
}

/* 移动端菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* ===== 英雄区 ===== */
.hero {
  background: var(--gradient-hero);
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: 70px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  color: var(--text-light);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-info {
  margin-bottom: 2rem;
}

.version-info {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.version {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.status {
  background: var(--secondary-color);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.release-date {
  opacity: 0.8;
  font-size: 0.9rem;
}

.hero-features {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.feature i {
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.download-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--secondary-color);
  color: var(--text-light);
  padding: 16px 32px;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-medium);
  transition: var(--transition);
  align-self: flex-start;
}

.download-btn:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
}

.download-info {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-heavy);
  transition: var(--transition);
}

.hero-image img:hover {
  transform: scale(1.05);
}

/* ===== 新闻动态区 ===== */
.news {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.news-item {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.news-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
}

.news-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.news-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.news-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.news-content {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-weight: 500;
  transition: var(--transition);
}

.news-link:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

/* ===== 游戏截图区 ===== */
.gallery {
  padding: var(--section-padding);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  cursor: pointer;
  aspect-ratio: 16/9;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-medium);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: var(--text-light);
  font-size: 2rem;
  transform: scale(0.8);
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay i {
  transform: scale(1);
}

/* 图片模态框 */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: var(--border-radius);
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: var(--text-light);
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--secondary-color);
  transform: scale(1.1);
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 30px;
}

.modal-prev,
.modal-next {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-light);
  border: none;
  padding: 15px 20px;
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.modal-prev:hover,
.modal-next:hover {
  background: var(--secondary-color);
  transform: scale(1.1);
}

/* ===== 用户评价区 ===== */
.reviews {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.reviews-stats {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.rating-overview {
  text-align: center;
}

.rating-score {
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.rating-stars {
  color: #ffc107;
  font-size: 1.5rem;
  margin: 0.5rem 0;
}

.rating-count {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.rating-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.reviews-carousel {
  position: relative;
  margin-bottom: 2rem;
}

.review-item {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  display: none;
  text-align: center;
}

.review-item.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.review-stars {
  color: #ffc107;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
  color: var(--text-secondary);
}

.review-author {
  font-weight: 600;
  color: var(--primary-color);
}

.reviews-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.review-prev,
.review-next {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 10px 15px;
  border-radius: 50%;
  font-size: 1rem;
  transition: var(--transition);
}

.review-prev:hover,
.review-next:hover {
  background: var(--secondary-color);
  transform: scale(1.1);
}

.review-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active,
.dot:hover {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* ===== 版本历史区 ===== */
.versions {
  padding: var(--section-padding);
}

.versions-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.versions-timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-primary);
}

.version-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 80px;
}

.version-item::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 20px;
  width: 18px;
  height: 18px;
  background: var(--primary-color);
  border-radius: 50%;
  border: 4px solid var(--bg-primary);
  box-shadow: 0 0 0 2px var(--primary-color);
}

.version-tag {
  position: absolute;
  left: -15px;
  top: 0;
  background: var(--secondary-color);
  color: var(--text-light);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.version-tag.current {
  background: var(--primary-color);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.version-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.version-number {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.version-date {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.version-details {
  background: var(--bg-primary);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  border-left: 4px solid var(--primary-color);
}

.version-description {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.version-changes {
  margin: 1rem 0;
  padding-left: 1rem;
}

.version-changes li {
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.version-changes li::before {
  content: '•';
  color: var(--primary-color);
  position: absolute;
  left: -1rem;
  font-weight: bold;
}

.version-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.version-size,
.version-platform {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.version-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-color);
  color: var(--text-light);
  padding: 8px 16px;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.version-download:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

/* ===== 常见问题区 ===== */
.faq {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-primary);
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-medium);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  background: var(--bg-primary);
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--bg-secondary);
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
}

.faq-question i {
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height: 200px;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== 底部 ===== */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.footer-section p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  text-align: center;
}

.footer-copyright p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0.25rem 0;
}

.footer-copyright a {
  color: var(--primary-color);
}

/* ===== 返回顶部按钮 ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 1000;
  box-shadow: var(--shadow-medium);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }
  
  /* 导航菜单 */
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--bg-primary);
    width: 100%;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
    padding: 2rem 0;
    gap: 0;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    margin: 0.5rem 0;
  }
  
  .nav-link {
    justify-content: center;
    padding: 12px 20px;
  }
  
  .hamburger {
    display: flex;
  }
  
  /* 英雄区 */
  .hero {
    min-height: 100vh;
    text-align: center;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .hero-features {
    justify-content: center;
    gap: 1rem;
  }
  
  .download-info {
    justify-content: center;
    gap: 1rem;
  }
  
  /* 区块标题 */
  .section-title {
    font-size: 2rem;
  }
  
  /* 新闻网格 */
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  /* 截图网格 */
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  /* 评价统计 */
  .reviews-stats {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .rating-tags {
    justify-content: center;
  }
  
  /* 版本历史 */
  .versions-timeline::before {
    left: 20px;
  }
  
  .version-item {
    padding-left: 60px;
  }
  
  .version-item::before {
    left: 11px;
  }
  
  .version-tag {
    left: -25px;
  }
  
  .version-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .version-info {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  /* 底部 */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  /* 模态框 */
  .modal-close {
    top: 20px;
    right: 20px;
    font-size: 2rem;
  }
  
  .modal-nav {
    padding: 0 20px;
  }
  
  .modal-prev,
  .modal-next {
    padding: 10px 12px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .download-btn {
    padding: 12px 24px;
    font-size: 1rem;
    align-self: center;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-features {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .version-item {
    padding-left: 40px;
  }
  
  .version-tag {
    position: static;
    margin-bottom: 1rem;
    display: inline-block;
  }
}

/* ===== 动画和效果 ===== */
@media (prefers-reduced-motion: no-preference) {
  .hero-content > * {
    animation: slideInUp 0.8s ease-out;
    animation-fill-mode: both;
  }
  
  .hero-content > *:nth-child(1) { animation-delay: 0.1s; }
  .hero-content > *:nth-child(2) { animation-delay: 0.2s; }
  .hero-content > *:nth-child(3) { animation-delay: 0.3s; }
  .hero-content > *:nth-child(4) { animation-delay: 0.4s; }
  .hero-content > *:nth-child(5) { animation-delay: 0.5s; }
  .hero-content > *:nth-child(6) { animation-delay: 0.6s; }
  
  .hero-image img {
    animation: slideInRight 0.8s ease-out 0.3s;
    animation-fill-mode: both;
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== 滚动条样式 ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* ===== 选择文本样式 ===== */
::selection {
  background: var(--primary-color);
  color: var(--text-light);
}

::-moz-selection {
  background: var(--primary-color);
  color: var(--text-light);
}

/* ===== 页面头部样式 ===== */
.page-header {
  background: var(--gradient-hero);
  padding: 120px 0 60px;
  margin-top: 70px;
  color: var(--text-light);
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  color: var(--text-light);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--secondary-color);
}

.separator {
  margin: 0 10px;
  opacity: 0.7;
}

.current {
  opacity: 0.7;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-title i {
  margin-right: 15px;
  color: var(--secondary-color);
}

.page-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

/* ===== 用户手册样式 ===== */
.manual-content {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.manual-content .container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  max-width: 1400px;
}

.manual-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar-menu {
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-light);
}

.sidebar-menu h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.sidebar-menu ul {
  list-style: none;
}

.sidebar-menu li {
  margin-bottom: 0.5rem;
}

.sidebar-link {
  display: block;
  padding: 10px 15px;
  color: var(--text-secondary);
  border-radius: var(--border-radius);
  transition: var(--transition);
  text-decoration: none;
}

.sidebar-link:hover,
.sidebar-link.active {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateX(5px);
}

.manual-main {
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--shadow-light);
}

.manual-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--bg-secondary);
}

.manual-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.manual-section h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 15px;
}

.manual-section h3 {
  color: var(--dark-color);
  font-size: 1.3rem;
  margin: 2rem 0 1rem;
}

.section-content p {
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.install-steps {
  counter-reset: step-counter;
  padding-left: 0;
}

.install-steps li {
  counter-increment: step-counter;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  position: relative;
  padding-left: 4rem;
}

.install-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  width: 30px;
  height: 30px;
  background: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.install-steps strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.requirements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

.req-column {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-color);
}

.req-column h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.req-list {
  list-style: none;
  padding: 0;
}

.req-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-secondary);
}

.req-list li:last-child {
  border-bottom: none;
}

.req-list strong {
  color: var(--dark-color);
}

.controls-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

.control-group {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: var(--border-radius);
}

.control-group h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.control-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.control-item:last-child {
  border-bottom: none;
}

.key {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  min-width: 80px;
  text-align: center;
}

.action {
  color: var(--text-secondary);
  flex: 1;
  margin-left: 1rem;
}

.save-location {
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin: 1rem 0;
}

.save-location code {
  background: var(--dark-color);
  color: var(--text-light);
  padding: 8px 12px;
  border-radius: 4px;
  display: block;
  margin: 0.5rem 0;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

.tip-box {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: var(--text-light);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin: 1.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.tip-box i {
  font-size: 1.2rem;
  margin-top: 2px;
}

.troubleshoot-item {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--secondary-color);
}

.troubleshoot-item h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 1rem;
}

.troubleshoot-item ul {
  padding-left: 1.5rem;
}

.troubleshoot-item li {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  position: relative;
}

.troubleshoot-item li::before {
  content: '•';
  color: var(--secondary-color);
  position: absolute;
  left: -1rem;
  font-weight: bold;
}

/* ===== 通用页面内容样式 ===== */
.page-content {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.content-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-primary);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
}

.content-section {
  margin-bottom: 2.5rem;
}

.content-section h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--bg-secondary);
}

.content-section h3 {
  color: var(--dark-color);
  font-size: 1.3rem;
  margin: 1.5rem 0 1rem;
}

.content-section p {
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.content-section ul,
.content-section ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-section li {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.highlight-box {
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-color);
  margin: 1.5rem 0;
}

.warning-box {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin: 1.5rem 0;
}

.info-box {
  background: #d1ecf1;
  border-left: 4px solid #17a2b8;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin: 1.5rem 0;
}

/* ===== 联系表单样式 ===== */
.contact-form {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--bg-secondary);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(25, 150, 157, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* ===== 响应式设计 - 页面样式 ===== */
@media (max-width: 768px) {
  .page-title {
    font-size: 2.2rem;
  }
  
  .manual-content .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .manual-sidebar {
    position: static;
    order: 2;
  }
  
  .manual-main {
    order: 1;
    padding: 2rem;
  }
  
  .requirements-grid,
  .controls-grid {
    grid-template-columns: 1fr;
  }
  
  .content-container {
    padding: 2rem;
  }
  
  .install-steps li {
    padding-left: 3rem;
  }
  
  .install-steps li::before {
    left: 1rem;
  }
}

@media (max-width: 480px) {
  .page-header {
    padding: 100px 0 40px;
  }
  
  .page-title {
    font-size: 1.8rem;
  }
  
  .page-subtitle {
    font-size: 1rem;
  }
  
  .manual-main {
    padding: 1.5rem;
  }
  
  .content-container {
    padding: 1.5rem;
  }
  
  .control-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .action {
    margin-left: 0;
  }
} 