:root {
  --color-bg: #f9fafb;
  --color-surface: #ffffff;
  --color-surface-soft: #f0fdfa;
  --color-text: #111827;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-primary: #0d9488;
  --color-primary-dark: #0f766e;
  --color-cyan: #0891b2;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.14);
  --radius-lg: 18px;
  --radius-xl: 28px;
  --shell: min(1180px, calc(100% - 32px));
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  width: var(--shell);
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand__icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary), var(--color-cyan));
  box-shadow: 0 14px 30px rgba(13, 148, 136, 0.28);
  transition: transform 0.25s ease;
}

.brand:hover .brand__icon {
  transform: scale(1.08);
}

.brand__text {
  display: grid;
  gap: 1px;
}

.brand__name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand__tagline {
  font-size: 12px;
  color: var(--color-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-nav__link {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  color: #374151;
  font-size: 15px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav__link:hover,
.main-nav__link.is-active {
  color: var(--color-primary-dark);
  background: #ccfbf1;
}

.main-nav__dropdown {
  position: relative;
}

.main-nav__menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 190px;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.main-nav__dropdown:hover .main-nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav__menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 12px;
  color: #4b5563;
  font-size: 14px;
  font-weight: 650;
}

.main-nav__menu a:hover {
  color: var(--color-primary-dark);
  background: #f0fdfa;
}

.menu-button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #f3f4f6;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-button span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #374151;
}

.mobile-nav {
  display: none;
  padding: 0 16px 18px;
  border-top: 1px solid var(--color-border);
  background: #ffffff;
}

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

.mobile-nav a {
  padding: 11px 14px;
  border-radius: 12px;
  color: #374151;
  font-weight: 700;
}

.mobile-nav a:hover {
  color: var(--color-primary-dark);
  background: #f0fdfa;
}

.mobile-nav__categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding-top: 4px;
}

.hero {
  position: relative;
  height: 68vh;
  min-height: 520px;
  overflow: hidden;
  background: #000000;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

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

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #111827, #0f766e);
  transform: scale(1.02);
}

.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.1));
}

.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #ffffff;
  max-width: var(--shell);
}

.hero__eyebrow,
.section__kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--color-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero__title {
  width: min(760px, 100%);
  margin: 18px 0 16px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.hero__summary {
  width: min(650px, 100%);
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 22px);
}

.hero__meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero__meta span,
.detail-meta span {
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 700;
}

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

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

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

.button--light {
  color: #111827;
  background: #ffffff;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
}

.button--light:hover {
  color: #ffffff;
  background: var(--color-primary);
}

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

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}

.button--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-cyan));
  box-shadow: 0 16px 35px rgba(13, 148, 136, 0.22);
}

.hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.17);
  backdrop-filter: blur(12px);
  font-size: 34px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero__arrow:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-50%) scale(1.04);
}

.hero__arrow--prev {
  left: 22px;
  transform: translateY(-50%);
}

.hero__arrow--next {
  right: 22px;
  transform: translateY(-50%);
}

.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 5;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.hero__dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero__dot.is-active {
  width: 32px;
  background: #ffffff;
}

.search-panel {
  position: relative;
  z-index: 6;
  margin-top: -48px;
  padding: 24px;
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
}

.search-panel__form label {
  display: block;
  margin-bottom: 10px;
  color: #374151;
  font-weight: 800;
}

.search-panel__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.search-panel input,
.filter-panel input,
.filter-panel select,
.filter-bar input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 0 14px;
  color: #111827;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-panel input:focus,
.filter-panel input:focus,
.filter-panel select:focus,
.filter-bar input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12);
}

.search-panel__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.search-panel__quick a {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--color-primary-dark);
  background: #ccfbf1;
  font-size: 13px;
  font-weight: 750;
}

.section {
  padding: 62px 0 0;
}

