:root {
  --primary-50: #fef6ee;
  --primary-100: #fee8d2;
  --primary-500: #f0641f;
  --primary-600: #e14915;
  --primary-700: #bb3513;
  --secondary-50: #f0fdf9;
  --secondary-100: #ccfbef;
  --secondary-500: #14b895;
  --secondary-700: #0a7763;
  --accent-50: #fefce8;
  --neutral-50: #fafafa;
  --neutral-100: #f5f5f5;
  --neutral-200: #e5e5e5;
  --neutral-300: #d4d4d4;
  --neutral-500: #737373;
  --neutral-600: #525252;
  --neutral-700: #404040;
  --neutral-800: #262626;
  --neutral-900: #171717;
  --shadow-soft: 0 2px 15px -3px rgba(0, 0, 0, 0.07), 0 10px 20px -2px rgba(0, 0, 0, 0.04);
  --shadow-medium: 0 8px 28px -8px rgba(0, 0, 0, 0.16);
  --shadow-hard: 0 10px 40px -3px rgba(0, 0, 0, 0.15), 0 20px 30px -10px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--neutral-900);
  background: var(--neutral-50);
  font-family: Inter, -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,
select {
  font: inherit;
}

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

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

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  border-radius: 12px;
  font-weight: 800;
  box-shadow: 0 12px 25px rgba(240, 100, 31, 0.28);
}

.logo-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--neutral-900);
}

.logo-subtitle {
  margin-top: 3px;
  font-size: 12px;
  color: var(--neutral-600);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  color: var(--neutral-700);
  font-size: 15px;
  font-weight: 650;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--primary-600);
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--neutral-100);
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--neutral-800);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 10px;
  border: 1px solid var(--neutral-200);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

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

.mobile-nav-link {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--neutral-700);
  font-weight: 650;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: var(--primary-700);
  background: var(--primary-50);
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 26px auto 0;
}

.hero-carousel {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 30px;
  background: var(--neutral-900);
  box-shadow: var(--shadow-hard);
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(20, 184, 149, 0.32), transparent 32%),
    linear-gradient(90deg, rgba(23, 23, 23, 0.9), rgba(23, 23, 23, 0.62) 45%, rgba(23, 23, 23, 0.18));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 64px;
  color: #ffffff;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 7px 12px;
  color: var(--primary-700);
  background: var(--primary-50);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-content h1 {
  max-width: 780px;
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.hero-lead {
  max-width: 640px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.hero-tags,
.tag-row,
.filter-row,
.meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 13px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #ffffff;
  background: var(--primary-500);
  box-shadow: 0 14px 30px rgba(240, 100, 31, 0.28);
}

.btn-primary:hover {
  background: var(--primary-600);
}

.btn-glass {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.hero-dots {
  position: absolute;
  left: 64px;
  bottom: 34px;
  z-index: 3;
  display: flex;
  gap: 9px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  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: 32px;
  background: #ffffff;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--neutral-200);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.hero-panel-title {
  color: var(--neutral-900);
  font-size: 18px;
  font-weight: 800;
}

.hero-side-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: var(--neutral-50);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-side-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.hero-side-card img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
}

.hero-side-card strong,
.rank-copy strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--neutral-900);
  line-height: 1.35;
}

.hero-side-card small,
.rank-copy small {
  display: block;
  margin-top: 5px;
  color: var(--neutral-500);
}

.hero-panel-link,
.text-link {
  color: var(--primary-600);
  font-weight: 800;
}

.search-band {
  margin-top: 28px;
  padding: 32px 0;
  background: linear-gradient(135deg, var(--primary-50), #ffffff, var(--secondary-50));
}

.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.search-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.search-layout h2,
.section-heading h2,
.page-hero h1,
.detail-card h2,
.meta-card h2 {
  margin: 0 0 10px;
  color: var(--neutral-900);
  line-height: 1.2;
}

.search-layout p,
.section-heading p,
.page-hero p {
  margin: 0;
  color: var(--neutral-600);
}

.search-box {
  padding: 18px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.search-box input,
.page-filter input,
.page-filter select {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--neutral-200);
  border-radius: 14px;
  outline: none;
  background: #ffffff;
  color: var(--neutral-800);
}

.search-box input:focus,
.page-filter input:focus,
.page-filter select:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px rgba(240, 100, 31, 0.12);
}

