@charset "UTF-8";
/* ==================== 基础样式 ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 25%, #f8fafc 50%, #e0e7ff 75%, #f0f4ff 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

.color3 {
  color: var(--text-primary) !important;
}

/* ==================== 动画定义 ==================== */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes sparkle {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
    color: var(--accent-color);
  }
  50% {
    transform: scale(1.2) rotate(180deg);
    opacity: 0.8;
    color: var(--accent-hover);
  }
}
/* ==================== 头部样式 ==================== */
.header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
  box-shadow: 0 4px 30px rgba(99, 102, 241, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px var(--shadow-color);
}
.header.scrolled .header-container {
  height: 60px;
}
.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  background: transparent;
}
@media (max-width: 768px) {
  .header-container {
    height: 64px;
    padding: 0 20px;
  }
}

/* ==================== Logo样式 ==================== */
.logo {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.5px;
}
@media (max-width: 768px) {
  .logo {
    font-size: 24px;
  }
}
.logo::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.logo:hover {
  color: #ffffff;
  transform: translateY(-1px);
}
.logo:hover::after {
  width: 100%;
}
.logo img {
  height: 42px;
  margin-right: 12px;
  border-radius: 8px;
}
@media (max-width: 768px) {
  .logo img {
    height: 36px;
  }
}

/* ==================== PC端导航样式 ==================== */
.nav {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}
@media (max-width: 768px) {
  .nav {
    display: none;
  }
}
.nav li {
  position: relative;
}
.nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 16px;
  padding: 12px 20px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: block;
  overflow: hidden;
}
.nav a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
}
.nav a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.nav a:hover::before {
  left: 0;
}
.nav a.active {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.nav a.active::before {
  display: none;
}
.nav a.vip {
  background: var(--gradient-accent);
  color: #ffffff;
  font-weight: 600;
  position: relative;
  overflow: visible;
}
.nav a.vip::after {
  content: "✨";
  position: absolute;
  top: -5px;
  right: -5px;
  font-size: 12px;
  animation: sparkle 2s infinite;
}
.nav .nav-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px 2px 0 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}
.nav:hover .nav-indicator {
  opacity: 1;
}

/* ==================== 移动端菜单按钮 ==================== */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  background-color: var(--hover-bg);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
}
.mobile-menu-btn:hover {
  background-color: var(--hover-bg);
  transform: scale(1.05);
}
.mobile-menu-btn span {
  width: 26px;
  height: 3px;
  background: var(--gradient-primary);
  margin: 3px 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
  transform-origin: center;
}
.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ==================== 移动端导航菜单 ==================== */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--card-bg);
  box-shadow: 0 10px 40px var(--shadow-color);
  border-top: 1px solid var(--border-color);
  backdrop-filter: blur(20px);
  animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav.active {
  display: block;
}
.mobile-nav ul {
  list-style: none;
  padding: 24px 0;
}
.mobile-nav li {
  border-bottom: 1px solid var(--border-color);
  margin: 0 20px;
}
.mobile-nav li:last-child {
  border-bottom: none;
}
.mobile-nav a {
  display: block;
  padding: 18px 0;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  text-align: center;
}
.mobile-nav a::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 0;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav a:hover {
  color: var(--text-hover);
  padding-left: 16px;
}
.mobile-nav a:hover::before {
  height: 30px;
}

/* ==================== 内容区域样式 ==================== */
.main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

/* ==================== 容器样式 ==================== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== 搜索框样式 ==================== */
.search-section {
  margin-bottom: 50px;
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  border-radius: 24px;
  border: 1px solid rgba(99, 102, 241, 0.1);
}
.search-page .search-section {
  margin-bottom: 0px;
}
.search-section .search-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}
.search-section .search-box {
  width: 100%;
  padding: 18px 60px 18px 24px;
  border: 2px solid var(--border-color);
  border-radius: 50px;
  font-size: 16px;
  background: var(--card-bg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px var(--shadow-card);
}
.search-section .search-box:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 8px 30px var(--shadow-hover);
  transform: translateY(-2px);
}
.search-section .search-box::placeholder {
  color: var(--text-muted);
}
.search-section .search-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--gradient-accent);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px var(--shadow-hover);
}
.search-section .search-btn:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px var(--shadow-hover);
}
.search-section .search-btn svg {
  width: 20px;
  height: 20px;
  fill: white;
}

/* ==================== 区域标题样式 ==================== */
.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--detail-title);
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}
.section-title-detail {
  font-size: 22px;
  font-weight: 700;
  color: var(--detail-title);
  margin: 0 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--detail-accent);
  display: inline-block;
}

/* ==================== 热门短剧样式 ==================== */
.hot-dramas {
  margin-bottom: 60px;
}

