@charset "UTF-8";
/* ==================== 深海蓝钻主题颜色变量定义 ==================== */
:root {
  /* 主色调 - 深邃的蓝钻色系 */
  --primary-color: #1e40af;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  /* 辅助色 - 璀璨的青蓝色作为点缀 */
  --accent-color: #0ea5e9;
  --accent-hover: #0284c7;
  --accent-light: #f0f9ff;
  /* 背景色 - 深邃的海洋色系 */
  --content-bg: #0a0f1a;
  --card-bg: #1a1f2e;
  --hover-bg: #2a2f3e;
  --active-bg: #3a3f4e;
  /* 文字颜色 - 钻石般的亮色系 */
  --text-primary: #eff6ff;
  --text-secondary: #bfdbfe;
  --text-hover: #7dd3fc;
  --text-muted: #93c5fd;
  /* 边框和阴影 - 钻石光效果 */
  --shadow-color: rgba(30, 64, 175, 0.3);
  --shadow-hover: rgba(30, 64, 175, 0.5);
  --shadow-card: rgba(0, 0, 0, 0.4);
  --border-color: #3a3f4e;
  /* 页脚颜色变量 - 深海底 */
  --footer-bg: #040810;
  --footer-text: #bfdbfe;
  --footer-text-light: #93c5fd;
  --footer-border: #1a1f2e;
  --footer-link-hover: var(--primary-color, #1e40af);
  /* 分页器颜色变量 */
  --pagination-bg: #1a1f2e;
  --pagination-border: #3a3f4e;
  --pagination-text: #bfdbfe;
  --pagination-hover-bg: #2a2f3e;
  --pagination-hover-text: var(--primary-color, #1e40af);
  --pagination-active-bg: var(--primary-color, #1e40af);
  --pagination-active-text: #ffffff;
  --pagination-disabled-bg: #0a0f1a;
  --pagination-disabled-text: #93c5fd;
  --pagination-shadow: rgba(30, 64, 175, 0.4);
  /* 搜索页颜色变量 - 深蓝钻 */
  --search-bg: #040810;
  --search-card-bg: #1a1f2e;
  --search-title: #eff6ff;
  --search-text: #bfdbfe;
  --search-text-light: #93c5fd;
  --search-border: #3a3f4e;
  --search-shadow: rgba(0, 0, 0, 0.5);
  --search-hover-shadow: rgba(30, 64, 175, 0.4);
  --search-input-bg: #2a2f3e;
  --search-input-text: #eff6ff;
  --search-button-bg: var(--accent-color, #0ea5e9);
  --search-button-hover: var(--accent-hover, #0284c7);
  --search-keyword-color: var(--accent-color, #0ea5e9);
  /* 详情页颜色变量 - 深蓝钻 */
  --detail-bg: #040810;
  --detail-card-bg: #1a1f2e;
  --detail-title: #eff6ff;
  --detail-text: #bfdbfe;
  --detail-text-light: #93c5fd;
  --detail-border: #3a3f4e;
  --detail-shadow: rgba(0, 0, 0, 0.5);
  --detail-hover-shadow: rgba(30, 64, 175, 0.4);
  --detail-accent: var(--accent-color, #0ea5e9);
  --detail-accent-hover: var(--accent-hover, #0284c7);
  /* 播放器变量 */
  --player-bg: #000000;
  --player-control-bg: rgba(0, 0, 0, 0.8);
  /* 选集链接变量 */
  --episode-bg: #2a2f3e;
  --episode-text: #bfdbfe;
  --episode-hover-bg: #3a3f4e;
  --episode-active-bg: var(--accent-color, #0ea5e9);
  --episode-active-text: #ffffff;
  /* 列表页颜色变量 */
  --list-bg: #0a0f1a;
  --list-card-bg: #1a1f2e;
  --list-title: #eff6ff;
  --list-text: #bfdbfe;
  --list-border: #3a3f4e;
  --list-shadow: rgba(30, 64, 175, 0.3);
  --list-hover-shadow: rgba(30, 64, 175, 0.5);
  /* 渐变色 - 蓝钻渐变组合 */
  --gradient-primary: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  --gradient-accent: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  --gradient-card: linear-gradient(135deg, rgba(30, 64, 175, 0.1) 0%, rgba(14, 165, 233, 0.05) 100%);
  --gradient-hover: linear-gradient(135deg, rgba(30, 64, 175, 0.2) 0%, rgba(14, 165, 233, 0.1) 100%);
}

/* ==================== 基础样式 ==================== */
* {
  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(240px, 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 {
  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%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  background: radial-gradient(ellipse at center, rgba(30, 64, 175, 0.12) 0%, transparent 70%), radial-gradient(ellipse at 30% 80%, rgba(14, 165, 233, 0.1) 0%, transparent 60%), radial-gradient(ellipse at 70% 20%, rgba(29, 78, 216, 0.08) 0%, transparent 50%), radial-gradient(ellipse at 50% 50%, rgba(2, 132, 199, 0.06) 0%, transparent 40%), linear-gradient(135deg, #040810 0%, #0a0f1a 25%, #1a1f2e 50%, #0a0f1a 75%, #040810 100%);
  background-attachment: fixed;
  background-size: 1000px 800px, 800px 1000px, 600px 600px, 500px 500px, 100% 100%;
  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 35% 25%, rgba(30, 64, 175, 0.18) 0%, transparent 50%), radial-gradient(circle at 75% 75%, rgba(14, 165, 233, 0.15) 0%, transparent 50%), radial-gradient(circle at 45% 15%, rgba(125, 211, 252, 0.08) 0%, transparent 40%), radial-gradient(circle at 85% 45%, rgba(56, 189, 248, 0.12) 0%, transparent 35%);
  z-index: -2;
  pointer-events: none;
  animation: ocean-current 35s ease-in-out infinite alternate;
}
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(3px 3px at 100px 80px, rgba(30, 64, 175, 0.7), transparent), radial-gradient(2px 2px at 200px 160px, rgba(14, 165, 233, 0.5), transparent), radial-gradient(1px 1px at 300px 120px, rgba(125, 211, 252, 0.8), transparent), radial-gradient(2px 2px at 400px 200px, rgba(56, 189, 248, 0.4), transparent), radial-gradient(1px 1px at 500px 100px, rgba(30, 64, 175, 0.6), transparent);
  background-size: 650px 280px;
  z-index: -1;
  pointer-events: none;
  animation: diamond-sparkle 6s ease-in-out infinite alternate;
}

@keyframes ocean-current {
  0% {
    transform: translateX(0) translateY(0) scale(1);
    opacity: 0.8;
  }
  30% {
    transform: translateX(-12px) translateY(-8px) scale(1.03);
    opacity: 1;
  }
  60% {
    transform: translateX(8px) translateY(12px) scale(0.97);
    opacity: 0.9;
  }
  100% {
    transform: translateX(18px) translateY(-6px) scale(1.01);
    opacity: 0.85;
  }
}
@keyframes diamond-sparkle {
  0% {
    opacity: 0.5;
    transform: translateY(0) scale(1);
  }
  25% {
    opacity: 0.9;
    transform: translateY(-4px) scale(1.1);
  }
  50% {
    opacity: 0.7;
    transform: translateY(3px) scale(0.9);
  }
  75% {
    opacity: 1;
    transform: translateY(-2px) scale(1.05);
  }
  100% {
    opacity: 0.6;
    transform: translateY(2px) scale(1);
  }
}
/* ==================== 深海蓝钻主题动画定义 ==================== */
@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 18px currentColor;
  }
  50% {
    transform: scale(1.3) rotate(180deg);
    opacity: 0.8;
    color: var(--accent-hover);
    text-shadow: 0 0 30px currentColor, 0 0 40px currentColor;
  }
}
@keyframes crystal-glow {
  0%, 100% {
    box-shadow: 0 0 30px rgba(30, 64, 175, 0.4), 0 0 60px rgba(14, 165, 233, 0.3), inset 0 0 30px rgba(30, 64, 175, 0.1);
  }
  50% {
    box-shadow: 0 0 50px rgba(30, 64, 175, 0.6), 0 0 100px rgba(14, 165, 233, 0.4), inset 0 0 50px rgba(30, 64, 175, 0.2);
  }
}
@keyframes wave-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes crystal-shimmer {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    filter: brightness(1) saturate(1) hue-rotate(0deg);
  }
  25% {
    transform: scale(1.02) rotate(0.5deg);
    filter: brightness(1.15) saturate(1.3) hue-rotate(5deg);
  }
  50% {
    transform: scale(0.98) rotate(-0.3deg);
    filter: brightness(0.9) saturate(1.1) hue-rotate(-3deg);
  }
  75% {
    transform: scale(1.01) rotate(0.2deg);
    filter: brightness(1.08) saturate(1.2) hue-rotate(2deg);
  }
}
@keyframes depth-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.85;
  }
}
/* ==================== 头部样式 ==================== */
.header {
  background: linear-gradient(135deg, rgba(4, 8, 16, 0.95) 0%, rgba(10, 15, 26, 0.9) 100%);
  box-shadow: 0 4px 30px rgba(30, 64, 175, 0.4), 0 0 60px rgba(14, 165, 233, 0.3);
  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(58, 63, 78, 0.4);
}
.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), var(--accent-color), transparent);
  animation: wave-flow 5s ease-in-out infinite;
}
.header.scrolled {
  background: rgba(4, 8, 16, 0.98);
  backdrop-filter: blur(25px);
  box-shadow: 0 4px 30px rgba(30, 64, 175, 0.5), 0 0 80px rgba(14, 165, 233, 0.4);
}
.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 25px rgba(30, 64, 175, 0.8);
}
@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 15px currentColor;
}
.logo:hover {
  color: #ffffff;
  transform: translateY(-1px);
  text-shadow: 0 0 40px rgb(30, 64, 175), 0 0 70px rgba(14, 165, 233, 0.8);
  animation: crystal-shimmer 2.5s ease-in-out infinite;
}
.logo:hover::after {
  width: 100%;
}
.logo img {
  height: 42px;
  margin-right: 12px;
  border-radius: 8px;
  filter: drop-shadow(0 0 15px rgba(30, 64, 175, 0.6));
}
@media (max-width: 768px) {
  .logo img {
    height: 36px;
  }
}

