/* 复古球鞋 - 全局样式 */
:root {
  --accent-color: #2196f3;
  --primary-color: #1a1a1a;
  --secondary-color: #666;
  --bg-color: #f5f5f5;
  --card-bg: #fff;
  --border-color: #e0e0e0;
  --star-color: #ffc107;
  --pro-color: #4caf50;
  --con-color: #f44336;
  --max-width: 1200px;
  --gap: 24px;
  --radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--primary-color);
  background: var(--bg-color);
}

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

a:hover {
  text-decoration: underline;
}

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

/* 容器 */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* 页头 */
.header {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.logo span {
  color: var(--accent-color);
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: var(--secondary-color);
  font-weight: 500;
}

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

.search-box {
  display: flex;
  gap: 8px;
}

.search-box input {
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  width: 200px;
}

.search-box button {
  padding: 8px 16px;
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}

/* 面包屑 */
.breadcrumb {
  padding: 16px 0;
  font-size: 14px;
  color: var(--secondary-color);
}

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

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

/* Hero区域 */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #333 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 16px;
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* 区块标题 */
.section-title {
  font-size: 24px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-color);
  display: inline-block;
}

.section {
  padding: 40px 0;
}

/* 卡片网格 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--gap);
}

/* 卡片 */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.card-image {
  width: 100%;
  height: 180px;
  background: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 14px;
}

.card-content {
  padding: 20px;
}

.card-title {
  font-size: 18px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--secondary-color);
}

/* 评分 */
.rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stars {
  color: var(--star-color);
}

.rating-score {
  font-weight: 600;
  color: var(--accent-color);
}

/* 特色评测 */
.featured-review {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.featured-review .review-header {
  display: flex;
  gap: 32px;
  margin-bottom: 24px;
}

.featured-review .review-image {
  width: 300px;
  height: 200px;
  background: var(--bg-color);
  border-radius: var(--radius);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
}

.featured-review .review-info h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.featured-review .review-info .rating {
  margin-bottom: 16px;
}

.featured-review .review-info p {
  color: var(--secondary-color);
  line-height: 1.8;
}

/* 分类标签 */
.category-tags {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.category-tag {
  padding: 12px 24px;
  background: var(--card-bg);
  border-radius: var(--radius);
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.category-tag:hover {
  background: var(--accent-color);
  color: #fff;
  text-decoration: none;
}

/* 文章列表 */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-item {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.article-item h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.article-item .rating {
  margin-bottom: 12px;
}

.article-item .excerpt {
  color: var(--secondary-color);
  margin-bottom: 16px;
}

.article-item .meta {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: var(--secondary-color);
}

/* 排序选项 */
.sort-options {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--card-bg);
  border-radius: var(--radius);
}

.sort-options a {
  color: var(--secondary-color);
}

.sort-options a.active {
  color: var(--accent-color);
  font-weight: 600;
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  padding: 8px 16px;
  background: var(--card-bg);
  border-radius: var(--radius);
  min-width: 40px;
  text-align: center;
}

.pagination a:hover {
  background: var(--accent-color);
  color: #fff;
  text-decoration: none;
}

.pagination .current {
  background: var(--accent-color);
  color: #fff;
}

/* 文章详情页 */
.article-header {
  background: var(--card-bg);
  padding: 40px 0;
  margin-bottom: 40px;
}

.article-header h1 {
  font-size: 32px;
  margin-bottom: 16px;
}

.article-header .meta {
  display: flex;
  gap: 24px;
  color: var(--secondary-color);
  margin-bottom: 24px;
}

.article-header .overall-rating {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-color);
  border-radius: var(--radius);
}

.article-header .overall-rating .stars {
  font-size: 24px;
}

.article-header .overall-rating .score {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-color);
}

/* 产品图片 */
.product-image {
  width: 100%;
  max-width: 600px;
  height: 400px;
  background: var(--bg-color);
  border-radius: var(--radius);
  margin: 0 auto 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
}

/* 快速结论 */
.verdict {
  background: linear-gradient(135deg, var(--accent-color) 0%, #1976d2 100%);
  color: #fff;
  padding: 24px;
  border-radius: var(--radius);
  margin-bottom: 40px;
}

.verdict h3 {
  margin-bottom: 12px;
}

/* 文章内容 */
.article-content {
  background: var(--card-bg);
  padding: 40px;
  border-radius: var(--radius);
  margin-bottom: 40px;
}

.article-content h2 {
  font-size: 24px;
  margin: 32px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

/* 优缺点 */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  margin-bottom: 40px;
}

.pros,
.cons {
  background: var(--card-bg);
  padding: 24px;
  border-radius: var(--radius);
}

.pros h3 {
  color: var(--pro-color);
  margin-bottom: 16px;
}

.cons h3 {
  color: var(--con-color);
  margin-bottom: 16px;
}

.pros ul,
.cons ul {
  list-style: none;
}

.pros li::before {
  content: '✓ ';
  color: var(--pro-color);
  font-weight: bold;
}

.cons li::before {
  content: '✗ ';
  color: var(--con-color);
  font-weight: bold;
}

.pros li,
.cons li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

.pros li:last-child,
.cons li:last-child {
  border-bottom: none;
}

/* 评分细分 */
.rating-breakdown {
  background: var(--card-bg);
  padding: 24px;
  border-radius: var(--radius);
  margin-bottom: 40px;
}

.rating-breakdown h3 {
  margin-bottom: 20px;
}

.rating-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

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

/* 操作按钮 */
.action-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.btn {
  padding: 12px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  border: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: var(--accent-color);
  color: #fff;
}

.btn-secondary {
  background: var(--card-bg);
  color: var(--primary-color);
  border: 1px solid var(--border-color);
}

.btn:hover {
  opacity: 0.9;
  text-decoration: none;
}

/* 侧边栏 */
.sidebar-section {
  background: var(--card-bg);
  padding: 24px;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.sidebar-section h3 {
  font-size: 18px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

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

.sidebar-section li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-section li:last-child {
  border-bottom: none;
}

.sidebar-section a {
  color: var(--primary-color);
}

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

/* 三栏布局 */
.three-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

/* 两栏布局 */
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

/* 404页面 */
.error-page {
  text-align: center;
  padding: 100px 0;
}

.error-page h1 {
  font-size: 120px;
  color: var(--accent-color);
  margin-bottom: 24px;
}

.error-page h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.error-page p {
  color: var(--secondary-color);
  margin-bottom: 32px;
}

/* 页脚 */
.footer {
  background: var(--primary-color);
  color: #fff;
  padding: 40px 0;
  margin-top: 60px;
}

.footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--gap);
}

.footer h4 {
  margin-bottom: 16px;
  font-size: 16px;
}

.footer p {
  opacity: 0.8;
  font-size: 14px;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 8px;
}

.footer a {
  color: #fff;
  opacity: 0.8;
  font-size: 14px;
}

.footer a:hover {
  opacity: 1;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 32px;
  padding-top: 24px;
  text-align: center;
  opacity: 0.6;
  font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .featured-review .review-header {
    flex-direction: column;
  }

  .featured-review .review-image {
    width: 100%;
  }

  .three-columns {
    grid-template-columns: 1fr;
  }

  .footer .container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
  }

  .nav {
    gap: 16px;
  }

  .search-box input {
    width: 150px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .pros-cons {
    grid-template-columns: 1fr;
  }

  .two-columns {
    grid-template-columns: 1fr;
  }

  .article-content {
    padding: 24px;
  }

  .footer .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --gap: 16px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .category-tags {
    justify-content: center;
  }

  .action-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
