* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #111827;
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 42%, #fff9f0 100%);
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 18px rgba(15, 23, 42, 0.08);
}

.header-inner {
  max-width: 1280px;
  min-height: 64px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ff9f24;
  font-size: 21px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #ffb347, #ff9f24 54%, #f58700);
  box-shadow: 0 8px 20px rgba(255, 159, 36, 0.35);
  font-size: 14px;
}

.desktop-nav {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 600;
  color: #4b5563;
}

.desktop-nav a,
.mobile-panel a {
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.current,
.mobile-panel a:hover {
  color: #ff9f24;
}

.header-search {
  width: 300px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 10px 14px;
  color: #111827;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: #ffb347;
  box-shadow: 0 0 0 4px rgba(255, 179, 71, 0.22);
}

.header-search button,
.mobile-search button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: #ffffff;
  background: #ff9f24;
  cursor: pointer;
  transition: background 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover {
  background: #f58700;
}

.menu-toggle {
  display: none;
  border: 0;
  color: #374151;
  background: transparent;
  font-size: 25px;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  padding: 16px 18px 22px;
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
}

.mobile-panel.is-open {
  display: grid;
  gap: 14px;
}

.mobile-search {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.hero {
  background: #111827;
}

.hero-stage {
  position: relative;
  height: 60vh;
  min-height: 520px;
  overflow: hidden;
}

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.34) 52%, rgba(0, 0, 0, 0.08));
}

.hero-content {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(1280px, 100%);
  transform: translateX(-50%);
  padding: 56px 22px 78px;
  color: #ffffff;
}

.hero-kicker,
.detail-kicker,
.page-hero span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: #ffb347;
  font-size: 14px;
  font-weight: 700;
}

.hero-content h1 {
  max-width: 920px;
  margin: 18px 0 16px;
  font-size: clamp(36px, 7vw, 76px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-content p {
  max-width: 820px;
  margin: 0 0 22px;
  color: #e5e7eb;
  font-size: clamp(17px, 2vw, 22px);
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.detail-tags span {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  color: #f58700;
  background: #fff9f0;
  font-size: 13px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

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

.primary-button {
  color: #ffffff;
  background: #ff9f24;
  box-shadow: 0 12px 26px rgba(255, 159, 36, 0.3);
}

.primary-button:hover {
  transform: translateY(-2px);
  background: #f58700;
  box-shadow: 0 14px 30px rgba(245, 135, 0, 0.34);
}

.secondary-button {
  color: #111827;
  background: #ffffff;
}

.secondary-button:hover {
  transform: translateY(-2px);
  color: #f58700;
}

.ghost-button {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
}

.ghost-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.22);
}

.hero-control {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.5);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease;
}

.hero-control:hover {
  background: rgba(0, 0, 0, 0.75);
}

.hero-control.prev {
  left: 22px;
}

.hero-control.next {
  right: 22px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 30px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 34px;
  background: #ffb347;
}

.page-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 18px 72px;
}

.home-shell {
  display: grid;
  gap: 64px;
}

.content-section,
.category-overview-card,
.article-section,
.player-section {
  width: 100%;
}

.section-heading,
.category-overview-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 26px;
}

.section-heading h2,
.category-overview-head h2,
.article-section h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  font-weight: 900;
}

.section-heading p,
.category-overview-head p {
  max-width: 720px;
  margin: 8px 0 0;
  color: #6b7280;
}

.section-link {
  color: #ff9f24;
  font-weight: 800;
  white-space: nowrap;
}

.section-link:hover {
  color: #f58700;
}

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

.movie-card {
  display: block;
  min-width: 0;
  color: #111827;
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff9f0, #f3f4f6);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .poster-wrap {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

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

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

.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), transparent 55%);
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster-wrap::after {
  opacity: 1;
}

.year-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 28px;
  border-radius: 9px;
  color: #ffffff;
  background: #ff9f24;
  font-size: 13px;
  font-weight: 800;
}

.year-badge {
  top: 12px;
  right: 12px;
}

.rank-badge {
  top: 12px;
  left: 12px;
  background: rgba(17, 24, 39, 0.82);
}

