@charset "UTF-8";
/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #000;
  color: #fff;
  min-height: 100vh;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header styles */
header {
  background-color: #000;
  border-bottom: 1px solid #374151;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #dc2626;
  text-decoration: none;
}
.logo img {
  height: 30px;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
  color: #ef4444;
}

.nav-link.active {
  color: #fff;
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  border-top: 1px solid #374151;
  padding: 1rem 0;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav.show {
  display: flex;
}

/* Section styles */
.hero-section {
  padding: 1.5rem 0;
  background: linear-gradient(to bottom, #111827, #000);
}

.search-section {
  padding: 1.5rem 0;
  background-color: #000;
}

.category-section {
  padding: 2rem 0;
  background-color: #000;
}

/* Typography */
.section-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 1.5rem;
  text-align: center;
}

.category-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #fff;
  border-left: 4px solid #dc2626;
  padding-left: 1rem;
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.category-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.category-count {
  color: #9ca3af;
  font-size: 0.75rem;
  background-color: #374151;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.category-desc {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
}

.view-more {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s;
}

.view-more:hover {
  color: #ef4444;
}

/* Grid layouts */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

/* Video card styles */
.video-card {
  display: block;
  background-color: #374151;
  border-radius: 0.5rem;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.video-card:hover {
  transform: translateY(-4px);
}

.video-card img {
  width: 100%;
  height: 9rem;
  object-fit: cover;
}

.video-card-content {
  padding: 0.5rem;
}

.video-title {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-episodes {
  color: #9ca3af;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* Search form */
.search-container {
  max-width: 32rem;
  margin: 0 auto;
}

.search-form {
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 0.75rem;
  background-color: #374151;
  border: 1px solid #4b5563;
  border-radius: 0.5rem;
  color: #fff;
  font-size: 0.875rem;
}

.search-input::placeholder {
  color: #9ca3af;
}

.search-input:focus {
  outline: none;
  border-color: #dc2626;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: #9ca3af;
}

.search-btn {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background-color: #dc2626;
  color: #fff;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-btn:hover {
  background-color: #b91c1c;
}

.hot-tags {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.hot-tags span {
  color: #9ca3af;
  font-size: 0.75rem;
}

.hot-tag {
  color: #ef4444;
  text-decoration: none;
  font-size: 0.75rem;
  transition: color 0.3s;
}

.hot-tag:hover {
  color: #f87171;
}

.category-section-item {
  margin-bottom: 2rem;
}

/* Responsive design */
@media (min-width: 640px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .video-card img {
    height: 10rem;
  }
  .video-title {
    font-size: 0.875rem;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
}
@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
  .logo {
    font-size: 1.75rem;
  }
  .section-title {
    font-size: 1.875rem;
    margin-bottom: 2rem;
  }
  .category-title {
    font-size: 1.5rem;
    padding-left: 1rem;
  }
  .category-header {
    margin-bottom: 1.5rem;
  }
  .category-info {
    gap: 1rem;
  }
  .category-count {
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
  }
  .category-desc {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
  }
  .video-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
  .video-card img {
    height: 12rem;
  }
  .video-card-content {
    padding: 0.75rem;
  }
  .hero-section {
    padding: 2rem 0;
  }
  .search-section {
    padding: 2rem 0;
  }
  .category-section {
    padding: 3rem 0;
  }
  .category-section-item {
    margin-bottom: 3rem;
  }
  .search-icon {
    width: 1.25rem;
    height: 1.25rem;
  }
  .search-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  .hot-tags span, .hot-tag {
    font-size: 0.875rem;
  }
}
@media (min-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}
/* Mobile touch optimization */
@media (hover: none) {
  .video-card:hover {
    transform: none;
  }
  .video-card:active {
    transform: scale(0.98);
  }
}
/* Main content */
main {
  padding: 1.5rem 0;
}

.page-header {
  margin-bottom: 1.5rem;
}

.page-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 0.5rem;
}

.page-description {
  color: #9ca3af;
  font-size: 0.875rem;
}

.page-stats {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #6b7280;
}

/* Video grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.video-card {
  display: block;
  background-color: #374151;
  border-radius: 0.5rem;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.video-card:hover {
  transform: translateY(-4px);
}

.video-card img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}

.video-card-content {
  padding: 0.75rem;
}

.video-title {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-episodes {
  color: #9ca3af;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.pagination-btn {
  padding: 0.5rem 1rem;
  background-color: #374151;
  color: #fff;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.pagination-btn:hover:not(:disabled) {
  background-color: #4b5563;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-numbers {
  display: flex;
  gap: 0.25rem;
}

.page-number {
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.page-number.active {
  background-color: #dc2626;
  color: #fff;
}

.page-number:not(.active) {
  background-color: #374151;
  color: #fff;
}

.page-number:not(.active):hover {
  background-color: #4b5563;
}

/* Responsive design */
@media (min-width: 640px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
  .logo {
    font-size: 1.75rem;
  }
  main {
    padding: 2rem 0;
  }
  .page-header {
    margin-bottom: 2rem;
  }
  .page-title {
    font-size: 1.875rem;
  }
  .page-description {
    font-size: 1rem;
  }
  .page-stats {
    margin-top: 1rem;
    font-size: 0.875rem;
  }
  .video-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
  }
}
@media (min-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (min-width: 1280px) {
  .video-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}
/* Mobile touch optimization */
@media (hover: none) {
  .video-card:hover {
    transform: none;
  }
  .video-card:active {
    transform: scale(0.98);
  }
}
.detail {
  /* Video player */
  /* Video info */
  /* Action buttons */
  /* Tabs */
  /* Sidebar components */
  /* Episode list */
  /* Recommended videos */
  /* Responsive design */
  /* Mobile touch optimization */
}
.detail .main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.detail .content-area {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.detail .sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.detail .video-player video {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/9;
  background: black;
}
.detail .iframeBox {
  width: 100%;
  aspect-ratio: 16/9;
}
.detail .iframeBox .iframe {
  width: 100%;
  height: 100%;
}
.detail .player-content {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #374151, #111827);
}
.detail .player-info {
  text-align: center;
  padding: 1rem;
}
.detail .play-button {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem;
  background-color: #dc2626;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail .episode-title {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.detail .episode-subtitle {
  color: #9ca3af;
  font-size: 0.75rem;
}
.detail .video-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.detail .breadcrumb {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}
.detail .breadcrumb a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s;
}
.detail .breadcrumb a:hover {
  color: #ef4444;
}
.detail .breadcrumb .current {
  color: #fff;
}
.detail .video-title {
  font-size: 1.125rem;
  font-weight: bold;
  color: #fff;
  line-height: 1.4;
}
.detail .video-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #9ca3af;
}
.detail .status-complete {
  color: #10b981;
}
.detail .status-ongoing {
  color: #3b82f6;
}
.detail .action-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.detail .action-btn {
  padding: 0.5rem 0.75rem;
  border: 1px solid #4b5563;
  background: transparent;
  color: #fff;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}
.detail .action-btn:hover {
  background-color: #374151;
}
.detail .tabs {
  width: 100%;
}
.detail .tab-buttons {
  display: flex;
  background-color: #374151;
  border-radius: 0.5rem;
}
.detail .tab-button {
  flex: 1;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  transition: all 0.3s;
}
.detail .tab-button:first-child {
  border-radius: 0.5rem 0 0 0.5rem;
}
.detail .tab-button:last-child {
  border-radius: 0 0.5rem 0.5rem 0;
}
.detail .tab-button.active {
  background-color: #dc2626;
  color: #fff;
}
.detail .tab-content {
  margin-top: 1rem;
  background-color: #111827;
  border-radius: 0.5rem;
  padding: 0.75rem;
}
.detail .tab-content.hidden {
  display: none;
}
.detail .tab-content p {
  color: #d1d5db;
  line-height: 1.6;
  font-size: 0.875rem;
}
.detail .cast-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.detail .cast-item {
  display: flex;
  gap: 0.5rem;
}
.detail .cast-label {
  color: #9ca3af;
  font-size: 0.875rem;
  min-width: 3rem;
}
.detail .cast-value {
  color: #fff;
  font-size: 0.875rem;
}
.detail .sidebar-section {
  background-color: #111827;
  border-radius: 0.5rem;
  padding: 0.75rem;
}
.detail .sidebar-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.detail .current-episode {
  font-size: 0.75rem;
  color: #9ca3af;
}
.detail .episode-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  max-height: 12rem;
  overflow-y: auto;
}
.detail .episode-item {
  width: 100%;
  padding: 0.5rem;
  font-size: 0.75rem;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.3s;
}
.detail .episode-item.active {
  background-color: #dc2626;
  color: #fff;
}
.detail .episode-item:not(.active) {
  background-color: #374151;
  color: #d1d5db;
}
.detail .episode-item:not(.active):hover {
  background-color: #4b5563;
}
.detail .recommended-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.detail .recommended-item {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: background-color 0.3s;
}
.detail .recommended-item:hover {
  background-color: #374151;
}
.detail .recommended-thumb {
  width: 4rem;
  height: 3rem;
  object-fit: cover;
  border-radius: 0.25rem;
  flex-shrink: 0;
}
.detail .recommended-info {
  flex: 1;
  min-width: 0;
}
.detail .recommended-title {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.detail .recommended-episodes {
  color: #9ca3af;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}
@media (min-width: 640px) {
  .detail .episode-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}
@media (min-width: 768px) {
  .detail .container {
    padding: 0 1.5rem;
  }
  .detail .nav-desktop {
    display: flex;
  }
  .detail .mobile-menu-btn {
    display: none;
  }
  .detail .logo {
    font-size: 1.75rem;
  }
  .detail main {
    padding: 1.5rem 0;
  }
  .detail .main-grid {
    gap: 2rem;
  }
  .detail .content-area {
    gap: 1.5rem;
  }
  .detail .sidebar {
    gap: 1.5rem;
  }
  .detail .video-player {
    min-height: 300px;
  }
  .detail .play-button {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
  }
  .detail .episode-title {
    font-size: 1.125rem;
  }
  .detail .episode-subtitle {
    font-size: 0.875rem;
  }
  .detail .breadcrumb {
    font-size: 0.875rem;
  }
  .detail .video-title {
    font-size: 1.5rem;
  }
  .detail .video-meta {
    font-size: 0.875rem;
    gap: 1rem;
  }
  .detail .action-buttons {
    display: flex;
    gap: 0.75rem;
  }
  .detail .action-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    gap: 0.5rem;
  }
  .detail .tab-button {
    font-size: 0.875rem;
  }
  .detail .tab-content {
    padding: 1rem;
  }
  .detail .tab-content p {
    font-size: 1rem;
  }
  .detail .cast-label, .detail .cast-value {
    font-size: 1rem;
  }
  .detail .sidebar-section {
    padding: 1rem;
  }
  .detail .sidebar-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
  }
  .detail .current-episode {
    font-size: 0.875rem;
  }
  .detail .episode-grid {
    grid-template-columns: repeat(6, 1fr);
    max-height: 16rem;
  }
  .detail .recommended-thumb {
    width: 5rem;
    height: 3.75rem;
  }
  .detail .recommended-title {
    font-size: 0.875rem;
  }
  .detail .recommended-episodes {
    font-size: 0.75rem;
  }
}
@media (min-width: 1280px) {
  .detail .main-grid {
    grid-template-columns: 2fr 1fr;
  }
  .detail .sidebar {
    order: 2;
  }
  .detail .content-area {
    order: 1;
  }
  .detail .episode-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (hover: none) {
  .detail .episode-item:not(.active):hover {
    background-color: #374151;
  }
  .detail .episode-item:not(.active):active {
    background-color: #4b5563;
  }
  .detail .recommended-item:hover {
    background-color: transparent;
  }
  .detail .recommended-item:active {
    background-color: #374151;
  }
}

@media (max-width: 768px) {
  .related-section .video-desc {
    font-size: 0.72rem;
    line-height: 1.25;
  }
}
.search-keyword {
  color: #374151;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-keyword em {
  color: #000000;
  font-style: normal;
  font-weight: 600;
  background: rgba(255, 107, 157, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
}

@media (max-width: 768px) {
  .search-keyword {
    font-size: 0.9rem;
  }
}
.search-count {
  color: #374151;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-count::before {
  content: "📊";
  font-size: 0.9rem;
}

.search-count .count {
  color: #000000;
  font-weight: 600;
  background: rgba(255, 107, 157, 0.1);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.9rem;
}

.search-header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.95));
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 30px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.search-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #000000, #6B7280);
  border-radius: 0 2px 2px 0;
}

@media (max-width: 768px) {
  .search-header {
    padding: 18px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
  }
}
.search-title {
  font-size: 1.8rem;
  color: #111827;
  margin-bottom: 16px;
  font-weight: 600;
  position: relative;
}

.search-title::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #000000, #6B7280);
  border-radius: 1px;
}

.footer {
  background: linear-gradient(135deg, #000000, rgb(25.5, 25.5, 25.5));
  color: #fff;
  padding: 50px 0 30px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #fff, #6B7280, #fff);
}

.footer-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 35px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .footer-nav {
    gap: 25px;
  }
}
@media (max-width: 480px) {
  .footer-nav {
    gap: 20px;
  }
}
.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 10px 16px;
  border-radius: 25px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}
