* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #f1f5f9;
  background-color: #0f172a;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  background: #1e293b;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid #334155;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.header .nav .logo {
  display: flex;
  align-items: center;
}
.header .nav .logo .logo-img {
  height: 40px;
  width: auto;
  border-radius: 8px;
}
.header .nav .nav-menu {
  display: flex;
  gap: 32px;
}
.header .nav .nav-menu .nav-link {
  text-decoration: none;
  color: #cbd5e1;
  font-weight: 500;
  transition: color 0.3s ease;
}
.header .nav .nav-menu .nav-link:hover, .header .nav .nav-menu .nav-link.active {
  color: #8b5cf6;
}
.header .nav .hamburger-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.header .nav .hamburger-menu:hover {
  background: #8b5cf6;
  border-color: #8b5cf6;
}
.header .nav .hamburger-menu:hover .hamburger-line {
  background: white;
}
.header .nav .hamburger-menu.active {
  background: #8b5cf6;
  border-color: #8b5cf6;
}
.header .nav .hamburger-menu.active .hamburger-line {
  background: white;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center;
}
.header .nav .hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
.header .nav .hamburger-menu.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
}
.header .nav .hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.header .nav .hamburger-line {
  width: 18px;
  height: 2px;
  background: #8b5cf6;
  margin: 2px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
  transform-origin: center;
  position: relative;
}
.header .nav .menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.header .nav .menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.main {
  padding-top: 40px;
}

.search-section {
  padding: 24px 0;
  background: #0f172a;
}
.search-section .search-container {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.search-section .search-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 24px;
}
.search-section .search-form {
  display: flex;
  gap: 12px;
}
.search-section .search-form .search-input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid #334155;
  border-radius: 50px;
  font-size: 16px;
  background: #0f172a;
  color: #f1f5f9;
  outline: none;
  transition: all 0.3s ease;
}
.search-section .search-form .search-input:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}
.search-section .search-form .search-input::placeholder {
  color: #94a3b8;
}
.search-section .search-form .search-btn {
  padding: 14px 24px;
  background: #8b5cf6;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.search-section .search-form .search-btn:hover {
  background: #a78bfa;
  transform: translateY(-1px);
}
.search-section .search-form .search-btn i {
  font-size: 18px;
}

.videos .section-header {
  margin-bottom: 32px;
}
.videos .section-header .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0;
}
.videos .video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.videos .video-card {
  background: #1e293b;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #334155;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.videos .video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  border-color: rgba(139, 92, 246, 0.3);
}
.videos .video-card .video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.videos .video-card .video-thumb .thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.videos .video-card .video-thumb .video-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}
.videos .video-card .video-thumb .play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.videos .video-card .video-thumb .play-overlay i {
  font-size: 2rem;
  color: white;
  background: rgba(255, 255, 255, 0.2);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  backdrop-filter: blur(10px);
}
.videos .video-card:hover .thumb-img {
  transform: scale(1.05);
}
.videos .video-card:hover .play-overlay {
  opacity: 1;
}
.videos .video-card .video-info {
  padding: 6px 16px;
  height: 40px;
  display: flex;
  align-items: center;
}
.videos .video-card .video-info .video-desc {
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
  width: 100%;
}
.videos .load-more {
  text-align: center;
}
.videos .load-more .load-more-btn {
  background: none;
  border: 2px solid #8b5cf6;
  color: #8b5cf6;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.videos .load-more .load-more-btn:hover {
  background: #8b5cf6;
  color: white;
}