.filter-row {
  margin-top: 12px;
}

.filter-chip {
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  color: var(--neutral-700);
  background: var(--neutral-100);
  cursor: pointer;
  font-weight: 700;
}

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

.search-results {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.search-result-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: var(--neutral-50);
}

.search-result-item img {
  width: 72px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
}

.search-result-item strong {
  display: block;
  overflow: hidden;
  color: var(--neutral-900);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.search-result-item small {
  color: var(--neutral-500);
}

.content-section {
  padding: 56px 0;
}

.gradient-section {
  background: linear-gradient(135deg, var(--primary-50), #ffffff, var(--secondary-50));
}

.white-section {
  background: #ffffff;
}

.muted-section {
  background: var(--neutral-50);
}

.section-heading {
  margin-bottom: 28px;
}

.center-heading {
  text-align: center;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.section-heading h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 850;
  letter-spacing: -0.03em;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--neutral-200);
  border-radius: 22px;
  background: #ffffff;
  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(-4px);
  border-color: rgba(240, 100, 31, 0.35);
  box-shadow: var(--shadow-medium);
}

.movie-cover {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-50), var(--secondary-50));
}

.wide-cover {
  aspect-ratio: 16 / 9;
}

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

.movie-card:hover .movie-cover img {
  transform: scale(1.06);
}

.type-pill,
.year-pill,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(23, 23, 23, 0.72);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.type-pill {
  top: 10px;
  left: 10px;
}

.year-pill {
  top: 14px;
  right: 14px;
}

.rank-badge {
  left: 10px;
  bottom: 10px;
  background: var(--primary-500);
}

.movie-card-body {
  padding: 18px;
}

.featured-card .movie-card-body {
  padding: 22px;
}

.meta-pills span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary-700);
  font-size: 12px;
  font-weight: 750;
}

.meta-pills span:nth-child(2n),
.tag-row span:nth-child(2n) {
  background: var(--secondary-100);
  color: var(--secondary-700);
}

.card-meta {
  margin-bottom: 8px;
  color: var(--neutral-500);
  font-size: 12px;
}

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

.featured-card h3 {
  font-size: 21px;
}

.movie-card h3 a:hover {
  color: var(--primary-600);
}

.card-one-line,
.card-summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  margin: 0;
  color: var(--neutral-600);
}

.card-one-line {
  -webkit-line-clamp: 2;
  font-size: 14px;
}

.card-summary {
  -webkit-line-clamp: 3;
  margin-top: 10px;
  color: var(--neutral-500);
  font-size: 13px;
}

.tag-row {
  margin-top: 14px;
}

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

.category-card {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.category-card img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(240, 100, 31, 0.9), rgba(20, 184, 149, 0.78));
}

.category-copy {
  position: absolute;
  inset: auto 18px 18px 18px;
  color: #ffffff;
}

.category-copy strong {
  display: block;
  font-size: 22px;
  font-weight: 850;
}

.category-copy small {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 6px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  opacity: 0.92;
}

.rank-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
}

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

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

.rank-item {
  display: grid;
  grid-template-columns: 42px 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--neutral-200);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-item:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 100, 31, 0.35);
}

.rank-number {
  color: var(--primary-600);
  font-size: 20px;
  font-weight: 900;
}

.rank-thumb img {
  width: 86px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
}

.page-hero {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--primary-50), #ffffff, var(--secondary-50));
}

.small-hero {
  text-align: center;
}

.page-hero-inner {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -0.04em;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-top: 22px;
  color: var(--neutral-500);
  font-size: 14px;
}

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

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

.category-overview-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--neutral-200);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.category-overview-media {
  position: relative;
  min-height: 230px;
  overflow: hidden;
}

.category-overview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-overview-media span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 10px 12px;
  border-radius: 14px;
  color: #ffffff;
  background: rgba(23, 23, 23, 0.7);
  font-weight: 850;
  backdrop-filter: blur(8px);
}

.category-overview-body {
  padding: 24px;
}

.category-overview-body h2 {
  margin: 0 0 10px;
}

.category-overview-body p {
  margin: 0 0 16px;
  color: var(--neutral-600);
}

.category-sample-links {
  display: grid;
  gap: 8px;
}

