/* Reset CSS */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

ol, ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  outline: none;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Variables */
/* Base styles */
body {
  background-color: #1a1a1a;
  color: #ffffff;
  padding-top: 50px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
}

.header {
  background-color: #242424;
  padding: 10px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
}
@media (max-width: 1024px) {
  .header .container {
    padding: 0 20px;
  }
}
@media (max-width: 768px) {
  .header .container {
    padding: 0 15px;
  }
}
.header .logo img {
  height: 30px;
}
.header .menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
  position: relative;
}
@media (max-width: 768px) {
  .header .menu-toggle {
    display: flex;
  }
}
.header .menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  position: absolute;
  left: 0;
}
.header .menu-toggle span:first-child {
  top: 0;
}
.header .menu-toggle span:nth-child(2) {
  top: 8px;
}
.header .menu-toggle span:last-child {
  top: 16px;
}
.header .menu-toggle.active span:first-child {
  top: 8px;
  transform: rotate(45deg);
}
.header .menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.header .menu-toggle.active span:last-child {
  top: 8px;
  transform: rotate(-45deg);
}
.header .nav-menu {
  display: flex;
  gap: 20px;
}
.header .nav-menu a {
  color: #ffffff;
  text-decoration: none;
  padding: 5px 10px;
  font-size: 14px;
}
.header .nav-menu a.active {
  color: #2196f3;
}
.header .nav-menu a.hot {
  color: #ff4757;
}
.header .nav-menu a.recommend {
  color: #ffa502;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
.overlay.active {
  display: block;
}

.main-content {
  min-height: calc(100vh - 50px - 60px);
  padding: 20px 0;
}
.main-content .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media (max-width: 768px) {
  .main-content .container {
    gap: 20px;
  }
}

.search-container {
  background-color: #1a1a1a;
}
@media (max-width: 768px) {
  .search-container {
    margin-bottom: -10px;
  }
}
.search-container .search-box {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}
.search-container .search-box input {
  flex: 1;
  padding: 8px 15px;
  border: 1px solid #333;
  border-radius: 4px;
  background-color: #242424;
  color: #ffffff;
  font-size: 14px;
}
.search-container .search-box input::placeholder {
  color: #999999;
}
.search-container .search-box .search-btn {
  padding: 8px 20px;
  background-color: #2196f3;
  border: none;
  border-radius: 4px;
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
}
.search-container .search-box .search-btn:hover {
  background-color: rgb(11.5384615385, 124.0384615385, 213.4615384615);
}

.category-section {
  margin: 20px 0;
}
.category-section .category-tags {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 10px 0;
}
.category-section .category-tags::-webkit-scrollbar {
  display: none;
}
.category-section .category-tags a {
  color: #999999;
  text-decoration: none;
  padding: 6px 15px;
  border-radius: 20px;
  background-color: #242424;
  white-space: nowrap;
  font-size: 14px;
  transition: all 0.3s;
}
.category-section .category-tags a.active {
  background-color: #2196f3;
  color: #ffffff;
}
.category-section .category-tags a:hover {
  background-color: rgb(48.75, 48.75, 48.75);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.section-header h2 {
  font-size: 18px;
  font-weight: normal;
}
.section-header .more {
  color: #999999;
  text-decoration: none;
  font-size: 14px;
}
.section-header .more:hover {
  color: #2196f3;
}

.drama-ranking {
  margin: 30px 0;
}
@media (max-width: 768px) {
  .drama-ranking {
    margin: 20px 0;
  }
}
.drama-ranking .section-header {
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .drama-ranking .section-header {
    margin-bottom: 15px;
  }
}
.drama-ranking .section-header h2 {
  font-size: 18px;
  font-weight: normal;
  color: #ffffff;
}
.drama-ranking .ranking-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
@media (max-width: 768px) {
  .drama-ranking .ranking-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
.drama-ranking .ranking-list .ranking-item {
  background-color: #242424;
  border-radius: 8px;
  padding: 15px;
  display: grid;
  grid-template-columns: 35px 1fr 80px;
  grid-template-rows: 1fr;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
  height: 60px;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .drama-ranking .ranking-list .ranking-item {
    grid-template-columns: 30px 1fr 70px;
    gap: 12px;
  }
}
.drama-ranking .ranking-list .ranking-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.drama-ranking .ranking-list .ranking-item .rank-number {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  flex-shrink: 0;
  min-width: 35px;
}
@media (max-width: 768px) {
  .drama-ranking .ranking-list .ranking-item .rank-number {
    width: 30px;
    height: 30px;
    font-size: 14px;
    min-width: 30px;
  }
}
.drama-ranking .ranking-list .ranking-item .drama-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: #ffffff;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
@media (max-width: 768px) {
  .drama-ranking .ranking-list .ranking-item .drama-title {
    font-size: 14px;
  }
}
.drama-ranking .ranking-list .ranking-item .drama-category {
  font-size: 12px;
  color: #999999;
  padding: 4px 8px;
  background: rgba(33, 150, 243, 0.1);
  border-radius: 4px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 768px) {
  .drama-ranking .ranking-list .ranking-item .drama-category {
    font-size: 11px;
    padding: 3px 6px;
  }
}
.drama-ranking .ranking-list .ranking-item.rank-1 .rank-number {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #333;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}
.drama-ranking .ranking-list .ranking-item.rank-2 .rank-number {
  background: linear-gradient(135deg, #e8e8e8, #f8f8f8);
  color: #333;
  box-shadow: 0 2px 8px rgba(232, 232, 232, 0.4);
  border: 2px solid #d4d4d4;
}
.drama-ranking .ranking-list .ranking-item.rank-3 .rank-number {
  background: linear-gradient(135deg, #cd7f32, #daa520);
  color: #fff;
  box-shadow: 0 2px 8px rgba(205, 127, 50, 0.3);
}
.drama-ranking .ranking-list .ranking-item.rank-4 .rank-number, .drama-ranking .ranking-list .ranking-item.rank-5 .rank-number {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}
.drama-ranking .ranking-list .ranking-item.rank-6 .rank-number, .drama-ranking .ranking-list .ranking-item.rank-7 .rank-number, .drama-ranking .ranking-list .ranking-item.rank-8 .rank-number, .drama-ranking .ranking-list .ranking-item.rank-9 .rank-number, .drama-ranking .ranking-list .ranking-item.rank-10 .rank-number {
  background: linear-gradient(135deg, #6c757d, #495057);
  color: #fff;
  box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

.video-thumbnail .video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}
.video-thumbnail .video-rank {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 24px;
  height: 24px;
  background: #2196f3;
  color: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}
.video-thumbnail:hover img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.ad-section {
  margin: 15px 0;
}
.category-videos {
  margin: 30px 0;
}
@media (max-width: 768px) {
  .category-videos {
    margin: 15px 0;
  }
}
.category-videos .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .category-videos .section-header {
    margin-bottom: 15px;
  }
}
.category-videos .category-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media (max-width: 768px) {
  .category-videos .category-grid {
    gap: 20px;
  }
}
.category-videos .category-row .category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.category-videos .category-row .category-header .category-title {
  font-size: 16px;
  font-weight: normal;
  color: #999999;
}
.category-videos .category-row .category-header .view-more {
  color: #2196f3;
  text-decoration: none;
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.3s;
}
.category-videos .category-row .category-header .view-more:hover {
  background-color: rgba(33, 150, 243, 0.1);
}
.category-videos .category-row .video-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
@media (max-width: 1200px) {
  .category-videos .category-row .video-row {
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
  }
}
@media (max-width: 1024px) {
  .category-videos .category-row .video-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .category-videos .category-row .video-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}
@media (max-width: 480px) {
  .category-videos .category-row .video-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}
@media (max-width: 360px) {
  .category-videos .category-row .video-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
.category-videos .video-card.small {
  display: flex;
  flex-direction: column;
  background: #242424;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}
.category-videos .video-card.small:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}
.category-videos .video-card.small .video-thumbnail {
  position: relative;
  padding-top: 120%;
  overflow: hidden;
  flex-shrink: 0;
  background: #242424;
  border-radius: 8px 8px 0 0;
}
.category-videos .video-card.small .video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 8px 8px 0 0;
}
.category-videos .video-card.small .video-thumbnail .video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  z-index: 2;
}
.category-videos .video-card.small .video-thumbnail .episode-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #ff4757;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  z-index: 2;
}
.category-videos .video-card.small .video-info {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #1a1a1a;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 8px 8px;
}
.category-videos .video-card.small .video-info .video-title {
  font-size: 13px;
  margin-bottom: 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 1;
  line-height: 1.4;
  font-weight: 500;
  color: #ffffff;
}
.category-videos .video-card.small .video-info .video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.category-videos .video-card.small .video-info .video-meta .video-date {
  font-size: 11px;
  color: #999999;
}
.category-videos .video-card.small .video-info .video-meta .episode-info {
  font-size: 10px;
  color: #2196f3;
  font-weight: 500;
}

.video-card {
  background-color: #242424;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.video-card:hover .video-thumbnail img {
  transform: scale(1.05);
}
.video-card .video-thumbnail {
  position: relative;
  padding-top: 56.25%;
  flex-shrink: 0;
  background: #242424;
  border-radius: 8px 8px 0 0;
}
.video-card .video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 8px 8px 0 0;
}
.video-card .video-thumbnail .video-duration {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  padding: 2px 4px;
  border-radius: 2px;
  font-size: 12px;
}
.video-card .video-info {
  padding: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #1a1a1a;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 8px 8px;
}
.video-card .video-info .video-title {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 6px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 1;
}
@media (max-width: 768px) {
  .video-card .video-info .video-title {
    font-size: 13px;
    margin-bottom: 4px;
  }
}
.video-card .video-info .video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-top: auto;
}
.video-card .video-info .video-meta .video-date {
  color: #999999;
}
.video-card .video-info .video-meta .tags {
  display: flex;
  gap: 5px;
}
.video-card .video-info .video-meta .tags .tag {
  padding: 1px 4px;
  border-radius: 2px;
}
.video-card .video-info .video-meta .tags .tag.hot {
  color: #ff4757;
  background-color: rgba(255, 71, 87, 0.1);
}
.video-card .video-info .video-meta .tags .tag.recommend {
  color: #ffa502;
  background-color: rgba(255, 165, 2, 0.1);
}

.page-header {
  text-align: center;
  margin: 30px 0;
}
@media (max-width: 1024px) {
  .page-header {
    margin: 25px 0;
  }
}
@media (max-width: 768px) {
  .page-header {
    margin: 15px 0;
  }
}
.page-header h1 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 20px;
    margin-bottom: 4px;
  }
}
.page-header p {
  color: #999999;
  font-size: 14px;
}
@media (max-width: 768px) {
  .page-header p {
    font-size: 12px;
  }
}

