@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: #0a0a0a;
  color: #f5f5f5;
  line-height: 1.5;
  font-size: 14px;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.header {
  background-color: #0a0a0a;
  padding: 12px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid #2a2a2a;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
}
.header .logo img {
  height: 28px;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
}
.nav ul li a {
  color: #f5f5f5;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s;
}
.nav ul li a:hover {
  color: #ff6b6b;
}
.nav ul li a.active {
  color: #ff6b6b;
  font-weight: 500;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #f5f5f5;
  transition: all 0.2s;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

.main {
  margin-top: 72px;
}

.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: #ff6b6b;
  font-weight: 600;
  color: white;
  border-color: #ff6b6b;
}
.pagination-container ul li {
  cursor: pointer;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.03);
  text-align: center;
  color: #888888;
  border: 1px solid #333333;
  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(255, 255, 255, 0.06);
  border-color: #ff6b6b;
  color: #ff6b6b;
  transform: translateY(-1px);
}
.pagination-container ul li.active {
  background: #ff6b6b;
  font-weight: 600;
  color: white;
  border-color: #ff6b6b;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 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: #ff6b6b;
  font-weight: 600;
  color: white;
}
.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: #666666;
}
.pagination-container ul li:disabled:hover, .pagination-container ul li.disabled:hover {
  background-color: rgba(255, 255, 255, 0.03);
  border-color: #333333;
  color: #666666;
  transform: none;
}
@media screen and (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;
  }
}

.search-section {
  padding: 32px 0;
  background: linear-gradient(135deg, rgba(22, 22, 22, 0.8), rgba(42, 42, 42, 0.3));
  border-bottom: 1px solid #2a2a2a;
}
.search-section .search-box {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  height: 48px;
  background-color: rgba(10, 10, 10, 0.6);
  border-radius: 24px;
  padding: 4px;
  border: 1px solid #2a2a2a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
.search-section .search-box:hover {
  border-color: rgba(255, 107, 107, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.search-section .search-box:focus-within {
  border-color: #ff6b6b;
  box-shadow: 0 4px 16px rgba(255, 107, 107, 0.2);
}
.search-section .search-box input {
  flex: 1;
  padding: 0 20px;
  border: none;
  border-radius: 20px;
  background-color: transparent;
  color: #f5f5f5;
  font-size: 15px;
  outline: none;
}
.search-section .search-box input::placeholder {
  color: #999999;
  font-size: 14px;
}
.search-section .search-box button {
  width: 80px;
  background-color: #ff6b6b;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-section .search-box button:hover {
  background-color: rgb(255, 66.2, 66.2);
  transform: translateY(-1px);
}
.search-section .search-box button:active {
  transform: translateY(0);
}

.video-section {
  padding: 32px 0;
}
.video-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.video-section .section-header h2 {
  font-size: 18px;
  font-weight: 600;
  color: #f5f5f5;
}
.video-section .section-header .more-link {
  color: #999999;
  text-decoration: none;
  font-size: 13px;
}
.video-section .section-header .more-link:hover {
  color: #ff6b6b;
}

.video-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1200px) {
  .video-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.video-card {
  background-color: #161616;
  border-radius: 4px;
  overflow: hidden;
  transition: background-color 0.2s;
}
.video-card:hover {
  background-color: #1f1f1f;
}
.video-card .video-thumbnail {
  position: relative;
  padding-top: 56.25%;
  background-color: #2a2a2a;
}
.video-card .video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-card .video-thumbnail .video-duration {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 2px 6px;
  border-radius: 2px;
  font-size: 11px;
}
.video-card .video-thumbnail .video-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 6px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 500;
  color: white;
}
.video-card .video-thumbnail .video-tag.hot {
  background-color: #ff4444;
}
.video-card .video-thumbnail .video-tag.recommend {
  background-color: #44ff44;
}
.video-card .video-info {
  padding: 12px;
}
.video-card .video-info h3 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #f5f5f5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.video-card .video-info p.video-desc {
  font-size: 12px;
  color: #999999;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.video-card .video-info .video-date {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #999999;
}

.banner-ad {
  margin: 24px 0;
}

.footer {
  background-color: #161616;
  padding: 32px 0 16px;
  margin-top: 48px;
  border-top: 1px solid #2a2a2a;
}
.footer .footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .footer .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
}
.footer .footer-logo img {
  height: 28px;
  margin-bottom: 12px;
}
.footer .footer-links h3 {
  color: #f5f5f5;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}
.footer .footer-links ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.footer .footer-links ul li {
  margin: 0;
}
.footer .footer-links ul li a {
  display: inline-block;
  padding: 6px 14px;
  background-color: #1f1f1f;
  color: #999999;
  border-radius: 16px;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s;
}
.footer .footer-links ul li a:hover {
  background-color: rgba(255, 107, 107, 0.15);
  color: #ff6b6b;
}
.footer .footer-bottom {
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid #2a2a2a;
  color: #999999;
  font-size: 12px;
}

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

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 73px;
    left: -100%;
    width: 280px;
    height: calc(100vh - 73px);
    background-color: #161616;
    transition: left 0.3s;
    z-index: 901;
    border-right: 1px solid #2a2a2a;
  }
  .nav.active {
    left: 0;
  }
  .nav ul {
    flex-direction: column;
    padding: 24px;
    gap: 16px;
  }
  .nav ul li a {
    display: block;
    padding: 12px 0;
    font-size: 15px;
  }
  .hamburger {
    display: flex;
  }
  .search-section {
    padding: 24px 0;
  }
  .search-section .search-box {
    height: 44px;
    border-radius: 22px;
  }
  .search-section .search-box input {
    padding: 0 16px;
    font-size: 15px;
  }
  .search-section .search-box button {
    width: 70px;
    font-size: 14px;
    border-radius: 18px;
  }
  .video-section {
    padding: 24px 0;
  }
  .video-section .section-header {
    margin-bottom: 16px;
  }
  .video-section .section-header h2 {
    font-size: 16px;
  }
}
.current-keyword {
  font-size: 14px;
  color: #999999;
  text-align: center;
  margin-top: 8px;
}
.current-keyword span {
  display: inline-block;
  background-color: rgba(255, 107, 107, 0.15);
  color: #ff6b6b;
  padding: 4px 10px;
  border-radius: 16px;
  font-weight: 600;
  margin-left: 4px;
}