.category-sample-links a {
  overflow: hidden;
  color: var(--primary-600);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 700;
}

.page-filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 160px;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid var(--neutral-200);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

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

.empty-state {
  display: none;
  padding: 60px 0;
  color: var(--neutral-600);
  text-align: center;
}

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

.watch-hero {
  padding: 26px 0 42px;
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(240, 100, 31, 0.32), transparent 30%),
    linear-gradient(135deg, #0f0f10, #1f1512 56%, #13221f);
}

.dark-breadcrumb {
  color: rgba(255, 255, 255, 0.68);
}

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

.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: stretch;
  margin-top: 22px;
}

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

.movie-player {
  width: 100%;
  height: 100%;
  background: #000000;
  cursor: pointer;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.72));
  cursor: pointer;
}

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

.play-orb {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  padding-left: 5px;
  border-radius: 999px;
  background: var(--primary-500);
  box-shadow: 0 20px 45px rgba(240, 100, 31, 0.34);
  font-size: 34px;
}

.play-title {
  max-width: min(520px, 80%);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 20px;
  font-weight: 850;
}

.player-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
}

.player-controls button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.player-controls button:hover {
  background: rgba(255, 255, 255, 0.28);
}

.player-name {
  flex: 1;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 800;
}

.watch-side {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

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

.watch-side-copy {
  padding: 22px;
}

.watch-side-copy h1 {
  margin: 8px 0 12px;
  font-size: 30px;
  line-height: 1.18;
}

.watch-side-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

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

.detail-card,
.meta-card {
  padding: 26px;
  border: 1px solid var(--neutral-200);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.detail-card + .detail-card {
  margin-top: 18px;
}

.detail-card p {
  margin: 0 0 14px;
  color: var(--neutral-700);
}

.detail-card p:last-child {
  margin-bottom: 0;
}

.large-tags span {
  padding: 8px 12px;
  font-size: 14px;
}

.detail-meta {
  position: sticky;
  top: 92px;
}

.meta-card dl {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px 14px;
  margin: 0;
}

.meta-card dt {
  color: var(--neutral-500);
}

.meta-card dd {
  margin: 0;
  color: var(--neutral-900);
  font-weight: 750;
}

.site-footer {
  color: var(--neutral-300);
  background: var(--neutral-900);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 24px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0;
}

.footer-inner strong {
  color: #ffffff;
  font-size: 18px;
}

.footer-inner p {
  margin: 8px 0 0;
  color: var(--neutral-300);
  font-size: 14px;
}

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

.footer-links a:hover {
  color: var(--primary-500);
}

.footer-note {
  color: var(--neutral-500);
  font-size: 14px;
}

@media (max-width: 1100px) {
  .hero-shell,
  .watch-layout,
  .rank-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }

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

  .hero-panel-title,
  .hero-panel-link {
    grid-column: 1 / -1;
  }

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

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

@media (max-width: 820px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }

  .logo-subtitle {
    display: none;
  }

  .hero-shell {
    width: min(100% - 20px, 1180px);
    margin-top: 14px;
  }

  .hero-carousel {
    min-height: 500px;
    border-radius: 24px;
  }

  .hero-content {
    padding: 34px 24px 82px;
  }

  .hero-dots {
    left: 24px;
    bottom: 28px;
  }

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

  .search-layout,
  .category-overview-grid,
  .category-overview-card,
  .footer-inner,
  .page-filter {
    grid-template-columns: 1fr;
  }

  .featured-grid,
  .movie-grid,
  .compact-grid,
  .catalog-grid,
  .category-grid,
  .long-rank-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .category-overview-media {
    min-height: 190px;
  }

  .detail-meta {
    position: static;
  }
}

@media (max-width: 540px) {
  .site-header-inner,
  .section-inner,
  .footer-inner,
  .page-hero-inner {
    width: min(100% - 24px, 1180px);
  }

  .logo-title {
    font-size: 17px;
  }

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

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions,
  .footer-links {
    flex-direction: column;
  }

  .featured-grid,
  .movie-grid,
  .compact-grid,
  .catalog-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

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

  .rank-thumb img {
    width: 72px;
    height: 54px;
  }

  .watch-side-copy h1 {
    font-size: 24px;
  }
}
