:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --teal-900: #134e4a;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-100: #ccfbf1;
  --teal-50: #f0fdfa;
  --cyan-600: #0891b2;
  --cyan-500: #06b6d4;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 42px rgba(15, 23, 42, 0.14);
  --shadow-lg: 0 28px 64px rgba(15, 23, 42, 0.20);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--slate-900);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  background: linear-gradient(135deg, var(--slate-50) 0%, var(--teal-50) 46%, #ecfeff 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(20, 184, 166, 0.18);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  gap: 24px;
}

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

.brand span:last-child {
  font-size: 22px;
  background: linear-gradient(90deg, var(--teal-600), var(--cyan-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal-500), var(--cyan-500));
  box-shadow: 0 10px 24px rgba(20, 184, 166, 0.32);
  position: relative;
  flex: 0 0 auto;
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 9px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid var(--white);
}

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

.desktop-nav a,
.mobile-nav a {
  border-radius: 12px;
  color: var(--slate-700);
  font-size: 14px;
  font-weight: 650;
  padding: 9px 12px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.mobile-nav a:hover,
.mobile-nav a.is-active {
  color: var(--teal-700);
  background: rgba(20, 184, 166, 0.10);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(20, 184, 166, 0.10);
  padding: 10px;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--slate-700);
}

.mobile-nav {
  display: none;
  padding: 10px 16px 18px;
  border-top: 1px solid rgba(20, 184, 166, 0.16);
}

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

.hero-carousel {
  position: relative;
  height: 70vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--slate-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.7s ease, transform 1.2s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-slide > img,
.detail-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.70) 46%, rgba(15, 23, 42, 0.18) 100%);
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 132px;
}

.hero-copy {
  width: min(680px, 100%);
  color: var(--white);
}

.hero-kicker,
.detail-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-kicker span,
.detail-badges span,
.movie-card__type,
.poster-tile__type,
.topic-main span,
.tag-row span,
.detail-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.hero-kicker span,
.detail-badges span,
.topic-main span {
  padding: 7px 11px;
  color: var(--white);
  background: rgba(20, 184, 166, 0.88);
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.hero-copy p {
  margin: 0;
  color: rgba(226, 232, 240, 0.94);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 14px;
  padding: 0 20px;
  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: var(--white);
  background: linear-gradient(135deg, var(--teal-500), var(--cyan-500));
  box-shadow: 0 18px 32px rgba(20, 184, 166, 0.30);
}

.btn-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 8;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(12px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: translateY(-50%) scale(1.05);
}

.hero-control::before {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  border-top: 3px solid var(--white);
  border-left: 3px solid var(--white);
  top: 16px;
}

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

.hero-control--prev::before {
  transform: rotate(-45deg);
  left: 18px;
}

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

.hero-control--next::before {
  transform: rotate(135deg);
  right: 18px;
}

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

.hero-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
  width: 34px;
  background: var(--white);
}

.hero-search {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 9;
  transform: translateX(-50%);
}

.search-panel,
.filter-bar {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(20, 184, 166, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.search-panel label,
.filter-bar span {
  color: var(--slate-700);
  font-size: 14px;
  font-weight: 800;
}

.search-panel > div,
.filter-bar {
  grid-template-columns: 1fr auto;
}

.search-panel > div {
  display: grid;
  gap: 10px;
}

.search-panel input,
.search-panel button,
.filter-bar input,
.filter-bar select {
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.10);
}

.search-panel input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  color: var(--slate-800);
  background: var(--white);
  padding: 0 14px;
}

.search-panel button {
  color: var(--white);
  background: var(--teal-600);
  border-color: var(--teal-600);
  padding: 0 22px;
  font-weight: 800;
}

.search-panel nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.search-panel nav a {
  border-radius: 999px;
  color: var(--teal-700);
  background: rgba(20, 184, 166, 0.10);
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding-block: 36px;
}

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

.section-title h2 {
  margin: 0;
  color: var(--slate-900);
  font-size: clamp(24px, 4vw, 36px);
  letter-spacing: -0.04em;
}

.section-title a {
  color: var(--teal-700);
  font-weight: 800;
}

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

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

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

.movie-card > a {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.movie-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--slate-200);
}

.movie-card__media img,
.poster-tile img,
.topic-main img,
.rank-item img,
.detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.42s ease;
}