.video-list-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 30px 0;
}
@media (max-width: 1200px) {
  .video-list-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin: 25px 0;
  }
}
@media (max-width: 1024px) {
  .video-list-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 20px 0;
  }
}
@media (max-width: 768px) {
  .video-list-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 15px 0;
  }
}
@media (max-width: 480px) {
  .video-list-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 12px 0;
  }
}
@media (max-width: 360px) {
  .video-list-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 10px 0;
  }
}
.video-list-grid .video-card {
  background-color: #242424;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.video-list-grid .video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.video-list-grid .video-card.small {
  background: linear-gradient(135deg, #242424 0%, #2a2a2a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}
.video-list-grid .video-card.small:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.3);
  border-color: rgba(33, 150, 243, 0.5);
}
.video-list-grid .video-card.small .video-thumbnail {
  padding-top: 120%;
  position: relative;
  overflow: hidden;
}
.video-list-grid .video-card.small .video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}
.video-list-grid .video-card.small .video-info {
  padding: 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 0 0 8px 8px;
}
.video-list-grid .video-card.small .video-info .video-title {
  font-size: 13px;
  margin-bottom: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 1.4;
  font-weight: 500;
  color: #ffffff;
}
.video-list-grid .video-card:not(.small) .video-thumbnail {
  position: relative;
  padding-top: 56.25%;
}
.video-list-grid .video-card:not(.small) .video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-list-grid .video-card:not(.small) .video-thumbnail .video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}
.video-list-grid .video-card:not(.small) .video-info {
  padding: 12px;
}
@media (max-width: 1024px) {
  .video-list-grid .video-card:not(.small) .video-info {
    padding: 10px;
  }
}
@media (max-width: 768px) {
  .video-list-grid .video-card:not(.small) .video-info {
    padding: 8px;
  }
}
.video-list-grid .video-card:not(.small) .video-info .video-title {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 1024px) {
  .video-list-grid .video-card:not(.small) .video-info .video-title {
    font-size: 13px;
    margin-bottom: 6px;
  }
}
@media (max-width: 768px) {
  .video-list-grid .video-card:not(.small) .video-info .video-title {
    font-size: 12px;
    margin-bottom: 4px;
    -webkit-line-clamp: 1;
  }
}
.video-list-grid .video-card:not(.small) .video-info .video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.video-list-grid .video-card:not(.small) .video-info .video-meta .video-date {
  color: #999999;
  font-size: 12px;
}
@media (max-width: 1024px) {
  .video-list-grid .video-card:not(.small) .video-info .video-meta {
    font-size: 11px;
  }
}
@media (max-width: 768px) {
  .video-list-grid .video-card:not(.small) .video-info .video-meta {
    font-size: 10px;
  }
}
.video-list-grid .video-card:not(.small) .video-info .category-tag {
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
}
@media (max-width: 1024px) {
  .video-list-grid .video-card:not(.small) .video-info .category-tag {
    padding: 2px 5px;
    font-size: 10px;
  }
}
@media (max-width: 768px) {
  .video-list-grid .video-card:not(.small) .video-info .category-tag {
    padding: 1px 4px;
    font-size: 10px;
  }
}
.video-list-grid .video-card:not(.small) .video-info .category-tag.entertainment {
  background: rgba(255, 71, 87, 0.1);
  color: #ff4757;
}
.video-list-grid .video-card:not(.small) .video-info .category-tag.gaming {
  background: rgba(155, 89, 182, 0.1);
  color: #9b59b6;
}
.video-list-grid .video-card:not(.small) .video-info .category-tag.music {
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
}
.video-list-grid .video-card:not(.small) .video-info .category-tag.sports {
  background: rgba(39, 174, 96, 0.1);
  color: #27ae60;
}
.video-list-grid .video-card:not(.small) .video-info .category-tag.tech {
  background: rgba(33, 150, 243, 0.1);
  color: #2196f3;
}