.ad-banner {
  padding: 20px 0;
  background: #0f172a;
}
.ad-banner .ad-content {
  text-align: center;
}
.ad-banner .ad-content .ad-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}
.ad-banner .ad-content .ad-img:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.video-list {
  padding: 30px 0;
  background: #1e293b;
}
.video-list .section-header {
  margin-bottom: 32px;
}
.video-list .section-header .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0;
}
.video-list .video-list-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.video-list .video-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.video-list .video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: rgba(139, 92, 246, 0.4);
  background: rgba(255, 255, 255, 0.05);
}
.video-list .video-card .video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.video-list .video-card .video-thumb .thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.video-list .video-card .video-thumb .video-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}
.video-list .video-card .video-thumb .play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.video-list .video-card .video-thumb .play-overlay i {
  font-size: 1.5rem;
  color: white;
  background: rgba(255, 255, 255, 0.2);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  backdrop-filter: blur(10px);
}
.video-list .video-card:hover .thumb-img {
  transform: scale(1.05);
}
.video-list .video-card:hover .play-overlay {
  opacity: 1;
}
.video-list .video-card .video-info {
  padding: 6px 16px;
  height: 40px;
  display: flex;
  align-items: center;
}
.video-list .video-card .video-info .video-desc {
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
  width: 100%;
}
.video-list .load-more {
  text-align: center;
}
.video-list .load-more .load-more-btn {
  background: none;
  border: 2px solid #8b5cf6;
  color: #8b5cf6;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.video-list .load-more .load-more-btn:hover {
  background: #8b5cf6;
  color: white;
}

.footer {
  background: #020617;
  color: white;
  padding: 40px 0;
  text-align: center;
}
.footer .footer-links {
  margin-bottom: 30px;
}
.footer .footer-links .link-group h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #8b5cf6;
}
.footer .footer-links .link-group a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin: 0 16px 12px 16px;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.footer .footer-links .link-group a:hover {
  color: white;
  background: rgba(139, 92, 246, 0.2);
}
.footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}
.footer .footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin: 0;
}