.footer-nav a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  transition: left 0.3s ease;
  z-index: -1;
}
.footer-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #fff, #6B7280);
  transition: width 0.3s ease;
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}
.footer-nav a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}
.footer-nav a:hover::before {
  left: 0;
}
.footer-nav a:hover::after {
  width: 70%;
}
.footer-nav a:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(255, 255, 255, 0.15);
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 25px;
}
.footer-copyright p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  margin-bottom: 8px;
  font-weight: 400;
}
.footer-copyright p.footer-notice {
  font-size: 0.8rem;
  opacity: 0.7;
  color: rgba(255, 255, 255, 0.8);
}

.pagination-container {
  text-align: center;
  margin: 30px 0;
}
.pagination-container ul {
  display: inline-flex;
  list-style: none;
  padding: 0;
  margin: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.pagination-container li {
  margin: 0 2px;
}
.pagination-container a {
  display: block;
  min-width: 40px;
  padding: 8px 0;
  color: #222;
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: all 0.2s;
  font-size: 18px;
  background: #f7f7f7;
  text-align: center;
  font-weight: 500;
}
.pagination-container a:hover, .pagination-container a:focus {
  color: #fff;
  background: #409eff;
  border-color: #409eff;
}
.pagination-container a.active {
  color: #fff;
  background: #409eff;
  border-color: #409eff;
  cursor: default;
  pointer-events: none;
}
.pagination-container .page-options a {
  font-weight: bold;
  background: #fffbe6;
  color: #faad14;
  border: 1px solid #ffe58f;
  min-width: 60px;
  font-size: 20px;
}
.pagination-container .page-options a:hover {
  background: #ffe58f;
  color: #d48806;
  border-color: #ffd666;
}

/* 分页器优化 - 现代简约风格 */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
  padding: 0 20px;
}
.pagination-container ul {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 251, 0.9) 100%);
  padding: 12px 16px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(229, 231, 235, 0.6);
  backdrop-filter: blur(10px);
  position: relative;
}
.pagination-container ul::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2) 20%, rgba(59, 130, 246, 0.3) 50%, rgba(59, 130, 246, 0.2) 80%, transparent);
  border-radius: 16px 16px 0 0;
}
.pagination-container li {
  margin: 0;
}
.pagination-container li:not(:last-child) {
  margin-right: 4px;
}
.pagination-container a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  color: #111827;
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 15px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.7);
  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(59, 130, 246, 0.1), transparent);
  transition: left 0.5s ease;
  z-index: -1;
}
.pagination-container a:not(.page-link) {
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  font-variant-numeric: tabular-nums;
}
.pagination-container a:hover:not(.active) {
  color: #3B82F6;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.12) 100%);
  border-color: rgba(59, 130, 246, 0.2);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.15), 0 2px 8px rgba(59, 130, 246, 0.1);
}
.pagination-container a:hover:not(.active)::before {
  left: 100%;
}
.pagination-container a.active {
  color: #fff;
  background: linear-gradient(135deg, #3B82F6 0%, rgb(98.0087804878, 154.8780487805, 247.7912195122) 50%, #3B82F6 100%);
  border-color: #3B82F6;
  cursor: default;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3), 0 2px 8px rgba(59, 130, 246, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  font-weight: 600;
}
.pagination-container a.active::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(59, 130, 246, 0.1));
  border-radius: 14px;
  z-index: -2;
  opacity: 0.6;
  animation: pulse-glow 2s ease-in-out infinite;
}
.pagination-container a:active:not(.active) {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2), 0 1px 4px rgba(59, 130, 246, 0.1);
}
.pagination-container .pagination-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  cursor: default;
}
.pagination-container .pagination-ellipsis::before {
  content: "⋯";
  font-size: 18px;
  line-height: 1;
}
.pagination-container .page-options {
  margin-left: 8px;
}
.pagination-container .page-options a.page-link {
  min-width: auto;
  padding: 0 16px;
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.1) 0%, rgba(253, 186, 116, 0.08) 100%);
  color: #ea580c;
  border: 1px solid rgba(251, 146, 60, 0.2);
  font-weight: 600;
  font-size: 14px;
  position: relative;
}
.pagination-container .page-options a.page-link::after {
  content: "→";
  margin-left: 6px;
  font-size: 12px;
  transition: transform 0.3s ease;
}
.pagination-container .page-options a.page-link[href*=prev]::after {
  content: "←";
  margin-left: 0;
  margin-right: 6px;
}
.pagination-container .page-options a.page-link:hover {
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.15) 0%, rgba(253, 186, 116, 0.12) 100%);
  color: #c2410c;
  border-color: rgba(251, 146, 60, 0.3);
  box-shadow: 0 6px 20px rgba(251, 146, 60, 0.2), 0 2px 8px rgba(251, 146, 60, 0.1);
}
.pagination-container .page-options a.page-link:hover::after {
  transform: translateX(2px);
}
.pagination-container .page-options a.page-link:hover[href*=prev]::after {
  transform: translateX(-2px);
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.02);
  }
}
@media (max-width: 768px) {
  .pagination-container {
    margin: 30px 0;
    padding: 0 15px;
  }
  .pagination-container ul {
    padding: 10px 12px;
    gap: 6px;
    border-radius: 14px;
  }
  .pagination-container a {
    min-width: 36px;
    height: 36px;
    font-size: 14px;
    border-radius: 10px;
    padding: 0 10px;
  }
  .pagination-container .page-options a.page-link {
    padding: 0 12px;
    font-size: 13px;
  }
  .pagination-container .page-options a.page-link::after {
    font-size: 11px;
    margin-left: 4px;
  }
}
@media (max-width: 480px) {
  .pagination-container ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    padding: 8px 10px;
  }
  .pagination-container a {
    min-width: 32px;
    height: 32px;
    font-size: 13px;
    border-radius: 8px;
  }
  .pagination-container .page-options {
    margin-left: 4px;
    width: 100%;
    margin-top: 8px;
  }
  .pagination-container .page-options a.page-link {
    width: 100%;
    justify-content: center;
  }
}
@media (prefers-color-scheme: dark) {
  .pagination-container ul {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(55, 65, 81, 0.9) 100%);
    border-color: rgba(75, 85, 99, 0.6);
  }
  .pagination-container ul::before {
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3) 20%, rgba(59, 130, 246, 0.4) 50%, rgba(59, 130, 246, 0.3) 80%, transparent);
  }
  .pagination-container a {
    background: rgba(55, 65, 81, 0.7);
    color: rgba(255, 255, 255, 0.9);
  }
  .pagination-container a:hover:not(.active) {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.2) 100%);
  }
}
@media (prefers-contrast: high) {
  .pagination-container a {
    border-width: 2px;
  }
  .pagination-container a.active {
    border-color: #3B82F6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pagination-container a {
    transition: none;
  }
  .pagination-container a::before, .pagination-container a::after {
    animation: none;
    transition: none;
  }
  .pagination-container a:hover {
    transform: none;
  }
  @keyframes pulse-glow {
    0%, 100% {
      opacity: 0.6;
    }
  }
}
@media (max-width: 768px) {
  .detail .episode-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}
