:root {
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --sky-700: #0369a1;
  --blue-600: #2563eb;
  --cyan-500: #06b6d4;
  --slate-950: #020617;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.10);
  --radius-xl: 1.25rem;
  --radius-lg: 0.875rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--gray-900);
  background: linear-gradient(180deg, var(--gray-50), var(--white));
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.nav-shell,
.content-shell,
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-shell {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark,
.footer-logo span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.3);
}

.brand-name {
  font-size: 1.18rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--gray-700);
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--sky-700);
  background: var(--sky-50);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 9px;
  border: 0;
  border-radius: 12px;
  background: var(--gray-100);
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--gray-700);
}

.hero-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(115deg, var(--sky-600), var(--blue-600) 55%, var(--cyan-500));
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.17;
  background-image:
    radial-gradient(circle at 18% 25%, rgba(255, 255, 255, 0.45) 0 10%, transparent 23%),
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.35) 0 9%, transparent 24%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.18) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.18) 50%, rgba(255, 255, 255, 0.18) 75%, transparent 75%, transparent);
  background-size: auto, auto, 64px 64px;
}

.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 64px 0 90px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 48px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-slide.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: currentColor;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-copy h1 {
  margin: 0 0 14px;
  max-width: 760px;
  font-size: clamp(2.35rem, 6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.hero-copy h2 {
  margin: 0 0 14px;
  color: #dff7ff;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
}

.hero-copy p {
  max-width: 760px;
  margin: 0 0 22px;
  color: #e0f2fe;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-tags,
.tag-row,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.tag-row span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--sky-100);
  color: var(--sky-700);
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-tags span {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn.primary {
  color: var(--sky-700);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(2, 132, 199, 0.26);
}

.btn.ghost {
  color: var(--white);
  background: rgba(3, 105, 161, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(2, 6, 23, 0.32);
  transform: rotate(2deg);
}

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

.hero-poster:hover img {
  transform: scale(1.06);
}

.hero-poster span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.72);
  color: var(--white);
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.hero-nav {
  position: absolute;
  left: 0;
  bottom: 42px;
  display: flex;
  gap: 10px;
}

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

.hero-dot.active {
  background: var(--white);
}

.stats-band {
  position: relative;
  z-index: 2;
  margin-top: -48px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stat-card {
  padding: 24px;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s ease;
}

.stat-card:hover,
.category-card:hover,
.movie-card:hover,
.category-panel:hover {
  transform: translateY(-6px);
}

.stat-card strong {
  display: block;
  color: var(--gray-900);
  font-size: 1.35rem;
}

.stat-card span {
  color: var(--gray-600);
  font-size: 0.92rem;
}

.section-block {
  padding: 72px 0;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading.center {
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.55rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 0;
  color: var(--gray-600);
  font-size: 1.04rem;
}

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

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  box-shadow: var(--shadow);
}

.card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.poster-wrap {
  position: relative;
  overflow: hidden;
  background: var(--gray-200);
}

.poster-wrap img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.movie-card:hover .poster-wrap img {
  transform: scale(1.08);
}

.poster-label,
.poster-year,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.poster-label {
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  color: var(--white);
  background: var(--sky-600);
}

.poster-year {
  left: 14px;
  bottom: 14px;
  padding: 6px 10px;
  color: var(--white);
  background: rgba(2, 6, 23, 0.72);
}

.rank-badge {
  top: 14px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.2);
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px;
}

.card-body h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-body p {
  margin: 0 0 14px;
  color: var(--gray-600);
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tag-row {
  margin-top: auto;
}

.category-band,
.latest-band {
  background: var(--gray-50);
}

.category-grid,
.category-panel-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.category-card,
.category-panel {
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px;
  text-align: center;
}

.category-card:hover,
.category-panel:hover {
  box-shadow: var(--shadow);
}

.cat-icon {
  margin-bottom: 12px;
  font-size: 2.4rem;
}

.category-card strong {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.category-card em,
.category-panel p {
  color: var(--gray-600);
  font-size: 0.9rem;
  font-style: normal;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.8fr);
  gap: 34px;
  align-items: start;
}

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

.mini-card {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  overflow: hidden;
  align-items: center;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mini-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.mini-card img {
  width: 96px;
  height: 96px;
  object-fit: cover;
}

.mini-meta {
  position: absolute;
  left: 10px;
  top: 10px;
}

.list-rank,
.list-dot {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, #f97316, #eab308);
  font-style: normal;
  font-weight: 900;
}

.mini-text {
  padding-right: 16px;
}

.mini-text strong,
.mini-text em {
  display: block;
}

.mini-text strong {
  margin-bottom: 6px;
  font-size: 1rem;
}

.mini-text em {
  color: var(--gray-600);
  font-size: 0.85rem;
  font-style: normal;
}

.split-aside,
.article-card,
.detail-meta-card,
.toolbar,
.category-panel {
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.split-aside {
  padding: 28px;
  position: sticky;
  top: 92px;
}

.split-aside h2 {
  margin: 0 0 10px;
}

.split-aside p {
  margin: 0 0 22px;
  color: var(--gray-600);
}

.search-box {
  display: grid;
  gap: 12px;
}

.search-box input,
.filter-field input,
.filter-field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: var(--white);
  padding: 0 14px;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.search-box input:focus,
.filter-field input:focus,
.filter-field select:focus {
  border-color: var(--sky-500);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14);
}

.search-box button {
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  color: var(--white);
  background: var(--sky-600);
  font-weight: 800;
  cursor: pointer;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--sky-700);
  font-weight: 800;
}

.page-hero {
  color: var(--white);
  background: linear-gradient(115deg, var(--sky-600), var(--blue-600));
  padding: 84px 0;
}

.page-hero.compact {
  padding: 64px 0;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.12;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #e0f2fe;
  font-size: 1.08rem;
}

.category-panel {
  padding: 24px;
}

.category-panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 1.16rem;
  font-weight: 900;
}

.category-panel-head span {
  font-size: 2rem;
}

.category-samples {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.category-samples a {
  color: var(--sky-700);
  font-size: 0.92rem;
  font-weight: 700;
}

.toolbar {
  display: flex;
  align-items: end;
  gap: 16px;
  margin-bottom: 26px;
  padding: 20px;
}

.filter-field {
  display: grid;
  flex: 1;
  gap: 8px;
}

.filter-field.small {
  flex: 0 0 190px;
}

.filter-field.wide {
  flex: 1 1 auto;
}

.filter-field span {
  color: var(--gray-700);
  font-size: 0.88rem;
  font-weight: 800;
}

.movie-card.is-hidden {
  display: none;
}

.detail-hero {
  color: var(--white);
  background: radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.36), transparent 28%), linear-gradient(135deg, var(--slate-950), #0f172a 55%, #082f49);
  padding: 34px 0 64px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: #bfdbfe;
  font-size: 0.92rem;
}

.breadcrumb a:hover {
  color: var(--white);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
  align-items: start;
}

.player-card,
.player-frame {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
}

.player-card {
  background: #000;
  box-shadow: 0 30px 70px rgba(2, 6, 23, 0.45);
}

.player-frame {
  aspect-ratio: 16 / 9;
  min-height: 340px;
}

.movie-player,
.player-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.movie-player {
  z-index: 1;
  background: #000;
}

.player-cover {
  z-index: 2;
  display: grid;
  place-items: center;
  background-size: cover;
  background-position: center;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-cover.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-overlay {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--sky-700);
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.play-overlay span {
  margin-left: 6px;
  font-size: 2.2rem;
}

.play-overlay:hover {
  transform: scale(1.07);
  background: var(--white);
}

.detail-info {
  display: grid;
  gap: 18px;
}

.detail-poster {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.35);
}

.detail-meta-card {
  padding: 24px;
  color: var(--gray-900);
}

.detail-meta-card .eyebrow {
  color: var(--sky-700);
  background: var(--sky-50);
}

.detail-meta-card h1 {
  margin: 0 0 12px;
  font-size: 1.75rem;
  line-height: 1.2;
}

.detail-meta-card p {
  margin: 0 0 18px;
  color: var(--gray-600);
}

.detail-meta-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.detail-meta-card dl div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
}

.detail-meta-card dt {
  color: var(--gray-500);
  font-weight: 800;
}

.detail-meta-card dd {
  margin: 0;
}

.article-card {
  padding: 34px;
}

.article-card h2 {
  margin: 0 0 14px;
  font-size: 1.55rem;
}

.article-card p {
  margin: 0 0 24px;
  color: var(--gray-700);
  font-size: 1.04rem;
}

.detail-tags {
  margin-top: 6px;
}

.site-footer {
  color: #d1d5db;
  background: #111827;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 0.8fr 0.8fr;
  gap: 34px;
  padding: 52px 0;
}

.footer-logo {
  color: var(--white);
  font-size: 1.2rem;
}

.footer-brand p {
  max-width: 460px;
  color: #9ca3af;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: var(--white);
}

.site-footer ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a:hover {
  color: #7dd3fc;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px;
  text-align: center;
  color: #9ca3af;
  font-size: 0.92rem;
}

@media (max-width: 1024px) {
  .hero-slide,
  .detail-layout,
  .split-section,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .hero-poster {
    max-width: 420px;
    margin: 0 auto;
  }

  .featured-grid,
  .latest-grid,
  .movie-grid,
  .category-grid,
  .category-panel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .split-aside {
    position: static;
  }
}

@media (max-width: 768px) {
  .nav-shell {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 10px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    border-radius: 12px;
  }

  .hero-inner {
    padding: 48px 0 78px;
  }

  .hero-slide {
    gap: 28px;
  }

  .hero-poster img {
    height: 420px;
  }

  .hero-nav {
    bottom: 30px;
  }

  .stat-grid,
  .featured-grid,
  .latest-grid,
  .movie-grid,
  .category-grid,
  .category-panel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-field.small {
    flex: 1;
  }

  .player-frame {
    min-height: 240px;
  }
}

@media (max-width: 560px) {
  .content-shell,
  .nav-shell,
  .footer-inner,
  .hero-inner {
    width: min(100% - 22px, 1180px);
  }

  .hero-copy h1 {
    font-size: 2.1rem;
  }

  .hero-poster img {
    height: 340px;
  }

  .stat-grid,
  .featured-grid,
  .latest-grid,
  .movie-grid,
  .category-grid,
  .category-panel-grid {
    grid-template-columns: 1fr;
  }

  .section-block {
    padding: 52px 0;
  }

  .card-body,
  .article-card,
  .detail-meta-card,
  .split-aside {
    padding: 20px;
  }

  .poster-wrap img {
    height: 230px;
  }

  .mini-card {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .mini-card img {
    width: 82px;
    height: 82px;
  }
}
