:root {
  --pink: #ec4899;
  --purple: #8b5cf6;
  --blue: #3b82f6;
  --cyan: #06b6d4;
  --dark: #111827;
  --muted: #6b7280;
  --line: rgba(148, 163, 184, 0.24);
  --surface: rgba(255, 255, 255, 0.92);
  --shadow: 0 18px 50px rgba(31, 41, 55, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--dark);
  background: linear-gradient(135deg, #fff1f7 0%, #f5f3ff 46%, #eff6ff 100%);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 12% 8%, rgba(236, 72, 153, 0.18), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(59, 130, 246, 0.16), transparent 32%),
    radial-gradient(circle at 50% 100%, rgba(139, 92, 246, 0.16), transparent 30%);
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

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

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

.brand-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple), var(--blue));
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(139, 92, 246, 0.28);
}

.brand-text {
  font-size: 24px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #db2777, #7c3aed, #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link {
  position: relative;
  color: #374151;
  font-weight: 700;
  transition: color 0.2s ease;
}

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

.nav-link:hover,
.nav-link.active {
  color: #db2777;
}

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

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #111827;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  padding: 0 16px 16px;
}

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

.mobile-link {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-weight: 700;
}

.mobile-link.active {
  color: #db2777;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  min-height: 620px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

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

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.96) 0%, rgba(88, 28, 135, 0.72) 48%, rgba(17, 24, 39, 0.6) 100%),
    var(--hero-image) center / cover no-repeat;
  transform: scale(1.04);
}

.hero-slide::after,
.page-hero::after,
.category-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.34) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.34) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: center;
  padding: 78px 0;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  color: #be185d;
  background: #fce7f3;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-copy h1 {
  margin: 22px 0 16px;
  max-width: 760px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.hero-summary {
  max-width: 760px;
  margin: 0 0 16px;
  font-size: clamp(18px, 2.2vw, 24px);
  opacity: 0.94;
}

.hero-tags {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.78);
}

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

.hero-button,
.primary-link,
.outline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple), var(--blue));
  border-radius: 999px;
  border: 0;
  box-shadow: 0 14px 32px rgba(139, 92, 246, 0.24);
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-button:hover,
.primary-link:hover,
.outline-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(139, 92, 246, 0.34);
}

.hero-button.secondary,
.outline-link {
  color: #7c3aed;
  background: rgba(255, 255, 255, 0.94);
}

.hero-button.full {
  width: 100%;
}

.hero-poster {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 34px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  transform: rotate(2deg);
}

.hero-poster img {
  width: 100%;
  height: 470px;
  object-fit: cover;
}

.hero-poster span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px 16px;
  color: #111827;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  font-weight: 900;
  text-align: center;
  backdrop-filter: blur(12px);
}

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

.hero-controls > button,
.hero-dot {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
}

.hero-dot.active {
  background: #fff;
}

.section-panel {
  padding: 72px 0;
}

.soft-panel {
  background: rgba(255, 255, 255, 0.45);
}

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

.inline-heading {
  display: block;
}

.section-heading h2,
.ranking-mini h2,
.table-card h2,
.content-card h2,
.sidebar-card h2 {
  margin: 12px 0 8px;
  color: #111827;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.section-heading p,
.ranking-mini p,
.table-card p {
  margin: 0;
  color: var(--muted);
}

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

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

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

.movie-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(31, 41, 55, 0.16);
}

.poster-link {
  display: block;
}

.poster-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f3f4f6;
}

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

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

.poster-type,
.rank-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  color: #fff;
  background: rgba(17, 24, 39, 0.72);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.rank-badge {
  left: auto;
  right: 14px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

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

.movie-card h2 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 950;
}

.movie-card h2 a:hover,
.rank-info h2 a:hover,
.breadcrumb a:hover,
.info-list a:hover {
  color: #db2777;
}

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

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.movie-meta span {
  padding: 4px 8px;
  color: #4b5563;
  background: #f3f4f6;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 28px;
}

.tag-row span,
.quick-chips a {
  padding: 5px 9px;
  color: #be185d;
  background: #fce7f3;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

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

.primary-link {
  min-height: 36px;
  padding: 8px 14px;
  font-size: 14px;
}

.score {
  color: #d97706;
  font-weight: 950;
}

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

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

.movie-card.compact .movie-desc {
  min-height: 44px;
  font-size: 14px;
}

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

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

.category-card {
  position: relative;
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 24px;
  color: #fff;
  background: var(--category-gradient);
  border-radius: 26px;
  box-shadow: 0 22px 50px rgba(79, 70, 229, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 30px 70px rgba(79, 70, 229, 0.26);
}

.category-glow {
  position: absolute;
  top: -42px;
  right: -42px;
  width: 140px;
  height: 140px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

.category-card strong {
  position: relative;
  z-index: 1;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 950;
}

.category-card small {
  position: relative;
  z-index: 1;
  display: block;
  margin: 12px 0;
  opacity: 0.9;
}

.category-card em {
  position: relative;
  z-index: 1;
  width: fit-content;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-style: normal;
  font-weight: 900;
}

.two-column-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}

.ranking-mini,
.table-card,
.content-card,
.sidebar-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.ranking-mini {
  position: sticky;
  top: 96px;
}

.ranking-mini-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.ranking-mini-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: #f9fafb;
  border-radius: 16px;
}

.ranking-mini-item span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  border-radius: 999px;
  font-weight: 950;
}

