@charset "UTF-8";
/* 简化样式 - 只保留PC端和手机端两个断点 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #181a20;
  min-height: 100vh;
  color: #fff;
  position: relative;
}

.header {
  background: rgba(35, 38, 46, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}

.logo {
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(90deg, #00aeec 0%, #00c1de 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.logo img {
  height: 40px;
}

.nav-menu {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 100;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: #7c5fd4;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 24px;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(161, 140, 209, 0.15);
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #fff;
  background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
  box-shadow: 0 8px 25px rgba(161, 140, 209, 0.25);
  transform: translateY(-3px) scale(1.05);
  border-color: transparent;
}

.search-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 25px;
  padding: 8px 20px;
  box-shadow: 0 4px 15px rgba(161, 140, 209, 0.1);
  border: 1px solid rgba(180, 140, 255, 0.13);
  backdrop-filter: blur(10px);
  flex-shrink: 0;
  min-width: 280px;
}

.search-input {
  border: none;
  outline: none;
  background: transparent;
  padding: 8px;
  font-size: 15px;
  width: 200px;
  color: #7c5fd4;
  flex: 1;
}

.search-input::placeholder {
  color: #7b2ff2;
  font-weight: 600;
  opacity: 0.85;
  letter-spacing: 1px;
}

.search-btn {
  border: none;
  background: linear-gradient(90deg, #a18cd1 0%, #fbc2eb 100%);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  margin-left: 8px;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(161, 140, 209, 0.1);
  min-width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn:hover {
  transform: scale(1.07);
  box-shadow: 0 4px 16px rgba(161, 140, 209, 0.18);
}

.mobile-menu-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
}

.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 0 20px;
}

/* ==================== 页面搜索框样式 ==================== */
.search-section {
  margin-bottom: 50px;
  text-align: center;
}

.search-section .search-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.search-section .search-form {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(24px);
  border-radius: 50px;
  padding: 8px;
  box-shadow: 0 8px 32px rgba(123, 47, 242, 0.13), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
  border: 1.5px solid rgba(123, 47, 242, 0.13);
}

.search-section .search-box {
  flex: 1;
  padding: 16px 24px;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: #7c5fd4;
  border-radius: 40px;
}

.search-section .search-box::placeholder {
  color: #7b2ff2;
  font-weight: 600;
  opacity: 0.85;
}

.search-section .search-btn {
  width: 48px;
  height: 48px;
  background: linear-gradient(90deg, #a18cd1 0%, #fbc2eb 100%);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(161, 140, 209, 0.2);
  margin-left: 8px;
}

.search-section .search-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(161, 140, 209, 0.3);
}

.search-section .search-btn svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.section {
  margin-bottom: 48px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(24px);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(123, 47, 242, 0.13), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
  border: 1.5px solid rgba(123, 47, 242, 0.13);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: none;
}

.section-title {
  font-size: 24px;
  font-weight: 800;
  color: #7b2ff2;
  position: relative;
  letter-spacing: 1px;
}

.section-title::before {
  display: none;
}

.more-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 20px;
  background: linear-gradient(90deg, #a18cd1 0%, #fbc2eb 100%);
  transition: all 0.2s;
  border: none;
  box-shadow: 0 2px 8px rgba(161, 140, 209, 0.1);
}

.more-link:hover {
  background: linear-gradient(90deg, #fbc2eb 0%, #a18cd1 100%);
  color: #7c5fd4;
  transform: translateX(4px);
}

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

.video-card {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(123, 47, 242, 0.13);
  box-shadow: 0 4px 24px rgba(123, 47, 242, 0.1), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
  border: 1.5px solid rgba(123, 47, 242, 0.18);
  backdrop-filter: blur(12px);
}

.video-card:hover {
  background: linear-gradient(135deg, #a18cd1 0%, #7b2ff2 100%);
  box-shadow: 0 12px 40px rgba(123, 47, 242, 0.6666666667), 0 0 20px rgba(255, 255, 255, 0.1333333333);
  border-color: #a18cd1;
}

.video-card:hover .video-title {
  color: #fff;
}

.video-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 9/12;
  overflow: hidden;
  background: linear-gradient(45deg, rgba(161, 140, 209, 0.08), rgba(251, 194, 235, 0.05));
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s;
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.06);
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  opacity: 0;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(161, 140, 209, 0.1);
}

.video-card:hover .play-overlay {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
  padding: 16px;
}