/* ==================== 分类区域样式 ==================== */
.category-section {
  margin-bottom: 60px;
}
.category-section .category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.category-section .view-more {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 1px solid var(--border-color);
}
.category-section .view-more::after {
  content: "→";
  margin-left: 8px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.category-section .view-more:hover {
  color: var(--primary-color);
  background: var(--primary-light);
  border-color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--shadow-hover);
}
.category-section .view-more:hover::after {
  transform: translateX(4px);
}

/* ==================== 短剧卡片样式 ==================== */
.drama-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
  gap: 24px;
}

.drama-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(99, 102, 241, 0.1);
}
.drama-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px var(--shadow-hover);
  text-decoration: none;
  color: inherit;
}
.drama-card:hover::before {
  opacity: 1;
  background: var(--gradient-hover);
}
.drama-card:hover .drama-image img {
  transform: scale(1.05);
}
.drama-card:hover .play-overlay {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}
.drama-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}
.drama-card .drama-image {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
}
.drama-card .drama-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.drama-card .play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.drama-card .play-overlay::after {
  content: "▶";
  color: var(--accent-color);
  font-size: 20px;
  margin-left: 3px;
}
.drama-card .drama-info {
  padding: 20px;
  position: relative;
  z-index: 2;
}
.drama-card .drama-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==================== 页脚样式 ==================== */
.footer {
  background: linear-gradient(135deg, var(--footer-bg) 0%, #334155 100%);
  color: var(--footer-text);
  padding: 40px 0 20px;
}
.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--footer-border);
}
.footer-links a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.footer-links a:hover {
  color: var(--footer-link-hover);
}
.footer-copyright {
  font-size: 14px;
  color: var(--footer-text-light);
}
.footer-copyright p {
  margin: 0;
}

/* ==================== 分页器样式 ==================== */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
  padding: 0 20px;
}
.pagination-container ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
  padding: 12px 16px;
  border: 1px solid rgba(99, 102, 241, 0.1);
}
.pagination-container li {
  margin: 0;
}
.pagination-container a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  color: var(--pagination-text);
  text-decoration: none;
  border: 1px solid var(--pagination-border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  background: var(--pagination-bg);
}
.pagination-container a:hover {
  background: var(--pagination-hover-bg);
  color: var(--pagination-hover-text);
  border-color: var(--pagination-hover-text);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.pagination-container a.active {
  background: var(--pagination-active-bg);
  color: var(--pagination-active-text);
  border-color: var(--pagination-active-bg);
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}
.pagination-container a.active:hover {
  transform: none;
  background: var(--pagination-active-bg);
  color: var(--pagination-active-text);
}
.pagination-container a.no-page {
  background: var(--pagination-disabled-bg);
  color: var(--pagination-disabled-text);
  border-color: var(--pagination-border);
  cursor: not-allowed;
  pointer-events: none;
}
.pagination-container a.no-page:hover {
  transform: none;
  box-shadow: none;
}
.pagination-container .page-options a {
  padding: 0 16px;
  font-weight: 600;
}
.pagination-container .dots {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  color: var(--pagination-text);
  font-weight: bold;
  pointer-events: none;
}

/* ==================== 列表页面样式 ==================== */
.category-page {
  min-height: calc(100vh - 200px);
  padding: 30px 0;
}
.category-page .page-header {
  margin-bottom: 30px;
}
.category-page .page-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--list-title);
  margin: 0;
}
.category-page .movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.category-page .movie-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(99, 102, 241, 0.1);
}
.category-page .movie-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--list-hover-shadow);
}
.category-page .movie-card:hover .movie-poster img {
  transform: scale(1.05);
}
.category-page .movie-card .movie-poster {
  position: relative;
  aspect-ratio: 5/7;
  overflow: hidden;
}
.category-page .movie-card .movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.category-page .movie-card .movie-title {
  padding: 16px;
}
.category-page .movie-card .movie-title h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--list-title);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
}

/* ==================== 搜索页面样式 ==================== */
.search-page {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  min-height: calc(100vh - 200px);
  padding: 30px 0;
}
.search-page .search-info {
  margin-bottom: 30px;
  margin-top: 30px;
  border-bottom: 2px solid var(--search-keyword-color);
}
.search-page .search-info h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--search-title);
  margin: 0 0 12px 0;
}
.search-page .search-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.search-page .search-keyword {
  color: var(--search-text);
  font-size: 14px;
}
.search-page .search-keyword em {
  color: var(--search-keyword-color);
  font-style: normal;
  font-weight: 600;
}
.search-page .search-count {
  color: var(--search-text-light);
  font-size: 14px;
}
.search-page .movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.search-page .movie-card {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(99, 102, 241, 0.2);
}
.search-page .movie-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--search-hover-shadow);
}
.search-page .movie-card:hover .movie-poster img {
  transform: scale(1.05);
}
.search-page .movie-card .movie-poster {
  position: relative;
  aspect-ratio: 5/7;
  overflow: hidden;
}
.search-page .movie-card .movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.search-page .movie-card .movie-title {
  padding: 16px;
}
.search-page .movie-card .movie-title h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--search-title);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
}