.section--soft {
  margin-top: 68px;
  padding: 68px 0;
  background: linear-gradient(180deg, #ecfeff, #f9fafb);
}

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

.section__head h2,
.page-hero h1 {
  margin: 10px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.section__kicker {
  color: #0f766e;
  background: #ccfbf1;
}

.section__more {
  min-width: max-content;
  color: var(--color-primary-dark);
  font-weight: 800;
}

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

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

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

.movie-card {
  min-width: 0;
}

.movie-card.is-hidden,
.ranking-card.is-hidden {
  display: none;
}

.movie-card__link {
  display: grid;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card__link:hover {
  border-color: rgba(13, 148, 136, 0.32);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.movie-card__cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #1f2937, #0f766e);
}

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

.movie-card__link:hover .movie-card__cover img {
  transform: scale(1.08);
}

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

.movie-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #111827;
  background: rgba(255, 255, 255, 0.92);
  transform: translate(-50%, -50%) scale(0.68);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-card__body {
  display: grid;
  gap: 8px;
  padding: 15px;
}

.movie-card__title {
  display: -webkit-box;
  overflow: hidden;
  color: #111827;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 850;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-card__link:hover .movie-card__title {
  color: var(--color-primary-dark);
}

.movie-card__desc {
  display: -webkit-box;
  min-height: 44px;
  overflow: hidden;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

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

.movie-card__meta span:last-child {
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--color-primary-dark);
  background: #ccfbf1;
}

.featured-banner {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--radius-xl);
  background: #111827;
  box-shadow: var(--shadow-md);
}

.featured-banner img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.featured-banner:hover img {
  transform: scale(1.05);
}

.featured-banner__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.1));
}

.featured-banner__content {
  position: absolute;
  inset: auto auto 0 0;
  width: min(680px, 100%);
  padding: 38px;
  color: #ffffff;
  display: grid;
  gap: 12px;
}

.featured-banner__content em {
  width: fit-content;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--color-primary);
  font-style: normal;
  font-weight: 800;
}

.featured-banner__content strong {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 900;
}

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

.category-box {
  display: grid;
  gap: 14px;
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.category-box__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.category-box__head strong {
  font-size: 20px;
  font-weight: 900;
}

.category-box__head span {
  color: var(--color-primary-dark);
  font-size: 13px;
  font-weight: 800;
}

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

.category-box__links {
  display: grid;
  gap: 7px;
  margin-top: auto;
}

.category-box__links a {
  overflow: hidden;
  color: #374151;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-box__links a:hover {
  color: var(--color-primary-dark);
}

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

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

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

.ranking-card a {
  display: grid;
  grid-template-columns: auto 120px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-card a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.rank-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-cyan));
  font-weight: 900;
}

.ranking-card img {
  width: 120px;
  height: 76px;
  border-radius: 14px;
  object-fit: cover;
  background: linear-gradient(135deg, #111827, #0f766e);
}

.ranking-card__body {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.ranking-card__body strong {
  overflow: hidden;
  color: #111827;
  font-size: 16px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-card__body span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--color-muted);
  font-size: 13px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ranking-card__body em {
  color: var(--color-primary-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
}

.page-hero {
  padding: 72px 0 24px;
}

.page-hero p {
  width: min(760px, 100%);
  margin: 14px 0 0;
  color: var(--color-muted);
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 700;
}

.breadcrumb a:hover {
  color: var(--color-primary-dark);
}

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

.breadcrumb--light a:hover {
  color: #ffffff;
}

.filter-bar,
.filter-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.filter-panel {
  grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(130px, 180px));
}

.filter-bar__group {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.filter-bar button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 13px;
  color: #374151;
  background: #f3f4f6;
  font-size: 13px;
  font-weight: 800;
}

.filter-bar button:hover,
.filter-bar button.is-active {
  color: #ffffff;
  background: var(--color-primary);
}

.empty-state {
  padding: 34px;
  border: 1px dashed var(--color-border);
  border-radius: 18px;
  color: var(--color-muted);
  background: #ffffff;
  text-align: center;
  font-weight: 800;
}

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

.detail-hero__backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  filter: blur(8px);
  transform: scale(1.04);
}

.detail-hero__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 7, 18, 0.94), rgba(3, 7, 18, 0.62), rgba(3, 7, 18, 0.78));
}