/* ==================== 搜索框样式 ==================== */
.search-section {
  margin-bottom: 50px;
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.15) 0%, rgba(14, 165, 233, 0.08) 100%);
  border-radius: 24px;
  border: 1px solid rgba(58, 63, 78, 0.4);
  position: relative;
  overflow: hidden;
}
.search-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 25% 25%, rgba(30, 64, 175, 0.15) 0%, transparent 50%), radial-gradient(circle at 75% 75%, rgba(14, 165, 233, 0.12) 0%, transparent 50%);
  z-index: -1;
  animation: crystal-glow 6s ease-in-out infinite;
}
.search-page .search-section {
  margin-bottom: 0px;
  background: linear-gradient(135deg, rgba(26, 31, 46, 0.9) 0%, rgba(42, 47, 62, 0.7) 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 25px rgba(30, 64, 175, 0.08);
  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 50px rgba(30, 64, 175, 0.4), inset 0 0 35px rgba(30, 64, 175, 0.15);
  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 25px rgba(14, 165, 233, 0.5);
}
.search-section .search-btn:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px var(--shadow-hover), 0 0 40px rgba(14, 165, 233, 0.7);
  animation: depth-pulse 2s ease-in-out infinite;
}
.search-section .search-btn svg {
  width: 20px;
  height: 20px;
  fill: white;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}

