:root {
  --pink: #db2777;
  --pink-dark: #be185d;
  --purple: #7c3aed;
  --blue: #2563eb;
  --ink: #111827;
  --muted: #6b7280;
  --soft: #fdf2f8;
  --line: rgba(219, 39, 119, 0.16);
  --shadow: 0 20px 45px rgba(31, 41, 55, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: linear-gradient(135deg, #fdf2f8 0%, #f5f3ff 48%, #eff6ff 100%);
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 30px rgba(31, 41, 55, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
  height: 68px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pink), var(--purple), var(--blue));
  box-shadow: 0 10px 24px rgba(219, 39, 119, 0.25);
}

.brand-text,
.footer-brand {
  font-size: 24px;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  position: relative;
  padding: 24px 0 20px;
  color: #374151;
  font-size: 15px;
  font-weight: 700;
  transition: color 0.25s ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  height: 3px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--pink);
}

.nav-link:hover::after,
.nav-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-search {
  display: flex;
  align-items: center;
  width: min(330px, 28vw);
  overflow: hidden;
  border: 1px solid rgba(219, 39, 119, 0.16);
  border-radius: 999px;
  background: rgba(253, 242, 248, 0.72);
}

.header-search input,
.big-search input,
.page-filter input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.header-search input {
  padding: 11px 14px 11px 18px;
}

.header-search button,
.big-search button {
  border: 0;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  cursor: pointer;
}

.header-search button {
  align-self: stretch;
  padding: 0 18px;
}

.menu-button {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 99px;
  background: var(--ink);
}

.mobile-nav {
  display: none;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 0 18px 18px;
}

.mobile-link {
  padding: 10px;
  border-radius: 14px;
  color: #4b5563;
  font-weight: 700;
  text-align: center;
  background: rgba(253, 242, 248, 0.8);
}

.mobile-link.active {
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--purple));
}

.hero-slider {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #111827;
}

.hero-stage,
.hero-slide,
.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.65s ease, transform 0.8s ease;
  pointer-events: none;
}

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

