:root {
  --pink: #ec4899;
  --pink-dark: #be185d;
  --purple: #8b5cf6;
  --blue: #3b82f6;
  --cyan: #06b6d4;
  --yellow: #fde047;
  --text: #1f2937;
  --muted: #6b7280;
  --light: #fdf2f8;
  --soft: #faf5ff;
  --line: #f3d7e8;
  --shadow: 0 18px 45px rgba(190, 24, 93, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fff7fb 0%, #ffffff 32%, #f8fafc 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

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

.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--pink-dark);
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--purple), var(--blue));
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.35);
}

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

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #374151;
  font-weight: 650;
}

.desktop-nav a,
.nav-dropdown button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.nav-dropdown button:hover {
  color: var(--pink);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: -16px;
  width: 210px;
  padding: 10px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
}

.nav-dropdown-panel a:hover {
  background: linear-gradient(90deg, #fdf2f8, #faf5ff);
}

.header-search {
  position: relative;
  width: min(280px, 26vw);
}

.header-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 2px solid #fbcfe8;
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

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

.header-search input:focus,
.mobile-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: #f472b6;
  box-shadow: 0 0 0 4px rgba(244, 114, 182, 0.15);
}

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

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: var(--pink-dark);
  background: #fdf2f8;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  padding: 0 16px 18px;
  border-top: 1px solid #fce7f3;
}

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

.mobile-search {
  display: flex;
  gap: 8px;
  margin: 14px auto;
  width: min(680px, 100%);
}

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

.mobile-search button {
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  padding: 0 18px;
}

.mobile-panel nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(680px, 100%);
  margin: 0 auto;
}

.mobile-panel nav a {
  padding: 10px 12px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #fce7f3;
}

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

.hero-track {
  position: relative;
  min-height: 690px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.1);
}

.hero-dim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 28%, rgba(236, 72, 153, 0.5), transparent 26%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.93) 0%, rgba(88, 28, 135, 0.78) 44%, rgba(30, 64, 175, 0.44) 100%),
    linear-gradient(0deg, rgba(17, 24, 39, 0.8), rgba(17, 24, 39, 0.15));
}

.hero-content {
  position: relative;
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: 44px;
  padding-top: 46px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.detail-hero .eyebrow {
  color: #fde68a;
}

.hero-copy h1,
.hero-copy h2 {
  max-width: 760px;
  margin: 16px 0 18px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 680px;
  margin: 0;
  color: #fce7f3;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

.hero-copy p strong {
  color: #ffffff;
}

.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 13px;
  font-weight: 650;
  backdrop-filter: blur(12px);
}

.tag-row span {
  color: var(--pink-dark);
  background: #fdf2f8;
}

.tag-row.wide span {
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
}

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

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

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

.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px);
}

.ghost-btn {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.ghost-btn.light {
  color: var(--pink-dark);
  background: #fff1f8;
  border-color: #fbcfe8;
}

.primary-btn.small {
  min-height: 42px;
  padding: 0 18px;
}

.hero-side-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.hero-side-card img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.hero-side-card span {
  color: #fde68a;
  font-size: 13px;
  font-weight: 800;
}

.hero-side-card strong {
  display: block;
  margin: 8px 0;
  font-size: 28px;
}

.hero-side-card p {
  color: #fce7f3;
  line-height: 1.7;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 116px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
}

.hero-controls > button,
.hero-controls [data-hero-dot] {
  border: 0;
  cursor: pointer;
}

.hero-controls > button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 28px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-controls div {
  display: flex;
  gap: 8px;
}

.hero-controls [data-hero-dot] {
  width: 34px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.hero-controls [data-hero-dot].is-active {
  background: #ffffff;
}

.hero-mini-row {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  transform: translateX(-50%);
}

.hero-mini {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 74px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(15px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-mini:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.22);
}

.hero-mini img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
}

.hero-mini span {
  color: #ffffff;
  font-weight: 750;
  font-size: 14px;
  line-height: 1.35;
}

.section-block {
  padding: 58px 0;
}

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

.section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.04em;
}

.section-heading a {
  color: var(--pink-dark);
  font-weight: 800;
}

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

.category-tile,
.category-overview-card {
  display: block;
  padding: 22px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #fce7f3;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover,
.category-overview-card:hover,
.movie-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(190, 24, 93, 0.18);
}

.category-tile span,
.category-overview-card h2 {
  display: block;
  font-size: 20px;
  font-weight: 850;
  color: var(--pink-dark);
}

.category-tile p,
.category-overview-card p {
  color: var(--muted);
  line-height: 1.7;
}

.category-tile div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  color: #7c3aed;
  font-size: 14px;
  font-weight: 700;
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(31, 41, 55, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-card.is-hidden {
  display: none;
}

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #fdf2f8, #eff6ff);
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 36%, rgba(17, 24, 39, 0.68) 100%);
}