/* ==================== 短剧卡片样式 ==================== */
.drama-card {
  background: linear-gradient(135deg, rgba(26, 31, 46, 0.95) 0%, rgba(42, 47, 62, 0.9) 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 35px rgba(30, 64, 175, 0.15);
  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(58, 63, 78, 0.4);
}
.drama-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 60px rgba(30, 64, 175, 0.4), 0 0 100px rgba(14, 165, 233, 0.3);
  text-decoration: none;
  color: inherit;
  border-color: rgba(30, 64, 175, 0.6);
}
.drama-card:hover::before {
  opacity: 1;
}
.drama-card:hover .drama-image img {
  transform: scale(1.05);
  filter: brightness(1.15) saturate(1.3) hue-rotate(10deg);
}
.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(30, 64, 175, 0.15) 0%, rgba(14, 165, 233, 0.08) 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(26, 31, 46, 0.98);
  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.6), 0 0 40px rgba(14, 165, 233, 0.5);
  border: 2px solid rgba(14, 165, 233, 0.7);
}
.drama-card .play-overlay::after {
  content: "▶";
  color: var(--accent-color);
  font-size: 20px;
  margin-left: 3px;
  text-shadow: 0 0 15px 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 12px rgba(239, 246, 255, 0.4);
}

/* ==================== 基础样式 ==================== */
* {
  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: radial-gradient(ellipse at center, rgba(30, 64, 175, 0.12) 0%, transparent 70%), radial-gradient(ellipse at 30% 80%, rgba(14, 165, 233, 0.1) 0%, transparent 60%), radial-gradient(ellipse at 70% 20%, rgba(29, 78, 216, 0.08) 0%, transparent 50%), radial-gradient(ellipse at 50% 50%, rgba(2, 132, 199, 0.06) 0%, transparent 40%), linear-gradient(135deg, #040810 0%, #0a0f1a 25%, #1a1f2e 50%, #0a0f1a 75%, #040810 100%);
  background-attachment: fixed;
  background-size: 1000px 800px, 800px 1000px, 600px 600px, 500px 500px, 100% 100%;
  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 35% 25%, rgba(30, 64, 175, 0.18) 0%, transparent 50%), radial-gradient(circle at 75% 75%, rgba(14, 165, 233, 0.15) 0%, transparent 50%), radial-gradient(circle at 45% 15%, rgba(125, 211, 252, 0.08) 0%, transparent 40%), radial-gradient(circle at 85% 45%, rgba(56, 189, 248, 0.12) 0%, transparent 35%);
  z-index: -2;
  pointer-events: none;
  animation: ocean-current 35s ease-in-out infinite alternate;
}
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(3px 3px at 100px 80px, rgba(30, 64, 175, 0.7), transparent), radial-gradient(2px 2px at 200px 160px, rgba(14, 165, 233, 0.5), transparent), radial-gradient(1px 1px at 300px 120px, rgba(125, 211, 252, 0.8), transparent), radial-gradient(2px 2px at 400px 200px, rgba(56, 189, 248, 0.4), transparent), radial-gradient(1px 1px at 500px 100px, rgba(30, 64, 175, 0.6), transparent);
  background-size: 650px 280px;
  z-index: -1;
  pointer-events: none;
  animation: diamond-sparkle 6s ease-in-out infinite alternate;
}