/* ==================== 详情页面样式 ==================== */
.detail-page {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  min-height: calc(100vh - 200px);
  padding: 30px 0;
}
.detail-page .plyr {
  height: 100%;
}
.detail-page .video-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.detail-page .video-player {
  position: relative;
}
.detail-page .video-player .player-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--player-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--detail-shadow);
}
.detail-page .video-player .player-container video {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}
.detail-page .video-player .copyright-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--player-control-bg);
  padding: 12px 16px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}
.detail-page .video-player .copyright-overlay p {
  color: #ffffff;
  font-size: 12px;
  margin: 2px 0;
  text-align: center;
  opacity: 0.9;
}
.detail-page .video-info {
  padding: 20px 0;
}
.detail-page .video-info .video-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--detail-title);
  margin: 0 0 16px 0;
  line-height: 1.3;
}
.detail-page .video-info .video-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.detail-page .video-info .update-time,
.detail-page .video-info .video-type {
  color: var(--detail-text-light);
  font-size: 14px;
  padding: 4px 12px;
  background: var(--detail-card-bg);
  border-radius: 20px;
  border: 1px solid var(--detail-border);
}
.detail-page .video-info .video-type {
  background: var(--detail-accent);
  color: white;
  border-color: var(--detail-accent);
}
.detail-page .video-info .video-description {
  color: var(--detail-text);
  line-height: 1.6;
}
.detail-page .video-info .video-description p {
  margin: 0;
  font-size: 15px;
}
.detail-page .episodes-section {
  margin-bottom: 40px;
}
.detail-page .episodes-section .episodes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.detail-page .episodes-section .episode-link {
  padding: 10px 20px;
  background: var(--episode-bg);
  color: var(--episode-text);
  border: 1px solid var(--detail-border);
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}
.detail-page .episodes-section .episode-link:hover {
  background: var(--episode-hover-bg);
  color: var(--episode-text);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.detail-page .episodes-section .episode-link.active {
  background: var(--episode-active-bg);
  color: var(--episode-active-text);
  border-color: var(--episode-active-bg);
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}
.detail-page .episodes-section .episode-link.active:hover {
  transform: none;
  color: var(--episode-active-text);
}
.detail-page .related-section {
  margin-bottom: 40px;
}
.detail-page .related-section .related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}
.detail-page .related-section .related-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(99, 102, 241, 0.2);
}
.detail-page .related-section .related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--detail-hover-shadow);
}
.detail-page .related-section .related-card:hover .related-poster img {
  transform: scale(1.05);
}
.detail-page .related-section .related-card .related-poster {
  position: relative;
  aspect-ratio: 5/7;
  overflow: hidden;
}
.detail-page .related-section .related-card .related-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.detail-page .related-section .related-card .related-title {
  padding: 12px;
}
.detail-page .related-section .related-card .related-title h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--detail-title);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1200px) {
  .movie-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
  }
  .detail-page .video-section {
    grid-template-columns: 350px 1fr;
    gap: 30px;
  }
  .detail-page .related-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .main-content {
    padding: 30px 20px;
  }
  .container {
    padding: 0 16px;
  }
  .search-section .search-box {
    padding: 16px 50px 16px 20px;
    max-width: 100%;
    font-size: 14px;
  }
  .drama-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .drama-image {
    height: 240px !important;
  }
  .drama-info {
    padding: 16px;
  }
  .footer-links {
    gap: 16px;
    justify-content: center;
  }
  .footer-links a {
    font-size: 13px;
  }
  .footer-copyright {
    font-size: 13px;
  }
  .category-page,
  .search-page,
  .detail-page {
    padding: 20px 0;
  }
  .category-page .page-header h1,
  .search-page .page-header h1,
  .detail-page .page-header h1 {
    font-size: 24px;
  }
  .category-page .search-info h2,
  .search-page .search-info h2,
  .detail-page .search-info h2 {
    font-size: 20px;
  }
  .category-page .search-meta,
  .search-page .search-meta,
  .detail-page .search-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .category-page .movie-grid,
  .search-page .movie-grid,
  .detail-page .movie-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
  }
  .category-page .movie-title,
  .search-page .movie-title,
  .detail-page .movie-title {
    padding: 12px;
  }
  .category-page .movie-title h3,
  .search-page .movie-title h3,
  .detail-page .movie-title h3 {
    font-size: 13px;
  }
  .detail-page .video-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .detail-page .player-container {
    width: 100%;
  }
  .detail-page .video-title {
    font-size: 22px;
  }
  .detail-page .video-meta {
    gap: 12px;
  }
  .detail-page .section-title {
    font-size: 18px;
  }
  .detail-page .episodes-list {
    gap: 8px;
  }
  .detail-page .episode-link {
    padding: 8px 16px;
    font-size: 13px;
  }
  .detail-page .related-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
  }
  .detail-page .related-title {
    padding: 10px;
  }
  .detail-page .related-title h3 {
    font-size: 12px;
  }
  .detail-page .copyright-overlay {
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 8px 12px;
  }
  .detail-page .copyright-overlay p {
    font-size: 10px;
  }
  .pagination-container {
    margin: 30px 0;
    padding: 0 16px;
  }
  .pagination-container ul {
    gap: 4px;
    padding: 8px 12px;
    border-radius: 10px;
  }
  .pagination-container a {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
    padding: 0 8px;
    border-radius: 6px;
  }
  .pagination-container .page-options a {
    padding: 0 12px;
    font-size: 12px;
  }
}
/* ==================== 基础样式 ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

@keyframes starfield-drift {
  0% {
    transform: translateX(0) translateY(0);
    opacity: 0.8;
  }
  50% {
    transform: translateX(-10px) translateY(-5px);
    opacity: 1;
  }
  100% {
    transform: translateX(10px) translateY(5px);
    opacity: 0.9;
  }
}
@keyframes twinkle {
  0% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 0.5;
  }
}
/* ==================== 星空主题动画定义 ==================== */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes sparkle {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
    color: var(--accent-color);
    text-shadow: 0 0 10px currentColor;
  }
  50% {
    transform: scale(1.3) rotate(180deg);
    opacity: 0.7;
    color: var(--accent-hover);
    text-shadow: 0 0 20px currentColor, 0 0 30px currentColor;
  }
}
@keyframes cosmic-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3), 0 0 40px rgba(139, 92, 246, 0.2), inset 0 0 20px rgba(37, 99, 235, 0.1);
  }
  50% {
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.5), 0 0 60px rgba(139, 92, 246, 0.3), inset 0 0 30px rgba(37, 99, 235, 0.2);
  }
}
@keyframes nebula-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
/* ==================== 头部样式 ==================== */
.header {
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.95) 0%, rgba(15, 23, 42, 0.9) 100%);
  box-shadow: 0 4px 30px rgba(37, 99, 235, 0.3), 0 0 50px rgba(139, 92, 246, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(71, 85, 105, 0.3);
}
.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), var(--accent-color), transparent);
  animation: nebula-flow 3s ease-in-out infinite;
}
.header.scrolled {
  background: rgba(2, 6, 23, 0.98);
  backdrop-filter: blur(25px);
  box-shadow: 0 4px 30px rgba(37, 99, 235, 0.4), 0 0 60px rgba(139, 92, 246, 0.3);
}
.header.scrolled .header-container {
  height: 60px;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.5px;
  text-shadow: 0 0 20px rgba(37, 99, 235, 0.6);
}
@media (max-width: 768px) {
  .logo {
    font-size: 24px;
  }
}
.logo::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px currentColor;
}
.logo:hover {
  color: #ffffff;
  transform: translateY(-1px);
  text-shadow: 0 0 30px rgba(37, 99, 235, 0.8), 0 0 50px rgba(139, 92, 246, 0.6);
}
.logo:hover::after {
  width: 100%;
}
.logo img {
  height: 42px;
  margin-right: 12px;
  border-radius: 8px;
  filter: drop-shadow(0 0 10px rgba(37, 99, 235, 0.5));
}
@media (max-width: 768px) {
  .logo img {
    height: 36px;
  }
}

