:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --shadow-card: 0 18px 45px rgba(15, 23, 42, 0.10);
  --shadow-soft: 0 12px 30px rgba(59, 130, 246, 0.14);
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-800);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.55), #ffffff 38%, rgba(239, 246, 255, 0.55));
}

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

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(191, 219, 254, 0.75);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.logo-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  box-shadow: 0 10px 24px rgba(6, 182, 212, 0.25);
  transition: transform 0.45s ease;
}

.logo:hover .logo-mark {
  transform: rotate(180deg) scale(1.04);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-title {
  font-size: 22px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-subtitle {
  margin-top: 3px;
  color: var(--gray-500);
  font-size: 12px;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--gray-700);
  font-weight: 700;
}

.nav a {
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--blue-500);
}

.header-search {
  display: flex;
  align-items: center;
  width: min(280px, 26vw);
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.75);
  overflow: hidden;
}

.header-search input {
  width: 100%;
  border: 0;
  outline: none;
  padding: 11px 12px 11px 18px;
  background: transparent;
  color: var(--gray-700);
}

.header-search button {
  border: 0;
  padding: 10px 15px;
  color: #ffffff;
  cursor: pointer;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-500));
}

.mobile-toggle {
  display: none;
  border: 0;
  color: var(--gray-700);
  font-size: 26px;
  cursor: pointer;
  background: transparent;
}

.mobile-panel {
  display: none;
  padding: 0 0 18px;
}

.mobile-panel a {
  display: block;
  padding: 10px 0;
  color: var(--gray-700);
  font-weight: 700;
}

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #020617;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-slide.is-active .hero-image {
  animation: heroZoom 7s ease both;
}

@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.85)),
    linear-gradient(90deg, rgba(2, 6, 23, 0.72), transparent 68%);
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 74px;
  color: #ffffff;
}

.hero-copy {
  width: min(760px, 100%);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  color: #ffffff;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.92);
  backdrop-filter: blur(8px);
  font-size: 14px;
  font-weight: 700;
}

.pill.light {
  background: rgba(255, 255, 255, 0.20);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(42px, 7vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero p {
  width: min(720px, 100%);
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.8;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-500));
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.28);
}

.btn-white {
  color: var(--blue-600);
  background: #ffffff;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.2);
}

.btn-ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.hero-dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 28px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 34px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.35);
}

.hero-dot.is-active {
  background: #ffffff;
}

.section {
  padding: 72px 0;
}

.section.compact {
  padding: 48px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.eyebrow {
  color: var(--blue-500);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  margin: 8px 0 0;
  color: var(--gray-800);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
}

.section-desc {
  margin: 10px 0 0;
  color: var(--gray-600);
  line-height: 1.7;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-500);
  font-weight: 800;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.card:hover {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: var(--shadow-card);
  transform: translateY(-7px);
}

.card-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-500));
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.card:hover .card-cover img {
  transform: scale(1.08);
}

.cover-shade {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.62));
  transition: opacity 0.25s ease;
}

.card:hover .cover-shade {
  opacity: 1;
}

.play-badge {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--blue-500);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.28);
}

.corner-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 9px;
  color: #ffffff;
  border-radius: 10px;
  background: rgba(2, 6, 23, 0.68);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 800;
}

.card-body {
  padding: 18px;
}

.tag {
  display: inline-flex;
  margin: 0 6px 7px 0;
  padding: 4px 8px;
  color: var(--blue-600);
  border-radius: 8px;
  background: var(--blue-50);
  font-size: 12px;
  font-weight: 800;
}

.card-title {
  margin: 4px 0 8px;
  color: var(--gray-800);
  font-size: 18px;
  line-height: 1.35;
}

.card:hover .card-title {
  color: var(--blue-600);
}

.card-text {
  margin: 0 0 13px;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.68;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--gray-500);
  font-size: 13px;
  font-weight: 700;
}