.video-list-page {
  padding: 60px 0;
}
@media (max-width: 768px) {
  .video-list-page {
    padding: 24px 0;
  }
}
.video-list-page .section-header {
  text-align: center;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .video-list-page .section-header {
    margin-bottom: 24px;
  }
}
.video-list-page .section-header .page-title {
  font-size: 2rem;
  color: #f1f5f9;
  margin-bottom: 12px;
  font-weight: 600;
}
@media (max-width: 768px) {
  .video-list-page .section-header .page-title {
    font-size: 1.5rem;
  }
}
.video-list-page .section-header .page-subtitle {
  color: #cbd5e1;
  font-size: 1.1rem;
}
@media (max-width: 768px) {
  .video-list-page .section-header .page-subtitle {
    font-size: 1rem;
  }
}
.video-list-page .content-with-sidebar {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .video-list-page .content-with-sidebar {
    flex-direction: column;
    gap: 16px;
  }
}
.video-list-page .main-content {
  flex: 1;
  min-width: 0;
}
.video-list-page .video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) {
  .video-list-page .video-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .video-list-page .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
@media (max-width: 480px) {
  .video-list-page .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
.video-list-page .video-card {
  background: #1e293b;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #334155;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.video-list-page .video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-color: #8b5cf6;
}
.video-list-page .video-card .video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.video-list-page .video-card .video-thumb .thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.video-list-page .video-card .video-thumb .video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
}
.video-list-page .video-card .video-thumb .play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.video-list-page .video-card .video-thumb .play-overlay .layui-icon {
  color: white;
  font-size: 20px;
}
.video-list-page .video-card .video-thumb:hover .thumb-img {
  transform: scale(1.05);
}
.video-list-page .video-card .video-thumb:hover .play-overlay {
  opacity: 1;
}
.video-list-page .video-card .video-info {
  padding: 6px;
  height: 40px;
  display: flex;
  align-items: center;
}
.video-list-page .video-card .video-info .video-desc {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-ads {
  width: 280px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .sidebar-ads {
    width: 100%;
    order: -1;
  }
}
.sidebar-ads .ad-item {
  background: #1e293b;
  border-radius: 8px;
  padding: 0;
  border: 1px solid #334155;
  overflow: hidden;
}
.sidebar-ads .ad-item .ad-banner {
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  margin: 0;
}
.sidebar-ads .ad-item .ad-banner:hover {
  transform: scale(1.02);
}
.sidebar-ads .ad-item .ad-banner .ad-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 0;
  display: block;
  margin: 0;
  padding: 0;
}

.pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.pagination .pagination-btn {
  background: #1e293b;
  color: #f1f5f9;
  border: 1px solid #334155;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pagination .pagination-btn:hover:not(:disabled) {
  background: #8b5cf6;
  color: white;
  border-color: #8b5cf6;
}
.pagination .pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.pagination .pagination-numbers {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pagination .pagination-numbers .pagination-number {
  width: 36px;
  height: 36px;
  border: 1px solid #334155;
  background: #1e293b;
  color: #f1f5f9;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pagination .pagination-numbers .pagination-number:hover {
  background: #8b5cf6;
  color: white;
  border-color: #8b5cf6;
}
.pagination .pagination-numbers .pagination-number.active {
  background: #8b5cf6;
  color: white;
  border-color: #8b5cf6;
}
.pagination .pagination-numbers .pagination-dots {
  color: #cbd5e1;
  padding: 0 8px;
}
@media (max-width: 768px) {
  .pagination {
    margin-top: 32px;
  }
  .pagination .pagination-btn {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
  .pagination .pagination-numbers .pagination-number {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
}

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: #8b5cf6;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
  transition: all 0.3s ease;
  z-index: 100;
}
.back-to-top:hover {
  background: #a78bfa;
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .videos .video-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .video-list .video-list-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .header .nav .nav-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #0f172a;
    flex-direction: column;
    padding: 16px;
    border-top: 1px solid #334155;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transform: translateY(-100%);
    transition: all 0.3s ease;
  }
  .header .nav .nav-menu.active {
    display: flex;
    transform: translateY(0);
  }
  .header .nav .nav-menu .nav-link {
    padding: 12px 20px;
    margin: 2px 0;
    font-size: 15px;
    text-align: center;
    background: #1e293b;
    border-radius: 6px;
    transition: all 0.3s ease;
  }
  .header .nav .nav-menu .nav-link:hover {
    background: #8b5cf6;
    color: white;
  }
  .header .nav .nav-menu .nav-link.active {
    background: #8b5cf6;
    color: white;
  }
  .header .nav .hamburger-menu {
    display: flex;
    z-index: 1001;
  }
  .search-section .search-form {
    flex-direction: row;
    gap: 12px;
  }
  .search-section .search-form .search-input {
    flex: 1;
    min-width: 0;
  }
  .search-section .search-form .search-btn {
    flex-shrink: 0;
    min-width: 80px;
    padding: 12px 16px;
  }
  .videos .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .video-list .video-list-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .footer .footer-links .link-group a {
    margin: 0 8px 12px 8px;
    padding: 6px 12px;
  }
  .ad-banner {
    padding: 16px 0;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .video-list .video-list-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .section-title {
    font-size: 2rem !important;
  }
}
.detail-main {
  padding-top: 0;
}
.detail-main .container {
  max-width: 1400px;
}

.detail-container {
  padding: 32px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.video-player-section {
  background: #1e293b;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.video-player-section .video-player-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
}
.video-player-section .video-player-wrapper .video-player {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.video-player-section .video-player-wrapper .video-player .video-element {
  width: 100%;
  height: auto;
  display: block;
}

.video-detail-info {
  background: #1e293b;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.video-detail-info .video-header {
  margin-bottom: 24px;
}
.video-detail-info .video-header .video-title {
  font-size: 2rem;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.3;
  margin-bottom: 16px;
}
.video-detail-info .video-header .video-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.video-detail-info .video-header .video-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 0.9rem;
}
.video-detail-info .video-header .video-meta span i {
  color: #8b5cf6;
  font-size: 1rem;
}

.video-tags {
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.video-tags .tag {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}
.video-tags .tag.hot {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
}
.video-tags .tag.hot:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}
.video-tags .tag.recommended {
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  color: white;
}
.video-tags .tag.recommended:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}
.video-tags .tag.category {
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.3);
  color: #06b6d4;
}
.video-tags .tag.category:hover {
  background: rgba(6, 182, 212, 0.2);
  border-color: #06b6d4;
  transform: translateY(-1px);
}

.video-description {
  margin-bottom: 32px;
}
.video-description .desc-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.video-description .desc-title::before {
  content: "";
  width: 4px;
  height: 20px;
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  border-radius: 2px;
}
.video-description .desc-content {
  color: #cbd5e1;
  line-height: 1.7;
}
.video-description .desc-content p {
  margin-bottom: 16px;
}
.video-description .desc-content p:last-child {
  margin-bottom: 0;
}

.video-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.video-actions .action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 2px solid #334155;
  background: transparent;
  color: #cbd5e1;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}
.video-actions .action-btn i {
  font-size: 1.1rem;
}
.video-actions .action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.video-actions .action-btn.like-btn:hover, .video-actions .action-btn.like-btn.active {
  border-color: #ef4444;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}
.video-actions .action-btn.share-btn:hover {
  border-color: #06b6d4;
  color: #06b6d4;
  background: rgba(6, 182, 212, 0.1);
}
.video-actions .action-btn.collect-btn:hover, .video-actions .action-btn.collect-btn.active {
  border-color: #f59e0b;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
}

.video-player video {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/9;
  background: black;
}

.iframeBox {
  width: 100%;
  aspect-ratio: 16/9;
}
.iframeBox .iframe {
  width: 100%;
  height: 100%;
}

.pagination-container {
  margin: 30px auto 20px;
  display: flex;
  justify-content: center;
}
.pagination-container ul {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pagination-container ul.page-no li.active {
  background: #8b5cf6;
  font-weight: 600;
  color: white;
  border-color: #8b5cf6;
}
.pagination-container ul li {
  cursor: pointer;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.03);
  text-align: center;
  color: #cbd5e1;
  border: 1px solid #334155;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.3s;
  font-size: 0.9rem;
}
.pagination-container ul li:hover:not(.active) {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: #8b5cf6;
  color: #8b5cf6;
  transform: translateY(-1px);
}
.pagination-container ul li.active {
  background: #8b5cf6;
  font-weight: 600;
  color: white;
  border-color: #8b5cf6;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}
.pagination-container ul li a {
  width: 40px;
  height: 40px;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: inherit;
}
.pagination-container ul li a.active {
  background: #8b5cf6;
  font-weight: 600;
  color: white;
}
.pagination-container ul li.page-options {
  width: 70px;
}
.pagination-container ul li.page-options a {
  width: 70px;
}
.pagination-container ul li:disabled, .pagination-container ul li.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  color: #94a3b8;
}
.pagination-container ul li:disabled:hover, .pagination-container ul li.disabled:hover {
  background-color: rgba(255, 255, 255, 0.03);
  border-color: #334155;
  color: #94a3b8;
  transform: none;
}
@media (max-width: 768px) {
  .pagination-container {
    margin: 20px auto 15px;
  }
  .pagination-container ul {
    gap: 8px;
  }
  .pagination-container ul li {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }
  .pagination-container ul li a {
    width: 36px;
    height: 36px;
  }
  .pagination-container ul li.page-options {
    width: 60px;
  }
  .pagination-container ul li.page-options a {
    width: 60px;
  }
}

.detail-ad {
  background: #1e293b;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.detail-ad .ad-content {
  position: relative;
}
.detail-ad .ad-content .ad-img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.related-videos .section-header {
  margin-bottom: 32px;
}
.related-videos .section-header .section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 12px;
}
.related-videos .section-header .section-title::before {
  content: "";
  width: 6px;
  height: 24px;
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  border-radius: 3px;
}
.related-videos .video-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.related-videos .video-grid .video-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}
.related-videos .video-grid .video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(139, 92, 246, 0.4);
  background: rgba(255, 255, 255, 0.06);
}
.related-videos .video-grid .video-card:hover .thumb-img {
  transform: scale(1.05);
}
.related-videos .video-grid .video-card:hover .play-overlay {
  opacity: 1;
}
.related-videos .video-grid .video-card .video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.related-videos .video-grid .video-card .video-thumb .thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.related-videos .video-grid .video-card .video-thumb .video-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}
.related-videos .video-grid .video-card .video-thumb .play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.related-videos .video-grid .video-card .video-thumb .play-overlay i {
  font-size: 1.5rem;
  color: white;
  background: rgba(255, 255, 255, 0.2);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  backdrop-filter: blur(10px);
}
.related-videos .video-grid .video-card .video-info {
  padding: 16px;
}
.related-videos .video-grid .video-card .video-info .video-desc {
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.footer {
  margin-top: 60px;
  background: linear-gradient(135deg, #020617, #0f172a);
}
.footer .footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 32px;
  text-align: left;
}
.footer .footer-content .footer-section .footer-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #8b5cf6;
  margin-bottom: 16px;
}
.footer .footer-content .footer-section .footer-text {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}
.footer .footer-content .footer-section .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer .footer-content .footer-section .footer-links li {
  margin-bottom: 8px;
}
.footer .footer-content .footer-section .footer-links li .footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer .footer-content .footer-section .footer-links li .footer-link:hover {
  color: #8b5cf6;
}