.play-pill,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-weight: 850;
}

.play-pill {
  right: 12px;
  bottom: 12px;
  padding: 7px 12px;
  color: #ffffff;
  background: rgba(236, 72, 153, 0.88);
}

.rank-badge {
  left: 12px;
  top: 12px;
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  color: #7c2d12;
  background: #fde68a;
}

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

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

.movie-title:hover {
  color: var(--pink-dark);
}

.movie-desc {
  display: -webkit-box;
  min-height: 48px;
  margin: 10px 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #6d28d9;
  font-size: 13px;
  font-weight: 750;
}

.movie-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: #c084fc;
}

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

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 180px;
  gap: 14px;
  margin-bottom: 26px;
  padding: 18px;
  border: 1px solid #fce7f3;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.filter-panel label {
  display: block;
  margin-bottom: 8px;
  color: var(--pink-dark);
  font-size: 13px;
  font-weight: 850;
}

.filter-panel input,
.filter-panel select {
  height: 44px;
  padding: 0 16px;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 84% 30%, rgba(255, 255, 255, 0.2), transparent 24%),
    linear-gradient(135deg, #db2777 0%, #7c3aed 55%, #2563eb 100%);
}

.page-hero.soft {
  color: var(--text);
  background:
    radial-gradient(circle at 82% 10%, #dbeafe, transparent 28%),
    linear-gradient(135deg, #fdf2f8 0%, #ffffff 54%, #eff6ff 100%);
}

.page-hero.soft .eyebrow {
  color: var(--pink);
}

.page-hero h1,
.detail-info h1 {
  max-width: 850px;
  margin: 10px 0 14px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 780px;
  color: inherit;
  font-size: 18px;
  line-height: 1.8;
  opacity: 0.9;
}

.two-column-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 40px;
  align-items: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

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

.hero-link-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-link-cloud a {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

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

.category-preview-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.category-preview-row a {
  overflow: hidden;
  border-radius: 16px;
  background: #fdf2f8;
}

.category-preview-row img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.category-preview-row span {
  display: block;
  padding: 8px;
  color: var(--pink-dark);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail-hero {
  padding: 72px 0;
}

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

.detail-cover {
  display: block;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 34px 90px rgba(17, 24, 39, 0.34);
}

.detail-cover img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail-one-line {
  max-width: 780px;
  color: #fce7f3;
  font-size: 20px;
  line-height: 1.8;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

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

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

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.28), rgba(17, 24, 39, 0.82));
  cursor: pointer;
}

.player-overlay.is-hidden {
  display: none;
}

.player-button {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  color: var(--pink);
  font-size: 34px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.player-overlay strong {
  display: block;
  max-width: min(720px, 80%);
  text-align: center;
  font-size: 24px;
}

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

.detail-content article,
.detail-content aside {
  padding: 28px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid #fce7f3;
  box-shadow: var(--shadow);
}

.detail-content h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

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

.detail-review {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #fce7f3;
}

.info-list {
  margin: 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #fce7f3;
}

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

.info-list dd {
  margin: 0;
  color: #111827;
}

.info-list a {
  color: var(--pink-dark);
  font-weight: 800;
}

.site-footer {
  margin-top: 36px;
  padding: 54px 0 22px;
  color: #ffffff;
  background: linear-gradient(135deg, #be185d, #7c3aed, #2563eb);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-brand {
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: #ffffff;
}

.site-footer p {
  color: #fce7f3;
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

.site-footer a:not(.footer-brand) {
  display: block;
  margin: 9px 0;
  color: #fce7f3;
}

.site-footer a:hover {
  color: #fde68a;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: #fce7f3;
  text-align: center;
}

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

  .mobile-toggle {
    display: inline-grid;
    place-items: center;
  }

  .hero-content,
  .detail-layout,
  .detail-content,
  .two-column-hero {
    grid-template-columns: 1fr;
  }

  .hero-side-card {
    max-width: 620px;
  }

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

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

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

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

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

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

  .hero-content {
    min-height: 620px;
    padding-top: 30px;
  }

  .hero-side-card {
    grid-template-columns: 110px minmax(0, 1fr);
    border-radius: 22px;
  }

  .hero-side-card strong {
    font-size: 20px;
  }

  .hero-side-card p {
    display: none;
  }

  .hero-controls {
    bottom: 168px;
  }

  .hero-mini-row {
    bottom: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .detail-layout {
    gap: 24px;
  }

  .detail-cover {
    max-width: 260px;
  }

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

  .player-button {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }

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

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

@media (max-width: 480px) {
  .category-grid,
  .movie-grid,
  .featured-grid,
  .related-grid,
  .rank-list,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

  .movie-poster {
    aspect-ratio: 16 / 9;
  }

  .hero-copy h1,
  .hero-copy h2,
  .page-hero h1,
  .detail-info h1 {
    font-size: 34px;
  }
}
