:root {
  --color-pudding-50: #fefdfb;
  --color-pudding-100: #fef9f3;
  --color-pudding-200: #fdf3e7;
  --color-pudding-500: #f8c98f;
  --color-pudding-600: #f0b46f;
  --color-pudding-700: #e09d55;
  --color-moonlight-50: #f8f9fd;
  --color-moonlight-100: #f0f3fb;
  --color-moonlight-500: #9baee3;
  --color-moonlight-600: #7d93d9;
  --color-moonlight-700: #6178ca;
  --color-soft-pink: #fde8f5;
  --color-soft-blue: #e8f4fd;
  --color-soft-green: #e8fdf4;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --color-border: rgba(125, 147, 217, 0.16);
  --shadow-soft: 0 2px 15px -3px rgba(0, 0, 0, 0.07), 0 10px 20px -2px rgba(0, 0, 0, 0.04);
  --shadow-soft-lg: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
  --radius-soft: 1.25rem;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--color-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(180deg, var(--color-pudding-50), #ffffff 42%, var(--color-moonlight-50));
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-pudding-100);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
}

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

.brand__mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 14px;
  color: var(--color-moonlight-700);
  background: linear-gradient(135deg, #fefdfb, #f0f3fb);
  box-shadow: 0 4px 20px rgba(155, 174, 227, 0.18);
}

.brand__text {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1;
  color: transparent;
  background: linear-gradient(90deg, var(--color-pudding-600), var(--color-moonlight-600));
  -webkit-background-clip: text;
  background-clip: text;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  font-weight: 600;
  color: #374151;
}

.desktop-nav a,
.mobile-nav a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.mobile-nav a:hover,
.mobile-nav a.is-active {
  color: var(--color-moonlight-700);
}

.quick-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quick-search input,
.hero-search input,
.filter-panel input,
.filter-panel select {
  border: 1px solid var(--color-pudding-200);
  outline: none;
  color: var(--color-text);
  background: rgba(254, 253, 251, 0.92);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.quick-search input:focus,
.hero-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--color-moonlight-500);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(125, 147, 217, 0.12);
}

.quick-search input {
  width: 220px;
  border-radius: 999px;
  padding: 10px 14px;
}

.quick-search button,
.hero-search button,
.button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.quick-search button {
  padding: 10px 16px;
  color: #ffffff;
  background: var(--color-moonlight-600);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  border-radius: 14px;
  color: var(--color-text);
  background: var(--color-pudding-50);
}

.mobile-nav {
  display: none;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 0 24px 18px;
  font-weight: 700;
}

.mobile-nav.is-open {
  display: grid;
  animation: slideUp 0.25s ease-out;
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: linear-gradient(135deg, #fefdfb, #f0f3fb);
}

.hero__slides,
.hero__slide,
.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__slide {
  display: none;
}

.hero__slide.is-active {
  display: block;
  animation: fadeIn 0.6s ease-in-out;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  transform: scale(1.04);
}

.hero__shade {
  background:
    radial-gradient(circle at 72% 38%, rgba(253, 232, 245, 0.62), transparent 34%),
    linear-gradient(90deg, rgba(254, 253, 251, 0.96), rgba(254, 253, 251, 0.76) 46%, rgba(240, 243, 251, 0.68));
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 560px;
  padding-top: 44px;
}

.hero__copy {
  max-width: 680px;
  animation: slideUp 0.55s ease-out;
}

.hero__eyebrow,
.section-heading__kicker,
.page-hero span,
.detail-info__eyebrow,
.story-card span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--color-moonlight-700);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  font-size: 14px;
  font-weight: 700;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.05;
  color: transparent;
  background: linear-gradient(90deg, var(--color-pudding-600), var(--color-moonlight-700));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero p {
  max-width: 640px;
  margin: 0 0 24px;
  color: #4b5563;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.85;
}

.hero__tags,
.detail-tags,
.movie-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero__tags span,
.detail-tags span,
.movie-card__tags span {
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--color-pudding-700);
  background: var(--color-pudding-50);
  font-size: 12px;
  font-weight: 700;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #ffffff;
  background: var(--color-moonlight-600);
  box-shadow: 0 4px 20px rgba(155, 174, 227, 0.38);
}

.button--primary:hover {
  background: var(--color-moonlight-700);
}

