body.ui-style-5 {
  --primary-color: #007bff;
  --secondary-color: #6c757d;
  --bg-color: #f5f5f5;
  --card-bg: #fff;
  --text-color: #333;
  --border-color: #ddd;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.site-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 3rem 0;
  text-align: center;
  margin-bottom: 2rem;
}

.site-header .logo {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.site-header h1 {
  font-size: 1.8rem;
  line-height: 1.4;
  font-weight: 600;
}

.intro {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 3rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.intro h2 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.intro p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.intro a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.intro a:hover {
  text-decoration: underline;
}

section {
  margin-bottom: 3rem;
}

section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
}

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

.video-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.video-card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

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

.video-card .rank {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-weight: bold;
  font-size: 0.9rem;
}

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

.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-card .meta {
  color: var(--secondary-color);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.video-card .one-line {
  color: var(--secondary-color);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.video-card .tags {
  color: var(--secondary-color);
  font-size: 0.85rem;
}

.more-link {
  text-align: center;
  margin-top: 2rem;
}

.more-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.3s;
}

.more-link a:hover {
  color: #0056b3;
}

.intro-text {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  line-height: 1.8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.topic-group {
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.detail-page {
  max-width: 900px;
}

.video-detail h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.video-detail section {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.video-detail section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  border-left: none;
  padding-left: 0;
}

.basic-info ul {
  list-style: none;
}

.basic-info li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

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

.basic-info strong {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.one-line p, .summary p, .review p {
  line-height: 1.8;
  color: var(--text-color);
}

.related .video-grid {
  margin-top: 1.5rem;
}

footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 2rem 0;
  margin-top: 4rem;
}

@media (max-width: 768px) {
  .site-header h1 {
    font-size: 1.4rem;
  }

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

  .video-detail h1 {
    font-size: 1.8rem;
  }

  .container {
    padding: 1rem;
  }

  section h2 {
    font-size: 1.5rem;
  }
}