* {
  box-sizing: border-box;
}

:root {
  --bg: #fff7fb;
  --paper: rgba(255, 255, 255, 0.88);
  --paper-solid: #ffffff;
  --text: #222033;
  --muted: #6f6b7d;
  --line: rgba(231, 191, 218, 0.62);
  --pink: #ec4899;
  --pink-dark: #db2777;
  --purple: #8b5cf6;
  --blue: #38bdf8;
  --soft-pink: #fce7f3;
  --soft-purple: #ede9fe;
  --shadow: 0 24px 70px rgba(126, 34, 206, 0.14);
  --shadow-soft: 0 18px 45px rgba(236, 72, 153, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% -8%, rgba(244, 114, 182, 0.32), transparent 32rem),
    radial-gradient(circle at 85% 0%, rgba(96, 165, 250, 0.25), transparent 32rem),
    linear-gradient(180deg, #fff8fd 0%, #f9f5ff 52%, #f0fbff 100%);
}

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.82);
  border-bottom: 1px solid rgba(244, 194, 222, 0.64);
  backdrop-filter: blur(22px);
  box-shadow: 0 12px 32px rgba(190, 24, 93, 0.08);
}

.header-inner {
  width: min(1240px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

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

.brand-mark svg,
.header-search svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.nav-link,
.mobile-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: #5f5870;
  font-weight: 700;
  transition: 0.25s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--pink-dark);
  background: rgba(252, 231, 243, 0.95);
}

.header-search {
  width: 250px;
  position: relative;
  flex: 0 0 auto;
}

.header-search input,
.mobile-search input,
.spotlight-search input,
.big-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  transition: 0.25s ease;
}

.header-search input {
  height: 42px;
  padding: 0 48px 0 18px;
}

.header-search input:focus,
.mobile-search input:focus,
.spotlight-search input:focus,
.big-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: rgba(236, 72, 153, 0.72);
  box-shadow: 0 0 0 4px rgba(244, 114, 182, 0.16);
}

.header-search button {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  border-radius: 14px;
  background: var(--soft-pink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 4px;
  background: var(--pink-dark);
}

.mobile-nav {
  display: none;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
}

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

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

.mobile-search input {
  height: 42px;
  padding: 0 14px;
}

.mobile-search button,
.spotlight-search button,
.big-search button {
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(236, 72, 153, 0.24);
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  width: min(1240px, calc(100% - 32px));
  min-height: 620px;
  margin: 34px auto 20px;
  border-radius: 42px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(253, 242, 248, 0.95), rgba(237, 233, 254, 0.9) 45%, rgba(224, 242, 254, 0.92));
  box-shadow: var(--shadow);
}

.hero-aura {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 15% 30%, rgba(236, 72, 153, 0.28), transparent 24rem),
    radial-gradient(circle at 72% 18%, rgba(139, 92, 246, 0.22), transparent 25rem),
    radial-gradient(circle at 86% 80%, rgba(56, 189, 248, 0.23), transparent 22rem);
  animation: floatAura 15s ease-in-out infinite alternate;
}

.hero-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 620px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: 42px;
  padding: 64px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(28px) scale(0.98);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 13px;
  border: 1px solid rgba(236, 72, 153, 0.18);
  border-radius: 999px;
  color: var(--pink-dark);
  background: rgba(252, 231, 243, 0.84);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -0.07em;
  color: #191827;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 7vw, 88px);
}

.hero p,
.page-hero p,
.detail-copy p,
.spotlight-card p {
  color: var(--muted);
  line-height: 1.9;
}

.hero p {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: 18px;
}

.hero-tags,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-tags {
  margin: 22px 0 0;
}

.hero-tags span,
.pill-row span {
  padding: 7px 11px;
  border-radius: 999px;
  color: #6d28d9;
  background: rgba(237, 233, 254, 0.92);
  font-size: 13px;
  font-weight: 800;
}

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

.primary-btn,
.ghost-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: 0.25s ease;
}

.primary-btn {
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 18px 38px rgba(236, 72, 153, 0.28);
}

.ghost-btn {
  color: var(--pink-dark);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(236, 72, 153, 0.18);
}

.primary-btn:hover,
.ghost-btn:hover,
.category-tile:hover,
.movie-card:hover {
  transform: translateY(-4px);
}

.hero-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  border-radius: 34px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 38px 80px rgba(76, 29, 149, 0.25);
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: 16px -12px -16px 26px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.36), rgba(56, 189, 248, 0.32));
  filter: blur(24px);
}

