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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  line-height: 1.6;
  color: #fff;
  background: #000;
}

body.ui-style-0 {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.site-header {
  background: rgba(0, 0, 0, 0.95);
  border-bottom: 1px solid #333;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ff6b6b;
  text-decoration: none;
  transition: color 0.3s;
}

.logo a:hover {
  color: #ff8787;
}

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

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
  white-space: nowrap;
}

.main-nav a:hover {
  color: #ff6b6b;
}

@media (max-width: 768px) {
  .header-content {
    padding: 0.75rem 1rem;
  }

  .logo a {
    font-size: 1.2rem;
  }

  .main-nav {
    gap: 0.8rem;
    font-size: 0.85rem;
  }

  .main-nav a {
    font-size: 0.8rem;
  }
}

.main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.hero-section {
  padding: 3rem 0;
  text-align: center;
}

.hero-content h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.4;
  color: #ff6b6b;
}

.hero-desc {
  font-size: 1rem;
  color: #ccc;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

section {
  margin: 3rem 0;
}

section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #ff6b6b;
  border-left: 4px solid #ff6b6b;
  padding-left: 1rem;
}

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

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.video-card {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.video-card__link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.video-cover {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #2a2a2a;
  overflow: hidden;
}

.video-cover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.video-card:hover .video-cover img {
  transform: scale(1.05);
}

.video-info {
  padding: 1.25rem;
}

.video-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.video-one-line {
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .video-cover {
    padding-top: 50%;
  }
}

.page-header {
  padding: 2rem 0;
  text-align: center;
  border-bottom: 2px solid #333;
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 2.5rem;
  color: #ff6b6b;
  margin-bottom: 1rem;
}

.page-desc {
  font-size: 1rem;
  color: #ccc;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

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

.top-list__items {
  list-style: none;
  max-width: 900px;
  margin: 0 auto;
}

.top-list__item {
  display: flex;
  gap: 1.5rem;
  background: #1a1a1a;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  align-items: center;
  transition: background 0.3s;
}

.top-list__item:hover {
  background: #252525;
}

.top-rank {
  font-size: 2rem;
  font-weight: 700;
  color: #ff6b6b;
  min-width: 50px;
  text-align: center;
}

.top-rank.rank-1 { color: #ffd700; }
.top-rank.rank-2 { color: #c0c0c0; }
.top-rank.rank-3 { color: #cd7f32; }

.top-cover {
  width: 120px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}

.top-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-info {
  flex: 1;
}

.top-title {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.top-title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.top-title a:hover {
  color: #ff6b6b;
}

.top-meta {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 0.5rem;
}

.top-desc {
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .top-list__item {
    flex-wrap: wrap;
  }

  .top-cover {
    width: 100%;
    height: auto;
    padding-top: 56.25%;
    position: relative;
  }

  .top-cover img {
    position: absolute;
    top: 0;
    left: 0;
  }
}

.video-player-section {
  margin-bottom: 2rem;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.video-player {
  width: 100%;
  background: #000;
}

.video-player-inner {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.player-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 107, 107, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-play-btn:hover {
  background: rgba(255, 107, 107, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.player-play-icon {
  font-size: 2rem;
  color: #fff;
  margin-left: 5px;
}

.detail-header {
  padding: 2rem 0;
  border-bottom: 2px solid #333;
  margin-bottom: 2rem;
}

.detail-header h1 {
  font-size: 2.5rem;
  color: #ff6b6b;
  margin-bottom: 1rem;
}

.info-block {
  background: #1a1a1a;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.info-block h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  border: none;
  padding: 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.info-item {
  display: flex;
  gap: 0.5rem;
}

.info-label {
  color: #999;
  min-width: 60px;
}

.info-value {
  color: #fff;
}

.content-block {
  background: #1a1a1a;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.content-block h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  border: none;
  padding: 0;
}

.content-block p {
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.related-section {
  margin-top: 3rem;
}

.related-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #ff6b6b;
  border-left: 4px solid #ff6b6b;
  padding-left: 1rem;
}

.video-card--related {
  background: #1a1a1a;
}

.site-footer {
  background: #0a0a0a;
  border-top: 1px solid #333;
  padding: 2rem;
  text-align: center;
  margin-top: 4rem;
}

.footer-content p {
  color: #999;
  font-size: 0.9rem;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: rgba(255, 107, 107, 0.9);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: rgba(255, 107, 107, 1);
  transform: translateY(-3px);
}
