:root {
  --orange: #f97316;
  --orange-dark: #ea580c;
  --pink: #ec4899;
  --rose: #fb7185;
  --yellow: #facc15;
  --amber: #f59e0b;
  --text: #1f2937;
  --muted: #6b7280;
  --soft: #fff7ed;
  --soft-pink: #fdf2f8;
  --line: rgba(251, 146, 60, 0.28);
  --shadow: 0 18px 45px rgba(249, 115, 22, 0.16);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 38%, #fdf2f8 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 247, 237, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.08);
}

.header-inner {
  max-width: 1240px;
  height: 76px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 14px 28px rgba(236, 72, 153, 0.26);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--orange-dark), var(--pink), var(--amber));
  -webkit-background-clip: text;
  color: transparent;
}

.brand-text em {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
  font-style: normal;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link,
.mobile-link {
  color: #374151;
  font-weight: 700;
  border-radius: 14px;
  transition: 0.25s ease;
}

.nav-link {
  padding: 10px 14px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--orange-dark);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.12);
}

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

.header-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select {
  border: 2px solid rgba(251, 146, 60, 0.26);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  outline: none;
  transition: 0.25s ease;
}

.header-search input {
  width: 235px;
  padding: 11px 16px;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: rgba(236, 72, 153, 0.55);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

.header-search button,
.mobile-search button {
  padding: 11px 16px;
  border: 0;
  color: #ffffff;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  background: linear-gradient(135deg, var(--orange), var(--pink));
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.12);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #374151;
  border-radius: 2px;
}

.mobile-panel {
  display: none;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px 18px;
}

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

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

.mobile-search input {
  min-width: 0;
  flex: 1;
  padding: 11px 16px;
}

.mobile-link {
  display: block;
  padding: 12px 14px;
}

.hero-section {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background: linear-gradient(120deg, #fb923c 0%, #ec4899 50%, #facc15 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.75) 0 2px, transparent 2px), radial-gradient(circle at 80% 70%, rgba(255,255,255,0.55) 0 1px, transparent 1px);
  background-size: 44px 44px, 66px 66px;
}

.hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 130px;
  background: linear-gradient(180deg, transparent, #fff7ed);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 74px 20px 110px;
}

.hero-slides {
  position: relative;
  min-height: 440px;
}

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

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

.hero-copy {
  color: #ffffff;
  text-shadow: 0 12px 28px rgba(127, 29, 29, 0.16);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.42);
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  font-weight: 800;
}

.hero-copy h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-copy h2 {
  margin: 18px 0 12px;
  color: #fff7c2;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.15;
}

.hero-copy p {
  max-width: 720px;
  margin: 0 0 22px;
  color: rgba(255,255,255,0.92);
  font-size: 18px;
  line-height: 1.8;
}

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

.hero-tags span,
.genre-row span,
.tag-row span,
.tag-cloud a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 800;
}

.hero-tags span {
  padding: 8px 12px;
  color: #fff7ed;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
}

.hero-actions,
.intro-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.primary-button,
.secondary-button,
.intro-actions a,
.text-link,
.muted-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition: 0.25s ease;
}

.primary-button,
.intro-actions a:first-child {
  min-height: 48px;
  padding: 0 22px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange-dark), var(--pink));
  box-shadow: 0 16px 32px rgba(236, 72, 153, 0.25);
}

.secondary-button,
.intro-actions a {
  min-height: 48px;
  padding: 0 22px;
  color: #7c2d12;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 12px 26px rgba(249, 115, 22, 0.12);
}

.primary-button:hover,
.secondary-button:hover,
.intro-actions a:hover,
.text-link:hover,
.muted-link:hover {
  transform: translateY(-2px);
}

.hero-poster {
  position: relative;
  display: block;
  border-radius: 34px;
  padding: 10px;
  background: rgba(255,255,255,0.28);
  box-shadow: 0 30px 70px rgba(136, 19, 55, 0.32);
  backdrop-filter: blur(18px);
}

.hero-poster img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255,255,255,0.28), rgba(255,255,255,0.08));
}

.poster-glow {
  position: absolute;
  inset: auto -22px -24px 28px;
  height: 58px;
  border-radius: 999px;
  background: rgba(255,255,255,0.34);
  filter: blur(22px);
}

.hero-control-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  color: #7c2d12;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  font-size: 28px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.45);
  transition: 0.25s ease;
}

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

.hero-mini-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.hero-mini-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border-radius: 18px;
  color: #ffffff;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.26);
  backdrop-filter: blur(14px);
}