.ranking-mini-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-mini-item em {
  color: #6b7280;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.page-hero,
.category-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0;
  color: #fff;
  background: linear-gradient(135deg, #ec4899, #8b5cf6, #3b82f6);
}

.category-hero {
  background: var(--category-gradient);
}

.page-hero .container,
.category-hero .container,
.detail-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero .section-kicker,
.category-hero .section-kicker {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.page-hero h1,
.category-hero h1,
.detail-hero h1 {
  margin: 14px 0 10px;
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.page-hero p,
.category-hero p,
.detail-hero p {
  max-width: 820px;
  margin: 0;
  font-size: 19px;
  opacity: 0.92;
}

.category-hero strong {
  display: inline-flex;
  margin-top: 20px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 16px;
  opacity: 0.9;
  font-weight: 800;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 24px;
  box-shadow: 0 14px 38px rgba(31, 41, 55, 0.08);
}

.search-box {
  display: grid;
  gap: 6px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 900;
}

.search-box input {
  width: 100%;
  padding: 14px 16px;
  color: #111827;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box input:focus {
  border-color: #c084fc;
  box-shadow: 0 0 0 4px rgba(192, 132, 252, 0.18);
}

.sort-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sort-button {
  padding: 10px 13px;
  color: #4b5563;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  font-weight: 900;
}

.sort-button.active,
.sort-button:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
}

.result-count {
  color: #6b7280;
  font-weight: 900;
  white-space: nowrap;
}

.quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.empty-state {
  margin: 30px 0 0;
  padding: 30px;
  color: #6b7280;
  background: #fff;
  border-radius: 22px;
  text-align: center;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid #eef2f7;
  text-align: left;
}

th {
  color: #6b7280;
  font-size: 13px;
  text-transform: uppercase;
}

td a {
  color: #7c3aed;
  font-weight: 900;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 54px 120px minmax(0, 1fr) 128px;
  gap: 18px;
  align-items: center;
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(31, 41, 55, 0.08);
}

.rank-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  border-radius: 999px;
  font-weight: 950;
}

.rank-poster {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f3f4f6;
  border-radius: 18px;
}

.rank-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-info h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 950;
}

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

.rank-score {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.rank-score strong {
  color: #d97706;
  font-size: 20px;
}

.rank-score span {
  color: #6b7280;
  font-size: 13px;
  font-weight: 800;
}

.detail-hero {
  padding: 76px 0 92px;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(88, 28, 135, 0.78)),
    var(--hero-image) center / cover no-repeat;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.breadcrumb strong {
  color: #fff;
}

.detail-section {
  margin-top: -54px;
  padding-top: 0;
}

.detail-grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}

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

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  background: #000;
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.hls-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.player-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  color: #fff;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.18), rgba(17, 24, 39, 0.78));
  border: 0;
  font-size: 20px;
  font-weight: 950;
}

.player-start span {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  padding-left: 4px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple), var(--blue));
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(139, 92, 246, 0.42);
}

.player-shell.playing .player-start {
  display: none;
}

.player-note {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 12px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(17, 24, 39, 0.72);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.player-shell.playing .player-note {
  display: none;
}

.content-card p {
  margin: 0 0 14px;
  color: #374151;
  font-size: 17px;
}

.content-card p:last-child {
  margin-bottom: 0;
}

.detail-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 20px;
}

.poster-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 18px;
  border-radius: 20px;
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

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

.info-list dt {
  color: #6b7280;
  font-weight: 900;
}

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

.detail-tags {
  margin-top: 18px;
}

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

.site-footer {
  padding: 52px 0;
  color: #d1d5db;
  background: #111827;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
}

.footer-brand {
  margin-bottom: 10px;
  color: #fff;
  font-size: 26px;
  font-weight: 950;
}

.site-footer p {
  max-width: 520px;
  margin: 0;
  color: #9ca3af;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 18px;
}

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

.footer-links a {
  color: #d1d5db;
}

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

@media (max-width: 1080px) {
  .movie-grid,
  .featured-grid,
  .compact-grid,
  .category-grid,
  .large-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-poster,
  .detail-sidebar,
  .ranking-mini {
    position: static;
  }

  .hero-poster {
    max-width: 420px;
    min-height: 380px;
  }

  .hero-poster img {
    height: 380px;
  }
}

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

  .menu-button {
    display: block;
  }

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

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

  .hero-content {
    gap: 30px;
    padding: 46px 0 96px;
  }

  .hero-poster {
    width: 100%;
    transform: none;
  }

  .section-heading,
  .filter-bar,
  .rank-row {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

  .movie-grid,
  .featured-grid,
  .compact-grid,
  .category-grid,
  .large-category-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .rank-row {
    justify-items: start;
  }

  .rank-score {
    justify-items: start;
  }

  .rank-poster {
    width: 100%;
  }

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

  .page-hero,
  .category-hero,
  .detail-hero {
    padding: 56px 0;
  }
}