@keyframes ocean-current {
  0% {
    transform: translateX(0) translateY(0) scale(1);
    opacity: 0.8;
  }
  30% {
    transform: translateX(-12px) translateY(-8px) scale(1.03);
    opacity: 1;
  }
  60% {
    transform: translateX(8px) translateY(12px) scale(0.97);
    opacity: 0.9;
  }
  100% {
    transform: translateX(18px) translateY(-6px) scale(1.01);
    opacity: 0.85;
  }
}
@keyframes diamond-sparkle {
  0% {
    opacity: 0.5;
    transform: translateY(0) scale(1);
  }
  25% {
    opacity: 0.9;
    transform: translateY(-4px) scale(1.1);
  }
  50% {
    opacity: 0.7;
    transform: translateY(3px) scale(0.9);
  }
  75% {
    opacity: 1;
    transform: translateY(-2px) scale(1.05);
  }
  100% {
    opacity: 0.6;
    transform: translateY(2px) scale(1);
  }
}
/* ==================== 深海蓝钻主题动画定义 ==================== */
@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 18px currentColor;
  }
  50% {
    transform: scale(1.3) rotate(180deg);
    opacity: 0.8;
    color: var(--accent-hover);
    text-shadow: 0 0 30px currentColor, 0 0 40px currentColor;
  }
}
@keyframes crystal-glow {
  0%, 100% {
    box-shadow: 0 0 30px rgba(30, 64, 175, 0.4), 0 0 60px rgba(14, 165, 233, 0.3), inset 0 0 30px rgba(30, 64, 175, 0.1);
  }
  50% {
    box-shadow: 0 0 50px rgba(30, 64, 175, 0.6), 0 0 100px rgba(14, 165, 233, 0.4), inset 0 0 50px rgba(30, 64, 175, 0.2);
  }
}
@keyframes wave-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes crystal-shimmer {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    filter: brightness(1) saturate(1) hue-rotate(0deg);
  }
  25% {
    transform: scale(1.02) rotate(0.5deg);
    filter: brightness(1.15) saturate(1.3) hue-rotate(5deg);
  }
  50% {
    transform: scale(0.98) rotate(-0.3deg);
    filter: brightness(0.9) saturate(1.1) hue-rotate(-3deg);
  }
  75% {
    transform: scale(1.01) rotate(0.2deg);
    filter: brightness(1.08) saturate(1.2) hue-rotate(2deg);
  }
}
@keyframes depth-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.85;
  }
}
/* ==================== 头部样式 ==================== */
.header {
  background: linear-gradient(135deg, rgba(4, 8, 16, 0.95) 0%, rgba(10, 15, 26, 0.9) 100%);
  box-shadow: 0 4px 30px rgba(30, 64, 175, 0.4), 0 0 60px rgba(14, 165, 233, 0.3);
  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(58, 63, 78, 0.4);
}
.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), var(--accent-color), transparent);
  animation: wave-flow 5s ease-in-out infinite;
}
.header.scrolled {
  background: rgba(4, 8, 16, 0.98);
  backdrop-filter: blur(25px);
  box-shadow: 0 4px 30px rgba(30, 64, 175, 0.5), 0 0 80px rgba(14, 165, 233, 0.4);
}
.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 25px rgba(30, 64, 175, 0.8);
}
@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 15px currentColor;
}
.logo:hover {
  color: #ffffff;
  transform: translateY(-1px);
  text-shadow: 0 0 40px rgb(30, 64, 175), 0 0 70px rgba(14, 165, 233, 0.8);
  animation: crystal-shimmer 2.5s ease-in-out infinite;
}
.logo:hover::after {
  width: 100%;
}
.logo img {
  height: 42px;
  margin-right: 12px;
  border-radius: 8px;
  filter: drop-shadow(0 0 15px rgba(30, 64, 175, 0.6));
}
@media (max-width: 768px) {
  .logo img {
    height: 36px;
  }
}

