/* Reset CSS */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

ol, ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  outline: none;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

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

/* Variables */
/* Base styles */
body {
  background-color: #f8fafc;
  color: #1e293b;
  padding-top: 50px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
}

.header {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  padding: 10px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
  border-bottom: 1px solid #e2e8f0;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
}
@media (max-width: 1024px) {
  .header .container {
    padding: 0 20px;
  }
}
@media (max-width: 768px) {
  .header .container {
    padding: 0 15px;
  }
}
.header .logo img {
  height: 40px;
}
.header .menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
  position: relative;
}
@media (max-width: 768px) {
  .header .menu-toggle {
    display: flex;
  }
}
.header .menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #1e293b;
  transition: all 0.3s ease;
  position: absolute;
  left: 0;
}
.header .menu-toggle span:first-child {
  top: 0;
}
.header .menu-toggle span:nth-child(2) {
  top: 8px;
}
.header .menu-toggle span:last-child {
  top: 16px;
}
.header .menu-toggle.active span:first-child {
  top: 8px;
  transform: rotate(45deg);
}
.header .menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.header .menu-toggle.active span:last-child {
  top: 8px;
  transform: rotate(-45deg);
}
.header .nav-menu {
  display: flex;
  gap: 20px;
}
.header .nav-menu a {
  color: #1e293b;
  text-decoration: none;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.header .nav-menu a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 8px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}