/* ==================== 搜索框样式 ==================== */
.search-section {
  margin-bottom: 50px;
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
  border-radius: 24px;
  border: 1px solid rgba(71, 85, 105, 0.3);
  position: relative;
  overflow: hidden;
}
.search-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
  z-index: -1;
  animation: cosmic-glow 4s ease-in-out infinite;
}
.search-page .search-section {
  margin-bottom: 0px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(51, 65, 85, 0.6) 100%);
}
.search-section .search-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}
.search-section .search-box {
  width: 100%;
  padding: 18px 60px 18px 24px;
  border: 2px solid var(--border-color);
  border-radius: 50px;
  font-size: 16px;
  background: var(--card-bg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px var(--shadow-card), inset 0 0 20px rgba(37, 99, 235, 0.05);
  color: var(--text-primary);
}
.search-section .search-box:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 8px 30px var(--shadow-hover), 0 0 40px rgba(37, 99, 235, 0.3), inset 0 0 30px rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}
.search-section .search-box::placeholder {
  color: var(--text-muted);
}
.search-section .search-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--gradient-accent);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px var(--shadow-hover), 0 0 20px rgba(139, 92, 246, 0.4);
}
.search-section .search-btn:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px var(--shadow-hover), 0 0 30px rgba(139, 92, 246, 0.6);
}
.search-section .search-btn svg {
  width: 20px;
  height: 20px;
  fill: white;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

/* ==================== 短剧卡片样式 ==================== */
.drama-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(51, 65, 85, 0.8) 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 30px rgba(37, 99, 235, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(71, 85, 105, 0.3);
}
.drama-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 50px rgba(37, 99, 235, 0.3), 0 0 80px rgba(139, 92, 246, 0.2);
  text-decoration: none;
  color: inherit;
  border-color: rgba(37, 99, 235, 0.5);
}
.drama-card:hover::before {
  opacity: 1;
}
.drama-card:hover .drama-image img {
  transform: scale(1.05);
  filter: brightness(1.1) saturate(1.2);
}
.drama-card:hover .play-overlay {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}
.drama-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}
.drama-card .drama-image {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
}
.drama-card .drama-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.drama-card .play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(30, 41, 59, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 92, 246, 0.4);
  border: 2px solid rgba(139, 92, 246, 0.6);
}
.drama-card .play-overlay::after {
  content: "▶";
  color: var(--accent-color);
  font-size: 20px;
  margin-left: 3px;
  text-shadow: 0 0 10px currentColor;
}
.drama-card .drama-info {
  padding: 20px;
  position: relative;
  z-index: 2;
}
.drama-card .drama-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(248, 250, 252, 0.3);
}