/* ==================== 搜索框样式 ==================== */
.search-section {
  margin-bottom: 50px;
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.15) 0%, rgba(14, 165, 233, 0.08) 100%);
  border-radius: 24px;
  border: 1px solid rgba(58, 63, 78, 0.4);
  position: relative;
  overflow: hidden;
}
.search-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 25% 25%, rgba(30, 64, 175, 0.15) 0%, transparent 50%), radial-gradient(circle at 75% 75%, rgba(14, 165, 233, 0.12) 0%, transparent 50%);
  z-index: -1;
  animation: crystal-glow 6s ease-in-out infinite;
}
.search-page .search-section {
  margin-bottom: 0px;
  background: linear-gradient(135deg, rgba(26, 31, 46, 0.9) 0%, rgba(42, 47, 62, 0.7) 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 25px rgba(30, 64, 175, 0.08);
  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 50px rgba(30, 64, 175, 0.4), inset 0 0 35px rgba(30, 64, 175, 0.15);
  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 25px rgba(14, 165, 233, 0.5);
}
.search-section .search-btn:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px var(--shadow-hover), 0 0 40px rgba(14, 165, 233, 0.7);
  animation: depth-pulse 2s ease-in-out infinite;
}
.search-section .search-btn svg {
  width: 20px;
  height: 20px;
  fill: white;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}

/* ==================== 短剧卡片样式 ==================== */
.drama-card {
  background: linear-gradient(135deg, rgba(26, 31, 46, 0.95) 0%, rgba(42, 47, 62, 0.9) 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 35px rgba(30, 64, 175, 0.15);
  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(58, 63, 78, 0.4);
}
.drama-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 60px rgba(30, 64, 175, 0.4), 0 0 100px rgba(14, 165, 233, 0.3);
  text-decoration: none;
  color: inherit;
  border-color: rgba(30, 64, 175, 0.6);
}
.drama-card:hover::before {
  opacity: 1;
}
.drama-card:hover .drama-image img {
  transform: scale(1.05);
  filter: brightness(1.15) saturate(1.3) hue-rotate(10deg);
}
.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(30, 64, 175, 0.15) 0%, rgba(14, 165, 233, 0.08) 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(26, 31, 46, 0.98);
  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.6), 0 0 40px rgba(14, 165, 233, 0.5);
  border: 2px solid rgba(14, 165, 233, 0.7);
}
.drama-card .play-overlay::after {
  content: "▶";
  color: var(--accent-color);
  font-size: 20px;
  margin-left: 3px;
  text-shadow: 0 0 15px 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 12px rgba(239, 246, 255, 0.4);
}