.video-title {
  font-size: 15px;
  font-weight: 700;
  color: #7b2ff2;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

.footer {
  background: linear-gradient(90deg, #a18cd1 0%, #7b2ff2 100%);
  color: #fff;
  box-shadow: 0 -4px 32px rgba(123, 47, 242, 0.18);
  border-top: none;
  border-radius: 0;
  padding: 32px 0 16px 0;
  margin-top: 48px;
  position: relative;
}

.footer-links {
  max-width: 1200px;
  margin: 0 auto 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 0 10px;
}

.footer-links a {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 600;
  border-radius: 16px;
  padding: 8px 16px;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(161, 140, 209, 0.1);
  border: none;
  transition: all 0.2s;
  display: inline-block;
}

.footer-links a:hover {
  background: linear-gradient(90deg, #fbc2eb 0%, #a18cd1 100%);
  color: #7b2ff2;
}

.copyright {
  color: #fff;
  font-size: 15px;
  text-shadow: 0 2px 8px #7b2ff2;
  margin-top: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  text-align: center;
}

/* 响应式 */
@media (max-width: 768px) {
  .main-content {
    padding: 24px 8px 0 8px;
  }
  .section {
    padding: 18px;
  }
  .video-grid {
    gap: 14px;
    grid-template-columns: 1fr 1fr;
  }
  .footer {
    padding: 18px 8px;
  }
  .footer-links {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .nav-container {
    height: 56px;
    padding: 0 16px;
    position: relative;
    gap: 12px;
  }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(35, 38, 46, 0.98) 0%, rgba(45, 48, 56, 0.95) 100%);
    backdrop-filter: blur(30px);
    border-radius: 0 0 24px 24px;
    padding: 28px 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: none;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    flex: none;
    max-height: 80vh;
    overflow-y: auto;
  }
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-menu ul {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .nav-menu a {
    width: 100%;
    text-align: center;
    padding: 18px 28px;
    border-radius: 20px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: normal;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    backdrop-filter: blur(10px);
  }
  .nav-menu a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: left 0.8s ease;
  }
  .nav-menu a:hover::before {
    left: 100%;
  }
  .nav-menu a:hover,
  .nav-menu a.active {
    background: linear-gradient(135deg, #00aeec 0%, #00c1de 100%);
    color: #fff;
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 174, 236, 0.4);
  }
  .search-box {
    width: 140px;
    min-width: 120px;
    margin-left: 8px;
    padding: 8px 16px;
    min-width: auto;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  .search-box:focus-within {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(0, 174, 236, 0.4);
    box-shadow: 0 6px 25px rgba(0, 174, 236, 0.2);
    transform: scale(1.02);
  }
  .search-input {
    width: 100px;
    font-size: 14px;
    padding: 6px;
    color: #fff;
    background: transparent;
    border: none;
    outline: none;
  }
  .search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
  }
  .search-btn {
    padding: 6px 12px;
    font-size: 14px;
    min-width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #00aeec 0%, #00c1de 100%);
    border-radius: 18px;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 174, 236, 0.3);
  }
  .search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 174, 236, 0.4);
  }
  .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    flex-shrink: 0;
    min-width: 48px;
    height: 48px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  .mobile-menu-btn:hover {
    background: rgba(0, 174, 236, 0.2);
    border-color: rgba(0, 174, 236, 0.4);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 174, 236, 0.3);
  }
  .section-title {
    font-size: 20px;
  }
  .video-title {
    font-size: 14px;
  }
  .footer {
    padding: 16px 8px;
  }
  .footer-links {
    gap: 10px;
  }
  .footer-links a {
    padding: 6px 12px;
    font-size: 14px;
  }
  .copyright {
    font-size: 13px;
  }
}
@media (max-width: 600px) {
  .nav-container {
    height: 52px;
    padding: 0 12px;
    gap: 8px;
  }
  .search-box {
    width: 120px;
    min-width: 100px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 18px;
  }
  .search-input {
    width: 80px;
    font-size: 13px;
    padding: 4px;
    color: #fff;
  }
  .search-btn {
    padding: 4px 8px;
    font-size: 13px;
    min-width: 32px;
    height: 32px;
    border-radius: 16px;
  }
  .mobile-menu-btn {
    font-size: 18px;
    padding: 10px;
    min-width: 44px;
    height: 44px;
    border-radius: 11px;
  }
  .nav-menu {
    padding: 24px 16px;
    border-radius: 0 0 20px 20px;
  }
  .nav-menu a {
    padding: 16px 24px;
    font-size: 15px;
    border-radius: 18px;
  }
  .section-title {
    font-size: 18px;
  }
  .video-title {
    font-size: 13px;
  }
  .footer {
    padding: 12px 6px;
  }
  .footer-links {
    gap: 8px;
  }
  .footer-links a {
    padding: 5px 10px;
    font-size: 13px;
  }
  .copyright {
    font-size: 12px;
  }
}
@media (max-width: 480px) {
  .nav-container {
    height: 48px;
    padding: 0 8px;
    gap: 6px;
  }
  .search-box {
    width: 100px;
    min-width: 80px;
    margin-left: 4px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
  }
  .search-input {
    width: 60px;
    font-size: 12px;
    padding: 3px;
    color: #fff;
  }
  .search-btn {
    padding: 3px 6px;
    font-size: 12px;
    min-width: 28px;
    height: 28px;
    border-radius: 14px;
  }
  .mobile-menu-btn {
    font-size: 16px;
    padding: 8px;
    min-width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .nav-menu {
    padding: 20px 12px;
    border-radius: 0 0 18px 18px;
  }
  .nav-menu a {
    padding: 14px 20px;
    font-size: 14px;
    border-radius: 16px;
  }
  .section-title {
    font-size: 16px;
  }
  .video-title {
    font-size: 12px;
  }
  .footer {
    padding: 10px 4px;
  }
  .footer-links {
    gap: 6px;
  }
  .footer-links a {
    padding: 4px 8px;
    font-size: 12px;
  }
  .copyright {
    font-size: 11px;
  }
}
/* 加载动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.section {
  animation: fadeInUp 0.6s ease-out;
}

.video-card {
  animation: fadeInUp 0.6s ease-out;
}

/* 滚动条美化 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #ff6b9d, #c471f5);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #ff5a8a, #b965f0);
}

/* 分类页面样式 */
.category-header {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.category-title {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(45deg, #ff6b9d, #c471f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.category-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.category-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.stat-item {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.stat-item strong {
  color: #ff6b9d;
  font-weight: 600;
}

/* 筛选区域 */
.filter-section {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

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

.filter-label {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 14px;
}

.filter-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.filter-btn:hover {
  background: rgba(255, 107, 157, 0.2);
  border-color: rgba(255, 107, 157, 0.4);
  color: rgba(255, 255, 255, 0.9);
}

.filter-btn.active {
  background: linear-gradient(45deg, #ff6b9d, #c471f5);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.view-toggle {
  display: flex;
  gap: 5px;
}

.view-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.view-btn:hover {
  background: rgba(255, 107, 157, 0.2);
  border-color: rgba(255, 107, 157, 0.4);
  color: rgba(255, 255, 255, 0.9);
}

.view-btn.active {
  background: linear-gradient(45deg, #ff6b9d, #c471f5);
  border-color: transparent;
  color: white;
}

/* 视频列表区域 */
.video-list-section {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 视频卡片增强 */
.video-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  color: white;
  z-index: 2;
}

.video-badge.hot {
  background: linear-gradient(45deg, #ff4757, #ff6b9d);
}

.video-badge.new {
  background: linear-gradient(45deg, #2ed573, #1dd1a1);
}

.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pagination ul {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 2px;
}

.pagination a,
.pagination .page-link {
  min-width: 40px;
  height: 40px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.18);
  border: none;
  border-radius: 12px;
  color: #7b2ff2;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(161, 140, 209, 0.1);
  cursor: pointer;
  transition: all 0.2s;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.pagination a:hover,
.pagination .page-link:hover {
  background: linear-gradient(90deg, #a18cd1 0%, #7b2ff2 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.07);
}

.pagination a.active,
.pagination .active {
  background: linear-gradient(90deg, #7b2ff2 0%, #a18cd1 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.pagination li.page-options a {
  background: rgba(255, 255, 255, 0.22);
  color: #7b2ff2;
  font-weight: 600;
}

.pagination li.page-options a:hover {
  background: linear-gradient(90deg, #a18cd1 0%, #fbc2eb 100%);
  color: #fff;
}

.page-dots {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  padding: 0 8px;
}

/* 移动端分页优化 */
@media (max-width: 768px) {
  .pagination {
    gap: 5px;
    margin-top: 30px;
  }
  .page-btn {
    min-width: 35px;
    height: 35px;
    padding: 0 8px;
    font-size: 13px;
  }
  .page-dots {
    padding: 0 5px;
  }
}
@media (max-width: 480px) {
  .pagination {
    gap: 3px;
  }
  .page-btn {
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    font-size: 12px;
  }
}
/* 搜索结果页面样式 */
.search-header {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.search-title {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(45deg, #ff6b9d, #c471f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
}

.search-info {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  margin-bottom: 10px;
}

.search-keyword {
  color: #ff6b9d;
  font-weight: 600;
  background: rgba(255, 107, 157, 0.1);
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 107, 157, 0.2);
}

.search-count {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.search-count strong {
  color: #ff6b9d;
  font-weight: 600;
}

/* 移动端搜索头部优化 */
@media (max-width: 768px) {
  .search-header {
    padding: 20px;
    margin-bottom: 25px;
  }
  .search-title {
    font-size: 24px;
    margin-bottom: 12px;
  }
  .search-info {
    font-size: 15px;
    margin-bottom: 8px;
  }
  .search-count {
    font-size: 13px;
  }
}
@media (max-width: 480px) {
  .search-header {
    padding: 15px;
    margin-bottom: 20px;
  }
  .search-title {
    font-size: 22px;
  }
  .search-info {
    font-size: 14px;
  }
  .search-keyword {
    padding: 1px 6px;
    font-size: 14px;
  }
}
/* 视频播放页面样式 */
.video-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 视频播放器区域 */
.video-player-section {
  margin-bottom: 30px;
}

.video-player {
  position: relative;
  width: 100%;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  background: #000;
}

.video-player video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9 !important;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.play-button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 107, 157, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: white;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.play-button:hover {
  background: rgb(255, 107, 157);
  transform: scale(1.1);
}

/* 视频信息区域 */
.video-info-section {
  margin-bottom: 40px;
}

.video-details {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-details .video-title {
  font-size: 28px;
  font-weight: 700;
  color: white;
}

.video-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.video-category,
.video-date,
.video-views {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-description h3 {
  color: white;
  font-size: 18px;
  margin-bottom: 15px;
}

.video-description p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-top: 12px;
}

.video-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.tag {
  padding: 6px 12px;
  background: rgba(255, 107, 157, 0.1);
  border: 1px solid rgba(255, 107, 157, 0.3);
  border-radius: 15px;
  font-size: 12px;
  color: #ff6b9d;
}

/* 选集区域 */
.episodes-section {
  margin-bottom: 40px;
}

.episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.episode-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.episode-item:hover {
  background: rgba(255, 107, 157, 0.1);
  border-color: rgba(255, 107, 157, 0.3);
  color: white;
  transform: translateY(-2px);
}

.episode-item.active {
  background: rgba(255, 107, 157, 0.2);
  border-color: rgba(255, 107, 157, 0.4);
  color: white;
}

.episode-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: rgba(255, 107, 157, 0.2);
  border-radius: 50%;
  font-weight: 600;
  font-size: 14px;
  color: #ff6b9d;
}

.episode-item.active .episode-number {
  background: #ff6b9d;
  color: white;
}

.episode-title {
  font-size: 14px;
  font-weight: 500;
}

/* 推荐视频区域 */
.recommended-section {
  margin-bottom: 20px;
}
.recommended-section .section-title {
  margin-bottom: 40px;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  color: white;
}

/* 移动端优化 */
@media (max-width: 768px) {
  .video-page-container {
    padding: 0 15px;
  }
  .video-details {
    padding: 20px;
  }
  .video-details .video-title {
    font-size: 24px;
  }
  .video-meta {
    gap: 10px;
  }
  .video-category,
  .video-date,
  .video-views {
    font-size: 12px;
    padding: 4px 8px;
  }
  .episodes-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .episode-item {
    padding: 12px;
  }
  .play-button {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
}
@media (max-width: 480px) {
  .video-details .video-title {
    font-size: 20px;
  }
  .video-meta {
    flex-direction: column;
    gap: 8px;
  }
  .video-tags {
    gap: 8px;
  }
  .tag {
    font-size: 11px;
    padding: 4px 8px;
  }
  .section-title {
    font-size: 18px;
  }
}
body {
  background: #998896; /* 深灰黑，类似B站/Netflix */
}

.video-card {
  background: #22252b;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.3s, transform 0.3s;
  border: 1px solid #23262e;
}

.video-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 0 0 2px #00e4ff;
  transform: translateY(-4px) scale(1.04);
  border-color: #00e4ff;
}

.video-title {
  color: #fff;
  font-weight: 700;
}

.footer-links a, .search-btn {
  background: linear-gradient(90deg, #00aeec 0%, #00c1de 100%);
  color: #fff;
  border-radius: 20px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 174, 236, 0.12);
  transition: background 0.2s, color 0.2s;
}

.footer-links a:hover, .search-btn:hover {
  background: linear-gradient(90deg, #00c1de 0%, #00aeec 100%);
  color: #181a20;
}

.footer {
  background: #23262e;
  color: #fff;
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.15);
}

.copyright {
  color: #fff;
  opacity: 0.7;
}

/* 移动端导航优化 */
.mobile-menu-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

/* 移动端菜单动画 */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}
.banner-ad img {
  max-width: 100%;
}

/* 移动端触摸优化 */
@media (max-width: 768px) {
  /* 触摸友好的按钮尺寸 */
  .nav-menu a,
  .search-btn,
  .mobile-menu-btn {
    min-height: 44px;
    min-width: 44px;
  }
  /* 触摸反馈 */
  .nav-menu a:active,
  .search-btn:active,
  .mobile-menu-btn:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
  }
  /* 防止触摸时选中文本 */
  .nav-menu a,
  .search-btn,
  .mobile-menu-btn {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  /* 移动端滚动优化 */
  .nav-menu {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
  }
  .nav-menu::-webkit-scrollbar {
    width: 4px;
  }
  .nav-menu::-webkit-scrollbar-track {
    background: transparent;
  }
  .nav-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
  }
  .nav-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
  }
  /* 移动端性能优化 */
  .nav-menu,
  .mobile-menu-btn {
    will-change: transform, opacity;
    backface-visibility: hidden;
  }
  /* 移动端菜单项增强 */
  .nav-menu a {
    position: relative;
    overflow: hidden;
  }
  .nav-menu a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00aeec, #00c1de);
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }
  .nav-menu a:hover::after,
  .nav-menu a.active::after {
    width: 80%;
  }
  /* 移动端搜索框优化 */
  .search-box {
    position: relative;
    overflow: hidden;
  }
  .search-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
  }
  .search-box:focus-within::before {
    left: 100%;
  }
}
/* 高分辨率屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .mobile-menu-btn {
    font-size: 18px;
  }
  .nav-menu a {
    font-weight: 500;
  }
}
/* 确保导航菜单在桌面端正确显示 */
@media (min-width: 769px) {
  .nav-menu {
    display: flex !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    z-index: auto !important;
    max-height: none !important;
    overflow-y: visible !important;
    border-radius: 0 !important;
  }
  .nav-menu ul {
    flex-direction: row !important;
    gap: 32px !important;
    align-items: center !important;
  }
  .nav-menu a {
    width: auto !important;
    text-align: center !important;
    padding: 12px 24px !important;
    border-radius: 25px !important;
    font-size: 16px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    white-space: nowrap !important;
    color: #7c5fd4 !important;
    font-weight: 600 !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 15px rgba(161, 140, 209, 0.15) !important;
    transition: all 0.3s ease !important;
  }
  .nav-menu a:hover,
  .nav-menu a.active {
    color: #fff !important;
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%) !important;
    box-shadow: 0 8px 25px rgba(161, 140, 209, 0.25) !important;
    transform: translateY(-3px) scale(1.05) !important;
    border-color: transparent !important;
  }
  .nav-menu a::after {
    display: none !important;
  }
  .nav-menu a::before {
    display: none !important;
  }
  .mobile-menu-btn {
    display: none !important;
  }
  .search-box {
    background: rgba(255, 255, 255, 0.18) !important;
    border: 1px solid rgba(180, 140, 255, 0.13) !important;
    border-radius: 25px !important;
    backdrop-filter: blur(18px) !important;
    box-shadow: 0 4px 15px rgba(161, 140, 209, 0.1) !important;
  }
  .search-input {
    color: #fff !important;
    background: transparent !important;
  }
  .search-input::placeholder {
    color: #fff !important;
    font-weight: 600 !important;
  }
  .search-btn {
    background: linear-gradient(90deg, #a18cd1 0%, #fbc2eb 100%) !important;
    border-radius: 20px !important;
    box-shadow: 0 2px 8px rgba(161, 140, 209, 0.1) !important;
  }
}
/* 强制显示导航菜单（确保可见性） */
.nav-menu {
  display: flex !important;
}

.nav-menu ul {
  display: flex !important;
}

.nav-menu li {
  display: block !important;
}

/* 额外的导航菜单可见性保障 */
@media (min-width: 769px) {
  .nav-container {
    position: relative;
  }
  .nav-menu {
    position: relative !important;
    z-index: 100 !important;
  }
  .nav-menu a {
    position: relative;
    z-index: 101 !important;
  }
}
/* 移动端菜单按钮强制显示 */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .nav-menu li {
    height: 50px;
  }
  .nav-menu li a::before {
    display: none;
  }
}
@media (max-width: 768px) {
  .pagination {
    transform: scale(0.8);
  }
  .page-options {
    width: 100px;
  }
  .detail-page .episodes-section .episode-link {
    padding: 10px 15px !important;
  }
}
@media (max-width: 768px) {
  .pagination-container {
    transform: scale(0.8);
  }
  .page-options {
    width: 100px;
  }
  .detail-page .episodes-section .episode-link {
    padding: 10px 15px !important;
  }
}

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