:root {
  --color-text: #111827;
  --color-muted: #6b7280;
  --color-soft: #fff7ed;
  --color-line: #e5e7eb;
  --color-card: #ffffff;
  --color-dark: #111827;
  --color-orange: #f97316;
  --color-orange-dark: #ea580c;
  --color-red: #ef4444;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 16px 40px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.20);
  --radius-lg: 18px;
  --radius-xl: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 34%, #f9fafb 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1280px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #ffffff;
  border-radius: 12px;
  background: linear-gradient(135deg, #fb923c, #ef4444);
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.28);
}

.brand__text {
  font-size: 22px;
  color: #111827;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.site-nav__link {
  position: relative;
  color: #374151;
  font-weight: 650;
  transition: color 0.2s ease;
}

.site-nav__link::after {
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 3px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-orange), var(--color-red));
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--color-orange);
}

.site-nav__link:hover::after,
.site-nav__link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-search,
.mobile-search {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  background: #fff7ed;
}

.header-search input,
.mobile-search input,
.search-page-form input,
.local-filter input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #111827;
  background: transparent;
}

.header-search input {
  width: 220px;
  padding: 10px 14px;
}

.header-search button,
.mobile-search button,
.search-page-form button {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-orange), var(--color-red));
  font-weight: 750;
}

.header-search button {
  width: 44px;
  align-self: stretch;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: #374151;
  background: #fff7ed;
}

.mobile-nav {
  display: none;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 16px;
  border-top: 1px solid #f3f4f6;
}

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

.mobile-nav__link {
  display: block;
  padding: 12px 14px;
  color: #374151;
  border-radius: 12px;
  font-weight: 700;
}

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

.mobile-search {
  margin-top: 12px;
}

.mobile-search input {
  padding: 12px 14px;
}

.mobile-search button {
  align-self: stretch;
  padding: 0 18px;
}

.home-page,
.page-shell,
.detail-page {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 72px;
}

.hero-slider {
  margin-top: 8px;
}

.hero-slider__stage {
  position: relative;
  height: 520px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  background: #111827;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

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

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

.hero-slide__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.88), rgba(17, 24, 39, 0.46), rgba(17, 24, 39, 0.12)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.12));
}

.hero-slide__content {
  position: absolute;
  left: clamp(24px, 6vw, 72px);
  bottom: clamp(28px, 7vw, 76px);
  width: min(720px, calc(100% - 48px));
  color: #ffffff;
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.hero-tag,
.detail-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(249, 115, 22, 0.9);
  font-size: 13px;
  font-weight: 700;
}

.hero-slide h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.hero-slide p {
  max-width: 640px;
  margin: 0 0 20px;
  color: #e5e7eb;
  font-size: clamp(16px, 2.2vw, 20px);
}

.hero-meta,
.detail-meta,
.rank-card__meta,
.movie-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-meta span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

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

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

.button--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-orange), var(--color-red));
  box-shadow: 0 14px 28px rgba(249, 115, 22, 0.28);
}

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

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.45);
  font-size: 34px;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(8px);
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.68);
  transform: translateY(-50%) scale(1.05);
}

.hero-arrow--prev {
  left: 18px;
}

.hero-arrow--next {
  right: 18px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 6;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 34px;
  background: #ffffff;
}

.content-section {
  margin-top: 72px;
}

.content-section--flat {
  margin-top: 32px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.section-heading__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-orange), var(--color-red));
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.24);
  font-weight: 900;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 4px 0 0;
  color: var(--color-muted);
}

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

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

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

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

.movie-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.7);
  border-radius: var(--radius-lg);
  background: var(--color-card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.movie-card__link {
  display: block;
  height: 100%;
}

.movie-card__poster {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111827;
}

.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: "";
  opacity: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.06));
  transition: opacity 0.25s ease;
}

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

.poster-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.poster-badge--type {
  top: 10px;
  right: 10px;
  background: rgba(17, 24, 39, 0.75);
  backdrop-filter: blur(10px);
}

.poster-badge--soft {
  left: 10px;
  bottom: 10px;
  background: rgba(249, 115, 22, 0.92);
}