/* ==================== 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;
  border: 1px solid transparent;
}
.nav a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(30, 64, 175, 0.25), transparent);
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
}
.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 1px;
  box-shadow: 0 0 15px currentColor;
}
.nav a:hover {
  background-color: rgba(30, 64, 175, 0.15);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 40px rgba(30, 64, 175, 0.5);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  border-color: rgba(30, 64, 175, 0.3);
}
.nav a:hover::before {
  left: 100%;
}
.nav a:hover::after {
  width: 80%;
}
.nav a.active {
  background: rgba(30, 64, 175, 0.2);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 50px rgba(30, 64, 175, 0.6);
  text-shadow: 0 0 25px rgb(255, 255, 255);
  border-color: rgba(30, 64, 175, 0.5);
}
.nav a.active::after {
  width: 80%;
}
.nav a.active::before {
  display: none;
}
.nav a.vip {
  background: var(--gradient-accent);
  color: #ffffff;
  font-weight: 600;
  position: relative;
  overflow: visible;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.5), 0 0 35px rgba(14, 165, 233, 0.4);
}
.nav a.vip::after {
  content: "💎";
  position: absolute;
  top: -5px;
  right: -5px;
  font-size: 12px;
  animation: sparkle 2s infinite;
}
.nav a.vip:hover {
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.7), 0 0 50px rgba(14, 165, 233, 0.6);
  transform: translateY(-3px);
  animation: crystal-shimmer 2s ease-in-out infinite;
}

/* ==================== 分页器样式 ==================== */
.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(26, 31, 46, 0.95) 0%, rgba(42, 47, 62, 0.9) 100%);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 40px rgba(30, 64, 175, 0.3);
  padding: 12px 16px;
  border: 1px solid rgba(58, 63, 78, 0.4);
  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(30, 64, 175, 0.3), 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.4), 0 0 25px rgba(30, 64, 175, 0.4);
  text-shadow: 0 0 15px 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(30, 64, 175, 0.5), 0 0 40px rgba(30, 64, 175, 0.6);
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.7);
}
.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(10, 15, 26, 0.98) 100%);
  color: var(--footer-text);
  padding: 40px 0 20px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(58, 63, 78, 0.4);
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), var(--accent-color), transparent);
  animation: wave-flow 7s ease-in-out infinite;
}
.footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 25% 25%, rgba(30, 64, 175, 0.08) 0%, transparent 50%), radial-gradient(circle at 75% 75%, rgba(14, 165, 233, 0.06) 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(58, 63, 78, 0.4);
}
.footer-links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(30, 64, 175, 0.25), 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(30, 64, 175, 0.4), 0 0 25px rgba(30, 64, 175, 0.3);
  text-shadow: 0 0 15px 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 12px rgba(147, 197, 253, 0.4);
}

/* ==================== 移动端菜单按钮 ==================== */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  background: linear-gradient(135deg, rgba(26, 31, 46, 0.9) 0%, rgba(42, 47, 62, 0.7) 100%);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 1px solid rgba(58, 63, 78, 0.5);
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
}
.mobile-menu-btn:hover {
  background: linear-gradient(135deg, rgb(26, 31, 46) 0%, rgba(42, 47, 62, 0.8) 100%);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
  animation: crystal-shimmer 2s ease-in-out infinite;
}
.mobile-menu-btn span {
  width: 26px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  margin: 3px 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
  transform-origin: center;
  box-shadow: 0 0 8px currentColor;
}
.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: linear-gradient(135deg, rgba(4, 8, 16, 0.98) 0%, rgba(10, 15, 26, 0.95) 100%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 60px rgba(30, 64, 175, 0.3);
  border-top: 1px solid rgba(58, 63, 78, 0.4);
  backdrop-filter: blur(25px);
  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 rgba(58, 63, 78, 0.4);
  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: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px currentColor;
}
.mobile-nav a:hover {
  color: var(--text-hover);
  padding-left: 16px;
  text-shadow: 0 0 18px currentColor;
}
.mobile-nav a:hover::before {
  height: 30px;
}