.hero-poster img,
.poster-link img,
.detail-poster img,
.player-cover img,
.ranking-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-controls {
  position: absolute;
  left: 64px;
  right: 64px;
  bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

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

.hero-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--pink-dark);
  background: rgba(255, 255, 255, 0.84);
  font-size: 34px;
  line-height: 1;
  box-shadow: 0 12px 30px rgba(126, 34, 206, 0.12);
}

.hero-dots {
  display: flex;
  gap: 8px;
  padding: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(219, 39, 119, 0.24);
}

.hero-dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
}

.section-block {
  width: min(1240px, calc(100% - 32px));
  margin: 54px auto;
}

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

.section-head.align-left {
  align-items: start;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.section-head a,
.page-neighbor a,
.page-neighbor span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--pink-dark);
  background: rgba(252, 231, 243, 0.86);
  font-weight: 800;
}

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

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

.category-tile {
  display: block;
  min-height: 155px;
  padding: 24px;
  border: 1px solid rgba(236, 72, 153, 0.16);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(253, 242, 248, 0.88)),
    radial-gradient(circle at 100% 0%, rgba(139, 92, 246, 0.18), transparent 12rem);
  box-shadow: var(--shadow-soft);
  transition: 0.25s ease;
}

.category-tile span {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: #241a34;
}

.category-tile p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(236, 72, 153, 0.13);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 45px rgba(126, 34, 206, 0.09);
  transition: 0.25s ease;
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: rgba(237, 233, 254, 0.65);
}

.poster-link img {
  transition: 0.4s ease;
}

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

.poster-shade {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(0deg, rgba(24, 24, 39, 0.68), transparent);
}

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

.movie-meta-line {
  margin-bottom: 9px;
  color: var(--pink-dark);
  font-size: 13px;
  font-weight: 800;
}

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

.movie-card h2 a:hover {
  color: var(--pink-dark);
}

.movie-card p {
  min-height: 54px;
  margin: 10px 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

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

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

.split-block {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.66fr);
  gap: 26px;
  align-items: start;
}

.ranking-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ranking-list.tall {
  gap: 14px;
}

.ranking-item {
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(236, 72, 153, 0.12);
  box-shadow: 0 12px 32px rgba(126, 34, 206, 0.08);
}

.ranking-link {
  display: grid;
  grid-template-columns: 56px 62px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 10px 16px 10px 10px;
}

.rank-num {
  color: var(--pink-dark);
  font-size: 22px;
  font-weight: 950;
  text-align: center;
}

.ranking-item img {
  width: 62px;
  height: 84px;
  border-radius: 15px;
  background: var(--soft-purple);
}

.rank-info strong,
.rank-info em {
  display: block;
}

.rank-info strong {
  font-size: 17px;
  line-height: 1.4;
}

.rank-info em {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.5;
}

.spotlight-card,
.page-hero,
.detail-hero,
.content-card,
.info-card {
  border: 1px solid rgba(236, 72, 153, 0.14);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.spotlight-card {
  position: sticky;
  top: 100px;
  padding: 34px;
  background:
    radial-gradient(circle at 90% 0%, rgba(56, 189, 248, 0.18), transparent 14rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(253, 242, 248, 0.92));
}

.spotlight-card h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.06em;
}

.spotlight-search,
.big-search {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.spotlight-search input,
.big-search input {
  min-height: 52px;
  padding: 0 18px;
}

.spotlight-search button,
.big-search button {
  min-width: 96px;
  min-height: 52px;
  padding: 0 18px;
}

.page-hero,
.detail-hero {
  width: min(1240px, calc(100% - 32px));
  margin: 34px auto 0;
  padding: clamp(34px, 5vw, 62px);
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(42px, 6vw, 76px);
}

.page-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 18px;
}

.soft-hero {
  background:
    radial-gradient(circle at 100% 0%, rgba(96, 165, 250, 0.18), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(252, 231, 243, 0.76));
}

.hot-hero {
  background:
    radial-gradient(circle at 12% 10%, rgba(236, 72, 153, 0.18), transparent 17rem),
    linear-gradient(135deg, rgba(253, 242, 248, 0.92), rgba(237, 233, 254, 0.86));
}

.search-hero {
  background:
    radial-gradient(circle at 82% 5%, rgba(56, 189, 248, 0.19), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 233, 254, 0.8));
}