.poster-badge--soft + .poster-badge--soft {
  left: auto;
  right: 10px;
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  color: #ffffff;
  border-radius: 999px;
  background: var(--color-orange);
  box-shadow: 0 16px 32px rgba(249, 115, 22, 0.36);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-card__body {
  padding: 18px;
}

.movie-card__body h3 {
  display: -webkit-box;
  min-height: 48px;
  margin: 0 0 8px;
  overflow: hidden;
  color: #111827;
  font-size: 18px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

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

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

.movie-card__meta {
  justify-content: space-between;
  color: var(--color-muted);
  font-size: 13px;
}

.movie-card__meta span:first-child {
  color: var(--color-orange);
  font-weight: 800;
}

.movie-card--large .movie-card__body h3 {
  font-size: 20px;
}

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

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

.movie-card--compact .movie-card__body p {
  display: none;
}

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

.category-tile {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: #111827;
}

.category-tile::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.86), rgba(17, 24, 39, 0.18));
}

.category-tile img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.category-tile:hover img {
  transform: scale(1.06);
}

.category-tile span,
.category-tile p {
  position: absolute;
  left: 18px;
  right: 18px;
  z-index: 2;
  color: #ffffff;
}

.category-tile span {
  bottom: 66px;
  font-size: 22px;
  font-weight: 900;
}

.category-tile p {
  bottom: 18px;
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #e5e7eb;
  font-size: 13px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

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

.rank-card {
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.7);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.rank-card__link {
  position: relative;
  display: grid;
  grid-template-columns: 58px 180px 1fr;
  gap: 18px;
  align-items: stretch;
  padding: 14px;
}

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

.rank-card img {
  width: 180px;
  height: 102px;
  border-radius: 14px;
  object-fit: cover;
}

.rank-card__body {
  min-width: 0;
}

.rank-card__body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

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

.rank-card__meta {
  color: var(--color-muted);
  font-size: 13px;
}

.rank-card__meta span:first-child {
  color: var(--color-orange);
  font-weight: 800;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 70px);
  border-radius: var(--radius-xl);
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(135deg, #f97316, #ef4444 62%, #111827);
  box-shadow: var(--shadow-md);
}

.page-hero--light {
  color: #111827;
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.18), transparent 38%),
    linear-gradient(135deg, #ffffff, #fff7ed);
}

.page-hero h1 {
  max-width: 820px;
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: inherit;
  opacity: 0.88;
  font-size: 18px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 14px !important;
  padding: 6px 12px;
  border-radius: 999px;
  color: #ffffff !important;
  background: rgba(17, 24, 39, 0.22);
  font-size: 13px !important;
  font-weight: 900;
  opacity: 1 !important;
}

.page-hero--light .eyebrow {
  color: var(--color-orange) !important;
  background: #ffedd5;
}

.local-filter,
.search-page-form {
  display: flex;
  width: min(680px, 100%);
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.page-hero--light .local-filter,
.search-page-form {
  border-color: #fed7aa;
  background: #ffffff;
}

.local-filter input,
.search-page-form input {
  padding: 16px 20px;
}

.search-page-form button {
  padding: 0 28px;
  border: 0;
}

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

.breadcrumb a {
  color: var(--color-orange);
  font-weight: 750;
}

.category-overview {
  display: grid;
  gap: 28px;
  margin-top: 36px;
}

.category-overview-card {
  padding: 24px;
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.category-overview-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.category-overview-card__head h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.category-overview-card__head span {
  color: var(--color-orange);
  font-weight: 850;
}

.category-overview-card > p {
  margin: 0 0 20px;
  color: var(--color-muted);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 0.86fr);
  gap: 32px;
}

.player-shell,
.detail-info,
.detail-card,
.detail-side__sticky {
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.player-shell {
  overflow: hidden;
  background: #000000;
}

.movie-player {
  position: relative;
  overflow: hidden;
  background: #000000;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.18));
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.player-overlay__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  padding-left: 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-orange), var(--color-red));
  box-shadow: 0 18px 42px rgba(239, 68, 68, 0.35);
  font-size: 34px;
}

.player-overlay__text {
  font-size: 18px;
  font-weight: 850;
}

.player-toolbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent);
  pointer-events: none;
}

.player-toolbar button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  transition: background 0.2s ease, color 0.2s ease;
  pointer-events: auto;
}

.player-toolbar button:hover {
  color: #ffffff;
  background: var(--color-orange);
}