@media (max-width: 1200px) {
  .related-videos .video-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}
@media (max-width: 992px) {
  .detail-container {
    padding: 24px 0;
    gap: 32px;
  }
  .video-detail-info {
    padding: 24px;
  }
  .video-detail-info .video-header .video-title {
    font-size: 1.75rem;
  }
  .related-videos .video-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .footer .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .video-player-section {
    padding: 16px;
    border-radius: 12px;
  }
  .video-detail-info {
    padding: 20px;
  }
  .video-detail-info .video-header .video-title {
    font-size: 1.5rem;
  }
  .video-detail-info .video-header .video-meta {
    gap: 16px;
  }
  .video-detail-info .video-header .video-meta span {
    font-size: 0.85rem;
  }
  .video-tags {
    gap: 8px;
  }
  .video-tags .tag {
    padding: 4px 12px;
    font-size: 0.8rem;
  }
  .video-actions {
    gap: 12px;
  }
  .video-actions .action-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
  .related-videos .section-header .section-title {
    font-size: 1.5rem;
  }
  .related-videos .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
@media (max-width: 480px) {
  .detail-container {
    padding: 16px 0;
    gap: 24px;
  }
  .video-detail-info {
    padding: 16px;
  }
  .video-detail-info .video-header .video-title {
    font-size: 1.25rem;
    line-height: 1.4;
  }
  .video-actions .action-btn {
    flex: 1;
    justify-content: center;
    min-width: 0;
  }
  .video-actions .action-btn span {
    display: none;
  }
  .related-videos .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
.search-main {
  padding-top: 0;
}

.search-header {
  padding: 40px 0 20px 0;
}
.search-header .container .search-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.search-header .search-page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .search-header .search-page-title {
    font-size: 2rem;
    margin-bottom: 24px;
  }
}

.search-form-wrapper .search-form {
  margin-bottom: 32px;
}
.search-form-wrapper .search-form .search-input-group {
  display: flex;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .search-form-wrapper .search-form .search-input-group {
    gap: 8px;
  }
}
.search-form-wrapper .search-form .search-input-group .search-input {
  flex: 1;
  padding: 16px 24px;
  border: 2px solid #334155;
  border-radius: 50px;
  font-size: 16px;
  background: #0f172a;
  color: #f1f5f9;
  outline: none;
  transition: all 0.3s ease;
}
.search-form-wrapper .search-form .search-input-group .search-input:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}
.search-form-wrapper .search-form .search-input-group .search-input::placeholder {
  color: #94a3b8;
}
.search-form-wrapper .search-form .search-input-group .search-btn {
  padding: 16px 32px;
  background: #8b5cf6;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.search-form-wrapper .search-form .search-input-group .search-btn:hover {
  background: #a78bfa;
  transform: translateY(-1px);
}
.search-form-wrapper .search-form .search-input-group .search-btn i {
  font-size: 18px;
}
@media (max-width: 768px) {
  .search-form-wrapper .search-form .search-input-group .search-btn {
    justify-content: center;
    padding: 14px 24px;
  }
}