/* 现代分页器设计 */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
  padding: 0 20px;
}
.pagination-container ul {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 251, 0.9) 100%);
  padding: 12px 20px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(229, 231, 235, 0.5);
  backdrop-filter: blur(12px);
  position: relative;
}
.pagination-container ul::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3) 30%, rgba(147, 51, 234, 0.3) 70%, transparent);
  border-radius: 20px 20px 0 0;
}
.pagination-container li {
  margin: 0;
}
.pagination-container a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  color: #4b5563;
  text-decoration: none;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 15px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.pagination-container a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.6s ease;
  z-index: -1;
}
.pagination-container a:hover:not(.active) {
  color: #3b82f6;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.15) 100%);
  border-color: rgba(59, 130, 246, 0.25);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15), 0 4px 12px rgba(59, 130, 246, 0.1);
}
.pagination-container a:hover:not(.active)::before {
  left: 100%;
}
.pagination-container a.active {
  color: #ffffff;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%);
  border-color: #3b82f6;
  cursor: default;
  pointer-events: none;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35), 0 3px 12px rgba(59, 130, 246, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  font-weight: 700;
}
.pagination-container a.active::after {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(59, 130, 246, 0.2));
  border-radius: 17px;
  z-index: -2;
  opacity: 0.7;
  animation: active-pulse 2.5s ease-in-out infinite;
}
.pagination-container a:active:not(.active) {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2), 0 2px 6px rgba(59, 130, 246, 0.1);
}
.pagination-container .page-options a {
  min-width: auto;
  padding: 0 18px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(251, 146, 60, 0.08) 100%);
  color: #ea580c;
  border: 1px solid rgba(249, 115, 22, 0.2);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  position: relative;
}
.pagination-container .page-options a:hover {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(251, 146, 60, 0.12) 100%);
  color: #c2410c;
  border-color: rgba(249, 115, 22, 0.35);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.2), 0 3px 10px rgba(249, 115, 22, 0.1);
}
.pagination-container .page-options a:hover.prev-page::before {
  transform: translateX(-3px);
}
.pagination-container .page-options a:hover.page-link::after {
  transform: translateX(3px);
}
.pagination-container .pagination-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  color: #9ca3af;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 3px;
  cursor: default;
}
.pagination-container .pagination-ellipsis::before {
  content: "⋯";
  font-size: 20px;
  line-height: 1;
}

