
:root {
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --accent-color: #f093fb;
  --text-color: #333;
  --text-light: #666;
  --bg-color: #f5f5f5;
  --card-bg: #ffffff;
  --border-color: #e0e0e0;
  --shadow: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-hover: 0 4px 16px rgba(0,0,0,0.15);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-content {
  min-height: calc(100vh - 200px);
  padding: 40px 0;
}

.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 40px;
}

.hero-section h1 {
  font-size: 32px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.intro-text {
  font-size: 18px;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
  opacity: 0.95;
}

.site-intro {
  background: white;
  padding: 40px 20px;
  margin-bottom: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.site-intro h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.intro-content p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
  color: var(--text-color);
}

.intro-content a {
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 1px solid var(--primary-color);
  transition: all 0.3s;
}

.intro-content a:hover {
  color: var(--secondary-color);
  border-bottom-color: var(--secondary-color);
}

.video-section {
  margin-bottom: 50px;
}

.video-section h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: var(--text-color);
  padding-left: 20px;
  border-left: 4px solid var(--primary-color);
}

.section-desc {
  margin-bottom: 30px;
  color: var(--text-light);
  font-size: 16px;
}

.section-desc a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s;
}

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

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.video-card {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 25px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.video-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.video-card h3 a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}

.video-card h3 a:hover {
  color: var(--primary-color);
}

.video-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.video-meta span {
  background: var(--bg-color);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 14px;
  color: var(--text-light);
}

.video-desc {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 15px;
}

.read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  display: inline-block;
}

.read-more:hover {
  color: var(--secondary-color);
}

.video-list {
  margin-top: 30px;
}

.video-item {
  background: var(--card-bg);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s;
}

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

.rank-number {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
  min-width: 50px;
  text-align: center;
}

.item-content {
  flex: 1;
}

.item-content h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.item-content h3 a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}

.item-content h3 a:hover {
  color: var(--primary-color);
}

.item-meta {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 10px;
}

.item-desc {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 15px;
}

.detail-page {
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 40px;
}

.detail-header h1 {
  font-size: 32px;
  color: var(--text-color);
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border-color);
}

.detail-info, .detail-oneline, .detail-summary, .detail-review, .related-videos {
  margin-bottom: 40px;
}

.detail-info h2, .detail-oneline h2, .detail-summary h2, .detail-review h2, .related-videos h2 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.info-list {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 15px;
  line-height: 1.8;
}

.info-list dt {
  font-weight: 600;
  color: var(--text-color);
}

.info-list dd {
  color: var(--text-light);
}

.highlight-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--primary-color);
  padding: 20px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  border-left: 4px solid var(--primary-color);
  border-radius: 4px;
}

.summary-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-color);
  text-indent: 2em;
}

.review-content {
  background: var(--bg-color);
  padding: 25px;
  border-left: 4px solid var(--accent-color);
  border-radius: 4px;
  font-style: italic;
}

.review-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
}

.page-header {
  margin-bottom: 40px;
}

.page-header h1 {
  font-size: 32px;
  color: var(--text-color);
  margin-bottom: 15px;
}

.page-intro {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
}

.ranking-list {
  margin-top: 30px;
}

.ranking-item {
  background: var(--card-bg);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 25px;
  align-items: flex-start;
  transition: all 0.3s;
}

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

.rank-badge {
  min-width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  font-size: 28px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.item-body {
  flex: 1;
}

.item-body h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.item-body h3 a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}

.item-body h3 a:hover {
  color: var(--primary-color);
}

.item-body .item-meta {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 12px;
}

.item-summary {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 10px;
  font-size: 15px;
}

.item-review {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 14px;
  font-style: italic;
  padding: 10px;
  background: var(--bg-color);
  border-radius: 4px;
}

.topic-card {
  position: relative;
}

.card-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
}

.latest-card {
  position: relative;
}

.card-date {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent-color);
  color: white;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
}

.site-footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
}

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

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 24px;
  }

  .intro-text {
    font-size: 16px;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .detail-page {
    padding: 20px;
  }

  .detail-header h1 {
    font-size: 24px;
  }

  .info-list {
    grid-template-columns: 80px 1fr;
    gap: 10px;
  }

  .rank-badge {
    min-width: 50px;
    height: 50px;
    font-size: 24px;
  }
}
