:root {
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-200: #fecdd3;
  --rose-400: #fb7185;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --pink-500: #ec4899;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #f5d0d8;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(225, 29, 72, 0.13);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fff7f9 0%, #ffffff 34%, #fff5f7 100%);
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--rose-100);
  box-shadow: 0 12px 28px rgba(244, 63, 94, 0.08);
}

.header-inner {
  width: min(1280px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink-500), var(--rose-600));
  box-shadow: 0 12px 28px rgba(236, 72, 153, 0.28);
}

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

.brand-text strong {
  font-size: 22px;
  background: linear-gradient(90deg, var(--pink-500), var(--rose-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

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

.nav-link {
  position: relative;
  padding: 8px 0;
  color: #374151;
  font-weight: 700;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--pink-500), var(--rose-500));
  transition: right 0.25s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
  right: 0;
}

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

.header-search input,
.mobile-search input,
.filter-search input {
  width: 230px;
  border: 2px solid var(--rose-100);
  border-radius: 999px;
  padding: 11px 16px;
  color: var(--text);
  background: #ffffff;
  outline: none;
  transition: border 0.25s ease, box-shadow 0.25s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-search input:focus {
  border-color: var(--rose-400);
  box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.15);
}

.header-search button,
.mobile-search button,
.primary-button,
.ghost-button,
.text-button,
.filter-chip {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.header-search button,
.mobile-search button,
.primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink-500), var(--rose-600));
  padding: 11px 18px;
  box-shadow: 0 14px 30px rgba(225, 29, 72, 0.22);
}

.header-search button:hover,
.mobile-search button:hover,
.primary-button:hover,
.ghost-button:hover,
.text-button:hover,
.filter-chip:hover {
  transform: translateY(-2px);
}

.ghost-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.34);
  padding: 11px 18px;
}

.menu-button {
  display: none;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--rose-50);
  color: var(--rose-600);
  font-size: 22px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 16px;
  border-top: 1px solid var(--rose-100);
}

.mobile-nav.open {
  display: grid;
  gap: 12px;
}

main {
  min-height: 70vh;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(236, 72, 153, 0.45), transparent 32%),
    radial-gradient(circle at 82% 12%, rgba(251, 113, 133, 0.35), transparent 34%),
    linear-gradient(135deg, #111827 0%, #4c1024 58%, #831843 100%);
}

.hero-track {
  position: relative;
  width: min(1280px, calc(100% - 32px));
  min-height: 680px;
  margin: 0 auto;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 420px);
  align-items: center;
  gap: 52px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.54)), var(--hero-image);
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  filter: blur(2px);
  transform: scale(1.05);
}

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

.hero-copy,
.hero-poster {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 13px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero h1,
.page-hero h1,
.detail-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero p,
.page-hero p,
.detail-copy p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.8;
}

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

.hero-tags span,
.detail-tags span,
.card-tags span {
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.14);
  color: inherit;
  font-size: 12px;
  font-weight: 800;
}

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

.hero-poster {
  display: block;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
  transform: rotate(2deg);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  font-size: 36px;
  cursor: pointer;
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

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

.section {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.soft-section {
  width: 100%;
  padding-left: max(16px, calc((100% - 1280px) / 2));
  padding-right: max(16px, calc((100% - 1280px) / 2));
  background: linear-gradient(90deg, rgba(255, 241, 242, 0.9), rgba(252, 231, 243, 0.68));
}

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

.section-heading h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 40px);
}

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

.section-link,
.text-button {
  color: var(--rose-600);
  font-weight: 900;
}

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

.feature-card {
  min-height: 132px;
  border: 1px solid var(--rose-100);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.feature-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.feature-card span {
  color: var(--muted);
  line-height: 1.65;
}

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

.movie-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--rose-100);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 12px 30px rgba(225, 29, 72, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  border-color: var(--rose-200);
  box-shadow: var(--shadow);
  transform: translateY(-7px);
}

.poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--rose-100), #ffffff);
}

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

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

.poster-mask {
  position: absolute;
  inset: auto 12px 12px 12px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  padding: 8px 10px;
  color: #ffffff;
  background: rgba(225, 29, 72, 0.88);
  font-size: 13px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-card-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--rose-600);
  font-size: 12px;
}

.card-meta b,
.card-meta em {
  border-radius: 999px;
  padding: 4px 8px;
  background: var(--rose-50);
  font-style: normal;
}