.play-badge {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 12px;
  color: #ffffff;
  background: rgba(255, 159, 36, 0.94);
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-badge {
  opacity: 1;
  transform: translateY(0);
}

.movie-title,
.movie-desc,
.movie-meta {
  display: block;
}

.movie-title {
  margin-top: 12px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.movie-card:hover .movie-title {
  color: #ff9f24;
}

.movie-desc {
  margin-top: 6px;
  color: #6b7280;
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.movie-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  color: #f58700;
  background: #fff9f0;
  font-size: 12px;
  font-weight: 700;
}

.compact-card .poster-wrap {
  border-radius: 14px;
}

.compact-card .movie-desc {
  display: none;
}

.compact-card .movie-title {
  font-size: 15px;
}

.soft-band,
.category-band {
  padding: 36px;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff9f0, #fff4e6);
}

.category-band {
  background: linear-gradient(135deg, #f9fafb, #eff6ff);
}

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 280px);
  gap: 22px;
  overflow-x: auto;
  padding-bottom: 14px;
  scrollbar-width: thin;
}

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

.category-card {
  min-height: 156px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(255, 179, 71, 0.22);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 159, 36, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.category-card span {
  color: #ff9f24;
  font-size: 13px;
  font-weight: 900;
}

.category-card strong {
  color: #111827;
  font-size: 19px;
  line-height: 1.25;
}

.category-card em {
  color: #6b7280;
  font-size: 14px;
  font-style: normal;
}

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

.list-card {
  display: grid;
  grid-template-columns: 144px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.list-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.list-card img {
  width: 144px;
  height: 88px;
  object-fit: cover;
  border-radius: 12px;
  background: #f3f4f6;
}

.list-card strong,
.list-card em,
.list-card b {
  display: block;
}

.list-card strong {
  font-size: 18px;
  font-weight: 900;
}

.list-card em {
  margin-top: 4px;
  color: #6b7280;
  font-style: normal;
}

.list-card b {
  color: #ff9f24;
}

.page-hero {
  min-height: 250px;
  display: flex;
  align-items: end;
  margin-bottom: 34px;
  padding: 42px;
  border-radius: 28px;
  color: #ffffff;
  background: radial-gradient(circle at 20% 10%, rgba(255, 179, 71, 0.88), transparent 35%), linear-gradient(135deg, #111827, #374151);
  overflow: hidden;
}

.page-hero h1 {
  max-width: 900px;
  margin: 18px 0 10px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.06;
  font-weight: 900;
}

.page-hero p {
  max-width: 780px;
  margin: 0;
  color: #e5e7eb;
  font-size: 18px;
}

.small-hero {
  min-height: 220px;
}

.filter-panel {
  display: grid;
  grid-template-columns: 1fr 190px 190px;
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.filter-panel select {
  border-radius: 14px;
}

.category-overview-card {
  margin-top: 46px;
  padding: 30px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.overview-grid {
  margin-bottom: 22px;
}

.detail-page {
  padding-top: 34px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: #6b7280;
  font-size: 14px;
}

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

.detail-hero {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 48px;
  padding: 30px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.08);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 22px;
  background: #f3f4f6;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.14);
}

.detail-info h1 {
  margin: 20px 0 16px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.detail-one-line {
  max-width: 820px;
  margin: 0 0 20px;
  color: #4b5563;
  font-size: 20px;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.detail-meta div {
  padding: 14px;
  border-radius: 16px;
  background: #f9fafb;
}

.detail-meta dt {
  color: #9ca3af;
  font-size: 12px;
  font-weight: 900;
}

.detail-meta dd {
  margin: 4px 0 0;
  color: #111827;
  font-weight: 800;
}

.player-section {
  margin-bottom: 42px;
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 24px;
  background: #030712;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.25);
}

.movie-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.video-launch {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.58));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.video-launch span {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  border-radius: 999px;
  background: #ff9f24;
  box-shadow: 0 18px 36px rgba(255, 159, 36, 0.36);
  font-size: 34px;
}

.video-launch strong {
  font-size: 22px;
}

.video-launch.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.article-section {
  margin-bottom: 48px;
  padding: 34px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

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

.article-section p {
  margin: 0 0 24px;
  color: #374151;
  font-size: 17px;
}

.large-tags {
  margin-top: 10px;
}

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

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 46px 18px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
}

.footer-logo {
  margin-bottom: 14px;
  color: #ffb347;
}

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

.site-footer h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 18px;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-links a:hover {
  color: #ffb347;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #9ca3af;
}

.footer-bottom p {
  margin: 0;
}

.is-hidden-card {
  display: none !important;
}

@media (max-width: 1100px) {
  .desktop-nav {
    display: none;
  }

  .header-search {
    margin-left: auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

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

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

@media (max-width: 820px) {
  .header-inner {
    gap: 14px;
  }

  .header-search {
    display: none;
  }

  .hero-stage {
    min-height: 520px;
    height: 70vh;
  }

  .hero-content {
    padding: 44px 18px 76px;
  }

  .hero-control {
    display: none;
  }

  .page-shell {
    padding: 34px 14px 56px;
  }

  .section-heading,
  .category-overview-head {
    align-items: start;
    flex-direction: column;
  }

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

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

  .soft-band,
  .category-band,
  .category-overview-card,
  .article-section {
    padding: 22px;
    border-radius: 20px;
  }

  .filter-panel {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    grid-template-columns: 1fr;
    padding: 20px;
  }

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

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

  .list-card {
    grid-template-columns: 104px 1fr;
  }

  .list-card img {
    width: 104px;
    height: 76px;
  }

  .list-card b {
    display: none;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .hero-stage {
    min-height: 480px;
  }

  .hero-tags span,
  .detail-tags span {
    font-size: 12px;
  }

  .movie-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .movie-title {
    font-size: 15px;
  }

  .movie-meta span:nth-child(3) {
    display: none;
  }

  .page-hero {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .detail-info h1 {
    font-size: 34px;
  }

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