.friend-links {
  background: linear-gradient(135deg, #242424 0%, rgba(33, 150, 243, 0.05) 100%);
  padding: 40px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 768px) {
  .friend-links {
    padding: 25px 0;
    margin-top: 25px;
  }
}
.friend-links .section-header {
  margin-bottom: 25px;
  text-align: center;
}
@media (max-width: 768px) {
  .friend-links .section-header {
    margin-bottom: 20px;
  }
}
.friend-links .section-header h2 {
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
  position: relative;
  display: block;
  text-align: center !important;
  width: 100%;
}
.friend-links .section-header h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #2196f3, #ff4757);
  border-radius: 1px;
}
.friend-links .links-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .friend-links .links-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
}
@media (max-width: 480px) {
  .friend-links .links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
.friend-links .links-grid .link-item {
  color: #999999;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.friend-links .links-grid .link-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(33, 150, 243, 0.1), transparent);
  transition: left 0.5s ease;
}
.friend-links .links-grid .link-item:hover {
  color: #2196f3;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(33, 150, 243, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.2);
}
.friend-links .links-grid .link-item:hover::before {
  left: 100%;
}
@media (max-width: 768px) {
  .friend-links .links-grid .link-item {
    font-size: 13px;
    padding: 10px 12px;
  }
}

.video-player video {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/9;
  background: black;
}

.iframeBox {
  width: 100%;
  aspect-ratio: 16/9;
}
.iframeBox .iframe {
  width: 100%;
  height: 100%;
}

.pagination-container {
  margin: 30px auto 20px;
  display: flex;
  justify-content: center;
}
.pagination-container ul {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pagination-container ul.page-no li.active {
  background: #2196f3;
  font-weight: 600;
  color: #ffffff;
  border-color: #2196f3;
}
.pagination-container ul li {
  cursor: pointer;
  width: 40px;
  height: 40px;
  background-color: #242424;
  text-align: center;
  color: #999999;
  border: 1px solid #333;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.3s;
  font-size: 0.9rem;
}
.pagination-container ul li:hover:not(.active) {
  background-color: rgba(33, 150, 243, 0.1);
  border-color: #2196f3;
  color: #2196f3;
  transform: translateY(-1px);
}
.pagination-container ul li.active {
  background: #2196f3;
  font-weight: 600;
  color: #ffffff;
  border-color: #2196f3;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}
.pagination-container ul li a {
  width: 40px;
  height: 40px;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: inherit;
}
.pagination-container ul li a.active {
  background: #2196f3;
  font-weight: 600;
  color: #ffffff;
}
.pagination-container ul li.page-options {
  width: 70px;
}
.pagination-container ul li.page-options a {
  width: 70px;
}
.pagination-container ul li:disabled, .pagination-container ul li.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  color: #999999;
}
.pagination-container ul li:disabled:hover, .pagination-container ul li.disabled:hover {
  background-color: #242424;
  border-color: #333;
  color: #999999;
  transform: none;
}
@media (max-width: 768px) {
  .pagination-container {
    margin: 20px auto 15px;
  }
  .pagination-container ul {
    gap: 8px;
  }
  .pagination-container ul li {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }
  .pagination-container ul li a {
    width: 36px;
    height: 36px;
  }
  .pagination-container ul li.page-options {
    width: 60px;
  }
  .pagination-container ul li.page-options a {
    width: 60px;
  }
}

.footer {
  background-color: #242424;
  padding: 20px 0;
  height: 60px;
}
.footer .container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 15px;
}
.footer .container .copyright {
  color: #999999;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .hot-section .hot-layout {
    grid-template-columns: 1fr;
  }
  .hot-section .hot-layout .sub-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .hot-section .hot-layout .sub-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .hot-section .hot-layout .sub-cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .header .menu-toggle {
    display: flex;
  }
  .header .nav-menu {
    position: fixed;
    top: 50px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 50px);
    background-color: #242424;
    flex-direction: column;
    padding: 20px;
    transition: left 0.3s ease;
    z-index: 1000;
  }
  .header .nav-menu.active {
    left: 0;
  }
  .header .nav-menu a {
    padding: 15px 20px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .header .nav-menu a:last-child {
    border-bottom: none;
  }
  .nav-menu {
    gap: 10px;
  }
  .hot-section .video-grid {
    grid-template-columns: 1fr;
  }
  .hot-section .hot-grid .small-cards .video-card.small {
    flex-direction: column;
  }
  .hot-section .hot-grid .small-cards .video-card.small .video-thumbnail {
    width: 100%;
    height: auto;
    padding-top: 56.25%;
  }
  .video-card.horizontal {
    flex-direction: column;
  }
  .video-card.horizontal .video-thumbnail {
    width: 100% !important;
    padding-top: 56.25%;
  }
}
@media (max-width: 480px) {
  .search-box {
    flex-direction: column;
  }
  .search-box .search-btn {
    width: 100%;
  }
}
@media (max-width: 1024px) {
  .hot-section .video-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 768px) {
  .hot-section .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .hot-section .video-grid {
    grid-template-columns: 1fr;
  }
}
.search-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
}
@media (max-width: 768px) {
  .search-info {
    margin: 15px 0;
  }
}
.search-info .result-stats {
  color: #999999;
  font-size: 14px;
}
.search-info .result-stats .search-keyword {
  color: #ffffff;
  font-weight: 500;
}