.header .nav-menu a.active {
  color: #3b82f6;
  font-weight: 600;
}
.header .nav-menu a.active::before {
  opacity: 1;
  transform: scale(1);
}
.header .nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 1px;
}
.header .nav-menu a.hot {
  color: #ef4444;
}
.header .nav-menu a.hot.active::before {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
  border-color: rgba(239, 68, 68, 0.2);
}
.header .nav-menu a.hot.active::after {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}
.header .nav-menu a.recommend {
  color: #f59e0b;
}
.header .nav-menu a.recommend.active::before {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
  border-color: rgba(245, 158, 11, 0.2);
}
.header .nav-menu a.recommend.active::after {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}
.header .nav-menu a:hover:not(.active) {
  color: #3b82f6;
  transform: translateY(-1px);
}
.header .nav-menu a:hover:not(.active)::before {
  opacity: 0.5;
  transform: scale(1);
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
.overlay.active {
  display: block;
}

.main-content {
  min-height: calc(100vh - 50px - 60px);
  padding: 20px 0;
}
.main-content .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media (max-width: 768px) {
  .main-content .container {
    gap: 20px;
  }
}

.search-section {
  margin: 30px 0;
  padding: 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
@media (max-width: 768px) {
  .search-section {
    margin: 20px 0;
    padding: 15px;
  }
}
.search-section .search-container .search-box {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
}
.search-section .search-container .search-box input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  background-color: #ffffff;
  color: #1e293b;
  font-size: 14px;
  transition: all 0.3s ease;
}
.search-section .search-container .search-box input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.search-section .search-container .search-box input::placeholder {
  color: #64748b;
}
.search-section .search-container .search-box .search-btn {
  padding: 12px 20px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border: none;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}
.search-section .search-container .search-box .search-btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.search-container {
  background-color: transparent;
}
.search-container .search-box {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
}
.search-container .search-box input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background-color: #ffffff;
  color: #1e293b;
  font-size: 16px;
  transition: all 0.3s ease;
  min-width: 300px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.search-container .search-box input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 4px 12px rgba(0, 0, 0, 0.1);
  outline: none;
}
.search-container .search-box input::placeholder {
  color: #64748b;
}
.search-container .search-box .search-btn {
  padding: 10px 16px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border: none;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
  white-space: nowrap;
}
.search-container .search-box .search-btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.search-info .result-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 15px;
}
@media (max-width: 768px) {
  .search-info .result-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
.search-info .result-stats .search-summary {
  display: flex;
  align-items: center;
  gap: 15px;
}
.search-info .result-stats .search-summary .result-count {
  color: #1e293b;
  font-size: 16px;
}
.search-info .result-stats .search-summary .result-count strong {
  color: #3b82f6;
  font-weight: 600;
}
.search-info .result-stats .search-summary .search-keyword-display {
  color: #64748b;
  font-size: 14px;
}
.search-info .result-stats .search-summary .search-keyword-display .search-keyword {
  color: #3b82f6;
  font-weight: 600;
  background: rgba(59, 130, 246, 0.1);
  padding: 2px 8px;
  border-radius: 6px;
}
.search-info .result-stats .search-filters {
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-info .result-stats .search-filters .filter-label {
  color: #64748b;
  font-size: 14px;
}
.search-info .result-stats .search-filters .filter-option {
  color: #64748b;
  text-decoration: none;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 13px;
  transition: all 0.3s ease;
}
.search-info .result-stats .search-filters .filter-option:hover {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
}
.search-info .result-stats .search-filters .filter-option.active {
  color: #ffffff;
  background: #3b82f6;
  font-weight: 500;
}
.search-info .related-keywords {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.search-info .related-keywords .related-label {
  color: #64748b;
  font-size: 14px;
  white-space: nowrap;
}
.search-info .related-keywords .keyword-tag {
  color: #64748b;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}
.search-info .related-keywords .keyword-tag:hover {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
  border-color: #3b82f6;
  transform: translateY(-1px);
}

.category-section {
  margin: 20px 0;
}
.category-section .category-tags {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 10px 0;
}
.category-section .category-tags::-webkit-scrollbar {
  display: none;
}
.category-section .category-tags a {
  color: #64748b;
  text-decoration: none;
  padding: 6px 15px;
  border-radius: 20px;
  background-color: #ffffff;
  white-space: nowrap;
  font-size: 14px;
  transition: all 0.3s;
}
.category-section .category-tags a.active {
  background-color: #3b82f6;
  color: #1e293b;
}
.category-section .category-tags a:hover {
  background-color: white;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  position: relative;
}
.section-header h2 {
  font-size: 22px;
  font-weight: 600;
  color: #1e293b;
  position: relative;
  padding-left: 15px;
}
.section-header h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 2px;
}
@media (max-width: 768px) {
  .section-header h2 {
    font-size: 20px;
    padding-left: 12px;
  }
  .section-header h2::before {
    width: 3px;
    height: 18px;
  }
}
.section-header .more {
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.section-header .more:hover {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
}

.hot-section {
  margin: 30px 0;
}
@media (max-width: 768px) {
  .hot-section {
    margin: 15px 0;
  }
}
.hot-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
}
.hot-section .section-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  position: relative;
  padding-left: 18px;
}
.hot-section .section-header h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 24px;
  background: linear-gradient(135deg, #ef4444 0%, #ff6b6b 100%);
  border-radius: 3px;
}
@media (max-width: 768px) {
  .hot-section .section-header h2 {
    font-size: 22px;
    padding-left: 15px;
  }
  .hot-section .section-header h2::before {
    width: 4px;
    height: 20px;
  }
}
@media (max-width: 768px) {
  .hot-section .section-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
}
.hot-section .hot-grid {
  display: grid;
  grid-template-columns: 65% 33%;
  gap: 2%;
}
@media (max-width: 1024px) {
  .hot-section .hot-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
.hot-section .hot-grid .main-video .video-card.large {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
}
.hot-section .hot-grid .main-video .video-card.large .video-thumbnail {
  position: relative;
  padding-top: 56.25%;
}
.hot-section .hot-grid .main-video .video-card.large .video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hot-section .hot-grid .main-video .video-card.large .video-info {
  padding: 12px;
}
.hot-section .hot-grid .main-video .video-card.large .video-info .video-title {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: wrap !important;
  text-overflow: ellipsis;
}
@media (max-width: 768px) {
  .hot-section .hot-grid .main-video .video-card.large .video-info .video-title {
    font-size: 14px;
  }
}
.hot-section .hot-grid .main-video .video-card.large .video-info .video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hot-section .hot-grid .main-video .video-card.large .video-info .video-meta .meta-left {
  display: flex;
  gap: 12px;
  color: #64748b;
  font-size: 14px;
}
@media (max-width: 768px) {
  .hot-section .hot-grid .main-video .video-card.large .video-info .video-meta .meta-left {
    font-size: 12px;
    gap: 8px;
  }
}
.hot-section .hot-grid .main-video .video-card.large .video-info .video-meta .meta-right .tag.hot {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}
.hot-section .hot-grid .side-videos {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between;
}
@media (max-width: 1024px) {
  .hot-section .hot-grid .side-videos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .hot-section .hot-grid .side-videos {
    gap: 10px;
  }
}
.hot-section .hot-grid .side-videos .video-card.small {
  display: flex;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  height: 110px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.hot-section .hot-grid .side-videos .video-card.small:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}
@media (max-width: 1024px) {
  .hot-section .hot-grid .side-videos .video-card.small {
    flex-direction: column;
    height: auto;
  }
}
.hot-section .hot-grid .side-videos .video-card.small .video-thumbnail {
  position: relative;
  width: 178px;
  flex-shrink: 0;
}
@media (max-width: 1024px) {
  .hot-section .hot-grid .side-videos .video-card.small .video-thumbnail {
    width: 100%;
    padding-top: 56.25%;
  }
}
.hot-section .hot-grid .side-videos .video-card.small .video-thumbnail img {
  width: 100%;
  height: 110px;
  object-fit: cover;
}
@media (max-width: 1024px) {
  .hot-section .hot-grid .side-videos .video-card.small .video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
  }
}
.hot-section .hot-grid .side-videos .video-card.small .video-info {
  padding: 8px 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hot-section .hot-grid .side-videos .video-card.small .video-info .video-title {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: wrap !important;
  text-overflow: ellipsis;
}
@media (max-width: 768px) {
  .hot-section .hot-grid .side-videos .video-card.small .video-info .video-title {
    font-size: 13px;
  }
}
.hot-section .hot-grid .side-videos .video-card.small .video-info .video-meta {
  color: #64748b;
  font-size: 12px;
}
@media (max-width: 768px) {
  .hot-section .hot-grid .side-videos .video-card.small .video-info .video-meta {
    font-size: 11px;
  }
}
.hot-section .video-thumbnail .video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}
.hot-section .video-thumbnail .video-rank {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}
.hot-section .video-thumbnail:hover img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.ad-section {
  margin: 15px 0;
}
.category-videos {
  margin: 30px 0;
}
@media (max-width: 768px) {
  .category-videos {
    margin: 15px 0;
  }
}
.category-videos .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}
.category-videos .section-header h2 {
  font-size: 22px;
  font-weight: 600;
  color: #1e293b;
  position: relative;
  padding-left: 15px;
}
.category-videos .section-header h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: linear-gradient(135deg, #f59e0b 0%, #f59e0b 100%);
  border-radius: 2px;
}
@media (max-width: 768px) {
  .category-videos .section-header h2 {
    font-size: 20px;
    padding-left: 12px;
  }
  .category-videos .section-header h2::before {
    width: 3px;
    height: 18px;
  }
}
@media (max-width: 768px) {
  .category-videos .section-header {
    margin-bottom: 20px;
  }
}
.category-videos .category-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media (max-width: 768px) {
  .category-videos .category-grid {
    gap: 20px;
  }
}
.category-videos .category-row .category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.category-videos .category-row .category-header .category-title {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  position: relative;
  padding-left: 12px;
}
.category-videos .category-row .category-header .category-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 16px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 2px;
}
.category-videos .category-row .category-header .view-more {
  color: #3b82f6;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  background-color: rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.category-videos .category-row .category-header .view-more::after {
  content: "";
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3Cpolyline points='12,5 19,12 12,19'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
}
.category-videos .category-row .category-header .view-more:hover {
  background-color: rgba(59, 130, 246, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}
.category-videos .category-row .category-header .view-more:hover::after {
  transform: translateX(3px);
}
@media (max-width: 768px) {
  .category-videos .category-row .category-header .view-more {
    font-size: 13px;
    padding: 5px 10px;
  }
  .category-videos .category-row .category-header .view-more::after {
    width: 14px;
    height: 14px;
  }
}
.category-videos .category-row .video-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}
@media (max-width: 1024px) {
  .category-videos .category-row .video-row {
    grid-template-columns: repeat(4, 1fr);
  }
  .category-videos .category-row .video-row .video-card:nth-child(n+5) {
    display: none;
  }
}
@media (max-width: 768px) {
  .category-videos .category-row .video-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-videos .category-row .video-row .video-card:nth-child(n+3) {
    display: none;
  }
}
@media (max-width: 768px) {
  .category-videos .category-row .video-row {
    gap: 10px;
  }
}
.category-videos .video-card.small .video-info {
  padding: 8px;
}
.category-videos .video-card.small .video-info .video-title {
  font-size: 14px;
  margin-bottom: 4px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.category-videos .video-card.small .video-info .video-date {
  font-size: 11px;
  color: #64748b;
}

.video-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.video-card:hover .video-thumbnail img {
  transform: scale(1.05);
}
.video-card .video-thumbnail {
  position: relative;
  padding-top: 56.25%;
}
.video-card .video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.video-card .video-thumbnail .video-duration {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  z-index: 2;
}
.video-card .video-thumbnail .video-tag {
  position: absolute;
  top: 5px;
  left: 5px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  color: #ffffff;
  z-index: 2;
}
.video-card .video-thumbnail .video-tag.hot {
  background: linear-gradient(135deg, #ef4444 0%, #ff6b6b 100%);
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}
.video-card .video-thumbnail .video-tag.recommend {
  background: linear-gradient(135deg, #f59e0b 0%, #f59e0b 100%);
  box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}
.video-card .video-info {
  padding: 10px;
}
.video-card .video-info .video-title {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
@media (max-width: 768px) {
  .video-card .video-info .video-title {
    font-size: 13px;
    margin-bottom: 4px;
  }
}
.video-card .video-info .video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.video-card .video-info .video-meta .video-date {
  color: #64748b;
}
.video-card .video-info .video-meta .tags {
  display: flex;
  gap: 5px;
}
.video-card .video-info .video-meta .tags .tag {
  padding: 1px 4px;
  border-radius: 2px;
}
.video-card .video-info .video-meta .tags .tag.hot {
  color: #ef4444;
  background-color: rgba(239, 68, 68, 0.1);
}
.video-card .video-info .video-meta .tags .tag.recommend {
  color: #f59e0b;
  background-color: rgba(245, 158, 11, 0.1);
}

.page-header {
  text-align: center;
  margin: 30px 0;
}
@media (max-width: 1024px) {
  .page-header {
    margin: 25px 0;
  }
}
@media (max-width: 768px) {
  .page-header {
    margin: 15px 0;
  }
}
.page-header h1 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 20px;
    margin-bottom: 4px;
  }
}
.page-header p {
  color: #64748b;
  font-size: 14px;
}
@media (max-width: 768px) {
  .page-header p {
    font-size: 12px;
  }
}

.video-list-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin: 30px 0;
}
@media (max-width: 1024px) {
  .video-list-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 20px 0;
  }
}
@media (max-width: 768px) {
  .video-list-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 15px 0;
  }
}
.video-list-grid .video-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.video-list-grid .video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.video-list-grid .video-card .video-thumbnail {
  position: relative;
  padding-top: 56.25%;
}
.video-list-grid .video-card .video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-list-grid .video-card .video-thumbnail .video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}
.video-list-grid .video-card .video-info {
  padding: 12px;
}
@media (max-width: 1024px) {
  .video-list-grid .video-card .video-info {
    padding: 10px;
  }
}
@media (max-width: 768px) {
  .video-list-grid .video-card .video-info {
    padding: 8px;
  }
}
.video-list-grid .video-card .video-info .video-title {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 1024px) {
  .video-list-grid .video-card .video-info .video-title {
    font-size: 13px;
    margin-bottom: 6px;
  }
}
@media (max-width: 768px) {
  .video-list-grid .video-card .video-info .video-title {
    font-size: 12px;
    margin-bottom: 4px;
    -webkit-line-clamp: 1;
  }
}
.video-list-grid .video-card .video-info .video-date {
  color: #64748b;
  font-size: 12px;
  margin-top: 4px;
}
@media (max-width: 1024px) {
  .video-list-grid .video-card .video-info .video-date {
    font-size: 11px;
  }
}
@media (max-width: 768px) {
  .video-list-grid .video-card .video-info .video-date {
    font-size: 10px;
  }
}
.video-list-grid .video-card .video-info .video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.video-list-grid .video-card .video-info .video-meta .video-date {
  color: #64748b;
  font-size: 12px;
}
@media (max-width: 1024px) {
  .video-list-grid .video-card .video-info .video-meta .video-date {
    font-size: 11px;
  }
}
@media (max-width: 768px) {
  .video-list-grid .video-card .video-info .video-meta .video-date {
    font-size: 10px;
  }
}
.video-list-grid .video-card .video-info .video-meta .category-tag {
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
}
@media (max-width: 1024px) {
  .video-list-grid .video-card .video-info .video-meta .category-tag {
    padding: 2px 5px;
    font-size: 10px;
  }
}
@media (max-width: 768px) {
  .video-list-grid .video-card .video-info .video-meta .category-tag {
    padding: 1px 4px;
    font-size: 10px;
  }
}
.video-list-grid .video-card .video-info .video-meta .category-tag.entertainment {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}
.video-list-grid .video-card .video-info .video-meta .category-tag.gaming {
  background: rgba(155, 89, 182, 0.1);
  color: #9b59b6;
}
.video-list-grid .video-card .video-info .video-meta .category-tag.music {
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
}
.video-list-grid .video-card .video-info .video-meta .category-tag.sports {
  background: rgba(39, 174, 96, 0.1);
  color: #27ae60;
}
.video-list-grid .video-card .video-info .video-meta .category-tag.tech {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.friend-links {
  background: #f8fafc;
  padding: 30px 0;
  margin-top: 30px;
  border-top: 1px solid #e2e8f0;
}
@media (max-width: 768px) {
  .friend-links {
    padding: 20px 0;
    margin-top: 20px;
  }
}
.friend-links .section-header {
  text-align: center;
  margin-bottom: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 768px) {
  .friend-links .section-header {
    margin-bottom: 20px;
  }
}
.friend-links .section-header h2 {
  font-size: 22px;
  font-weight: 600;
  color: #1e293b;
  position: relative;
  display: inline-block;
  padding: 0 20px;
}
.friend-links .section-header h2::before, .friend-links .section-header h2::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 2px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 1px;
}
.friend-links .section-header h2::before {
  left: -20px;
}
.friend-links .section-header h2::after {
  right: -20px;
}
@media (max-width: 768px) {
  .friend-links .section-header h2 {
    font-size: 20px;
    padding: 0 15px;
  }
  .friend-links .section-header h2::before, .friend-links .section-header h2::after {
    width: 20px;
  }
  .friend-links .section-header h2::before {
    left: -15px;
  }
  .friend-links .section-header h2::after {
    right: -15px;
  }
}
.friend-links .links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  align-items: center;
}
@media (max-width: 768px) {
  .friend-links .links-grid {
    gap: 10px;
  }
}
.friend-links .links-grid .link-item {
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.friend-links .links-grid .link-item:hover {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
}
@media (max-width: 768px) {
  .friend-links .links-grid .link-item {
    font-size: 13px;
    padding: 6px 10px;
  }
}

.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: 40px auto 30px;
  display: flex;
  justify-content: center;
}
.pagination-container ul {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 8px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}
.pagination-container ul.page-no li.active {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}
.pagination-container ul li {
  cursor: pointer;
  width: 44px;
  height: 44px;
  background-color: #ffffff;
  text-align: center;
  color: #64748b;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
  position: relative;
}
.pagination-container ul li:hover:not(.active):not(.disabled) {
  background-color: rgba(59, 130, 246, 0.05);
  border-color: #3b82f6;
  color: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}