/* ==================== 分页器样式 ==================== */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
  padding: 0 20px;
}
.pagination-container ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(51, 65, 85, 0.8) 100%);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 30px rgba(37, 99, 235, 0.2);
  padding: 12px 16px;
  border: 1px solid rgba(71, 85, 105, 0.3);
  backdrop-filter: blur(10px);
}
.pagination-container li {
  margin: 0;
}
.pagination-container a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  color: var(--pagination-text);
  text-decoration: none;
  border: 1px solid var(--pagination-border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  background: var(--pagination-bg);
  position: relative;
  overflow: hidden;
}
.pagination-container a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.2), transparent);
  transition: left 0.5s ease;
}
.pagination-container a:hover {
  background: var(--pagination-hover-bg);
  color: var(--pagination-hover-text);
  border-color: var(--pagination-hover-text);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 0 20px rgba(37, 99, 235, 0.3);
  text-shadow: 0 0 10px currentColor;
}
.pagination-container a:hover::before {
  left: 100%;
}
.pagination-container a.active {
  background: var(--pagination-active-bg);
  color: var(--pagination-active-text);
  border-color: var(--pagination-active-bg);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4), 0 0 30px rgba(37, 99, 235, 0.5);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
.pagination-container a.active:hover {
  transform: none;
  background: var(--pagination-active-bg);
  color: var(--pagination-active-text);
}
.pagination-container a.no-page {
  background: var(--pagination-disabled-bg);
  color: var(--pagination-disabled-text);
  border-color: var(--pagination-border);
  cursor: not-allowed;
  pointer-events: none;
}
.pagination-container a.no-page:hover {
  transform: none;
  box-shadow: none;
  text-shadow: none;
}

/* ==================== 页脚样式 ==================== */
.footer {
  background: linear-gradient(135deg, var(--footer-bg) 0%, rgba(15, 23, 42, 0.95) 100%);
  color: var(--footer-text);
  padding: 40px 0 20px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(71, 85, 105, 0.3);
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), var(--accent-color), transparent);
  animation: nebula-flow 4s ease-in-out infinite;
}
.footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
  z-index: -1;
}
.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--footer-border);
}
.footer-links a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(71, 85, 105, 0.3);
}
.footer-links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.2), transparent);
  transition: left 0.5s ease;
}
.footer-links a:hover {
  color: var(--footer-link-hover);
  border-color: var(--footer-link-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3), 0 0 20px rgba(37, 99, 235, 0.2);
  text-shadow: 0 0 10px currentColor;
}
.footer-links a:hover::before {
  left: 100%;
}
.footer-copyright {
  font-size: 14px;
  color: var(--footer-text-light);
}
.footer-copyright p {
  margin: 0;
  text-shadow: 0 0 10px rgba(148, 163, 184, 0.3);
}