.hero-bg {
  background: radial-gradient(circle at 20% 20%, rgba(219, 39, 119, 0.45), transparent 40%), linear-gradient(135deg, #111827, #312e81);
}

.hero-bg img,
.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg.image-empty,
.movie-poster.image-empty,
.rank-poster.image-empty,
.ranking-poster.image-empty,
.detail-poster.image-empty,
.detail-backdrop.image-empty,
.hero-feature-card.image-empty,
.player-card.image-empty {
  background: linear-gradient(135deg, rgba(219, 39, 119, 0.55), rgba(124, 58, 237, 0.6), rgba(37, 99, 235, 0.55));
}

.hero-overlay {
  background:
    radial-gradient(circle at 75% 10%, rgba(219, 39, 119, 0.36), transparent 32%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.92) 0%, rgba(31, 41, 55, 0.76) 42%, rgba(17, 24, 39, 0.38) 100%),
    linear-gradient(0deg, rgba(17, 24, 39, 0.98) 0%, transparent 36%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 52px;
  max-width: 1280px;
  min-height: 680px;
  margin: 0 auto;
  padding: 86px 24px 110px;
}

.hero-copy {
  max-width: 720px;
  color: #fff;
}

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

.hero-tags span,
.detail-tags span,
.movie-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span,
.detail-tags span {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.hero-copy h1 {
  margin: 24px 0 20px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.hero-copy p {
  max-width: 680px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.8;
}

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

.primary-button,
.secondary-button,
.section-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-button {
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  box-shadow: 0 16px 32px rgba(219, 39, 119, 0.32);
}

.secondary-button {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.secondary-button.light {
  color: var(--pink);
  border-color: rgba(219, 39, 119, 0.18);
  background: rgba(255, 255, 255, 0.82);
}

.primary-button:hover,
.secondary-button:hover,
.section-action:hover,
.movie-card:hover,
.category-card:hover {
  transform: translateY(-4px);
}

.hero-feature-card {
  width: min(330px, 30vw);
  min-width: 260px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.hero-feature-card img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 20px;
}

.hero-feature-card span {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 800;
}

.hero-feature-card strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
}

.hero-controls {
  position: absolute;
  right: 0;
  bottom: 34px;
  left: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.hero-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  font-size: 30px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  opacity: 0.66;
  transition: width 0.25s ease, opacity 0.25s ease;
}

.hero-dot.active {
  width: 34px;
  opacity: 1;
  background: linear-gradient(90deg, var(--pink), var(--purple));
}

.page-shell {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.page-top {
  padding-top: 42px;
}

.content-section {
  margin: 58px 0;
}

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

.eyebrow {
  margin: 0 0 8px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2,
.page-hero h1,
.story-card h2,
.info-card h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-heading p,
.page-hero p {
  max-width: 660px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.section-action {
  color: var(--pink);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 30px rgba(31, 41, 55, 0.08);
}

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

.movie-row {
  display: grid;
  grid-auto-columns: minmax(190px, 1fr);
  grid-auto-flow: column;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: none;
}

.movie-row::-webkit-scrollbar {
  display: none;
}

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 40px rgba(31, 41, 55, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-poster {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, rgba(219, 39, 119, 0.16), rgba(124, 58, 237, 0.22));
}

.movie-poster img,
.rank-poster img,
.ranking-poster img,
.detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.movie-score {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  box-shadow: 0 8px 18px rgba(219, 39, 119, 0.25);
}

.movie-card-body {
  padding: 15px;
}

.movie-title {
  display: -webkit-box;
  min-height: 44px;
  overflow: hidden;
  color: #111827;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta {
  margin: 8px 0;
  color: var(--muted);
  font-size: 13px;
}

.movie-desc {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 12px;
  overflow: hidden;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.65;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-tags span {
  color: var(--pink);
  background: rgba(253, 242, 248, 0.92);
}

.movie-card.compact .movie-title {
  min-height: auto;
}

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

.category-card {
  min-height: 142px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(253, 242, 248, 0.88));
  box-shadow: 0 16px 40px rgba(31, 41, 55, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--pink);
  font-size: 24px;
  font-weight: 900;
}

.category-card strong {
  display: block;
  color: #4b5563;
  line-height: 1.65;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 36px rgba(31, 41, 55, 0.08);
}

.rank-poster {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  background: rgba(219, 39, 119, 0.12);
}

.rank-title {
  color: #111827;
  font-size: 18px;
  font-weight: 900;
}

.rank-body p {
  display: -webkit-box;
  margin: 8px 0;
  overflow: hidden;
  color: #4b5563;
  line-height: 1.65;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.rank-heat {
  color: var(--pink);
  font-size: 22px;
  font-weight: 900;
}

.page-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 290px;
  padding: 44px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 18%, rgba(219, 39, 119, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(245, 243, 255, 0.88));
  box-shadow: var(--shadow);
}

.compact-hero h1,
.ranking-hero h1,
.search-hero h1 {
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-filter,
.big-search {
  display: flex;
  align-items: center;
  width: min(430px, 100%);
  min-height: 56px;
  overflow: hidden;
  border: 1px solid rgba(219, 39, 119, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(31, 41, 55, 0.08);
}

.page-filter input,
.big-search input {
  padding: 0 22px;
}

.big-search button {
  align-self: stretch;
  padding: 0 28px;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-grid a {
  padding: 12px 18px;
  border: 1px solid rgba(219, 39, 119, 0.16);
  border-radius: 999px;
  color: #4b5563;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.86);
  transition: color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.pill-grid a:hover {
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  transform: translateY(-3px);
}

.ranking-list {
  margin: 44px 0 68px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.ranking-row {
  display: grid;
  grid-template-columns: 72px 86px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid rgba(219, 39, 119, 0.1);
}

.ranking-row:last-child {
  border-bottom: 0;
}

.ranking-number {
  color: #cbd5e1;
  font-size: 28px;
  font-weight: 900;
}

.top-rank .ranking-number,
.ranking-row strong {
  color: var(--pink);
}

.ranking-poster {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  background: rgba(219, 39, 119, 0.12);
}

.ranking-info a {
  color: #111827;
  font-size: 18px;
  font-weight: 900;
}

.ranking-info p {
  display: -webkit-box;
  margin: 6px 0;
  overflow: hidden;
  color: #4b5563;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ranking-info div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.detail-page {
  min-height: 100vh;
}

.detail-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: #fff;
  background: #111827;
}

.detail-backdrop,
.detail-shade {
  position: absolute;
  inset: 0;
}

.detail-backdrop {
  filter: blur(1px);
  transform: scale(1.03);
}

.detail-shade {
  background:
    radial-gradient(circle at 78% 15%, rgba(219, 39, 119, 0.4), transparent 34%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.68) 48%, rgba(17, 24, 39, 0.36)),
    linear-gradient(0deg, rgba(17, 24, 39, 1), transparent 38%);
}

.detail-inner {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.crumb {
  display: inline-flex;
  margin-bottom: 34px;
  padding: 9px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.detail-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 46px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 28px;
  aspect-ratio: 3 / 4;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

.detail-main h1 {
  max-width: 850px;
  margin: 18px 0 18px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1;
  letter-spacing: -0.07em;
}

.detail-line {
  max-width: 800px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.8;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
}

.detail-shell {
  margin-top: -72px;
  padding-bottom: 70px;
}

.player-section {
  position: relative;
  z-index: 4;
}

.player-heading {
  color: #fff;
}

.player-heading h2,
.player-heading p {
  color: #fff;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #020617;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

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

.player-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #fff;
  background: radial-gradient(circle, rgba(219, 39, 119, 0.22), rgba(2, 6, 23, 0.52));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-start strong {
  display: block;
  margin-top: 16px;
  font-size: 22px;
}

.play-icon {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 34px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 20px 42px rgba(219, 39, 119, 0.35);
}

.player-message {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  text-align: center;
  pointer-events: none;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 28px;
  margin-top: 42px;
}

.story-card,
.info-card {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 40px rgba(31, 41, 55, 0.08);
}

.story-card p,
.info-card dd {
  color: #374151;
  font-size: 16px;
  line-height: 1.9;
}

.info-card dl {
  margin: 18px 0 24px;
}

.info-card div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(219, 39, 119, 0.1);
}

.info-card dt {
  color: var(--muted);
  font-weight: 800;
}

.info-card dd {
  margin: 0;
}

.large-tags span {
  padding: 8px 12px;
  font-size: 13px;
}

.review-card {
  max-width: none;
}

.detail-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.detail-nav a {
  padding: 18px 22px;
  border-radius: 20px;
  color: var(--pink);
  font-weight: 900;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(31, 41, 55, 0.08);
}

.detail-nav a:last-child {
  text-align: right;
}

.site-footer {
  margin-top: 80px;
  padding: 46px 0 24px;
  background: rgba(255, 255, 255, 0.74);
  border-top: 1px solid rgba(255, 255, 255, 0.9);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.footer-inner p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-content: start;
  justify-content: flex-end;
}

.footer-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #4b5563;
  font-weight: 800;
  background: rgba(253, 242, 248, 0.9);
}

.footer-bottom {
  width: min(1280px, calc(100% - 40px));
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(219, 39, 119, 0.12);
  color: var(--muted);
  font-size: 14px;
}

.is-filtered-out {
  display: none !important;
}

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

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

  .hero-content {
    gap: 32px;
  }

  .rank-list,
  .detail-content-grid {
    grid-template-columns: 1fr;
  }
}

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

  .menu-button {
    display: flex;
  }

  .mobile-nav.is-open {
    display: grid;
  }

  .hero-slider,
  .hero-content {
    min-height: 760px;
  }

  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-top: 92px;
  }

  .hero-feature-card {
    width: min(360px, 100%);
  }

  .section-heading,
  .page-hero,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

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

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

  .detail-poster {
    width: min(260px, 70vw);
  }

  .ranking-row {
    grid-template-columns: 44px 72px 1fr;
  }

  .ranking-row strong {
    grid-column: 3;
  }
}

@media (max-width: 620px) {
  .header-inner {
    padding: 0 16px;
  }

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

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

  .page-shell,
  .detail-inner,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 24px, 1280px);
  }

  .hero-copy h1,
  .detail-main h1 {
    font-size: 42px;
  }

  .hero-copy p,
  .detail-line {
    font-size: 17px;
  }

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

  .movie-card-body {
    padding: 12px;
  }

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

  .movie-desc {
    font-size: 12px;
  }

  .page-hero,
  .story-card,
  .info-card {
    padding: 24px;
    border-radius: 24px;
  }

  .rank-item {
    grid-template-columns: 76px 1fr;
  }

  .rank-heat {
    grid-column: 2;
    font-size: 16px;
  }

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

  .detail-nav a:last-child {
    text-align: left;
  }
}
