:root {
  --deep-950: #00080d;
  --deep-925: #001018;
  --deep-900: #00141a;
  --deep-850: #001f2e;
  --deep-800: #002840;
  --deep-700: #003b5c;
  --ocean-100: #b3e5ff;
  --ocean-200: #80d4ff;
  --ocean-300: #4dc2ff;
  --ocean-400: #1ab1ff;
  --ocean-500: #0099e6;
  --ocean-600: #007fbd;
  --ocean-700: #005580;
  --teal-400: #14d7b4;
  --teal-500: #00b394;
  --white: #ffffff;
  --muted: #8eb6c9;
  --panel: rgba(0, 40, 64, 0.72);
  --panel-strong: rgba(0, 30, 48, 0.92);
  --shadow-ocean: 0 18px 50px rgba(0, 153, 230, 0.18);
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(0, 153, 230, 0.22), transparent 32rem),
    linear-gradient(180deg, var(--deep-950), var(--deep-900) 42%, var(--deep-950));
  color: var(--ocean-100);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  padding-top: 80px;
}

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(0, 20, 26, 0.96), rgba(0, 40, 64, 0.94), rgba(0, 85, 128, 0.9));
  border-bottom: 1px solid rgba(77, 194, 255, 0.16);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
}

.site-nav {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--ocean-400), var(--teal-500));
  box-shadow: var(--shadow-ocean);
  transition: transform 0.3s ease;
}

.site-brand:hover .brand-mark {
  transform: scale(1.08) rotate(-3deg);
}

.brand-mark svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: white;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-text {
  display: grid;
  line-height: 1.2;
}

.brand-text strong {
  color: white;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.brand-text small {
  color: var(--ocean-200);
  font-size: 0.78rem;
}

.desktop-links {
  display: flex;
  align-items: center;
  gap: 1.65rem;
}

.desktop-links a,
.icon-button {
  color: var(--ocean-100);
  border: 0;
  background: transparent;
  transition: color 0.2s ease, background 0.2s ease;
}

.desktop-links a:hover,
.desktop-links a.is-active {
  color: white;
}

.icon-button {
  width: 38px;
  height: 38px;
  border-radius: 0.75rem;
  background: rgba(0, 85, 128, 0.36);
  color: var(--ocean-100);
}

.icon-button:hover {
  background: rgba(0, 153, 230, 0.28);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 0.75rem;
  color: white;
  background: rgba(0, 85, 128, 0.42);
}

.header-search {
  display: none;
  padding-bottom: 1rem;
}

.header-search.is-open {
  display: block;
}

.header-search form,
.mobile-menu form,
.search-form,
.filter-bar {
  display: flex;
  gap: 0.75rem;
}

.header-search input,
.mobile-menu input,
.search-form input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(77, 194, 255, 0.34);
  border-radius: 0.9rem;
  background: rgba(0, 20, 26, 0.9);
  color: white;
  outline: none;
  padding: 0.85rem 1rem;
}

.header-search input:focus,
.mobile-menu input:focus,
.search-form input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--ocean-400);
}

.header-search button,
.search-form button,
.filter-bar button {
  border: 0;
  border-radius: 0.9rem;
  background: linear-gradient(90deg, var(--ocean-500), var(--teal-500));
  color: white;
  font-weight: 700;
  padding: 0 1.5rem;
}

.mobile-menu {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(0, 40, 64, 0.96);
}

.mobile-menu.is-open {
  display: grid;
  gap: 0.65rem;
}

.mobile-menu a {
  padding: 0.7rem 0.9rem;
  border-radius: 0.7rem;
  color: var(--ocean-100);
}

.mobile-menu a:hover {
  background: rgba(0, 153, 230, 0.18);
  color: white;
}

.hero-carousel {
  position: relative;
  min-height: clamp(520px, 74vh, 760px);
  overflow: hidden;
  background: var(--deep-950);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 8, 13, 0.96), rgba(0, 20, 26, 0.82) 43%, rgba(0, 20, 26, 0.18)),
    linear-gradient(0deg, var(--deep-950), transparent 45%);
}

.hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 1180px;
  padding-top: 2rem;
}

.hero-kicker,
.list-hero > span,
.section-heading span,
.ranking-copy > span,
.search-hero > span,
.ranking-panel-head span {
  display: inline-flex;
  align-items: center;
  color: var(--ocean-300);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 1rem 0;
  color: white;
  font-size: clamp(2.5rem, 6vw, 5.7rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-copy p {
  max-width: 680px;
  margin: 0 0 1.45rem;
  color: var(--ocean-100);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.8;
}

.hero-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-meta span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 153, 230, 0.18);
  color: var(--ocean-200);
  border: 1px solid rgba(77, 194, 255, 0.18);
}