@keyframes active-pulse {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.03);
  }
}
@media (max-width: 768px) {
  .pagination-container {
    margin: 30px 0;
    padding: 0 15px;
  }
  .pagination-container ul {
    padding: 10px 16px;
    gap: 6px;
    border-radius: 16px;
  }
  .pagination-container ul::before {
    left: 16px;
    right: 16px;
  }
  .pagination-container a {
    min-width: 40px;
    height: 40px;
    font-size: 14px;
    border-radius: 12px;
    padding: 0 12px;
  }
  .pagination-container .page-options a {
    padding: 0 14px;
    font-size: 13px;
  }
  .pagination-container .page-options a.prev-page::before, .pagination-container .page-options a.page-link::after {
    font-size: 14px;
    margin: 0 6px;
  }
}
@media (max-width: 480px) {
  .pagination-container ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    padding: 8px 12px;
  }
  .pagination-container a {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
    border-radius: 10px;
  }
  .pagination-container .page-options {
    width: 100px;
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
  }
  .pagination-container .page-options a {
    flex: 1;
    margin: 0 2px;
    justify-content: center;
  }
}
@media (prefers-color-scheme: dark) {
  .pagination-container ul {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(55, 65, 81, 0.9) 100%);
    border-color: rgba(75, 85, 99, 0.5);
  }
  .pagination-container ul::before {
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4) 30%, rgba(147, 51, 234, 0.4) 70%, transparent);
  }
  .pagination-container a {
    background: rgba(55, 65, 81, 0.8);
    color: rgba(255, 255, 255, 0.9);
  }
  .pagination-container a:hover:not(.active) {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.25) 100%);
    color: #60a5fa;
  }
}
@media (prefers-contrast: high) {
  .pagination-container a {
    border-width: 2px;
    font-weight: 700;
  }
  .pagination-container a.active {
    border-color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pagination-container a {
    transition: color 0.2s, background-color 0.2s;
  }
  .pagination-container a::before, .pagination-container a::after {
    animation: none;
    transition: none;
  }
  .pagination-container a:hover {
    transform: none;
  }
  @keyframes active-pulse {
    0%, 100% {
      opacity: 0.7;
    }
  }
}

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