/* ==================== 清新简约主题颜色变量定义 ==================== */
:root {
  /* 主色调 - 清新的蓝绿色系 */
  --primary-color: #06b6d4;
  --primary-hover: #0891b2;
  --primary-light: #cffafe;
  /* 辅助色 - 温和的紫色作为点缀 */
  --accent-color: #a855f7;
  --accent-hover: #9333ea;
  --accent-light: #f3e8ff;
  /* 背景色 - 极简的白色系 */
  --content-bg: rgba(255, 255, 255, 0.6);
  --card-bg: rgba(255, 255, 255, 0.8);
  --hover-bg: rgba(249, 250, 251, 0.9);
  --active-bg: rgba(243, 244, 246, 0.9);
  /* 文字颜色 - 柔和的深色系 */
  --text-primary: #374151;
  --text-secondary: #6b7280;
  --text-hover: #06b6d4;
  --text-muted: #9ca3af;
  /* 边框和阴影 - 极淡效果 */
  --shadow-color: rgba(6, 182, 212, 0.08);
  --shadow-hover: rgba(6, 182, 212, 0.15);
  --shadow-card: rgba(0, 0, 0, 0.03);
  --border-color: rgba(229, 231, 235, 0.6);
  /* 页脚颜色变量 - 极简 */
  --footer-bg: rgba(249, 250, 251, 0.9);
  --footer-text: #6b7280;
  --footer-text-light: #9ca3af;
  --footer-border: rgba(229, 231, 235, 0.6);
  --footer-link-hover: var(--primary-color, #06b6d4);
  /* 分页器颜色变量 */
  --pagination-bg: rgba(255, 255, 255, 0.8);
  --pagination-border: rgba(229, 231, 235, 0.6);
  --pagination-text: #6b7280;
  --pagination-hover-bg: rgba(249, 250, 251, 0.9);
  --pagination-hover-text: var(--primary-color, #06b6d4);
  --pagination-active-bg: var(--primary-color, #06b6d4);
  --pagination-active-text: #ffffff;
  --pagination-disabled-bg: rgba(243, 244, 246, 0.5);
  --pagination-disabled-text: #d1d5db;
  --pagination-shadow: rgba(6, 182, 212, 0.1);
  /* 搜索页颜色变量 - 极简 */
  --search-bg: rgba(255, 255, 255, 0.6);
  --search-card-bg: rgba(255, 255, 255, 0.8);
  --search-title: #374151;
  --search-text: #4b5563;
  --search-text-light: #9ca3af;
  --search-border: rgba(229, 231, 235, 0.6);
  --search-shadow: rgba(0, 0, 0, 0.03);
  --search-hover-shadow: rgba(6, 182, 212, 0.1);
  --search-input-bg: rgba(255, 255, 255, 0.9);
  --search-input-text: #374151;
  --search-button-bg: var(--accent-color, #a855f7);
  --search-button-hover: var(--accent-hover, #9333ea);
  --search-keyword-color: var(--accent-color, #a855f7);
  /* 详情页颜色变量 - 极简 */
  --detail-bg: rgba(255, 255, 255, 0.6);
  --detail-card-bg: rgba(255, 255, 255, 0.8);
  --detail-title: #374151;
  --detail-text: #4b5563;
  --detail-text-light: #9ca3af;
  --detail-border: rgba(229, 231, 235, 0.6);
  --detail-shadow: rgba(0, 0, 0, 0.03);
  --detail-hover-shadow: rgba(6, 182, 212, 0.1);
  --detail-accent: var(--accent-color, #a855f7);
  --detail-accent-hover: var(--accent-hover, #9333ea);
  /* 播放器变量 */
  --player-bg: #000000;
  --player-control-bg: rgba(0, 0, 0, 0.8);
  /* 选集链接变量 */
  --episode-bg: rgba(249, 250, 251, 0.8);
  --episode-text: #4b5563;
  --episode-hover-bg: rgba(243, 244, 246, 0.9);
  --episode-active-bg: var(--accent-color, #a855f7);
  --episode-active-text: #ffffff;
  /* 列表页颜色变量 */
  --list-bg: rgba(255, 255, 255, 0.6);
  --list-card-bg: rgba(255, 255, 255, 0.8);
  --list-title: #374151;
  --list-text: #6b7280;
  --list-border: rgba(229, 231, 235, 0.6);
  --list-shadow: rgba(6, 182, 212, 0.08);
  --list-hover-shadow: rgba(6, 182, 212, 0.15);
  /* 渐变色 - 清新渐变组合 */
  --gradient-primary: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  --gradient-accent: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
  --gradient-card: linear-gradient(135deg, rgba(6, 182, 212, 0.03) 0%, rgba(168, 85, 247, 0.02) 100%);
  --gradient-hover: linear-gradient(135deg, rgba(6, 182, 212, 0.06) 0%, rgba(168, 85, 247, 0.03) 100%);
}

/* ==================== 基础样式修改 - 清新版 ==================== */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(249, 250, 251, 0.8) 25%, rgba(255, 255, 255, 0.95) 50%, rgba(249, 250, 251, 0.8) 75%, rgba(255, 255, 255, 0.9) 100%), radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.03) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.02) 0%, transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
  color: var(--text-primary);
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(6, 182, 212, 0.02) 0%, transparent 30%), radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.015) 0%, transparent 30%), radial-gradient(circle at 50% 50%, rgba(34, 197, 94, 0.01) 0%, transparent 25%);
  z-index: -2;
  pointer-events: none;
  animation: gentle-drift 25s ease-in-out infinite alternate;
}
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(1px 1px at 100px 100px, rgba(6, 182, 212, 0.08), transparent), radial-gradient(1px 1px at 300px 200px, rgba(168, 85, 247, 0.06), transparent), radial-gradient(1px 1px at 500px 50px, rgba(34, 197, 94, 0.05), transparent), radial-gradient(1px 1px at 200px 300px, rgba(6, 182, 212, 0.04), transparent), radial-gradient(1px 1px at 600px 250px, rgba(168, 85, 247, 0.03), transparent);
  background-size: 700px 400px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  animation: soft-sparkle 4s ease-in-out infinite alternate;
}

@keyframes gentle-drift {
  0% {
    transform: translateX(0) translateY(0) scale(1);
    opacity: 0.6;
  }
  33% {
    transform: translateX(-5px) translateY(-3px) scale(1.02);
    opacity: 0.8;
  }
  66% {
    transform: translateX(3px) translateY(2px) scale(0.98);
    opacity: 0.9;
  }
  100% {
    transform: translateX(2px) translateY(-1px) scale(1.01);
    opacity: 0.7;
  }
}
@keyframes soft-sparkle {
  0% {
    opacity: 0.2;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
  100% {
    opacity: 0.3;
    transform: scale(0.95);
  }
}
/* ==================== 头部样式修改 - 清新版 ==================== */
.header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(249, 250, 251, 0.85) 100%);
  box-shadow: 0 2px 20px rgba(6, 182, 212, 0.08), 0 0 40px rgba(168, 85, 247, 0.04);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}
