:root {
  color-scheme: light;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #fff7ed;
  --text: #111827;
  --muted: #64748b;
  --line: #e5e7eb;
  --dark: #0f172a;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --amber: #f59e0b;
  --red: #ef4444;
  --radius: 22px;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.08);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange-dark);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand__icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  border-radius: 14px;
  box-shadow: 0 12px 22px rgba(249, 115, 22, 0.28);
  font-size: 15px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 1;
}

.nav-link,
.mobile-link {
  color: #334155;
  font-weight: 700;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link {
  padding: 10px 14px;
  font-size: 15px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--orange-dark);
  background: #fff7ed;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--orange-dark);
  border-radius: 14px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px 18px;
}

.mobile-nav.is-open {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mobile-link {
  padding: 11px 14px;
  background: #f8fafc;
}

.hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  color: #fff;
  background: var(--dark);
}

.hero-track {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  transition: opacity 0.7s ease, visibility 0.7s ease, transform 1.2s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-slide__content {
  width: min(640px, calc(100% - 40px));
  margin-left: max(20px, calc((100vw - var(--container)) / 2 + 20px));
  padding: 130px 0 170px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow,
.page-hero span,
.section-title span {
  display: inline-flex;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-slide h2 {
  margin: 14px 0 18px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.06em;
  max-width: 800px;
}

.hero-slide p {
  margin: 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.hero-tags,
.detail-meta,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags {
  margin-top: 24px;
}

.hero-tags span,
.detail-meta span,
.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-tags span {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

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

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

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

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  box-shadow: 0 16px 28px rgba(249, 115, 22, 0.35);
}

.button--ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.button--light {
  color: var(--orange-dark);
  border-color: #fed7aa;
  background: #fff7ed;
}

.hero-panel {
  position: absolute;
  right: max(20px, calc((100vw - var(--container)) / 2 + 20px));
  bottom: 76px;
  z-index: 3;
  width: min(430px, calc(100% - 40px));
  padding: 26px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-panel h1 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 30px;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.hero-panel p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}

.search-panel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
}

.search-panel input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  padding: 9px 12px;
}

.search-panel button {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.hero-panel__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.hero-panel__links a {
  color: var(--orange-dark);
  background: #fff7ed;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 800;
}

.hero-dots {
  position: absolute;
  left: max(20px, calc((100vw - var(--container)) / 2 + 20px));
  bottom: 76px;
  z-index: 4;
  display: flex;
  gap: 9px;
}

.hero-dot {
  width: 34px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 58px;
  background: #fff;
}

.section {
  padding: 74px 20px;
}

.section--wide > *,
.section > .section-title,
.section > .movie-grid,
.section > .rank-strip,
.section > .rank-list,
.section > .filter-panel,
.section > .category-overview-grid,
.section > .category-card-grid,
.section > .empty-state,
.detail-layout {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.section--soft {
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.section--warm {
  background: linear-gradient(135deg, #fff7ed, #fffbeb);
}

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

.section-title h2 {
  margin: 6px 0 0;
  color: var(--text);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-title a,
.text-link {
  color: var(--orange-dark);
  font-weight: 900;
}

.section-title--compact {
  margin-bottom: 12px;
}

.section-intro {
  max-width: var(--container);
  margin: 0 auto 22px;
  color: var(--muted);
}

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

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

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: #fed7aa;
  box-shadow: var(--shadow);
}

.movie-card__poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #ffedd5, #f1f5f9);
}

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

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

.movie-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  color: #fff;
  background: var(--orange);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 18px rgba(249, 115, 22, 0.24);
}

.movie-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  font-size: 44px;
  transition: opacity 0.2s ease;
}

.movie-card:hover .movie-card__play {
  opacity: 1;
}

.movie-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.movie-card__body h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
}

.movie-card__body h3 a:hover {
  color: var(--orange-dark);
}

.movie-card__body p {
  flex: 1;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.movie-card__meta span:nth-child(2) {
  color: var(--orange-dark);
}

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

.movie-card--compact .movie-card__body h3 {
  font-size: 15px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 64px 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.rank-item__number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  border-radius: 16px;
  font-size: 20px;
  font-weight: 900;
}

.rank-item__poster {
  display: block;
  width: 92px;
  height: 122px;
  overflow: hidden;
  border-radius: 14px;
  background: #ffedd5;
}

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

.rank-item__content h3 {
  margin: 0 0 6px;
  font-size: 19px;
  line-height: 1.25;
}

.rank-item__content h3 a:hover {
  color: var(--orange-dark);
}

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

.rank-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
}

.rank-item__meta span {
  padding: 4px 9px;
  background: #f8fafc;
  border-radius: 999px;
}

.rank-item__button {
  color: #fff;
  background: var(--orange);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 900;
  white-space: nowrap;
}

.category-card-grid,
.category-overview-grid {
  display: grid;
  gap: 20px;
}

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

.category-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 150px;
  padding: 24px;
  color: #fff;
  background: linear-gradient(135deg, #fb923c, #f59e0b);
  border-radius: 24px;
  box-shadow: 0 20px 34px rgba(249, 115, 22, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:nth-child(2n) {
  background: linear-gradient(135deg, #0f172a, #334155);
}

.category-card:nth-child(3n) {
  background: linear-gradient(135deg, #0284c7, #14b8a6);
}

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

.category-card strong {
  font-size: 24px;
  line-height: 1.12;
}

.category-card span {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

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

.category-overview-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.category-overview-card__image {
  min-height: 210px;
  display: flex;
  align-items: end;
  padding: 22px;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.category-overview-card__image span {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.category-overview-card__body {
  padding: 22px;
}

.category-overview-card__body h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.category-overview-card__body p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.category-overview-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.category-overview-card__links a {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #475569;
  background: #f8fafc;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.page-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #334155);
  background-size: cover;
  background-position: center;
  padding: 70px 20px;
}

.page-hero > div {
  width: min(var(--container), 100%);
  margin: 0 auto;
}

.page-hero h1 {
  margin: 10px 0 14px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.page-hero p {
  max-width: 720px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.page-hero .search-panel {
  max-width: 620px;
}

.page-hero--orange {
  background: linear-gradient(135deg, #f97316, #f59e0b);
}

.page-hero--dark {
  background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.32), transparent 32%), linear-gradient(135deg, #0f172a, #111827);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 800;
}

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

.filter-panel {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.filter-panel__search {
  flex: 1;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  height: 46px;
  border: 1px solid #e2e8f0;
  outline: 0;
  background: #f8fafc;
  border-radius: 14px;
  padding: 0 14px;
}

.filter-panel__selects {
  display: flex;
  gap: 12px;
}

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

.empty-state {
  display: none;
  margin-top: 24px;
  padding: 26px;
  color: var(--muted);
  text-align: center;
  background: #fff;
  border-radius: 20px;
}

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

.detail-hero {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  padding: 58px max(20px, calc((100vw - var(--container)) / 2 + 20px));
  color: #fff;
  background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.38), transparent 30%), linear-gradient(135deg, #0f172a, #111827 65%, #431407);
}

.detail-hero__poster {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.36);
  background: #111827;
}

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

.detail-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.detail-hero__content p {
  max-width: 780px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.detail-meta span {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.player-shell {
  position: relative;
  overflow: hidden;
  max-width: var(--container);
  margin: 0 auto;
  background: #020617;
  border-radius: 28px;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.movie-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #020617;
}

.player-start {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: #fff;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.36), rgba(2, 6, 23, 0.62));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-start span {
  width: 86px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 6px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  border-radius: 999px;
  box-shadow: 0 24px 46px rgba(249, 115, 22, 0.42);
  font-size: 34px;
}

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

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

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

.detail-main,
.detail-side {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.detail-main {
  padding: 30px;
}

.detail-side {
  padding: 24px;
  align-self: start;
}

.detail-main h2,
.detail-side h2 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.detail-main h2:not(:first-child),
.detail-side h2:not(:first-child) {
  margin-top: 28px;
}

.detail-main p,
.detail-main blockquote {
  margin: 0;
  color: #374151;
  font-size: 16px;
}

.detail-main blockquote {
  padding: 18px 20px;
  background: #fff7ed;
  border-left: 5px solid var(--orange);
  border-radius: 0 16px 16px 0;
}

.detail-side dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.detail-side dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.detail-side dd {
  margin: -8px 0 0;
  color: var(--text);
  font-weight: 800;
}

.tag-list span {
  color: #475569;
  background: #f1f5f9;
}

.why-section {
  padding: 78px 20px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, #111827, #0f172a);
}

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

.why-section p {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  color: #cbd5e1;
  background: #0f172a;
  padding: 54px 20px 26px;
}

.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 32px;
}

.footer-logo {
  color: #fb923c;
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 12px;
}

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

.site-footer p {
  margin: 0;
  color: #94a3b8;
  font-size: 14px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

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

.footer-bottom {
  max-width: var(--container);
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: #94a3b8;
  text-align: center;
  font-size: 13px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: 820px;
  }

  .hero-slide {
    align-items: start;
  }

  .hero-slide__content {
    margin: 0 20px;
    width: calc(100% - 40px);
    padding: 90px 0 360px;
  }

  .hero-panel {
    left: 20px;
    right: 20px;
    bottom: 82px;
    width: auto;
  }

  .hero-dots {
    left: 20px;
    bottom: 38px;
  }

  .movie-grid--three,
  .movie-grid--four,
  .movie-grid--six,
  .category-card-grid,
  .category-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .rank-item__button {
    grid-column: 2 / -1;
    justify-self: start;
  }

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

  .detail-hero__poster {
    max-width: 330px;
  }

  .filter-panel {
    flex-direction: column;
  }
}

@media (max-width: 580px) {
  .site-header__inner {
    min-height: 64px;
  }

  .brand__name {
    font-size: 21px;
  }

  .mobile-nav.is-open,
  .movie-grid--three,
  .movie-grid--four,
  .movie-grid--six,
  .category-card-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

  .hero-slide h2 {
    font-size: 38px;
  }

  .hero-panel {
    padding: 20px;
  }

  .search-panel {
    border-radius: 22px;
    align-items: stretch;
    flex-direction: column;
  }

  .search-panel button {
    width: 100%;
  }

  .section {
    padding: 52px 16px;
  }

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

  .rank-item {
    grid-template-columns: 42px 72px minmax(0, 1fr);
    gap: 12px;
  }

  .rank-item__poster {
    width: 72px;
    height: 96px;
  }

  .rank-item__content p,
  .rank-item__meta {
    display: none;
  }

  .filter-panel__selects {
    flex-direction: column;
  }

  .page-hero,
  .detail-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .detail-main,
  .detail-side {
    padding: 20px;
  }

  .player-start span {
    width: 68px;
    height: 68px;
    font-size: 28px;
  }
}
