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

:root {
  --primary-color: #00b4d8;
  --secondary-color: #0077b6;
  --accent-color: #90e0ef;
  --dark-bg: #03045e;
  --dark-surface: #023e8a;
  --card-bg: #0077b6;
  --text-white: #ffffff;
  --text-gray: #caf0f8;
  --text-muted: #90e0ef;
  --overlay-dark: rgba(3, 4, 94, 0.9);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: var(--text-white);
  background: linear-gradient(135deg, #03045e 0%, #023e8a 100%);
  min-height: 100vh;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(3,4,94,0.95) 0%, rgba(3,4,94,0.85) 80%, transparent 100%);
  backdrop-filter: blur(12px);
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(202, 240, 248, 0.1);
}

.header.scrolled {
  background: rgba(3,4,94,0.98);
  box-shadow: var(--shadow-md);
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.03);
}

.logo-icon {
  font-size: 40px;
  filter: drop-shadow(0 0 12px rgba(0, 180, 216, 0.6));
}

.logo-info h1 {
  font-size: 26px;
  color: var(--primary-color);
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 0 20px rgba(0, 180, 216, 0.5);
}

.logo-subtitle {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
}

.main-nav {
  display: flex;
  gap: 36px;
  flex: 1;
  justify-content: center;
}

.nav-item {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 4px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-item:hover,
.nav-item.active {
  color: var(--text-white);
}

.nav-item.active::after,
.nav-item:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 0 6px 0 18px;
  border: 1px solid rgba(202, 240, 248, 0.2);
  transition: all 0.3s ease;
}

.search-box:focus-within {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.2);
}

.search-field {
  width: 220px;
  padding: 10px 0;
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 14px;
  outline: none;
}

.search-field::placeholder {
  color: var(--text-muted);
}

.search-button {
  width: 38px;
  height: 38px;
  background: var(--primary-color);
  border: none;
  border-radius: 50%;
  color: var(--text-white);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-button:hover {
  background: var(--accent-color);
  transform: scale(1.08);
}

.user-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(202, 240, 248, 0.2);
  border-radius: 50%;
  color: var(--text-white);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: scale(1.08);
}

.banner-section {
  margin-top: 75px;
  position: relative;
  overflow: hidden;
}

.banner-slider {
  position: relative;
  height: 650px;
}

.banner-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.banner-item.active {
  opacity: 1;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(3,4,94,0.95) 0%, rgba(3,4,94,0.6) 40%, transparent 80%);
}

.banner-text {
  position: relative;
  z-index: 2;
  padding-top: 180px;
  max-width: 650px;
}

.banner-tag {
  display: inline-block;
  padding: 7px 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border-radius: 20px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 180, 216, 0.4);
}

.banner-heading {
  font-size: 62px;
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.1;
  text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.8);
  background: linear-gradient(135deg, var(--text-white), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.banner-description {
  font-size: 19px;
  color: var(--text-gray);
  margin-bottom: 26px;
  line-height: 1.7;
}

.banner-info {
  display: flex;
  gap: 20px;
  margin-bottom: 36px;
  font-size: 15px;
}

.info-badge {
  padding: 8px 18px;
  background: rgba(0, 180, 216, 0.2);
  border-radius: 18px;
  border: 1px solid rgba(202, 240, 248, 0.3);
  backdrop-filter: blur(10px);
}

.banner-actions {
  display: flex;
  gap: 18px;
}

.btn-watch, .btn-detail {
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-watch {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-white);
  box-shadow: 0 6px 20px rgba(0, 180, 216, 0.4);
}

.btn-watch:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 180, 216, 0.6);
}

.btn-detail {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(202, 240, 248, 0.3);
}

.btn-detail:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 3;
  pointer-events: none;
}

.slider-btn {
  width: 54px;
  height: 54px;
  background: rgba(0, 180, 216, 0.25);
  border: 1px solid rgba(202, 240, 248, 0.3);
  color: var(--text-white);
  font-size: 28px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: scale(1.12);
}