.detail-hero__inner {
  position: relative;
  z-index: 2;
  padding: 34px 0 58px;
  color: #ffffff;
}

.detail-hero__grid {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  margin-top: 34px;
}

.detail-hero__poster {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  object-fit: cover;
  background: linear-gradient(135deg, #111827, #0f766e);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.detail-hero__copy h1 {
  margin: 16px 0 16px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.detail-hero__copy p {
  width: min(780px, 100%);
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 6px 0 28px;
}

.tag-row span {
  padding: 6px 11px;
  border-radius: 999px;
  color: #ccfbf1;
  background: rgba(20, 184, 166, 0.14);
  font-size: 13px;
  font-weight: 800;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000000;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
}

.player-card__video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
  object-fit: contain;
}

.player-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.66));
  text-align: center;
}

.player-card__overlay.is-hidden {
  display: none;
}

.player-card__icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #111827;
  background: rgba(255, 255, 255, 0.94);
  font-size: 30px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.player-card__overlay strong {
  max-width: min(720px, 92%);
  font-size: clamp(22px, 4vw, 38px);
  font-weight: 900;
}

.player-card__overlay em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

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

.content-card {
  padding: 26px;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.content-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 900;
}

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

.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--color-border);
  background: linear-gradient(180deg, #f9fafb, #f3f4f6);
}

.site-footer__inner {
  width: var(--shell);
  margin-inline: auto;
  padding: 42px 0;
  display: grid;
  gap: 22px;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-footer__brand strong {
  font-size: 20px;
  font-weight: 900;
}

.site-footer__brand p,
.site-footer__copy {
  margin: 4px 0 0;
  color: var(--color-muted);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer__links a {
  color: #374151;
  font-weight: 750;
}

.site-footer__links a:hover {
  color: var(--color-primary-dark);
}

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

  .two-column,
  .detail-content,
  .ranking-list--large {
    grid-template-columns: 1fr;
  }

  .detail-hero__grid {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .filter-panel {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 24px, 1180px);
  }

  .site-header__inner {
    min-height: 66px;
  }

  .brand__tagline,
  .main-nav {
    display: none;
  }

  .brand__name {
    font-size: 18px;
  }

  .brand__icon {
    width: 40px;
    height: 40px;
  }

  .menu-button {
    display: inline-flex;
  }

  .hero {
    height: 74vh;
    min-height: 560px;
  }

  .hero__shade {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.86));
  }

  .hero__content {
    justify-content: flex-end;
    padding-bottom: 82px;
  }

  .hero__arrow {
    display: none;
  }

  .search-panel {
    margin-top: -36px;
    padding: 18px;
  }

  .search-panel__row,
  .filter-panel {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 46px;
  }

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

  .movie-grid,
  .movie-grid--compact,
  .movie-grid--related,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .movie-card__body {
    padding: 12px;
  }

  .movie-card__desc {
    min-height: 42px;
  }

  .featured-banner,
  .featured-banner img {
    min-height: 280px;
  }

  .featured-banner__content {
    padding: 24px;
  }

  .ranking-card a {
    grid-template-columns: auto 92px minmax(0, 1fr);
    gap: 12px;
  }

  .ranking-card img {
    width: 92px;
    height: 64px;
  }

  .rank-number {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

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

  .detail-hero__poster {
    width: min(260px, 76vw);
  }

  .detail-hero__inner {
    padding-bottom: 42px;
  }
}

@media (max-width: 480px) {
  .movie-grid,
  .movie-grid--compact,
  .movie-grid--related,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .mobile-nav__categories {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }
}