.hero-mini-card img {
  width: 48px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.hero-mini-card span {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.home-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 58px 20px;
}

.intro-strip {
  padding-top: 36px;
}

.intro-card,
.prose-card,
.ranking-panel,
.category-overview-card,
.filter-panel,
.top-rank-card,
.side-recommend {
  border: 1px solid rgba(251, 146, 60, 0.22);
  background: rgba(255,255,255,0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.intro-card {
  padding: 32px;
  border-radius: var(--radius);
}

.intro-card h2,
.section-heading h2,
.ranking-head h2,
.prose-card h2,
.side-recommend h2 {
  margin: 0;
  color: var(--text);
}

.intro-card p {
  max-width: 880px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.section-icon {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 12px 24px rgba(236, 72, 153, 0.22);
  font-weight: 900;
}

.section-heading h2 {
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.02em;
}

.section-heading p {
  margin: 5px 0 0;
  color: var(--muted);
}

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

.category-tile {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 18px 38px rgba(249, 115, 22, 0.12);
  background: #fff7ed;
}

.category-tile img {
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  transform: scale(1.02);
  transition: 0.35s ease;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 28%, rgba(24, 24, 27, 0.78));
}

.category-tile span {
  position: absolute;
  inset: auto 16px 16px 16px;
  z-index: 2;
  color: #ffffff;
}

.category-tile strong {
  display: block;
  font-size: 20px;
  font-weight: 900;
}

.category-tile em {
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  font-style: normal;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.category-tile:hover img {
  transform: scale(1.1);
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(251, 146, 60, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 52px rgba(236, 72, 153, 0.18);
}

.movie-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #fed7aa, #fbcfe8);
}

.movie-cover img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: 0.35s ease;
}

.movie-card:hover .movie-cover img,
.compact-card:hover img,
.ranking-cover:hover img {
  transform: scale(1.06);
}

.cover-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 999px;
  background: rgba(236, 72, 153, 0.88);
  box-shadow: 0 14px 30px rgba(236, 72, 153, 0.28);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: 0.25s ease;
}

.movie-card:hover .cover-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  font-weight: 900;
}

.movie-info {
  padding: 18px;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
}

.movie-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff7ed;
}

.movie-info h2 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.35;
}

.movie-info h2 a:hover,
.ranking-card h2 a:hover,
.category-overview-card h2 a:hover {
  color: var(--orange-dark);
}

.movie-info p {
  display: -webkit-box;
  min-height: 70px;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.tag-row span,
.genre-row span,
.tag-cloud a {
  padding: 5px 9px;
  color: #9a3412;
  background: #ffedd5;
  font-size: 12px;
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.text-link {
  color: var(--orange-dark);
  font-size: 14px;
}

.muted-link {
  color: var(--muted);
  font-size: 13px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: 28px;
}

.ranking-panel {
  position: sticky;
  top: 96px;
  border-radius: var(--radius);
  padding: 22px;
}

.ranking-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.ranking-head a {
  color: var(--orange-dark);
  font-weight: 900;
}

.rank-list {
  display: grid;
  gap: 10px;
}

.rank-row {
  display: grid;
  grid-template-columns: 30px 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border-radius: 16px;
  background: rgba(255, 247, 237, 0.68);
  transition: 0.25s ease;
}

.rank-row:hover {
  background: #ffffff;
  transform: translateX(3px);
}

.rank-number {
  color: var(--pink);
  font-weight: 900;
  text-align: center;
}

.rank-row img {
  width: 48px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
}

.rank-title {
  min-width: 0;
}

.rank-title strong,
.rank-title em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-title strong {
  font-size: 14px;
}

.rank-title em {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.rank-row b {
  color: #9a3412;
  font-size: 12px;
}

.soft-section {
  max-width: none;
  padding-left: calc((100% - 1240px) / 2 + 20px);
  padding-right: calc((100% - 1240px) / 2 + 20px);
  background: linear-gradient(90deg, rgba(253, 242, 248, 0.9), rgba(255, 247, 237, 0.9), rgba(254, 252, 232, 0.9));
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #fb923c, #ec4899 58%, #facc15);
}

.page-hero {
  min-height: 330px;
  display: flex;
  align-items: center;
}

.page-hero::before,
.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: radial-gradient(circle at 20% 24%, #ffffff 0 2px, transparent 2px);
  background-size: 48px 48px;
}

.page-hero > div {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  color: #ffffff;
}

.page-hero span {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  font-weight: 900;
}

.page-hero h1 {
  max-width: 850px;
  margin: 18px 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.page-hero p {
  max-width: 780px;
  margin: 0;
  color: rgba(255,255,255,0.92);
  font-size: 18px;
  line-height: 1.8;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
  border-radius: var(--radius);
}

.category-overview-cover {
  overflow: hidden;
  border-radius: 18px;
}

.category-overview-cover img {
  height: 220px;
  object-fit: cover;
}

.category-overview-card h2 {
  margin: 4px 0 10px;
  font-size: 24px;
}

.category-overview-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
}

.sample-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.sample-links a {
  padding: 6px 10px;
  border-radius: 999px;
  color: #9a3412;
  background: #ffedd5;
  font-size: 13px;
  font-weight: 800;
}

.filter-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 22px;
}

.filter-panel input {
  min-width: min(100%, 360px);
  flex: 1;
  padding: 13px 18px;
}

.filter-selects {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-panel select {
  min-height: 48px;
  padding: 0 38px 0 16px;
  color: #374151;
}

.empty-state {
  margin: 32px 0 0;
  padding: 24px;
  color: var(--muted);
  text-align: center;
  border-radius: 20px;
  background: #ffffff;
}

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

.top-rank-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 18px;
}

.top-rank-card img {
  height: 330px;
  object-fit: cover;
  border-radius: 20px;
}

.top-rank-card span {
  display: inline-flex;
  margin-top: 16px;
  padding: 6px 12px;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  font-weight: 900;
}

.top-rank-card h2 {
  margin: 12px 0 8px;
}

.top-rank-card p {
  color: var(--muted);
  line-height: 1.7;
}

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

.ranking-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(251, 146, 60, 0.18);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(249, 115, 22, 0.1);
}

.ranking-cover {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.ranking-cover img {
  height: 160px;
  object-fit: cover;
  transition: 0.35s ease;
}

.ranking-cover span {
  position: absolute;
  left: 10px;
  top: 10px;
  min-width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  font-weight: 900;
}

.ranking-card h2 {
  margin: 4px 0 8px;
}

.ranking-card p {
  color: var(--muted);
  line-height: 1.7;
}

.detail-hero {
  min-height: 620px;
  color: #ffffff;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  filter: blur(14px);
  transform: scale(1.06);
}

.detail-backdrop img {
  height: 100%;
  object-fit: cover;
}

.detail-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(124,45,18,0.82), rgba(157,23,77,0.72));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 76px;
}