.pagination-container ul li.active {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  font-weight: 600;
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
  transform: translateY(-1px);
}
.pagination-container ul li a {
  width: 44px;
  height: 44px;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: inherit;
  font-weight: inherit;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.pagination-container ul li a.active {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  font-weight: 600;
  color: #ffffff;
}
.pagination-container ul li.page-options {
  width: 80px;
  font-size: 13px;
}
.pagination-container ul li.page-options a {
  width: 80px;
}
.pagination-container ul li:disabled, .pagination-container ul li.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  color: #cbd5e1;
  border-color: #e2e8f0;
  background-color: #f8fafc;
}
.pagination-container ul li:disabled:hover, .pagination-container ul li.disabled:hover {
  background-color: #f8fafc;
  border-color: #e2e8f0;
  color: #cbd5e1;
  transform: none;
  box-shadow: none;
}
.pagination-container ul li:not(.disabled):not(.page-options)::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}
.pagination-container ul li:not(.disabled):not(.page-options):hover::before {
  opacity: 0.1;
}
@media (max-width: 768px) {
  .pagination-container {
    margin: 30px auto 20px;
  }
  .pagination-container ul {
    gap: 6px;
    padding: 6px;
  }
  .pagination-container ul li {
    width: 40px;
    height: 40px;
    font-size: 13px;
  }
  .pagination-container ul li a {
    width: 40px;
    height: 40px;
  }
  .pagination-container ul li.page-options {
    width: 70px;
    font-size: 12px;
  }
  .pagination-container ul li.page-options a {
    width: 70px;
  }
}
@media (max-width: 480px) {
  .pagination-container ul {
    gap: 4px;
    padding: 4px;
  }
  .pagination-container ul li {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }
  .pagination-container ul li a {
    width: 36px;
    height: 36px;
  }
  .pagination-container ul li.page-options {
    width: 60px;
    font-size: 11px;
  }
  .pagination-container ul li.page-options a {
    width: 60px;
  }
}