.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.3), rgba(168, 85, 247, 0.2), transparent);
  opacity: 0.6;
  animation: gentle-flow 6s ease-in-out infinite;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 25px rgba(6, 182, 212, 0.12), 0 0 50px rgba(168, 85, 247, 0.06);
}

@keyframes gentle-flow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
.logo {
  color: var(--text-primary);
  text-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}
.logo:hover {
  color: var(--primary-color);
  text-shadow: 0 0 20px rgba(6, 182, 212, 0.3), 0 0 35px rgba(168, 85, 247, 0.2);
}

/* ==================== PC端导航样式修改 - 清新版 ==================== */
.nav a {
  color: var(--text-secondary);
  position: relative;
}
.nav a::before {
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.08), transparent);
}
.nav a:hover {
  background-color: rgba(6, 182, 212, 0.08);
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.1);
}
.nav a.active {
  background: rgba(6, 182, 212, 0.12);
  color: var(--primary-color);
  box-shadow: 0 2px 10px rgba(6, 182, 212, 0.15);
}
.nav a.vip {
  background: var(--gradient-accent);
}
.nav a.vip::after {
  animation: gentle-sparkle 2.5s infinite;
}

@keyframes gentle-sparkle {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.9);
  }
  50% {
    transform: scale(1.1) rotate(90deg);
    opacity: 1;
    color: #ffffff;
  }
}
/* ==================== 搜索框样式修改 - 清新版 ==================== */
.search-section {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.04) 0%, rgba(168, 85, 247, 0.02) 100%);
  border: 1px solid rgba(229, 231, 235, 0.5);
}
.search-section::before {
  background: radial-gradient(circle at 30% 30%, rgba(6, 182, 212, 0.02) 0%, transparent 40%), radial-gradient(circle at 70% 70%, rgba(168, 85, 247, 0.015) 0%, transparent 40%);
  animation: soft-glow 5s ease-in-out infinite;
}
.search-page .search-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(249, 250, 251, 0.7) 100%);
}
.search-section .search-box {
  background: var(--search-input-bg);
  color: var(--search-input-text);
  box-shadow: 0 2px 15px var(--shadow-card), inset 0 0 15px rgba(6, 182, 212, 0.02);
  border: 1px solid rgba(229, 231, 235, 0.6);
}
.search-section .search-box:focus {
  box-shadow: 0 4px 20px var(--shadow-hover), 0 0 25px rgba(6, 182, 212, 0.1), inset 0 0 20px rgba(6, 182, 212, 0.03);
  border-color: var(--primary-color);
}
.search-section .search-btn {
  box-shadow: 0 3px 12px rgba(168, 85, 247, 0.2), 0 0 15px rgba(168, 85, 247, 0.15);
}
.search-section .search-btn:hover {
  box-shadow: 0 5px 18px rgba(168, 85, 247, 0.25), 0 0 20px rgba(168, 85, 247, 0.2);
}