.hot-keywords {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 768px) {
  .hot-keywords {
    flex-direction: column;
    gap: 16px;
  }
}
.hot-keywords .hot-label {
  color: #cbd5e1;
  font-weight: 500;
  white-space: nowrap;
}
.hot-keywords .keyword-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.hot-keywords .keyword-tags .keyword-tag {
  padding: 6px 16px;
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
  transition: all 0.3s ease;
}
.hot-keywords .keyword-tags .keyword-tag:hover {
  background: #8b5cf6;
  color: white;
  transform: translateY(-1px);
}

.search-results {
  min-height: 400px;
}

.search-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.search-stats .stats-text {
  color: #cbd5e1;
  font-size: 1rem;
  margin: 0;
}
.search-stats .stats-text .result-count {
  color: #8b5cf6;
  font-weight: 600;
}
.search-stats .search-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.search-stats .search-filters .filter-label {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-right: 8px;
}
.search-stats .search-filters .filter-btn {
  padding: 6px 16px;
  background: transparent;
  border: 1px solid #334155;
  color: #cbd5e1;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.search-stats .search-filters .filter-btn:hover {
  border-color: #8b5cf6;
  color: #8b5cf6;
}
.search-stats .search-filters .filter-btn.active {
  background: #8b5cf6;
  border-color: #8b5cf6;
  color: white;
}