.line-clamp-1,
.line-clamp-2,
.line-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-1 { -webkit-line-clamp: 1; }
.line-clamp-2 { -webkit-line-clamp: 2; }
.line-clamp-3 { -webkit-line-clamp: 3; }

.category-tile {
  position: relative;
  min-height: 130px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.category-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(34, 211, 238, 0.12));
  transition: opacity 0.25s ease;
}

.category-tile:hover::before {
  opacity: 1;
}

.category-tile strong,
.category-tile span {
  position: relative;
}

.category-tile strong {
  display: block;
  font-size: 24px;
  margin-bottom: 10px;
}

.category-tile span {
  color: var(--gray-500);
  font-weight: 700;
}

.page-hero {
  color: #ffffff;
  padding: 72px 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, var(--blue-500), var(--cyan-500));
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1.1;
}

.page-hero p {
  width: min(760px, 100%);
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.8;
}

.layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
}

.sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 20px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.sidebar h3 {
  margin: 0 0 14px;
}

.sidebar a,
.sidebar button,
.filter-select {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  padding: 11px 12px;
  border: 0;
  border-radius: 12px;
  color: var(--gray-700);
  background: var(--gray-100);
  text-align: left;
  font: inherit;
  font-weight: 750;
}

.sidebar a.is-active,
.sidebar a:hover,
.sidebar button:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-500));
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.search-box {
  display: flex;
  width: min(640px, 100%);
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(59, 130, 246, 0.08);
}

.search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 14px 18px;
  font-size: 16px;
}

.search-box button {
  border: 0;
  padding: 0 22px;
  color: #ffffff;
  cursor: pointer;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-500));
}

.ranking-list {
  display: grid;
  gap: 14px;
}

.ranking-item {
  display: grid;
  grid-template-columns: 64px 150px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ranking-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.rank-num {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-500));
  font-size: 20px;
  font-weight: 900;
}

.rank-cover {
  width: 150px;
  height: 84px;
  border-radius: 14px;
  object-fit: cover;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
}

.player-card,
.info-card {
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.player-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-wrap video {
  width: 100%;
  height: 100%;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.52));
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.player-wrap.is-playing .player-overlay {
  opacity: 0;
  visibility: hidden;
}

.player-status {
  padding: 14px 18px;
  color: var(--gray-600);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  font-size: 14px;
}

.article {
  padding: 24px;
}

.article h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.article p {
  color: var(--gray-600);
  line-height: 1.9;
}

.info-card {
  padding: 22px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-600);
}

.info-row strong {
  color: var(--gray-800);
}

.footer {
  margin-top: 72px;
  border-top: 1px solid rgba(191, 219, 254, 0.75);
  background: linear-gradient(180deg, var(--blue-50), #ffffff);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 30px;
  padding: 48px 0 34px;
}

.footer h3 {
  margin: 0 0 14px;
}

.footer p,
.footer a {
  color: var(--gray-600);
  line-height: 1.8;
}

.footer a:hover {
  color: var(--blue-500);
}

.footer-bottom {
  padding: 22px 0;
  border-top: 1px solid rgba(191, 219, 254, 0.75);
  color: var(--gray-500);
  font-size: 14px;
}

.empty-result {
  display: none;
  padding: 80px 20px;
  color: var(--gray-500);
  text-align: center;
}

@media (max-width: 980px) {
  .nav,
  .header-search {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .mobile-panel.is-open {
    display: block;
  }

  .hero {
    height: 560px;
  }

  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .layout,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .header-inner {
    min-height: 68px;
  }

  .logo-title {
    font-size: 19px;
  }

  .hero {
    height: 520px;
  }

  .hero-content {
    padding-bottom: 62px;
  }

  .hero p {
    font-size: 15px;
  }

  .section {
    padding: 48px 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: 1fr;
  }

  .ranking-item {
    grid-template-columns: 48px 92px 1fr;
  }

  .ranking-item .btn {
    grid-column: 2 / -1;
    width: fit-content;
  }

  .rank-cover {
    width: 92px;
    height: 62px;
  }

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