.button--ghost {
  color: var(--color-moonlight-700);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.button--mini {
  min-height: 38px;
  padding: 9px 16px;
  color: #ffffff;
  background: var(--color-moonlight-600);
}

.hero__controls {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 500px;
}

.hero__dots {
  display: flex;
  gap: 10px;
}

.hero__dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(125, 147, 217, 0.38);
}

.hero__dot.is-active {
  width: 32px;
  background: var(--color-moonlight-600);
}

.hero-search {
  display: flex;
  width: min(100%, 460px);
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft-lg);
}

.hero-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 15px 18px;
  background: transparent;
}

.hero-search button {
  padding: 0 24px;
  color: #ffffff;
  background: var(--color-moonlight-600);
}

.overlap-grid {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: -72px;
  margin-bottom: 72px;
}

.page-section {
  padding: 54px 0;
}

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

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

.section-heading p {
  max-width: 660px;
  margin: 0;
  color: var(--color-muted);
  line-height: 1.7;
}

.section-heading__link {
  flex: 0 0 auto;
  color: var(--color-moonlight-700);
  font-weight: 800;
}

.movie-grid {
  display: grid;
  gap: 22px;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(240, 243, 251, 0.9);
  border-radius: var(--radius-soft);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: fadeIn 0.5s ease-in-out;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft-lg);
}

.movie-card__poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-pudding-100), var(--color-moonlight-100));
}

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

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

.movie-card__poster::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.58));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .movie-card__poster::after {
  opacity: 1;
}

.movie-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(125, 147, 217, 0.9);
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .movie-card__play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.movie-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  border-radius: 999px;
  padding: 5px 10px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.62);
  font-size: 12px;
  font-weight: 800;
}

.movie-card__body {
  padding: 18px;
}

.movie-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--color-muted);
  font-size: 12px;
}

.movie-card__title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
}

.movie-card__title a:hover {
  color: var(--color-moonlight-700);
}

.movie-card__desc {
  display: -webkit-box;
  min-height: 48px;
  margin: 0 0 14px;
  overflow: hidden;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.soft-band {
  background: linear-gradient(135deg, var(--color-soft-pink), var(--color-soft-blue));
}

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

.category-tile,
.category-overview {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-soft);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.category-tile {
  display: grid;
  gap: 8px;
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft-lg);
}

.category-tile__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  color: var(--color-moonlight-700);
  background: linear-gradient(135deg, var(--color-pudding-100), var(--color-moonlight-100));
  font-size: 24px;
  font-weight: 900;
}

.category-tile strong {
  font-size: 20px;
}

.category-tile em {
  color: var(--color-muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.6;
}

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

.ranking-panel,
.story-card,
.filter-panel,
.detail-section .player-shell,
.category-overview {
  border: 1px solid rgba(240, 243, 251, 0.92);
  border-radius: var(--radius-soft);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

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

.ranking-panel__head {
  margin-bottom: 18px;
}

.ranking-panel__head span {
  color: var(--color-pudding-700);
  font-weight: 900;
}

.ranking-panel__head h2 {
  margin: 4px 0 0;
}

.ranking-list {
  display: grid;
  gap: 16px;
}

.ranking-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(254, 253, 251, 0.72);
  transition: background 0.2s ease, transform 0.2s ease;
}

.ranking-item:hover {
  background: #ffffff;
  transform: translateX(3px);
}

.ranking-item__cover {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 14px;
  background: var(--color-moonlight-100);
}

.ranking-item__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ranking-item__num {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 2;
  display: grid;
  min-width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-pudding-600), var(--color-moonlight-600));
  font-size: 12px;
  font-weight: 900;
}

.ranking-item__content h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.ranking-item__content p {
  display: -webkit-box;
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ranking-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--color-moonlight-700);
  font-size: 12px;
  font-weight: 700;
}

.page-hero {
  padding: 72px 0;
  background:
    radial-gradient(circle at 78% 24%, rgba(253, 232, 245, 0.92), transparent 32%),
    linear-gradient(135deg, var(--color-pudding-50), var(--color-moonlight-100));
}

.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 6vw, 58px);
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.8;
}

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

.breadcrumb a {
  color: var(--color-moonlight-700);
  font-weight: 700;
}

.breadcrumb em {
  font-style: normal;
}

.filter-panel {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
  padding: 18px;
}

.filter-panel__search input {
  width: 100%;
  border-radius: 18px;
  padding: 14px 16px;
}

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

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

.filter-panel select {
  width: 100%;
  border-radius: 16px;
  padding: 12px 14px;
}