.player-toolbar__spacer {
  flex: 1;
}

.player-message {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  display: none;
  width: min(420px, calc(100% - 40px));
  padding: 18px 20px;
  color: #ffffff;
  border: 1px solid rgba(248, 113, 113, 0.8);
  border-radius: 16px;
  background: rgba(127, 29, 29, 0.86);
  text-align: center;
  transform: translate(-50%, -50%);
}

.player-message.is-visible {
  display: block;
}

.detail-info {
  margin-top: 22px;
  padding: 26px;
}

.detail-tag {
  color: var(--color-orange);
  background: #ffedd5;
}

.detail-info h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.detail-one-line {
  margin: 0 0 18px;
  color: #4b5563;
  font-size: 18px;
}

.detail-meta span {
  color: #374151;
  background: #f3f4f6;
}

.detail-meta span:first-child {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-orange), var(--color-red));
}

.detail-card {
  margin-top: 22px;
  padding: 26px;
}

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

.detail-card p {
  margin: 0;
  color: #374151;
  font-size: 17px;
  white-space: pre-line;
}

.detail-side__sticky {
  position: sticky;
  top: 94px;
  padding: 22px;
}

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

.search-status {
  margin-bottom: 22px;
  padding: 18px 20px;
  color: #4b5563;
  border: 1px solid #fed7aa;
  border-radius: 18px;
  background: #fff7ed;
  font-weight: 750;
}

.site-footer {
  color: #d1d5db;
  background: #111827;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 30px;
}

.footer-brand {
  color: #ffffff;
  font-size: 22px;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 16px 24px;
}

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

.site-footer__bottom {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  color: #9ca3af;
  border-top: 1px solid rgba(75, 85, 99, 0.6);
  font-size: 14px;
}

.is-filtered-out {
  display: none !important;
}

@media (max-width: 1120px) {
  .site-nav {
    gap: 18px;
  }

  .header-search input {
    width: 170px;
  }

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

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

  .detail-side__sticky {
    position: static;
  }
}

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

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

  .hero-slider__stage {
    height: 520px;
    border-radius: 20px;
  }

  .hero-slide__content {
    left: 22px;
    bottom: 64px;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
    font-size: 26px;
  }

  .movie-grid--four,
  .movie-grid--three,
  .rank-list--home,
  .movie-grid--mini {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .rank-card__link {
    grid-template-columns: 44px 128px 1fr;
    gap: 12px;
  }

  .rank-number {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 16px;
  }

  .rank-card img {
    width: 128px;
    height: 82px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .home-page,
  .page-shell,
  .detail-page,
  .site-header__inner,
  .mobile-nav,
  .site-footer__inner,
  .site-footer__bottom {
    width: min(100% - 24px, 1280px);
  }

  .brand__text {
    font-size: 18px;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
  }

  .hero-slider__stage {
    height: 520px;
  }

  .hero-slide__shade {
    background: linear-gradient(0deg, rgba(17, 24, 39, 0.88), rgba(17, 24, 39, 0.18));
  }

  .hero-slide h1 {
    font-size: 34px;
  }

  .hero-slide p {
    font-size: 15px;
  }

  .hero-actions {
    gap: 10px;
  }

  .button {
    min-height: 40px;
    padding: 9px 14px;
    font-size: 14px;
  }

  .hero-arrow {
    display: none;
  }

  .content-section {
    margin-top: 52px;
  }

  .movie-grid--four,
  .movie-grid--three,
  .movie-grid--mini,
  .category-grid,
  .rank-list--home {
    grid-template-columns: 1fr;
  }

  .movie-card__body h3 {
    min-height: auto;
  }

  .rank-card__link {
    grid-template-columns: 44px 96px 1fr;
    align-items: center;
  }

  .rank-card img {
    width: 96px;
    height: 66px;
  }

  .rank-card__body h3 {
    font-size: 15px;
  }

  .rank-card__body p {
    display: none;
  }

  .page-hero {
    padding: 28px;
  }

  .search-page-form,
  .local-filter {
    border-radius: 20px;
  }

  .search-page-form button {
    padding: 0 18px;
  }

  .detail-info,
  .detail-card,
  .detail-side__sticky {
    padding: 20px;
  }

  .player-overlay__icon {
    width: 62px;
    height: 62px;
    font-size: 28px;
  }
}
