:root {
  --bg: #eef8ff;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-solid: #ffffff;
  --text: #172033;
  --muted: #607086;
  --cyan: #0891b2;
  --cyan-bright: #06b6d4;
  --blue: #2563eb;
  --indigo: #4f46e5;
  --line: rgba(8, 145, 178, 0.16);
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  background: radial-gradient(circle at 15% 0%, rgba(6, 182, 212, 0.18), transparent 28%), linear-gradient(135deg, #ecfeff 0%, #eff6ff 48%, #eef2ff 100%);
}
a {
  color: inherit;
  text-decoration: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input, select {
  font: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan-bright), var(--blue));
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.22);
}
.brand-text {
  font-size: 21px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #334155;
  font-weight: 650;
}
.nav-link {
  transition: color 0.2s ease;
}
.nav-link:hover, .nav-link.is-active {
  color: var(--cyan);
}
.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  color: #334155;
  background: rgba(8, 145, 178, 0.08);
}
.mobile-nav {
  display: none;
  padding: 0 22px 16px;
  border-top: 1px solid var(--line);
}
.mobile-nav a {
  display: block;
  padding: 12px 4px;
  color: #334155;
  font-weight: 650;
}
.hero {
  position: relative;
  min-height: 68vh;
  overflow: hidden;
  color: #fff;
  background: #0f172a;
}
.hero-slide {
  display: none;
  position: absolute;
  inset: 0;
}
.hero-slide.is-active {
  display: block;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}
.hero-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.86) 0%, rgba(15, 23, 42, 0.55) 46%, rgba(15, 23, 42, 0.18) 100%), linear-gradient(0deg, rgba(2, 6, 23, 0.9), transparent 58%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  min-height: 68vh;
  margin: 0 auto;
  padding: 96px 22px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 42px;
  align-items: center;
}
.hero-copy {
  max-width: 720px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}
.hero h1 {
  margin: 20px 0 16px;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}
.hero-desc {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.8;
}
.hero-actions, .detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--cyan-bright), var(--blue));
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.26);
}
.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}
.btn-light {
  color: var(--cyan);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}
.hero-panel h2 {
  margin: 0 0 14px;
  font-size: 24px;
}
.hero-picks {
  display: grid;
  gap: 12px;
}
.hero-pick {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease;
}
.hero-pick:hover {
  background: rgba(255, 255, 255, 0.2);
}
.hero-pick img {
  width: 62px;
  height: 80px;
  object-fit: cover;
  border-radius: 14px;
}
.hero-pick strong {
  display: block;
  margin-bottom: 5px;
}
.hero-pick span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 2;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}
.hero-dot {
  width: 38px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}
.hero-dot.is-active {
  background: #fff;
}
.main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 42px 22px 70px;
}
.section {
  margin-top: 38px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}
.section-title {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}
.section-subtitle {
  max-width: 780px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.75;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.movie-card {
  overflow: hidden;
  border: 1px solid rgba(8, 145, 178, 0.14);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.16), rgba(37, 99, 235, 0.16));
}
.poster-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.movie-card:hover .poster-link img {
  transform: scale(1.08);
}
.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.78), transparent 46%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.movie-card:hover .poster-shade {
  opacity: 1;
}
.play-pill {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan-bright), var(--blue));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.movie-card:hover .play-pill {
  opacity: 1;
  transform: translateY(0);
}
.card-body {
  padding: 16px;
}
.card-title {
  display: block;
  color: #0f172a;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.35;
}
.card-title:hover {
  color: var(--cyan);
}
.card-meta {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.card-desc {
  margin: 10px 0 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}
.tag-row span, .meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #0e7490;
  font-size: 12px;
  font-weight: 750;
  background: rgba(6, 182, 212, 0.1);
}
.card-category {
  display: inline-flex;
  margin-top: 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}
.layout-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  align-items: start;
}
.panel {
  border: 1px solid rgba(8, 145, 178, 0.14);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}
.panel-pad {
  padding: 24px;
}
.rank-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rank-item {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
}
.rank-no {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 11px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan-bright), var(--blue));
}
.rank-title {
  font-weight: 850;
}
.rank-title:hover {
  color: var(--cyan);
}
.rank-info {
  color: var(--muted);
  font-size: 13px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.category-card {
  min-height: 178px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.92), rgba(37, 99, 235, 0.88));
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.category-card:nth-child(2n) {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.9), rgba(8, 145, 178, 0.86));
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.category-card h2, .category-card h3 {
  margin: 0 0 10px;
  font-size: 23px;
}
.category-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
}
.search-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 170px 170px 170px;
  gap: 12px;
  margin: 24px 0;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.search-panel input, .search-panel select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(8, 145, 178, 0.22);
  border-radius: 16px;
  padding: 0 14px;
  color: #0f172a;
  background: #fff;
  outline: 0;
}
.search-panel input:focus, .search-panel select:focus {
  border-color: var(--cyan-bright);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
}
.breadcrumb {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}
.breadcrumb a {
  color: var(--cyan);
  font-weight: 750;
}
.detail-hero {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 30px;
  align-items: end;
  padding: 28px;
  overflow: hidden;
}
.detail-poster {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.detail-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}
.detail-copy p {
  color: #475569;
  line-height: 1.8;
}
.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}
.player-card {
  padding: 16px;
  border-radius: 30px;
  background: #0f172a;
  box-shadow: var(--shadow);
}
.player-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #020617;
  aspect-ratio: 16 / 9;
}
.player-wrap video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020617;
}
.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #fff;
  background: rgba(2, 6, 23, 0.42);
  transition: opacity 0.2s ease;
}
.player-cover.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.player-cover span {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 30px;
  background: linear-gradient(135deg, var(--cyan-bright), var(--blue));
  box-shadow: 0 24px 45px rgba(37, 99, 235, 0.32);
}
.article-body {
  color: #334155;
  font-size: 17px;
  line-height: 1.9;
}
.article-body h2 {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: 28px;
  letter-spacing: -0.03em;
}
.article-body p + h2 {
  margin-top: 30px;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.94);
  color: #e2e8f0;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 22px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.footer-inner p {
  margin: 8px 0 0;
  color: #94a3b8;
}
.footer-links {
  display: flex;
  gap: 18px;
  align-items: center;
  color: #cbd5e1;
}
.empty-state {
  display: none;
  padding: 26px;
  text-align: center;
  color: var(--muted);
}
@media (max-width: 1060px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .layout-two {
    grid-template-columns: 1fr;
  }
  .hero-content {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .desktop-nav {
    display: none;
  }
  .mobile-toggle {
    display: grid;
    place-items: center;
  }
  .mobile-nav.is-open {
    display: block;
  }
  .hero {
    min-height: auto;
  }
  .hero-content {
    min-height: auto;
    padding-top: 76px;
    padding-bottom: 78px;
  }
  .hero-panel {
    display: none;
  }
  .section-head {
    display: block;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }
  .category-grid {
    grid-template-columns: 1fr;
  }
  .search-panel {
    grid-template-columns: 1fr;
  }
  .detail-hero {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .detail-poster {
    max-width: 260px;
  }
  .rank-item {
    grid-template-columns: 34px 1fr;
  }
  .rank-info {
    grid-column: 2;
  }
  .footer-inner {
    display: block;
  }
  .footer-links {
    margin-top: 18px;
    flex-wrap: wrap;
  }
}
@media (max-width: 480px) {
  .header-inner, .main {
    padding-left: 16px;
    padding-right: 16px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}