@keyframes soft-glow {
  0%, 100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}
/* ==================== 短剧卡片样式修改 - 清新版 ==================== */
.drama-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(249, 250, 251, 0.7) 100%);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06), 0 0 20px rgba(6, 182, 212, 0.04);
  border: 1px solid rgba(229, 231, 235, 0.6);
}
.drama-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1), 0 0 35px rgba(6, 182, 212, 0.12), 0 0 50px rgba(168, 85, 247, 0.08);
  border-color: rgba(6, 182, 212, 0.25);
}
.drama-card:hover .drama-image img {
  filter: brightness(1.03) saturate(1.05) contrast(1.02);
}
.drama-card::before {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.04) 0%, rgba(168, 85, 247, 0.02) 100%);
}
.drama-card .play-overlay {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.12), 0 0 20px rgba(168, 85, 247, 0.15);
  border: 2px solid rgba(168, 85, 247, 0.25);
}
.drama-card .play-overlay::after {
  text-shadow: 0 0 8px currentColor;
}
.drama-card .drama-title {
  color: var(--text-primary);
}

/* ==================== 分页器样式修改 - 清新版 ==================== */
.pagination-container ul {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(249, 250, 251, 0.7) 100%);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06), 0 0 20px rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(229, 231, 235, 0.6);
}

.pagination-container a::before {
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.08), transparent);
}
.pagination-container a:hover {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08), 0 0 15px rgba(6, 182, 212, 0.12);
}
.pagination-container a.active {
  box-shadow: 0 2px 8px rgba(6, 182, 212, 0.15), 0 0 20px rgba(6, 182, 212, 0.2);
}

/* ==================== 页脚样式修改 - 清新版 ==================== */
.footer {
  background: linear-gradient(135deg, var(--footer-bg) 0%, rgba(243, 244, 246, 0.9) 100%);
  border-top: 1px solid rgba(229, 231, 235, 0.6);
}
.footer::before {
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.2), rgba(168, 85, 247, 0.15), transparent);
  opacity: 0.4;
}
.footer::after {
  background: radial-gradient(circle at 25% 25%, rgba(6, 182, 212, 0.015) 0%, transparent 40%), radial-gradient(circle at 75% 75%, rgba(168, 85, 247, 0.01) 0%, transparent 40%);
}
.footer-links a {
  border: 1px solid rgba(229, 231, 235, 0.5);
  background: rgba(255, 255, 255, 0.5);
}
.footer-links a::before {
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.08), transparent);
}
.footer-links a:hover {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 3px 10px rgba(6, 182, 212, 0.12), 0 0 15px rgba(6, 182, 212, 0.08);
}

/* ==================== 列表页和搜索页样式修改 - 清新版 ==================== */
.category-page,
.search-page {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(249, 250, 251, 0.8) 100%);
}

.movie-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(249, 250, 251, 0.7) 100%);
  box-shadow: 0 2px 15px rgba(6, 182, 212, 0.06);
  border: 1px solid rgba(229, 231, 235, 0.6);
}
.movie-card:hover {
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.12);
  transform: translateY(-3px);
}
.movie-card .movie-title h3 {
  color: var(--text-primary);
}

/* ==================== 详情页样式修改 - 清新版 ==================== */
.detail-page {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(249, 250, 251, 0.8) 100%);
}
.detail-page .related-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(249, 250, 251, 0.7) 100%);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(229, 231, 235, 0.6);
}
.detail-page .related-card:hover {
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.12);
  transform: translateY(-3px);
}
.detail-page .related-card .related-title h3 {
  color: var(--text-primary);
}

/* ==================== 移动端菜单按钮修改 - 清新版 ==================== */
.mobile-menu-btn {
  background-color: rgba(249, 250, 251, 0.8);
  border: 1px solid rgba(229, 231, 235, 0.6);
}
.mobile-menu-btn:hover {
  background-color: rgba(243, 244, 246, 0.9);
}
.mobile-menu-btn span {
  background: var(--gradient-primary);
}

/* ==================== 移动端导航菜单修改 - 清新版 ==================== */
.mobile-nav {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.15);
  border-top: 1px solid rgba(229, 231, 235, 0.6);
}
.mobile-nav li {
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}
.mobile-nav a {
  color: var(--text-primary);
}
.mobile-nav a::before {
  background: var(--gradient-primary);
}
.mobile-nav a:hover {
  color: var(--text-hover);
}

@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 */
