/* 
 * Agent17官网样式表
 * 创建日期: 2025-03-25
 * 版本: 1.0
 */

/* 基础重置和变量 */
:root {
  --primary-color: #ff3e3e;
  --secondary-color: #333;
  --accent-color: #ffcc00;
  --text-color: #333;
  --text-light: #fff;
  --text-gray: #777;
  --bg-dark: #1a1a1a;
  --bg-light: #fff;
  --bg-gray: #f5f5f5;
  --border-color: #e0e0e0;
  --shadow: 0 4px 6px rgba(0,0,0,0.1);
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --container-width: 1200px;
  --header-height: 70px;
  --z-modal: 1000;
  --z-header: 100;
  --z-back-top: 90;
}

/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Noto Sans SC', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--bg-light);
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--accent-color);
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  width: 95%;
  margin: 0 auto;
  padding: 0 12px;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* 标题样式 */
.section-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 0.75rem;
}

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

.section-title i {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: var(--border-radius);
  border: none;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

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

/* 页头 */
.site-header {
  background-color: rgba(0, 0, 0, 0.9);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-header);
  transition: var(--transition);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: 'Press Start 2P', cursive;
  color: var(--text-light);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.site-logo a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-logo a:hover {
  color: var(--primary-color);
}

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

.main-nav a {
  color: var(--text-light);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* 英雄区域 */
.hero-section {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('../images/bg.webp');
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  padding: 6rem 0 4rem;
  text-align: left;
  margin-bottom: 2rem;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 62, 62, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 1;
}

.hero-flex {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background-color: rgba(255, 62, 62, 0.2);
  border: 1px solid var(--primary-color);
  border-radius: 50px;
  padding: 0.4rem 0.8rem;
  margin-bottom: 1rem;
}

.badge-icon {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.badge-text {
  font-size: 0.8rem;
  font-weight: 600;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
  line-height: 1.2;
}

.version-highlight {
  color: var(--primary-color);
}

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

.hero-desc {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  font-size: 0.9rem;
}

.feature-item i {
  color: var(--accent-color);
}

.download-container {
  max-width: 450px;
  margin: 0 auto;
}

.download-btn {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--primary-color);
  border-radius: var(--border-radius);
  color: var(--text-light);
  display: flex;
  transition: var(--transition);
  font-weight: 700;
}

.btn-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.btn-text {
  display: flex;
  flex-direction: column;
}

.download-btn:hover {
  background-color: #d13030;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 62, 62, 0.4);
}

.download-btn i {
  font-size: 1.5rem;
}

.download-btn .main-text {
  font-size: 1.1rem;
  line-height: 1.2;
}

.download-btn .version-text {
  font-size: 0.8rem;
  opacity: 0.9;
}

.version-details {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.version-details .dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  margin: auto 0;
}

@media (max-width: 991px) {
  .hero-content {
    max-width: 100%;
  }
  
  .hero-section {
    padding: 5rem 0 3rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-section {
    padding: 5rem 0 2.5rem;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .main-nav.show {
    max-height: 300px;
  }
  
  .main-nav ul {
    flex-direction: column;
    padding: 1rem;
    gap: 0;
  }
  
  .main-nav li {
    width: 100%;
  }
  
  .main-nav a {
    display: block;
    padding: 0.75rem 0;
    width: 100%;
  }
  
  .news-section,
  .gallery-section,
  .version-section,
  .reviews-section {
    padding: 2rem 0;
    margin-bottom: 1.75rem;
  }
  
  .section-title {
    margin-bottom: 1.25rem;
  }
  
  .version-header {
    display: none;
  }
  
  .version-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1.5rem;
  }
  
  .version-cell {
    position: relative;
    padding-left: 50%;
  }
  
  .version-cell::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 45%;
    text-align: left;
    font-weight: 500;
  }
  
  .reviews-slider {
    flex-wrap: nowrap;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .news-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  :root {
    --header-height: 50px;
  }
  
  html {
    font-size: 14px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-section {
    padding: 4rem 0 2rem;
  }
  
  .section-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  
  .news-section,
  .gallery-section,
  .version-section,
  .reviews-section {
    padding: 1.75rem 0;
    margin-bottom: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 1rem;
    right: 1rem;
  }
  
  .popular-tags {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.25rem !important;
    padding: 0.5rem !important;
    flex-wrap: nowrap !important;
  }
  
  .category-tag {
    width: 100%;
    margin: 0;
    padding: 0.2rem;
    font-size: 0.65rem;
    justify-content: center;
    text-align: center;
  }
  
  .category-tag i {
    font-size: 0.65rem;
    margin-right: 0.1rem;
  }
  
  .category-tag b {
    font-size: 0.65rem;
    margin-left: 0.1rem;
  }
  
  .tags-header {
    width: 100% !important;
    grid-column: 1 / -1 !important;
    margin-bottom: 0.5rem !important;
    text-align: center !important;
    font-size: 0.9rem !important;
  }
}

/* 新闻区域 */
.news-section {
  /* padding: 2.5rem 0; */
  margin-bottom: 2rem;
}

/* 新闻容器 */
.news-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* 特色新闻 */
.news-featured {
  margin-bottom: 0.75rem;
}

.featured-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.featured-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

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

.card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

.card-content {
  padding: 1.25rem;
}

/* 新闻列表 */
.news-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.news-item {
  padding: 0.75rem;
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.news-item:hover {
  background-color: var(--bg-gray);
  transform: translateX(5px);
}

/* 新闻元数据 */
.news-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.news-date {
  color: var(--text-gray);
  font-size: 0.875rem;
}

.news-category {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background-color: rgba(255, 62, 62, 0.1);
  color: var(--primary-color);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
}

.news-category.delay {
  background-color: rgba(255, 152, 0, 0.1);
  color: #ff9800;
}

.news-category.update {
  background-color: rgba(0, 123, 255, 0.1);
  color: #007bff;
}

.news-category.bugfix {
  background-color: rgba(76, 175, 80, 0.1);
  color: #4caf50;
}

.news-category.notice {
  background-color: rgba(156, 39, 176, 0.1);
  color: #9c27b0;
}

/* 新闻标题和摘要 */
.news-title {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  line-height: 1.4;
}

.news-title a {
  color: var(--text-color);
  transition: var(--transition);
}

.news-title a:hover {
  color: var(--primary-color);
}

.news-excerpt {
  color: var(--text-gray);
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.news-item .news-excerpt {
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-read-more {
  color: var(--primary-color);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-read-more:hover {
  gap: 0.75rem;
}

.btn-read-more i {
  transition: var(--transition);
}

/* 查看更多区域 */
.news-more {
  text-align: center;
  margin-top: 1rem;
}

.btn-archive {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.6rem 1.5rem;
  background-color: transparent;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
}

.btn-archive:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-light);
}

.btn-archive i {
  transition: var(--transition);
}

.btn-archive:hover i {
  transform: translateX(5px);
}

/* 响应式设计 */
@media (min-width: 768px) {
  .news-container {
    grid-template-columns: 1fr;
  }
  
  .featured-card {
    flex-direction: row;
    max-height: 250px;
  }
  
  .card-image {
    flex: 0 0 40%;
    height: auto;
  }
  
  .card-content {
    flex: 1;
  }
}

/* 游戏画面区域 */
.gallery-section {
  padding: 2.5rem 0;
  background-color: var(--bg-gray);
  margin-bottom: 2rem;
}

.gallery-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* 标签筛选 */
.gallery-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.gallery-tab {
  background: none;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-tab:hover {
  background-color: rgba(255, 62, 62, 0.1);
}

.gallery-tab.active {
  background-color: var(--primary-color);
  color: var(--text-light);
}

/* 画廊瀑布流布局 */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
  background-color: var(--bg-light);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.item-inner {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

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

.gallery-item:hover img {
  transform: scale(1.05);
}

.item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
}

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

.item-info h3 {
  color: var(--accent-color);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.item-info p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.4;
}

.btn-zoom {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--text-light);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-zoom:hover {
  background-color: var(--primary-color);
  transform: scale(1.1);
}

/* 画廊操作区域 */
.gallery-actions {
  text-align: center;
  margin-top: 1rem;
}

.btn-more-screenshots {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius);
  color: var(--primary-color);
  font-weight: 500;
  transition: var(--transition);
}

.btn-more-screenshots:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.btn-more-screenshots i {
  font-size: 1.1rem;
}

/* 模态框增强 */
.modal {
  display: none;
  position: fixed;
  z-index: var(--z-modal);
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  overflow: hidden;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 85vh;
  margin: 2.5vh auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#modal-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 5px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.modal-caption {
  color: var(--text-light);
  margin-top: 1rem;
  text-align: center;
  max-width: 600px;
}

.modal-caption h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.modal-caption p {
  font-size: 1rem;
  opacity: 0.8;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--text-light);
  font-size: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: calc(var(--z-modal) + 1);
  transition: var(--transition);
}

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

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: calc(var(--z-modal) + 1);
}

.modal-nav:hover {
  background-color: var(--primary-color);
}

.modal-nav.prev {
  left: 20px;
}

.modal-nav.next {
  right: 20px;
}

@media (max-width: 768px) {
  .gallery-masonry {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .modal-nav {
    width: 40px;
    height: 40px;
  }
  
  .modal-content {
    max-width: 95%;
  }
}

@media (max-width: 576px) {
  .gallery-masonry {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  
  .gallery-item img {
    height: 120px;
  }
  
  .item-info h3 {
    font-size: 0.9rem;
  }
  
  .item-info p {
    font-size: 0.75rem;
  }
  
  .modal-nav {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  
  .modal-close {
    top: 10px;
    right: 15px;
    font-size: 2rem;
  }
  
  .modal-caption h3 {
    font-size: 1.2rem;
  }
  
  .modal-caption p {
    font-size: 0.9rem;
  }
}

/* 版本记录区域 */
.version-section {
  /*padding: 2.5rem 0;*/
  margin-bottom: 2rem;
}

.version-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.25rem;
  margin-bottom: 0;
}

.version-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.version-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.version-top {
  background-color: rgba(51, 51, 51, 0.03);
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.version-tag-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.version-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: rgba(255, 62, 62, 0.1);
  color: var(--primary-color);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
}

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

.version-info {
  display: flex;
  gap: 1rem;
  color: var(--text-gray);
  font-size: 0.85rem;
}

.version-content {
  padding: 1rem;
  flex: 1;
}

.version-content h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--secondary-color);
}

.update-list {
  list-style: none;
}

.update-item {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.4;
}

.update-item:last-child {
  margin-bottom: 0;
}

.update-item i {
  position: absolute;
  left: 0;
  top: 0.2rem;
}

.update-item.new i {
  color: #4caf50;
}

.update-item.fix i {
  color: #f44336;
}

.update-item.update i {
  color: #2196f3;
}

.update-item.optimize i {
  color: #ff9800;
}

.version-action {
  padding: 1rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.btn-download {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 4px;
  font-weight: 500;
  transition: var(--transition);
  width: 100%;
}

.btn-download i {
  margin-right: 0.5rem;
}

.btn-download:hover {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

@media (max-width: 768px) {
  .version-cards {
    grid-template-columns: 1fr;
  }
  
  .version-top {
    padding: 1rem;
  }
  
  .version-content, 
  .version-action {
    padding: 1rem;
  }
}

/* 玩家评价区域 */
.reviews-section {
  padding: 3rem 0;
  background-color: var(--dark-bg);
  margin-bottom: 0;
  position: relative;
}

.reviews-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/* 评价概述 - 极简紧凑版 */
.reviews-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1.5rem;
  gap: 0.75rem;
  position: relative;
}

.reviews-summary {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
}

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

.rating-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.rating-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 75px;
  background-color: var(--dark-bg-light);
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid var(--card-border);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.rating-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 0.1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.rating-stars {
  margin: 0.1rem 0;
  color: var(--primary-color);
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.rating-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--light-text);
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.rating-title-group {
  flex: 1;
}

.rating-title-group p {
  color: var(--muted-text);
  font-size: 0.8rem;
  line-height: 1.3;
}

.rating-count {
  color: var(--muted-text);
  font-size: 0.7rem;
  margin-top: 0.15rem;
}

.rating-distribution {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  width: 100%;
  margin-top: 0.35rem;
}

.rating-bar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.rating-label {
  width: 25px;
  color: var(--muted-text);
  font-size: 0.75rem;
  font-weight: 500;
}

.rating-bar {
  flex: 1;
  height: 5px;
  background-color: var(--dark-bg);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.rating-fill {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 2px;
  position: relative;
}

.rating-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.1) 50%, 
    transparent 100%
  );
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.rating-percentage {
  width: 30px;
  font-size: 0.75rem;
  color: var(--light-text);
  text-align: right;
  font-weight: 600;
}

.popular-tags {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-content: flex-start;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
}

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

.tags-header {
  width: 100%;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.tags-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.category-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background-color: var(--dark-bg-light);
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--light-text);
  transition: all 0.25s ease;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  margin: 0.1rem;
}

.category-tag i {
  color: var(--primary-color);
  font-size: 0.75rem;
}

.category-tag b {
  color: var(--primary-color);
  font-weight: 600;
  margin-left: 0.15rem;
}

.category-tag:hover {
  background-color: rgba(246, 195, 4, 0.15);
  border-color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

@media (max-width: 992px) {
  .reviews-overview {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

@media (max-width: 768px) {
  .reviews-section {
    padding: 2rem 0;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .reviews-overview {
    flex-direction: column;
    padding: 1.25rem;
  }
  
  .reviews-summary {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-right: 0;
    padding-bottom: 1.25rem;
    width: 100%;
  }
  
  .popular-tags {
    padding: 1.25rem;
    align-items: center;
  }
  
  .reviews-cta {
    padding: 1.5rem;
    text-align: center;
  }
  
  .cta-text {
    max-width: 100%;
    margin-bottom: 1rem;
  }
  
  .download-review-btn {
    width: 100%;
  }
}

/* 评价网格 */
.reviews-compact {
  margin-bottom: 2.5rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.reviews-grid .review-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  border: 1px solid var(--card-border);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.reviews-grid .review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(246, 195, 4, 0.2);
  border-color: var(--primary-color);
}

.reviews-grid .review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background-color: rgba(54, 42, 29, 0.4);
  border-bottom: 1px solid var(--card-border);
}

.reviews-grid .reviewer-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reviews-grid .reviewer-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.reviews-grid .reviewer-name {
  font-weight: 500;
  color: var(--light-text);
  font-size: 1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.reviews-grid .review-rating {
  color: var(--primary-color);
  font-size: 1rem;
}

.reviews-grid .review-content {
  padding: 1.25rem;
  flex: 1;
  background-color: var(--card-bg);
}

.reviews-grid .review-content p {
  color: var(--light-text);
  opacity: 0.95;
  margin: 0;
  line-height: 1.7;
  font-size: 0.95rem;
}

.reviews-cta {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  margin-top: 2.5rem;
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.reviews-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 20%, rgba(246, 195, 4, 0.05) 0%, transparent 70%),
              radial-gradient(circle at 80% 80%, rgba(246, 195, 4, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.cta-text {
  max-width: 65%;
}

.cta-text h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
  font-weight: 600;
}

.cta-text p {
  color: var(--light-text);
  opacity: 0.9;
  font-size: 1.05rem;
}

/* 评价区域下载按钮 */
.download-review-btn {
  padding: 0.85rem 2rem;
  background: var(--gradient-primary);
  color: var(--button-text);
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(246, 195, 4, 0.25);
  letter-spacing: 0.5px;
  font-size: 1.05rem;
}

.download-review-btn:hover {
  background: linear-gradient(45deg, #daa520, #ffd700);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
  color: #000;
}

.download-review-btn i {
  color: var(--dark-bg);
  font-size: 1.2rem;
}

.download-review-btn:hover i {
  color: #000;
}

@media (max-width: 768px) {
  .reviews-section {
    padding: 2rem 0;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .reviews-overview {
    flex-direction: column;
    padding: 1.25rem;
  }
  
  .reviews-summary {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-right: 0;
    padding-bottom: 1.25rem;
    width: 100%;
  }
  
  .popular-tags {
    padding: 1.25rem;
    align-items: center;
  }
  
  .reviews-cta {
    padding: 1.5rem;
    text-align: center;
  }
  
  .cta-text {
    max-width: 100%;
    margin-bottom: 1rem;
  }
  
  .download-review-btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .reviews-section {
    padding: 1.5rem 0;
  }
  
  .reviews-overview {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .rating-score {
    min-width: 60px;
    padding: 0.75rem;
  }
  
  .rating-number {
    font-size: 1.75rem;
  }
  
  .rating-distribution {
    display: none;
  }
  
  .reviews-grid .review-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .reviews-grid .reviewer-avatar {
    width: 38px;
    height: 38px;
  }
  
  .reviews-grid .reviewer-name {
    font-size: 0.95rem;
  }
  
  .reviews-cta {
    padding: 1.25rem;
  }
  
  .cta-text h3 {
    font-size: 1.3rem;
  }
  
  .cta-text p {
    font-size: 0.95rem;
  }
  
  .download-review-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* 页脚 */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 3rem 0 1.5rem;
  margin-top: 0;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-desc {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.25rem;
  line-height: 1.6;
  font-size: 0.9rem;
}

.footer-links, .footer-partners {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li, .footer-partners li {
  margin-bottom: 0.75rem;
}

.footer-links a, .footer-partners a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover, .footer-partners a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: auto;
}

.social-links a {
  color: var(--text-light);
  font-size: 1.25rem;
  transition: var(--transition);
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links a:hover {
  color: var(--text-light);
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.copyright a {
  color: var(--text-light);
  text-decoration: none;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

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

.divider {
  color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding-top: 1rem;
  }
  
  .social-links {
    margin-top: 0.75rem;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .site-footer {
    padding: 1.5rem 0 1rem;
  }
  
  .footer-columns {
    margin-bottom: 1rem;
    gap: 0.75rem;
  }
  
  .footer-column {
    margin-bottom: 0.5rem;
  }
  
  .footer-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
  }
  
  .footer-desc {
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    line-height: 1.4;
  }
  
  .footer-links li, .footer-partners li {
    margin-bottom: 0.4rem;
  }
  
  .footer-links a, .footer-partners a {
    font-size: 0.8rem;
  }
  
  .copyright, .footer-legal a {
    font-size: 0.75rem;
  }
  
  .footer-legal {
    gap: 0.5rem;
  }
}

/* 返回顶部按钮 - 新版 */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #f6c304, #d4a903);
  color: #120e08;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  box-shadow: 0 5px 15px rgba(246, 195, 4, 0.3);
  border: 2px solid rgba(246, 195, 4, 0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.back-to-top-btn:hover {
  background: linear-gradient(135deg, #ffcc00, #f6c304);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(246, 195, 4, 0.4);
  color: #000;
}

.back-to-top-btn:active {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(246, 195, 4, 0.3);
}

@media (max-width: 768px) {
  .back-to-top-btn {
    width: 45px;
    height: 45px;
    font-size: 18px;
    bottom: 25px;
    right: 25px;
  }
}

@media (max-width: 576px) {
  .back-to-top-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
    bottom: 20px;
    right: 20px;
  }
}

/* 响应式样式 */
@media (max-width: 992px) {
  :root {
    --header-height: 60px;
  }
  
  .container {
    width: 90%;
  }
  
  .hero-title {
    font-size: 2rem;
  }
} 