.video-player {
  background-color: #161616;
  border-radius: 4px;
  overflow: hidden;
}

/* 视频详情页样式 */
.video-detail {
  margin-top: 24px;
  padding: 16px;
  background-color: #161616;
  border-radius: 4px;
}
.video-detail .detail-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #f5f5f5;
}
.video-detail .detail-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.video-detail .detail-date {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  color: #999999;
}

/* 视频标签样式 */
.video-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}
.video-tag.hot {
  background-color: #ff4757;
}
.video-tag.recommend {
  background-color: #2ed573;
}

.video-player {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #000000;
  margin-bottom: 24px;
  --plyr-color-main: #ff6b6b;
  --plyr-video-background: #000000;
  --plyr-menu-background: #1f1f1f;
  --plyr-menu-color: #f5f5f5;
  --plyr-tooltip-background: #1f1f1f;
  --plyr-tooltip-color: #f5f5f5;
  --plyr-range-fill-background: #ff6b6b;
  --plyr-video-controls-background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
  --plyr-progress-loading-background: rgba(255, 255, 255, 0.2);
  --plyr-control-icon-size: 18px;
  --plyr-control-spacing: 10px;
  --plyr-control-radius: 4px;
  --plyr-control-toggle-checked-background: #ff6b6b;
}

.plyr--video .plyr__control:hover {
  background: rgba(255, 107, 107, 0.8);
}
.plyr--video .plyr__control--overlaid {
  background: rgba(255, 107, 107, 0.9);
}
.plyr--video .plyr__control--overlaid:hover {
  background: #ff6b6b;
}

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