.filter-panel {
  display: grid;
  grid-template-columns: 1fr 210px 210px;
  gap: 14px;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid rgba(236, 72, 153, 0.13);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  min-height: 46px;
  padding: 0 14px;
  border-radius: 15px;
}

.detail-hero {
  background:
    radial-gradient(circle at 88% 8%, rgba(139, 92, 246, 0.19), transparent 22rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(252, 231, 243, 0.74));
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

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

.detail-poster {
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: 30px;
  background: var(--soft-purple);
  box-shadow: 0 26px 60px rgba(126, 34, 206, 0.18);
}

.detail-copy h1 {
  font-size: clamp(38px, 6vw, 76px);
}

.detail-copy p {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: 18px;
}

.player-section {
  scroll-margin-top: 100px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: #090914;
  box-shadow: 0 30px 78px rgba(24, 24, 39, 0.25);
  aspect-ratio: 16 / 9;
}

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

.player-shell video {
  z-index: 1;
  background: #000000;
}

.player-cover {
  z-index: 2;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #000000;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 9, 20, 0.18), rgba(9, 9, 20, 0.72));
}

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

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 92px;
  height: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  font-size: 38px;
  line-height: 1;
  box-shadow: 0 20px 45px rgba(236, 72, 153, 0.34);
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 310px;
  gap: 22px;
}

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

.content-card h2,
.info-card h2 {
  margin: 0 0 14px;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.content-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.95;
}

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

.info-card dt {
  color: var(--pink-dark);
  font-weight: 900;
}

.info-card dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.page-neighbor {
  display: flex;
  gap: 10px;
}

.page-neighbor span {
  color: rgba(111, 107, 125, 0.65);
  background: rgba(229, 231, 235, 0.72);
}

.site-footer {
  margin-top: 70px;
  background: linear-gradient(135deg, rgba(252, 231, 243, 0.9), rgba(237, 233, 254, 0.86), rgba(224, 242, 254, 0.86));
  border-top: 1px solid rgba(236, 72, 153, 0.12);
}

.footer-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0;
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  gap: 34px;
}

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

.footer-inner h2 {
  margin: 0 0 16px;
  font-size: 18px;
}

.footer-inner a:not(.footer-brand) {
  display: block;
  width: fit-content;
  margin: 8px 0;
  color: #5f5870;
  font-weight: 700;
}

.footer-inner a:not(.footer-brand):hover {
  color: var(--pink-dark);
}

.footer-bottom {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  color: var(--muted);
  font-size: 14px;
}

.empty-result {
  grid-column: 1 / -1;
  padding: 30px;
  border: 1px solid rgba(236, 72, 153, 0.13);
  border-radius: 24px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.82);
  text-align: center;
}

@keyframes floatAura {
  from { transform: translate3d(-1%, -1%, 0) scale(1); }
  to { transform: translate3d(2%, 2%, 0) scale(1.05); }
}

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

  .menu-toggle {
    display: block;
  }

  .hero-slide {
    grid-template-columns: minmax(0, 1fr) 260px;
    padding: 48px;
  }

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

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

  .spotlight-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .header-inner {
    width: min(100% - 22px, 1240px);
    height: 64px;
  }

  .brand {
    font-size: 21px;
  }

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

  .hero {
    width: min(100% - 22px, 1240px);
    min-height: 760px;
    border-radius: 30px;
  }

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

  .hero-slide {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 26px;
    padding: 32px 22px 96px;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .hero p {
    font-size: 16px;
  }

  .hero-poster {
    width: min(240px, 70vw);
    justify-self: center;
  }

  .hero-controls {
    left: 20px;
    right: 20px;
    bottom: 26px;
  }

  .section-block,
  .page-hero,
  .detail-hero {
    width: min(100% - 22px, 1240px);
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

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

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

  .movie-card h2 {
    font-size: 16px;
  }

  .movie-card p {
    font-size: 13px;
  }

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

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

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

  .player-shell {
    border-radius: 22px;
  }

  .play-button {
    width: 72px;
    height: 72px;
    font-size: 30px;
  }

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

@media (max-width: 460px) {
  .category-grid,
  .category-grid.large,
  .movie-grid,
  .compact-grid,
  .side-grid {
    grid-template-columns: 1fr;
  }

  .spotlight-search,
  .big-search,
  .mobile-search {
    flex-direction: column;
  }

  .ranking-link {
    grid-template-columns: 46px 54px minmax(0, 1fr);
  }

  .ranking-item img {
    width: 54px;
    height: 74px;
  }
}