.search-results-grid .video-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
@media (max-width: 1200px) {
  .search-results-grid .video-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}
@media (max-width: 992px) {
  .search-results-grid .video-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .search-results-grid .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
@media (max-width: 480px) {
  .search-results-grid .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
.search-results-grid .video-grid .video-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.search-results-grid .video-grid .video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: rgba(139, 92, 246, 0.4);
  background: rgba(255, 255, 255, 0.06);
}
.search-results-grid .video-grid .video-card .video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.search-results-grid .video-grid .video-card .video-thumb .thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.search-results-grid .video-grid .video-card .video-thumb .video-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}
.search-results-grid .video-grid .video-card .video-thumb .play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.search-results-grid .video-grid .video-card .video-thumb .play-overlay i {
  font-size: 1.5rem;
  color: white;
  background: rgba(255, 255, 255, 0.2);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  backdrop-filter: blur(10px);
}
.search-results-grid .video-grid .video-card:hover .thumb-img {
  transform: scale(1.05);
}
.search-results-grid .video-grid .video-card:hover .play-overlay {
  opacity: 1;
}
.search-results-grid .video-grid .video-card .video-info {
  padding: 16px;
}
.search-results-grid .video-grid .video-card .video-info .video-desc {
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.default-content {
  text-align: center;
  padding: 80px 20px 60px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.default-content .default-icon {
  margin-bottom: 24px;
}
.default-content .default-icon i {
  font-size: 4rem;
  color: #94a3b8;
  opacity: 0.6;
}
.default-content .default-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 16px;
}
.default-content .default-desc {
  color: #cbd5e1;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  max-width: 500px;
}

.no-results {
  text-align: center;
  padding: 80px 20px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.no-results .no-results-icon {
  margin-bottom: 24px;
}
.no-results .no-results-icon i {
  font-size: 4rem;
  color: #94a3b8;
  opacity: 0.6;
}
.no-results .no-results-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 16px;
}
.no-results .no-results-desc {
  color: #cbd5e1;
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 400px;
  line-height: 1.5;
}
.no-results .back-to-home-btn {
  background: #8b5cf6;
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.no-results .back-to-home-btn:hover {
  background: #a78bfa;
  transform: translateY(-2px);
}
.no-results .back-to-home-btn i {
  font-size: 1.1rem;
}

.search-ad {
  padding: 32px 0;
  background: #0f172a;
}
.search-ad .ad-content {
  text-align: center;
}
.search-ad .ad-content .ad-img {
  max-width: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}
.search-ad .ad-content .ad-img:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.search-main .load-more {
  text-align: center;
  padding: 32px 0;
}
.search-main .load-more .load-more-btn {
  background: none;
  border: 2px solid #8b5cf6;
  color: #8b5cf6;
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.search-main .load-more .load-more-btn:hover {
  background: #8b5cf6;
  color: white;
  transform: translateY(-1px);
}
.search-main .load-more .load-more-btn i {
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .search-header {
    padding: 24px 0;
  }
  .search-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .search-stats .search-filters {
    width: 100%;
    justify-content: flex-start;
  }
  .default-content {
    padding: 40px 16px;
  }
  .default-content .default-title {
    font-size: 1.5rem;
  }
  .default-content .default-desc {
    font-size: 1rem;
  }
  .no-results {
    padding: 60px 16px;
  }
  .no-results .no-results-title {
    font-size: 1.5rem;
  }
  .no-results .no-results-desc {
    font-size: 1rem;
  }
}

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