.empty-state {
  display: none;
  margin: 30px 0;
  border-radius: var(--radius-soft);
  padding: 36px;
  color: var(--color-muted);
  background: #ffffff;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.empty-state.is-visible {
  display: block;
}

.category-overview-list {
  display: grid;
  gap: 28px;
}

.category-overview {
  padding: 24px;
}

.category-overview__head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.category-overview__head span {
  color: var(--color-pudding-700);
  font-weight: 900;
}

.category-overview__head h2 {
  max-width: 680px;
  margin: 6px 0 0;
  font-size: 22px;
}

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

.detail-hero__bg,
.detail-hero__shade {
  position: absolute;
  inset: 0;
}

.detail-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  filter: blur(2px);
  transform: scale(1.03);
}

.detail-hero__shade {
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.72), rgba(17, 24, 39, 0.38)),
    linear-gradient(0deg, rgba(17, 24, 39, 1), transparent 34%);
}

.detail-hero__inner {
  position: relative;
  z-index: 2;
  padding: 56px 0 70px;
}

.detail-hero .breadcrumb {
  color: rgba(255, 255, 255, 0.72);
}

.detail-hero .breadcrumb a {
  color: #ffffff;
}

.detail-hero__layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.detail-info h1 {
  max-width: 840px;
  margin: 0 0 18px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.08;
}

.detail-info p {
  max-width: 820px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.9;
}

.detail-info__eyebrow {
  color: var(--color-moonlight-100);
  background: rgba(255, 255, 255, 0.12);
}

.detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 26px;
}

.detail-stats span {
  border-radius: 999px;
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 800;
}

.detail-section {
  padding: 42px 0 0;
}

.player-shell {
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

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

.player-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.72));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-start span {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border-radius: 999px;
  background: rgba(125, 147, 217, 0.92);
  box-shadow: 0 14px 45px rgba(125, 147, 217, 0.42);
  font-size: 32px;
}

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

.player-shell.is-playing .player-start {
  visibility: hidden;
  opacity: 0;
}

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

.story-card {
  padding: 26px;
}

.story-card h2 {
  margin: 0 0 16px;
  font-size: 26px;
}

.story-card p {
  margin: 0;
  color: #374151;
  font-size: 16px;
  line-height: 1.95;
}

.related-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.related-links h2 {
  flex-basis: 100%;
}

.related-links a {
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--color-moonlight-700);
  background: var(--color-moonlight-100);
  font-weight: 800;
}

.site-footer {
  margin-top: 70px;
  border-top: 1px solid var(--color-pudding-100);
  background: linear-gradient(180deg, #ffffff, var(--color-pudding-50));
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 54px 0 34px;
}

.footer__grid h3 {
  margin: 0 0 14px;
}

.footer__grid p,
.footer__grid li {
  color: var(--color-muted);
  line-height: 1.8;
}

.footer__grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__grid a:hover {
  color: var(--color-moonlight-700);
}

.footer__bottom {
  border-top: 1px solid var(--color-pudding-100);
  padding: 18px;
  color: var(--color-muted);
  text-align: center;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: var(--color-moonlight-600);
  box-shadow: var(--shadow-soft-lg);
}

.back-to-top.is-visible {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .two-column,
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ranking-panel {
    position: static;
  }

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

@media (max-width: 820px) {
  .header__inner {
    height: 66px;
  }

  .desktop-nav,
  .quick-search {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero {
    min-height: 680px;
  }

  .hero__content {
    min-height: 560px;
  }

  .hero__controls {
    display: grid;
    padding-top: 548px;
  }

  .overlap-grid,
  .movie-grid--three,
  .movie-grid--four,
  .category-grid,
  .filter-panel__selects,
  .detail-hero__layout,
  .detail-content {
    grid-template-columns: 1fr 1fr;
  }

  .detail-hero__layout {
    align-items: start;
  }

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

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

  .hero {
    min-height: 720px;
  }

  .hero__controls {
    padding-top: 600px;
  }

  .hero-search {
    width: 100%;
  }

  .overlap-grid,
  .movie-grid--three,
  .movie-grid--four,
  .category-grid,
  .filter-panel__selects,
  .two-column,
  .footer__grid,
  .detail-hero__layout,
  .detail-content {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .category-overview__head {
    display: grid;
  }

  .detail-poster {
    max-width: 220px;
  }

  .ranking-item {
    grid-template-columns: 82px minmax(0, 1fr);
  }
}
