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

.page-title {
  text-align: center;
  margin-bottom: 24px;
}

.page-title h1 {
  color: #ff6b9d;
  font-size: 28px;
  margin-bottom: 4px;
}

.subtitle {
  color: #888;
  font-size: 14px;
}

.controls {
  background: #16213e;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-group label {
  color: #aaa;
  font-size: 14px;
}

.year-buttons,
.sort-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.year-btn,
.sort-btn {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  background: #0f3460;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s;
}

.year-btn:hover,
.sort-btn:hover {
  background: #e91e63;
}

.year-btn.active,
.sort-btn.active {
  background: #ff6b9d;
}

.stats {
  color: #888;
  font-size: 14px;
}

.video-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.video-card {
  display: flex;
  background: #16213e;
  border-radius: 8px;
  padding: 12px;
  gap: 12px;
  transition: transform 0.2s;
}

.video-card:hover {
  transform: translateX(4px);
}

.rank {
  font-size: 20px;
  font-weight: bold;
  color: #ff6b9d;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumbnail {
  width: 120px;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.info {
  flex: 1;
  min-width: 0;
}

.title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 6px;
  line-height: 1.4;
}

.title a {
  color: #4cc9f0;
  text-decoration: none;
}

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

.year-tag {
  display: inline-block;
  background: #333;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  margin-left: 8px;
  font-weight: normal;
}

.actress {
  color: #f72585;
  font-size: 13px;
  margin-bottom: 6px;
}

.meta {
  color: #aaa;
  font-size: 13px;
}

.comments {
  color: #4ade80;
  font-weight: bold;
}

.rating {
  color: #fbbf24;
}

.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 40px;
  color: #888;
  min-height: 100px;
}

.loading .spinner,
.loading span {
  display: none;
}

.loading.show .spinner,
.loading.show span {
  display: block;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #333;
  border-top-color: #ff6b9d;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hidden {
  display: none !important;
}

@media (max-width: 600px) {
  .video-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .rank {
    font-size: 16px;
    min-width: auto;
  }

  .thumbnail {
    width: 100px;
    height: 133px;
  }

  .title {
    font-size: 13px;
  }
}