.breadcrumb,
.breadcrumb-sep,
.detail-hero-inner > span {
  color: rgba(255,255,255,0.86);
  font-size: 14px;
}

.breadcrumb:hover {
  color: #ffffff;
}

.detail-main {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  margin-top: 30px;
}

.detail-poster {
  border-radius: 32px;
  padding: 10px;
  background: rgba(255,255,255,0.26);
  box-shadow: 0 28px 70px rgba(90, 13, 50, 0.3);
}

.detail-poster img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 24px;
}

.detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.detail-one-line {
  margin: 0 0 24px;
  color: rgba(255,255,255,0.92);
  font-size: 19px;
  line-height: 1.8;
}

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

.detail-meta-grid span {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(12px);
  font-weight: 800;
}

.watch-section {
  max-width: 1240px;
  margin: -76px auto 0;
  padding: 0 20px 42px;
  position: relative;
  z-index: 5;
}

.watch-player {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #111827;
  box-shadow: 0 30px 80px rgba(17, 24, 39, 0.28);
}

.watch-player video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111827;
}

.play-trigger {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 0 26px;
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 18px 48px rgba(236, 72, 153, 0.34);
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.play-trigger span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
}

.watch-player.is-playing .play-trigger {
  display: none;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.prose-card,
.side-recommend {
  border-radius: var(--radius);
  padding: 28px;
}

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

.prose-card p {
  margin: 0 0 24px;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.95;
}

.tag-cloud {
  margin-top: 8px;
}

.side-recommend {
  position: sticky;
  top: 96px;
}

.compact-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.compact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  background: #fff7ed;
  transition: 0.25s ease;
}

.compact-card:hover {
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.12);
}

.compact-card img {
  width: 58px;
  height: 76px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  transition: 0.35s ease;
}

.compact-card span {
  min-width: 0;
}

.compact-card strong,
.compact-card em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.compact-card em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(90deg, #ffedd5, #fce7f3, #fef9c3);
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 46px 20px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
}

.footer-brand p,
.footer-column a,
.footer-bottom {
  color: var(--muted);
}

.footer-brand p {
  max-width: 430px;
  line-height: 1.8;
}

.footer-column h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  font-weight: 700;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--orange-dark);
  background: #ffffff;
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 20px 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(251, 146, 60, 0.22);
  font-size: 14px;
}

@media (max-width: 1180px) {
  .header-search input {
    width: 190px;
  }

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

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

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

  .menu-button {
    display: block;
  }

  .hero-section {
    min-height: 760px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-poster {
    max-width: 280px;
  }

  .hero-slides {
    min-height: 590px;
  }

  .split-section,
  .detail-content,
  .detail-main {
    grid-template-columns: 1fr;
  }

  .ranking-panel,
  .side-recommend {
    position: static;
  }

  .overview-grid,
  .top-rank-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    max-width: 330px;
  }

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

@media (max-width: 720px) {
  .header-inner {
    height: 68px;
  }

  .brand-text strong {
    font-size: 19px;
  }

  .brand-text em {
    display: none;
  }

  .hero-inner {
    padding-top: 44px;
  }

  .hero-section {
    min-height: 820px;
  }

  .hero-slides {
    min-height: 650px;
  }

  .hero-mini-list,
  .category-grid,
  .movie-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .category-overview-card,
  .ranking-card {
    grid-template-columns: 1fr;
  }

  .category-overview-cover img,
  .ranking-cover img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .filter-panel,
  .filter-selects,
  .mobile-search,
  .hero-actions,
  .intro-actions,
  .detail-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-panel select,
  .primary-button,
  .secondary-button,
  .intro-actions a {
    width: 100%;
  }

  .rank-row {
    grid-template-columns: 26px 44px minmax(0, 1fr);
  }

  .rank-row b {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .watch-section {
    margin-top: -40px;
  }

  .play-trigger {
    min-height: 54px;
    padding: 0 18px;
  }
}