.footer {
  background-color: #ffffff;
  padding: 0;
}
.footer .container {
  display: block;
  padding: 0 15px;
}
.footer .friend-links {
  margin-top: 0;
  border-top: none;
  background: transparent;
  padding: 30px 0 10px 0;
}
.footer .footer-copyright {
  text-align: center;
  color: #64748b;
  font-size: 14px;
  padding: 16px 0 8px 0;
  background: transparent;
}

@media (max-width: 1024px) {
  .hot-section .hot-layout {
    grid-template-columns: 1fr;
  }
  .hot-section .hot-layout .sub-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .hot-section .hot-layout .sub-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .hot-section .hot-layout .sub-cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .header .menu-toggle {
    display: flex;
  }
  .header .nav-menu {
    position: fixed;
    top: 50px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 50px);
    background-color: #ffffff;
    flex-direction: column;
    padding: 20px;
    transition: left 0.3s ease;
    z-index: 1000;
  }
  .header .nav-menu.active {
    left: 0;
  }
  .header .nav-menu a {
    padding: 15px 20px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .header .nav-menu a:last-child {
    border-bottom: none;
  }
  .nav-menu {
    gap: 10px;
  }
  .hot-section .video-grid {
    grid-template-columns: 1fr;
  }
  .hot-section .hot-grid .small-cards .video-card.small {
    flex-direction: column;
  }
  .hot-section .hot-grid .small-cards .video-card.small .video-thumbnail {
    width: 100%;
    height: auto;
    padding-top: 56.25%;
  }
  .video-card.horizontal {
    flex-direction: column;
  }
  .video-card.horizontal .video-thumbnail {
    width: 100% !important;
    padding-top: 56.25%;
  }
}
@media (max-width: 480px) {
  .search-box {
    flex-direction: column;
  }
  .search-box .search-btn {
    width: 100%;
  }
}
@media (max-width: 1024px) {
  .hot-section .video-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 768px) {
  .hot-section .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .hot-section .video-grid {
    grid-template-columns: 1fr;
  }
}
.search-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 768px) {
  .search-info {
    margin: 15px 0;
  }
}
.search-info .result-stats {
  color: #64748b;
  font-size: 14px;
}
.search-info .result-stats .search-keyword {
  color: #1e293b;
  font-weight: 500;
}