.movie-card strong {
  display: -webkit-box;
  overflow: hidden;
  min-height: 2.8em;
  color: #111827;
  font-size: 16px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-card small,
.card-desc {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
}

.movie-card small {
  -webkit-line-clamp: 1;
}

.card-desc {
  -webkit-line-clamp: 2;
}

.card-tags span {
  color: var(--rose-600);
  background: var(--rose-50);
}

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

.category-card,
.category-overview-card {
  overflow: hidden;
  border: 1px solid var(--rose-100);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(225, 29, 72, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover,
.category-overview-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.category-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.category-card-media {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.category-card-media img {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  object-fit: cover;
}

.category-card strong,
.category-title strong {
  font-size: 20px;
}

.category-card small,
.category-title span {
  color: var(--muted);
}

.category-overview-card {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.category-title {
  display: grid;
  gap: 6px;
}

.category-sample-links {
  display: grid;
  gap: 8px;
}

.category-sample-links a {
  overflow: hidden;
  color: #374151;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-sample-links a:hover {
  color: var(--rose-600);
}

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

.rank-panel,
.info-card,
.content-card,
.filter-panel {
  border: 1px solid var(--rose-100);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.rank-panel {
  position: sticky;
  top: 100px;
  padding: 20px;
}

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

.rank-panel-head h2,
.info-card h2,
.content-card h2 {
  margin: 0;
}

.rank-panel-head a {
  color: var(--rose-600);
  font-weight: 900;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 42px 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  padding: 9px;
  background: rgba(255, 241, 242, 0.58);
  transition: background 0.25s ease, transform 0.25s ease;
}

.rank-item:hover {
  background: var(--rose-100);
  transform: translateX(4px);
}

.rank-num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: var(--rose-600);
  background: #ffffff;
  font-weight: 950;
}

.rank-num.top {
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink-500), var(--rose-600));
}

.rank-cover img {
  width: 54px;
  height: 74px;
  border-radius: 12px;
  object-fit: cover;
}

.rank-info {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.rank-info strong,
.rank-info small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-info small {
  color: var(--muted);
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 24%, rgba(236, 72, 153, 0.46), transparent 30%),
    linear-gradient(135deg, #111827, #831843);
}

.page-hero {
  width: min(1280px, calc(100% - 32px));
  margin: 28px auto 0;
  border-radius: 34px;
  padding: 56px;
}

.compact-hero {
  min-height: 280px;
  display: grid;
  align-items: center;
}

.list-hero,
.ranking-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 26px;
  align-items: center;
}

.spotlight-list,
.top-rank-grid {
  display: grid;
  gap: 12px;
}

.spotlight-card,
.top-rank-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.spotlight-card img,
.top-rank-card img {
  width: 78px;
  height: 108px;
  border-radius: 14px;
  object-fit: cover;
}

.spotlight-card span,
.top-rank-copy {
  display: grid;
  gap: 6px;
}

.spotlight-card small,
.top-rank-copy small {
  color: rgba(255, 255, 255, 0.72);
}

.filter-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
  padding: 20px;
}

.filter-search input {
  width: min(100%, 520px);
}

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

.filter-chip {
  padding: 9px 14px;
  color: var(--rose-600);
  background: var(--rose-50);
}

.filter-chip.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink-500), var(--rose-600));
  box-shadow: 0 10px 20px rgba(225, 29, 72, 0.16);
}

.empty-state {
  display: none;
  border: 1px dashed var(--rose-200);
  border-radius: var(--radius);
  padding: 40px;
  color: var(--muted);
  text-align: center;
  background: #ffffff;
}

.ranking-section {
  padding-top: 40px;
}

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

.detail-hero {
  min-height: 560px;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.64)), var(--detail-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.34;
  filter: blur(3px);
  transform: scale(1.04);
}

.detail-hero-overlay {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 64px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

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

.detail-hero-content {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: center;
  gap: 42px;
  margin-top: 44px;
}

.detail-poster {
  width: 300px;
  aspect-ratio: 2 / 3;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.detail-copy h1 {
  max-width: 820px;
}

.detail-copy p {
  max-width: 860px;
}

.detail-section {
  padding-top: 44px;
}

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

.detail-main {
  display: grid;
  gap: 24px;
}

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

.movie-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050505;
  cursor: pointer;
}

.player-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 10px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.2), rgba(17, 24, 39, 0.72));
  cursor: pointer;
}

.player-start span {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-500), var(--rose-600));
  box-shadow: 0 18px 38px rgba(225, 29, 72, 0.32);
  font-size: 28px;
}

.player-start strong {
  font-size: 18px;
}

.player-shell.playing .player-start {
  opacity: 0;
  pointer-events: none;
}

.player-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: auto minmax(90px, 1fr) auto auto auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
  color: #ffffff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
}

.player-controls button {
  border: 0;
  border-radius: 12px;
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.player-controls input {
  width: 100%;
  accent-color: var(--rose-500);
}

.content-card,
.info-card {
  padding: 24px;
}

.content-card p {
  color: #374151;
  font-size: 16px;
  line-height: 1.9;
}

.detail-aside {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 20px;
}

.info-card dl {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px 16px;
  margin: 20px 0 0;
}

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

.info-card dd {
  margin: 0;
  font-weight: 800;
}

.compact-rank-list .rank-item {
  grid-template-columns: 36px 48px minmax(0, 1fr);
}

.compact-rank-list .rank-cover img {
  width: 48px;
  height: 66px;
}

.site-footer {
  margin-top: 42px;
  color: #ffffff;
  background: linear-gradient(135deg, #111827, #831843);
}

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

.footer-inner p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

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

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

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

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

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

  .split-section,
  .detail-layout,
  .list-hero,
  .ranking-hero {
    grid-template-columns: 1fr;
  }

  .rank-panel,
  .detail-aside {
    position: static;
  }

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

@media (max-width: 760px) {
  .header-inner {
    min-height: 66px;
  }

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

  .hero,
  .hero-track {
    min-height: 740px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 42px 0 84px;
  }

  .hero-poster {
    width: min(68vw, 280px);
    margin: 0 auto;
  }

  .hero-arrow {
    top: auto;
    bottom: 76px;
  }

  .feature-strip,
  .movie-grid,
  .category-grid,
  .category-overview-grid,
  .large-rank-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section,
  .soft-section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

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

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

  .detail-hero-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .player-controls {
    grid-template-columns: auto minmax(80px, 1fr) auto;
  }

  .player-controls [data-player-mute],
  .player-controls [data-player-fullscreen] {
    display: none;
  }
}

@media (max-width: 520px) {
  .movie-grid,
  .feature-strip,
  .category-grid,
  .category-overview-grid,
  .large-rank-list {
    grid-template-columns: 1fr;
  }

  .rank-item {
    grid-template-columns: 36px 48px minmax(0, 1fr);
  }

  .rank-cover img {
    width: 48px;
    height: 66px;
  }

  .mobile-search {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .mobile-search input {
    width: 100%;
  }
}