.slider-indicators {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 3;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(202, 240, 248, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.indicator.active {
  background: var(--primary-color);
  transform: scale(1.3);
  border-color: rgba(202, 240, 248, 0.5);
}

.indicator:hover {
  background: var(--accent-color);
  transform: scale(1.2);
}

.content-area {
  padding: 70px 0;
}

.content-area.alternate {
  background: rgba(0, 0, 0, 0.15);
}

.section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.section-heading {
  font-size: 32px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-white);
}

.heading-icon {
  font-size: 36px;
  filter: drop-shadow(0 0 8px rgba(0, 180, 216, 0.5));
}

.view-more {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 20px;
  border-radius: 20px;
  border: 1px solid transparent;
}

.view-more:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background: rgba(0, 180, 216, 0.1);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.video-item {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.video-item:hover {
  transform: translateY(-10px);
}

.video-poster {
  position: relative;
  width: 100%;
  aspect-ratio: 2/3;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: var(--shadow-md);
}

.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-item:hover .video-poster img {
  transform: scale(1.12);
}

.poster-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.8), rgba(2, 62, 138, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-item:hover .poster-overlay {
  opacity: 1;
}

.play-button {
  width: 66px;
  height: 66px;
  background: var(--text-white);
  border: none;
  border-radius: 50%;
  color: var(--primary-color);
  font-size: 26px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.play-button:hover {
  transform: scale(1.2);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.5);
}

.video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  text-transform: uppercase;
}

.video-badge.hd {
  background: rgba(0, 180, 216, 0.9);
  color: var(--text-white);
}

.video-badge.vip {
  background: rgba(255, 184, 0, 0.9);
  color: #1a1a1a;
}

.video-badge.new {
  background: rgba(255, 87, 87, 0.9);
  color: var(--text-white);
}

.video-badge.hot {
  background: linear-gradient(135deg, #ff6b6b, #ff4757);
  color: var(--text-white);
}

.video-score, .video-episode {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 12px;
  background: rgba(0, 0, 0, 0.85);
  font-size: 12px;
  font-weight: 600;
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.video-episode {
  font-size: 11px;
  color: var(--text-muted);
}

.video-details {
  padding: 0 6px;
}

.video-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-white);
}

.video-stats {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.video-stats span::after {
  content: '•';
  margin-left: 10px;
}

.video-stats span:last-child::after {
  content: '';
}

.stats-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.2), rgba(0, 180, 216, 0.1));
  border-top: 1px solid rgba(202, 240, 248, 0.1);
  border-bottom: 1px solid rgba(202, 240, 248, 0.1);
}

.stats-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-box {
  text-align: center;
  padding: 30px 20px;
  background: rgba(0, 180, 216, 0.1);
  border-radius: 16px;
  border: 1px solid rgba(202, 240, 248, 0.2);
  transition: all 0.3s ease;
}

.stat-box:hover {
  background: rgba(0, 180, 216, 0.2);
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.stat-value {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--text-white), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
}

.footer {
  background: rgba(3, 4, 94, 0.95);
  padding: 70px 0 30px;
  border-top: 1px solid rgba(202, 240, 248, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.brand-icon {
  font-size: 36px;
  filter: drop-shadow(0 0 10px rgba(0, 180, 216, 0.5));
}

.brand-text h3 {
  font-size: 24px;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 4px;
}

.brand-domain {
  font-size: 11px;
  color: var(--text-muted);
}

.footer-intro {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
}

.footer-heading {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 22px;
  color: var(--text-white);
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: 14px;
}

.footer-menu a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-menu a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-note {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.9;
}

.footer-bar {
  border-top: 1px solid rgba(202, 240, 248, 0.1);
  padding-top: 28px;
  text-align: center;
}

.copyright {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 10px;
}

.keywords {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.7;
}

.scroll-top {
  position: fixed;
  bottom: 45px;
  right: 45px;
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-white);
  border-radius: 50%;
  border: none;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 180, 216, 0.5);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 35px rgba(0, 180, 216, 0.7);
}

@media (max-width: 1200px) {
  .video-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stats-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .main-nav {
    display: none;
  }

  .header-actions {
    flex: 1;
    justify-content: flex-end;
  }

  .search-field {
    width: 150px;
  }

  .banner-slider {
    height: 500px;
  }

  .banner-text {
    padding-top: 130px;
  }

  .banner-heading {
    font-size: 40px;
  }

  .banner-description {
    font-size: 16px;
  }

  .video-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .video-name {
    font-size: 14px;
  }

  .video-stats {
    font-size: 12px;
  }
}