.search-results {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin: 20px 0;
}
@media (max-width: 1024px) {
  .search-results {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .search-results {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 15px 0;
  }
}
.search-results .video-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.search-results .video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.search-results .video-card .video-thumbnail {
  position: relative;
  padding-top: 56.25%;
}
.search-results .video-card .video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.search-results .video-card .video-thumbnail .video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}
.search-results .video-card .video-info {
  padding: 12px;
}
@media (max-width: 768px) {
  .search-results .video-card .video-info {
    padding: 8px;
  }
}
.search-results .video-card .video-info .video-title {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
@media (max-width: 768px) {
  .search-results .video-card .video-info .video-title {
    font-size: 13px;
    margin-bottom: 4px;
  }
}
.search-results .video-card .video-info .video-meta {
  display: flex;
  gap: 10px;
  color: #64748b;
  font-size: 12px;
}
@media (max-width: 768px) {
  .search-results .video-card .video-info .video-meta {
    font-size: 11px;
    gap: 8px;
  }
}
.search-results .video-card .video-info .video-desc {
  display: none;
}

.video-player-section {
  margin: 20px 0;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}
@media (max-width: 768px) {
  .video-player-section {
    margin: 15px 0;
    border-radius: 8px;
  }
}
.video-player-section .player-wrapper {
  width: 100%;
  background: #000000;
  aspect-ratio: 16/9;
  position: relative;
}
.video-player-section .player-wrapper .video-player {
  width: 100%;
  height: 100%;
}
.video-player-section .player-wrapper .video-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-player-section .video-info {
  padding: 20px;
  border-top: 1px solid #e2e8f0;
}
@media (max-width: 768px) {
  .video-player-section .video-info {
    padding: 15px;
  }
}
.video-player-section .video-info .video-title {
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 12px;
  color: #1e293b;
  font-weight: 600;
}
@media (max-width: 768px) {
  .video-player-section .video-info .video-title {
    font-size: 18px;
    margin-bottom: 10px;
  }
}
.video-player-section .video-info .video-meta {
  color: #64748b;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.video-player-section .video-info .video-meta .video-date {
  display: flex;
  align-items: center;
  gap: 5px;
}
.video-player-section .video-info .video-meta .video-tags {
  display: flex;
  gap: 8px;
}
.video-player-section .video-info .video-meta .video-tags .video-tag {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #ffffff;
}
.video-player-section .video-info .video-meta .video-tags .video-tag.hot {
  background: linear-gradient(135deg, #ef4444 0%, #ff6b6b 100%);
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}
.video-player-section .video-info .video-meta .video-tags .video-tag.recommend {
  background: linear-gradient(135deg, #f59e0b 0%, #f59e0b 100%);
  box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}
@media (max-width: 768px) {
  .video-player-section .video-info .video-meta {
    font-size: 12px;
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }
  .video-player-section .video-info .video-meta .video-tags {
    gap: 6px;
  }
  .video-player-section .video-info .video-meta .video-tags .video-tag {
    padding: 3px 6px;
    font-size: 11px;
  }
}

.related-section {
  margin: 30px 0;
}
@media (max-width: 768px) {
  .related-section {
    margin: 20px 0;
  }
}
.related-section .section-header {
  margin-bottom: 15px;
}
.related-section .section-header h2 {
  font-size: 18px;
  font-weight: normal;
}
.related-section .related-videos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) {
  .related-section .related-videos {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .related-section .related-videos {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
.related-section .related-videos .video-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.related-section .related-videos .video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.related-section .related-videos .video-card .video-thumbnail {
  position: relative;
  padding-top: 56.25%;
}
.related-section .related-videos .video-card .video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-section .related-videos .video-card .video-thumbnail .video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}
.related-section .related-videos .video-card .video-info {
  padding: 10px;
}
@media (max-width: 768px) {
  .related-section .related-videos .video-card .video-info {
    padding: 8px;
  }
}
.related-section .related-videos .video-card .video-info .video-title {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
@media (max-width: 768px) {
  .related-section .related-videos .video-card .video-info .video-title {
    font-size: 13px;
    margin-bottom: 4px;
  }
}
.related-section .related-videos .video-card .video-info .video-meta {
  color: #64748b;
  font-size: 12px;
}
@media (max-width: 768px) {
  .related-section .related-videos .video-card .video-info .video-meta {
    font-size: 11px;
  }
}

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