body.ui-style-3 {
  --primary-color: #e74c3c;
  --secondary-color: #34495e;
  --accent-color: #3498db;
  --text-color: #333;
  --bg-color: #f5f5f5;
  --card-bg: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

a {
  color: var(--primary-color);
  transition: color 0.3s;
}

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

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

.hero h1 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.hero .intro {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.hero .tags {
  font-size: 0.95rem;
  opacity: 0.85;
}

section {
  margin-bottom: 50px;
}

section h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--primary-color);
}

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

.video-card {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s;
}

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

.video-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

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

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

.video-card .meta {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.5rem;
}

.video-card .desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

.video-card .tags {
  margin-top: 10px;
  font-size: 0.8rem;
  color: #999;
}

.video-list {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.list-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

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

.list-item .rank {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  min-width: 40px;
  text-align: center;
}

.list-item .info h4 {
  margin: 0 0 5px 0;
}

.list-item .info h4 a {
  text-decoration: none;
  color: var(--secondary-color);
}

.list-item .info h4 a:hover {
  color: var(--primary-color);
}

.more-link {
  text-align: center;
  margin-top: 25px;
}

.more-link a {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s;
}

.more-link a:hover {
  background: var(--accent-color);
  transform: scale(1.05);
}

.page-intro {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 25px;
  padding: 15px;
  background: #fff;
  border-left: 4px solid var(--primary-color);
  border-radius: 4px;
}

.ranked-list {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.rank-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

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

.rank-num {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
  min-width: 60px;
  text-align: center;
}

.rank-content {
  flex: 1;
}

.rank-content h3 {
  margin-bottom: 10px;
}

.rank-content h3 a {
  text-decoration: none;
  color: var(--secondary-color);
}

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

.rank-content .summary {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

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

.topic-title {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 5px solid var(--primary-color);
}

.timeline-list {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.timeline-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

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

.date-badge {
  background: var(--primary-color);
  color: #fff;
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: bold;
  min-width: 70px;
  text-align: center;
  height: fit-content;
}

.timeline-item .content {
  flex: 1;
}

.timeline-item h3 {
  margin-bottom: 10px;
}

.timeline-item h3 a {
  text-decoration: none;
  color: var(--secondary-color);
}

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

.detail {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.detail h1 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--primary-color);
}

.info-box {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 30px;
  border: 1px solid #eee;
}

.info-item {
  padding: 10px 0;
  font-size: 1rem;
  line-height: 1.8;
  border-bottom: 1px solid #eee;
}

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

.info-item strong {
  color: var(--secondary-color);
  min-width: 80px;
  display: inline-block;
}

.section {
  margin-bottom: 40px;
}

.section h2 {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
  padding-left: 12px;
  border-left: 4px solid var(--primary-color);
}

.highlight {
  font-size: 1.15rem;
  color: var(--primary-color);
  font-weight: 500;
  line-height: 1.8;
  padding: 15px;
  background: #fff5f5;
  border-radius: 5px;
}

.summary, .review {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  text-align: justify;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.related-card {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 6px;
  border: 1px solid #eee;
  transition: all 0.3s;
}

.related-card:hover {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.related-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.related-card h4 a {
  text-decoration: none;
  color: var(--secondary-color);
}

.related-card h4 a:hover {
  color: var(--primary-color);
}

.related-card .meta {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 8px;
}

.related-card .desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .hero {
    padding: 40px 20px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero .intro {
    font-size: 1rem;
  }

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

  .detail {
    padding: 20px;
  }

  .detail h1 {
    font-size: 1.75rem;
  }

  .rank-item {
    flex-direction: column;
    gap: 10px;
  }

  .rank-num {
    font-size: 1.5rem;
    min-width: auto;
    text-align: left;
  }

  .timeline-item {
    flex-direction: column;
    gap: 10px;
  }

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