.hero-tags,
.detail-tags,
.movie-tags,
.hot-keywords,
.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-tags span,
.detail-tags span,
.movie-tags span,
.hot-keywords button,
.category-samples span {
  border: 1px solid rgba(77, 194, 255, 0.18);
  background: rgba(0, 26, 38, 0.58);
  color: var(--ocean-300);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.82rem;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.4rem;
  border-radius: 0.95rem;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.primary-button {
  background: linear-gradient(90deg, var(--ocean-500), var(--teal-500));
  color: white;
  box-shadow: var(--shadow-ocean);
}

.secondary-button {
  border: 1px solid rgba(128, 212, 255, 0.36);
  color: var(--ocean-100);
  background: rgba(0, 40, 64, 0.35);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(0, 153, 230, 0.26);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

.hero-dots button {
  width: 18px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(128, 212, 255, 0.38);
  transition: width 0.3s ease, background 0.3s ease;
}

.hero-dots button.is-active {
  width: 44px;
  background: var(--ocean-400);
}

.section-block {
  padding-block: clamp(2.75rem, 7vw, 5.5rem);
}

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

.section-heading h2,
.ranking-panel-head h2,
.list-hero h1,
.search-hero h1,
.ranking-copy h1 {
  margin: 0.3rem 0 0;
  color: white;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
}

.section-heading a {
  color: var(--ocean-200);
  font-weight: 700;
}

.hot-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 285px);
  gap: 1rem;
  overflow-x: auto;
  padding: 0.4rem 0 1rem;
  scrollbar-color: var(--ocean-700) transparent;
}

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

.movie-card {
  min-width: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid rgba(77, 194, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(77, 194, 255, 0.36);
  box-shadow: var(--shadow-ocean);
}

.movie-poster {
  position: relative;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, var(--deep-900), var(--deep-800));
  overflow: hidden;
}

.movie-card-compact .movie-poster {
  aspect-ratio: 16 / 10;
}

.movie-poster img,
.detail-poster img,
.category-tile img,
.category-overview-card img,
.ranking-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.movie-poster img {
  transition: transform 0.5s ease, filter 0.5s ease;
}

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

.movie-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 20, 26, 0.86), transparent 54%);
}

.movie-type,
.rank-badge {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  font-size: 0.78rem;
  color: white;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(8px);
}

.movie-type {
  right: 0.75rem;
}

.rank-badge {
  left: 0.75rem;
  background: linear-gradient(135deg, var(--ocean-500), var(--teal-500));
  font-weight: 800;
}

.movie-play {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: auto;
  border-radius: 999px;
  background: rgba(0, 153, 230, 0.82);
  color: white;
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .movie-play {
  opacity: 1;
  transform: scale(1);
}

.movie-card-body {
  padding: 1rem;
}

.movie-card-body h3 {
  margin: 0 0 0.55rem;
  color: white;
  font-size: 1rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.movie-card:hover h3 {
  color: var(--ocean-300);
}

.movie-card-body p {
  min-height: 2.7em;
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.movie-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ocean-400);
  font-size: 0.82rem;
  margin-bottom: 0.8rem;
}

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

.category-tile {
  position: relative;
  min-height: 220px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(77, 194, 255, 0.16);
  background: var(--panel);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.category-tile img {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.45;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.category-tile:hover img {
  transform: scale(1.08);
  opacity: 0.55;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0, 8, 13, 0.95), rgba(0, 20, 26, 0.36));
}

.category-tile span,
.category-tile strong,
.category-tile p {
  position: relative;
  z-index: 2;
}

.category-tile span {
  color: var(--ocean-300);
  font-size: 0.82rem;
  font-weight: 700;
}

.category-tile strong {
  color: white;
  font-size: 1.35rem;
  margin: 0.35rem 0;
}

.category-tile p {
  color: var(--ocean-100);
  margin: 0;
  line-height: 1.55;
  font-size: 0.9rem;
}

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

.ranking-panel,
.detail-content,
.detail-poster,
.category-overview-card,
.search-status,
.empty-state {
  border: 1px solid rgba(77, 194, 255, 0.14);
  border-radius: var(--radius-2xl);
  background: var(--panel);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.ranking-panel {
  padding: 1.2rem;
}

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

.ranking-list {
  display: grid;
  gap: 0.55rem;
}

.rank-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  padding: 0.65rem;
  border-radius: 0.9rem;
  color: var(--ocean-100);
  background: rgba(0, 20, 26, 0.48);
}

.rank-row:hover {
  background: rgba(0, 153, 230, 0.16);
  color: white;
}

.rank-number {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--ocean-500), var(--teal-500));
  color: white;
  font-weight: 800;
}

.rank-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-year {
  color: var(--ocean-400);
  font-size: 0.86rem;
}

.page-shell {
  padding-top: clamp(2rem, 4vw, 3.5rem);
}

.list-hero,
.search-hero,
.ranking-hero {
  margin-bottom: 2rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid rgba(77, 194, 255, 0.14);
  border-radius: 2rem;
  background:
    radial-gradient(circle at top right, rgba(0, 153, 230, 0.18), transparent 22rem),
    linear-gradient(135deg, rgba(0, 40, 64, 0.86), rgba(0, 20, 26, 0.88));
  box-shadow: var(--shadow-ocean);
}

.list-hero p,
.search-hero p,
.ranking-copy p {
  max-width: 720px;
  color: var(--ocean-100);
  line-height: 1.8;
  margin: 0.9rem 0 0;
}