.movie-card > a:hover img,
.poster-tile:hover img,
.topic-main:hover img,
.rank-item:hover img {
  transform: scale(1.06);
}

.movie-card__shade {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.16));
  transition: opacity 0.24s ease;
}

.movie-card > a:hover .movie-card__shade {
  opacity: 1;
}

.play-icon,
.player-play-icon {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: var(--teal-500);
  box-shadow: 0 20px 40px rgba(20, 184, 166, 0.36);
  position: relative;
}

.play-icon::after,
.player-play-icon::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 18px;
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 16px solid var(--white);
}

.movie-card__type,
.poster-tile__type {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 7px 10px;
  color: var(--white);
  background: rgba(20, 184, 166, 0.92);
}

.movie-card__body {
  padding: 16px;
}

.movie-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--slate-500);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.movie-card h3 {
  min-height: 48px;
  margin: 0 0 8px;
  color: var(--slate-900);
  font-size: 18px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.movie-card > a:hover h3 {
  color: var(--teal-700);
}

.movie-card p {
  min-height: 46px;
  margin: 0 0 12px;
  color: var(--slate-600);
  font-size: 14px;
  line-height: 1.65;
}

.tag-row,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-row span,
.detail-tags a {
  padding: 6px 9px;
  color: var(--teal-700);
  background: rgba(20, 184, 166, 0.10);
}

.poster-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}

.poster-row::-webkit-scrollbar {
  height: 8px;
}

.poster-row::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.28);
}

.poster-tile {
  position: relative;
  flex: 0 0 280px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  background: var(--slate-800);
}

.poster-tile__shade,
.topic-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.86) 0%, rgba(2, 6, 23, 0.22) 64%, rgba(2, 6, 23, 0.06) 100%);
}

.poster-tile strong {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  color: var(--white);
  font-size: 17px;
  line-height: 1.3;
}

.topic-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 22px;
}

.topic-main {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--slate-900);
  box-shadow: var(--shadow-md);
}

.topic-main > div {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  color: var(--white);
}

.topic-main h3 {
  margin: 14px 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.04em;
}

.topic-main p {
  margin: 0;
  color: rgba(226, 232, 240, 0.92);
  line-height: 1.8;
}

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

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

.rank-item a {
  display: grid;
  grid-template-columns: auto 92px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  padding: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.rank-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-500), var(--cyan-500));
  border-radius: 12px;
  font-weight: 900;
}

.rank-item img {
  width: 92px;
  height: 62px;
  border-radius: 12px;
  background: var(--slate-200);
}

.rank-info {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.rank-info strong {
  overflow: hidden;
  color: var(--slate-900);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-info em {
  color: var(--teal-700);
  font-size: 13px;
  font-style: normal;
  font-weight: 750;
}

.rank-info small {
  overflow: hidden;
  color: var(--slate-600);
  font-size: 13px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.category-card,
.category-overview-card {
  min-height: 150px;
  padding: 22px;
  border-radius: var(--radius-lg);
  color: var(--slate-800);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-card span,
.category-overview-card__head span {
  display: block;
  margin-bottom: 10px;
  color: var(--teal-700);
  font-size: 20px;
  font-weight: 900;
}

.category-card p,
.category-overview-card p {
  margin: 0;
  color: var(--slate-600);
  line-height: 1.7;
}

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

.category-overview-card__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.category-overview-card__head strong {
  color: var(--teal-700);
  font-size: 14px;
}

.category-mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.category-mini-links a {
  border-radius: 999px;
  color: var(--slate-700);
  background: var(--slate-100);
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 700;
}

.page-hero {
  color: var(--white);
  background: radial-gradient(circle at 22% 20%, rgba(20, 184, 166, 0.44), transparent 34%), linear-gradient(135deg, var(--slate-900), var(--teal-900) 52%, #164e63);
  padding: 86px 0 76px;
}

.compact-hero {
  padding: 62px 0 54px;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(226, 232, 240, 0.92);
  line-height: 1.8;
}

.page-hero p:first-child {
  margin-bottom: 10px;
  color: var(--teal-100);
  font-weight: 850;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.05em;
}

.hero-line {
  width: 82px;
  height: 4px;
  margin: 18px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal-500), var(--cyan-500));
}

.filter-bar {
  grid-template-columns: 1fr 220px 180px;
  margin-bottom: 24px;
}

.filter-bar label {
  display: grid;
  gap: 8px;
}

.empty-state {
  display: none;
  margin-top: 24px;
  border-radius: var(--radius-lg);
  color: var(--slate-600);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  padding: 34px;
  text-align: center;
  font-weight: 800;
}

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

.detail-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: var(--slate-900);
}

.detail-bg {
  position: absolute;
  inset: 0;
  filter: blur(2px);
  transform: scale(1.02);
}

.detail-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.74) 48%, rgba(15, 23, 42, 0.38));
}