.search-results {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 20px 0;
}
@media (max-width: 1200px) {
  .search-results {
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
  }
}
@media (max-width: 1024px) {
  .search-results {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .search-results {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 15px 0;
  }
}
@media (max-width: 480px) {
  .search-results {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 12px 0;
  }
}
@media (max-width: 360px) {
  .search-results {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 10px 0;
  }
}
.search-results .video-card {
  background: #242424;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.search-results .video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.search-results .video-card.small {
  background: linear-gradient(135deg, #242424 0%, #2a2a2a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}
.search-results .video-card.small:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.3);
  border-color: rgba(33, 150, 243, 0.5);
}
.search-results .video-card.small .video-thumbnail {
  padding-top: 120%;
  position: relative;
  overflow: hidden;
}
.search-results .video-card.small .video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}
.search-results .video-card.small .video-info {
  padding: 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 0 0 8px 8px;
}
.search-results .video-card.small .video-info .video-title {
  font-size: 13px;
  margin-bottom: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 1.4;
  font-weight: 500;
  color: #ffffff;
}
.search-results .video-card .video-thumbnail {
  position: relative;
  padding-top: 56.25%;
}
.search-results .video-card .video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.search-results .video-card .video-thumbnail .video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}
.search-results .video-card .video-info {
  padding: 12px;
}
@media (max-width: 768px) {
  .search-results .video-card .video-info {
    padding: 8px;
  }
}
.search-results .video-card .video-info .video-title {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
@media (max-width: 768px) {
  .search-results .video-card .video-info .video-title {
    font-size: 13px;
    margin-bottom: 4px;
  }
}
.search-results .video-card .video-info .video-meta {
  display: flex;
  gap: 10px;
  color: #999999;
  font-size: 12px;
}
@media (max-width: 768px) {
  .search-results .video-card .video-info .video-meta {
    font-size: 11px;
    gap: 8px;
  }
}
.search-results .video-card .video-info .video-desc {
  display: none;
}

.video-player-section {
  margin: 20px 0;
}
@media (max-width: 768px) {
  .video-player-section {
    margin: 15px 0;
  }
}
.video-player-section .player-wrapper {
  width: 100%;
  background: #242424;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.video-player-section .player-wrapper video {
  width: 100%;
  height: 100%;
}
.video-player-section .video-info {
  margin-top: 15px;
}
@media (max-width: 768px) {
  .video-player-section .video-info {
    margin-top: 10px;
  }
}
.video-player-section .video-info .video-title {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .video-player-section .video-info .video-title {
    font-size: 16px;
    margin-bottom: 8px;
  }
}
.video-player-section .video-info .video-meta {
  color: #999999;
  font-size: 14px;
}
@media (max-width: 768px) {
  .video-player-section .video-info .video-meta {
    font-size: 12px;
  }
}

.related-section {
  margin: 30px 0;
}
@media (max-width: 768px) {
  .related-section {
    margin: 20px 0;
  }
}
.related-section .section-header {
  margin-bottom: 15px;
}
.related-section .section-header h2 {
  font-size: 18px;
  font-weight: normal;
}
.related-section .related-videos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
@media (max-width: 1200px) {
  .related-section .related-videos {
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
  }
}
@media (max-width: 1024px) {
  .related-section .related-videos {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .related-section .related-videos {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}
@media (max-width: 480px) {
  .related-section .related-videos {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}
@media (max-width: 360px) {
  .related-section .related-videos {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
.related-section .related-videos .video-card {
  background: #242424;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.related-section .related-videos .video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.related-section .related-videos .video-card.small {
  background: linear-gradient(135deg, #242424 0%, #2a2a2a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}
.related-section .related-videos .video-card.small:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.3);
  border-color: rgba(33, 150, 243, 0.5);
}
.related-section .related-videos .video-card.small .video-thumbnail {
  padding-top: 120%;
  position: relative;
  overflow: hidden;
}
.related-section .related-videos .video-card.small .video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}
.related-section .related-videos .video-card.small .video-info {
  padding: 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 0 0 8px 8px;
}
.related-section .related-videos .video-card.small .video-info .video-title {
  font-size: 13px;
  margin-bottom: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 1.4;
  font-weight: 500;
  color: #ffffff;
}
.related-section .related-videos .video-card .video-thumbnail {
  position: relative;
  padding-top: 56.25%;
}
.related-section .related-videos .video-card .video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-section .related-videos .video-card .video-thumbnail .video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}
.related-section .related-videos .video-card .video-info {
  padding: 10px;
}
@media (max-width: 768px) {
  .related-section .related-videos .video-card .video-info {
    padding: 8px;
  }
}
.related-section .related-videos .video-card .video-info .video-title {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
@media (max-width: 768px) {
  .related-section .related-videos .video-card .video-info .video-title {
    font-size: 13px;
    margin-bottom: 4px;
  }
}
.related-section .related-videos .video-card .video-info .video-meta {
  color: #999999;
  font-size: 12px;
}
@media (max-width: 768px) {
  .related-section .related-videos .video-card .video-info .video-meta {
    font-size: 11px;
  }
}

.episode-section {
  padding: 0;
  background: linear-gradient(135deg, #242424 0%, rgba(33, 150, 243, 0.05) 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 768px) {
  .episode-section {
    margin: 20px 0;
    padding: 0;
  }
}
.episode-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 20px 20px 20px;
}
@media (max-width: 768px) {
  .episode-section .section-header {
    margin: 15px 15px 15px 15px;
  }
}
.episode-section .section-header h2 {
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
}
.episode-section .section-header .episode-count {
  font-size: 14px;
  color: #999999;
  background: rgba(33, 150, 243, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(33, 150, 243, 0.2);
}
.episode-section .episode-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  margin: 0 20px 20px 20px;
}
@media (max-width: 1600px) {
  .episode-section .episode-grid {
    grid-template-columns: repeat(7, 1fr);
  }
}
@media (max-width: 1400px) {
  .episode-section .episode-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}
@media (max-width: 1200px) {
  .episode-section .episode-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (max-width: 1024px) {
  .episode-section .episode-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 768px) {
  .episode-section .episode-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}
@media (max-width: 480px) {
  .episode-section .episode-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
}
.episode-section .episode-grid .episode-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-size: 13px;
  color: #ffffff;
  font-weight: 500;
}
.episode-section .episode-grid .episode-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(33, 150, 243, 0.1), transparent);
  transition: left 0.5s ease;
}
.episode-section .episode-grid .episode-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(33, 150, 243, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.2);
}
.episode-section .episode-grid .episode-item:hover::before {
  left: 100%;
}
.episode-section .episode-grid .episode-item.active {
  background: linear-gradient(135deg, #2196f3, rgba(33, 150, 243, 0.8));
  border-color: #2196f3;
  color: #fff;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

/*# sourceMappingURL=index.css.map */