/* ==================== 滚动条样式 ==================== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(10, 15, 26, 0.9);
  border-radius: 4px;
  border: 1px solid rgba(58, 63, 78, 0.4);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(30, 64, 175, 0.5), inset 0 0 6px rgba(255, 255, 255, 0.2);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, rgb(59.9390243902, 97.8365853659, 221.5609756098), rgb(55.016194332, 184.6194331984, 242.983805668));
  box-shadow: 0 0 18px rgba(30, 64, 175, 0.7), inset 0 0 10px rgba(255, 255, 255, 0.3);
}

::-webkit-scrollbar-corner {
  background: rgba(10, 15, 26, 0.9);
  border: 1px solid rgba(58, 63, 78, 0.4);
}

/* ==================== 选择文本样式 ==================== */
::selection {
  background: rgba(30, 64, 175, 0.4);
  color: var(--text-primary);
  text-shadow: 0 0 12px rgba(30, 64, 175, 0.8);
}

::-moz-selection {
  background: rgba(30, 64, 175, 0.4);
  color: var(--text-primary);
  text-shadow: 0 0 12px rgba(30, 64, 175, 0.8);
}

/* ==================== 深海装饰元素 ==================== */
.ocean-decoration {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -3;
  overflow: hidden;
}
.ocean-decoration::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(3px 3px at 110px 90px, rgba(30, 64, 175, 0.5), transparent), radial-gradient(2px 2px at 210px 170px, rgba(14, 165, 233, 0.4), transparent), radial-gradient(2px 2px at 310px 130px, rgba(125, 211, 252, 0.6), transparent), radial-gradient(3px 3px at 410px 210px, rgba(56, 189, 248, 0.3), transparent);
  animation: ocean-drift 45s linear infinite;
}
.ocean-decoration::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 25% 35%, rgba(30, 64, 175, 0.06) 0%, transparent 50%), radial-gradient(circle at 75% 65%, rgba(14, 165, 233, 0.05) 0%, transparent 50%), radial-gradient(circle at 45% 25%, rgba(125, 211, 252, 0.04) 0%, transparent 50%);
  animation: crystal-glow 15s ease-in-out infinite alternate;
}

@keyframes ocean-drift {
  0% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  100% {
    transform: translateX(-50%) translateY(-30%) rotate(360deg);
  }
}
/* ==================== 特殊效果类 ==================== */
.crystal-glow {
  position: relative;
}
.crystal-glow::after {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: blur(6px);
}
.crystal-glow:hover::after {
  opacity: 0.7;
}

.ocean-text {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(30, 64, 175, 0.6);
}

.diamond-pulse {
  animation: diamond-sparkle 3s ease-in-out infinite;
}
.diamond-pulse:hover {
  animation: crystal-shimmer 1.5s ease-in-out infinite;
}

/* ==================== 区域标题样式 ==================== */
.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 18px rgba(239, 246, 255, 0.5);
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
  box-shadow: 0 0 15px rgba(30, 64, 175, 0.6);
  animation: wave-flow 5s ease-in-out infinite;
}
.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;
  text-shadow: 0 0 20px rgba(239, 246, 255, 0.6);
}
.section-title-detail::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--detail-accent), transparent);
  box-shadow: 0 0 10px var(--detail-accent);
}

.color3 {
  color: var(--text-primary) !important;
  text-shadow: 0 0 10px rgba(239, 246, 255, 0.3);
}

/* ==================== 额外的深海动画 ==================== */
@keyframes tide-flow {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.03) rotate(2deg);
  }
}
@keyframes current-sway {
  0%, 100% {
    transform: translateX(0) rotate(0deg);
  }
  25% {
    transform: translateX(3px) rotate(0.8deg);
  }
  75% {
    transform: translateX(-2px) rotate(-0.5deg);
  }
}
/* ==================== 深海主题特殊类 ==================== */
.ocean-card {
  background: linear-gradient(135deg, rgba(26, 31, 46, 0.9) 0%, rgba(42, 47, 62, 0.7) 100%);
  border: 1px solid rgba(58, 63, 78, 0.5);
  animation: tide-flow 8s ease-in-out infinite;
}
.ocean-card:hover {
  animation: current-sway 2.5s ease-in-out infinite;
}

.sapphire-button {
  background: var(--gradient-accent);
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}
.sapphire-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.6);
  animation: depth-pulse 1.5s ease-in-out infinite;
}

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