.filter-bar,
.search-form {
  margin-top: 1.5rem;
  max-width: 820px;
}

.filter-bar select {
  max-width: 190px;
}

.category-list .movie-card.is-hidden,
.empty-state {
  display: none;
}

.empty-state.is-visible {
  display: block;
  padding: 2rem;
  text-align: center;
  color: var(--ocean-300);
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.category-overview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(77, 194, 255, 0.34);
}

.category-overview-card img {
  min-height: 176px;
  border-radius: 1rem;
  background: var(--deep-900);
}

.category-overview-card h2 {
  color: white;
  margin: 0.35rem 0 0.4rem;
}

.category-overview-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 0.75rem;
}

.ranking-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: 2rem;
}

.ranking-hero-card {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: rgba(0, 20, 26, 0.72);
  border: 1px solid rgba(77, 194, 255, 0.18);
  box-shadow: var(--shadow-ocean);
}

.ranking-hero-card img {
  aspect-ratio: 16 / 10;
}

.ranking-hero-card strong,
.ranking-hero-card span {
  display: block;
  padding-inline: 1rem;
}

.ranking-hero-card strong {
  color: white;
  font-size: 1.15rem;
  padding-top: 1rem;
}

.ranking-hero-card span {
  color: var(--ocean-300);
  padding-bottom: 1rem;
  margin-top: 0.35rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  color: var(--ocean-300);
  margin-bottom: 1rem;
}

.breadcrumb a:hover {
  color: white;
}

.player-section {
  margin-bottom: 1.5rem;
}

.player-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 2rem;
  background: black;
  border: 1px solid rgba(77, 194, 255, 0.2);
  box-shadow: var(--shadow-ocean);
}

.player-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: black;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 0.8rem;
  border: 0;
  color: white;
  background: radial-gradient(circle at center, rgba(0, 153, 230, 0.18), rgba(0, 0, 0, 0.52));
  cursor: pointer;
  z-index: 4;
}

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

.overlay-play {
  display: grid;
  place-items: center;
  width: clamp(76px, 12vw, 116px);
  height: clamp(76px, 12vw, 116px);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ocean-500), var(--teal-500));
  box-shadow: 0 20px 60px rgba(0, 153, 230, 0.38);
  font-size: clamp(1.8rem, 4vw, 3rem);
  padding-left: 0.18em;
}

.detail-grid {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.detail-poster {
  overflow: hidden;
  padding: 0.75rem;
}

.detail-poster img {
  border-radius: 1.15rem;
  aspect-ratio: 2 / 3;
  background: var(--deep-900);
}

.detail-content {
  padding: clamp(1.3rem, 3vw, 2rem);
}

.detail-content h1 {
  color: white;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.detail-content h2 {
  color: white;
  margin: 1.6rem 0 0.7rem;
  font-size: 1.25rem;
}

.detail-content p {
  color: var(--ocean-100);
  line-height: 1.85;
  margin: 0.65rem 0;
}

.detail-content .lead-text {
  color: white;
  font-weight: 700;
}

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

.search-status {
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
  color: var(--ocean-300);
}

.hot-keywords {
  margin-top: 1rem;
}

.hot-keywords button {
  cursor: pointer;
}

.site-footer {
  margin-top: 5rem;
  background: linear-gradient(180deg, rgba(0, 20, 26, 0.2), rgba(0, 8, 13, 0.96));
  border-top: 1px solid rgba(77, 194, 255, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-block: 3rem;
}

.footer-brand {
  color: white;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.site-footer p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.site-footer h3 {
  color: white;
  margin: 0 0 1rem;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: var(--ocean-300);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(77, 194, 255, 0.1);
  padding: 1rem;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .movie-grid,
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .two-column-area,
  .ranking-hero {
    grid-template-columns: 1fr;
  }

  .sticky-panel {
    position: static;
  }
}

@media (max-width: 840px) {
  body {
    padding-top: 72px;
  }

  .site-nav {
    min-height: 72px;
  }

  .desktop-links {
    display: none;
  }

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

  .brand-text small {
    display: none;
  }

  .hero-carousel {
    min-height: 620px;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, var(--deep-950), rgba(0, 20, 26, 0.72) 58%, rgba(0, 20, 26, 0.25)),
      linear-gradient(90deg, rgba(0, 8, 13, 0.86), transparent);
  }

  .hero-copy {
    justify-content: flex-end;
    padding-bottom: 5rem;
  }

  .movie-grid,
  .category-grid,
  .category-overview-grid,
  .related-grid,
  .footer-grid,
  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }

  .filter-bar,
  .search-form {
    flex-direction: column;
  }

  .filter-bar select {
    max-width: none;
  }

  .detail-poster {
    display: none;
  }
}

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

  .movie-grid,
  .category-grid,
  .category-overview-grid,
  .related-grid,
  .footer-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .category-overview-card {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .category-overview-card img {
    min-height: 144px;
  }

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

  .player-frame,
  .list-hero,
  .search-hero,
  .ranking-hero {
    border-radius: 1.35rem;
  }

  .rank-row {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .rank-year {
    display: none;
  }
}