.detail-hero__inner {
  position: relative;
  padding: 40px 0 58px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(226, 232, 240, 0.88);
  font-size: 14px;
  margin-bottom: 28px;
}

.breadcrumb a {
  color: var(--teal-100);
}

.detail-panel {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 34px;
  align-items: end;
}

.detail-cover {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-lg);
  background: var(--slate-800);
}

.detail-copy {
  color: var(--white);
}

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

.detail-one-line {
  max-width: 820px;
  color: rgba(226, 232, 240, 0.94);
  font-size: 19px;
  line-height: 1.8;
}

.detail-tags {
  margin: 18px 0 26px;
}

.player-section {
  padding-top: 48px;
}

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--slate-950);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}

.movie-video {
  width: 100%;
  height: 100%;
  display: block;
  background: var(--slate-950);
  object-fit: contain;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 14px;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle at center, rgba(20, 184, 166, 0.24), rgba(2, 6, 23, 0.50) 56%, rgba(2, 6, 23, 0.68));
}

.player-overlay strong {
  font-size: 18px;
  letter-spacing: 0.02em;
}

.player-box.is-playing .player-overlay {
  display: none;
}

.article-section {
  padding-top: 20px;
}

.content-card {
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  padding: clamp(22px, 4vw, 38px);
}

.content-card h2 {
  margin: 0 0 12px;
  color: var(--slate-900);
  font-size: 26px;
  letter-spacing: -0.03em;
}

.content-card h2:not(:first-child) {
  margin-top: 28px;
}

.content-card p {
  margin: 0;
  color: var(--slate-700);
  font-size: 17px;
  line-height: 1.95;
}

.meta-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 0;
}

.meta-list div {
  border-radius: 16px;
  background: var(--slate-50);
  padding: 15px;
}

.meta-list dt {
  color: var(--slate-500);
  font-size: 13px;
  font-weight: 800;
}

.meta-list dd {
  margin: 6px 0 0;
  color: var(--slate-900);
  font-weight: 850;
}

.site-footer {
  margin-top: 56px;
  color: var(--slate-200);
  background: linear-gradient(135deg, var(--slate-900), var(--teal-900), #164e63);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 38px;
  padding: 48px 0 34px;
}

.footer-brand span:last-child {
  color: var(--white);
  font-size: 22px;
}

.footer-about p {
  max-width: 520px;
  color: rgba(226, 232, 240, 0.86);
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 18px;
}

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

.site-footer a:hover {
  color: var(--teal-100);
}

.footer-bottom {
  border-top: 1px solid rgba(204, 251, 241, 0.18);
  color: rgba(226, 232, 240, 0.70);
  padding: 20px;
  text-align: center;
  font-size: 14px;
}

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

  .mobile-toggle {
    display: block;
  }

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

  .topic-layout,
  .rank-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

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

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

  .brand span:last-child {
    font-size: 19px;
  }

  .hero-carousel {
    height: auto;
    min-height: 680px;
  }

  .hero-content {
    padding: 132px 0 210px;
    align-items: center;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 40px;
  }

  .hero-control {
    display: none;
  }

  .hero-dots {
    bottom: 176px;
  }

  .hero-search {
    bottom: 18px;
  }

  .search-panel > div,
  .filter-bar {
    grid-template-columns: 1fr;
  }

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

  .movie-card__body {
    padding: 13px;
  }

  .movie-card h3 {
    font-size: 16px;
  }

  .movie-card p {
    font-size: 13px;
  }

  .poster-tile {
    flex-basis: 236px;
  }

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

  .detail-cover {
    width: min(260px, 78vw);
  }

  .meta-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .rank-item a {
    grid-template-columns: auto 74px minmax(0, 1fr);
  }

  .rank-item img {
    width: 74px;
    height: 52px;
  }
}

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

  .hero-copy h1,
  .hero-copy h2,
  .detail-copy h1 {
    font-size: 34px;
  }

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