:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: rgba(15, 23, 42, 0.82);
  --panel-strong: rgba(30, 41, 59, 0.92);
  --line: rgba(148, 163, 184, 0.18);
  --line-strong: rgba(34, 211, 238, 0.38);
  --text: #f8fafc;
  --muted: #94a3b8;
  --soft: #cbd5e1;
  --accent: #22d3ee;
  --accent-strong: #06b6d4;
  --gold: #facc15;
  --danger: #fb7185;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --radius: 24px;
  --radius-sm: 16px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.16), transparent 34rem),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.13), transparent 28rem),
    linear-gradient(135deg, #020617 0%, #0f172a 48%, #111827 100%);
  color: var(--text);
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.86);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 24px;
}

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.24), rgba(59, 130, 246, 0.18));
  border: 1px solid rgba(34, 211, 238, 0.38);
  color: var(--accent);
  box-shadow: 0 0 32px rgba(34, 211, 238, 0.18);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong,
.footer-logo strong {
  font-size: 20px;
  letter-spacing: 0.02em;
}

.brand-text em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

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

.desktop-nav a,
.mobile-nav a {
  border-radius: 999px;
  color: var(--soft);
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.desktop-nav a {
  padding: 10px 14px;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.mobile-nav a:hover,
.mobile-nav a.is-active {
  color: var(--accent);
  background: rgba(34, 211, 238, 0.1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.72);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--soft);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

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

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

.mobile-nav a {
  padding: 12px 14px;
  background: rgba(15, 23, 42, 0.62);
}

.hero-carousel {
  position: relative;
  min-height: clamp(620px, 74vh, 820px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  background-position: center;
  background-size: cover;
  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-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(15, 23, 42, 0.86) 42%, rgba(15, 23, 42, 0.48) 100%),
    radial-gradient(circle at 70% 45%, rgba(34, 211, 238, 0.26), transparent 38rem);
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(290px, 420px);
  align-items: center;
  gap: clamp(32px, 7vw, 92px);
  padding: 96px 0 124px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  border: 1px solid rgba(34, 211, 238, 0.36);
  border-radius: 999px;
  padding: 7px 13px;
  background: rgba(34, 211, 238, 0.1);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-copy h1,
.simple-hero h1,
.category-hero h1,
.rank-hero h1,
.detail-info h1 {
  margin: 0;
  color: var(--text);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.hero-copy h1 {
  font-size: clamp(42px, 7vw, 84px);
}

.hero-copy p {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--soft);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

.hero-meta,
.movie-meta,
.detail-meta-grid,
.detail-actions,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-meta {
  margin-top: 24px;
  color: var(--soft);
  font-weight: 800;
}

.hero-meta span:first-child,
.rank-score,
.movie-rating {
  color: var(--gold);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  display: inline-flex;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(15, 23, 42, 0.68);
  color: var(--soft);
  font-size: 12px;
  font-weight: 700;
}

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

.hero-actions,
.detail-actions {
  margin-top: 28px;
}

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

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

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #04111f;
  box-shadow: 0 16px 36px rgba(34, 211, 238, 0.22);
}

.button-ghost {
  border: 1px solid rgba(34, 211, 238, 0.34);
  background: rgba(15, 23, 42, 0.72);
  color: var(--accent);
}

.button-link {
  color: var(--soft);
}

.hero-poster,
.rank-hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.72);
  box-shadow: var(--shadow);
}

.hero-poster {
  aspect-ratio: 2 / 3;
  transform: rotate(2deg);
}

.hero-poster img,
.rank-hero-poster img,
.movie-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-poster span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.92);
  color: #04111f;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(34, 211, 238, 0.26);
}

.hero-controls {
  position: absolute;
  right: 0;
  bottom: 34px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-prev,
.hero-next,
.hero-dot {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.76);
  color: var(--text);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.hero-prev,
.hero-next {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 30px;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  padding: 0;
}

.hero-dot.is-active {
  width: 34px;
  background: var(--accent);
}

.search-panel,
.page-hero,
.rank-hero,
.detail-hero,
.detail-content,
.overview-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.86), rgba(30, 41, 59, 0.66));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: 24px;
  align-items: center;
  margin-top: -52px;
  padding: 26px;
  position: relative;
  z-index: 2;
}

.search-panel h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
}

.filters {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(130px, 0.7fr) minmax(130px, 0.7fr);
  gap: 12px;
}

.filters input,
.filters select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  outline: none;
  padding: 0 14px;
  background: rgba(2, 6, 23, 0.58);
  color: var(--text);
}

.filters input:focus,
.filters select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.1);
}

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

.compact-section {
  margin-top: 40px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-heading > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 12px;
  align-items: center;
}

.section-heading span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.12);
  color: var(--accent);
}

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

.section-heading p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
}

.section-more {
  flex: 0 0 auto;
  border: 1px solid rgba(34, 211, 238, 0.26);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--accent);
  font-weight: 800;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.72);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(34, 211, 238, 0.38);
  background: rgba(30, 41, 59, 0.86);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.26);
}

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

.movie-card-cover {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.72);
}

.movie-card-cover img {
  transition: transform 0.36s ease, filter 0.36s ease;
}

.movie-card:hover .movie-card-cover img {
  transform: scale(1.08);
  filter: saturate(1.08);
}

.movie-rating {
  position: absolute;
  top: 12px;
  left: 12px;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(2, 6, 23, 0.82);
  font-size: 12px;
  font-weight: 900;
}

.movie-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.9);
  color: #04111f;
  font-weight: 900;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.movie-card:hover .movie-play {
  opacity: 1;
  transform: translateY(0);
}

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

.movie-card-title {
  display: block;
  min-height: 1.35em;
  overflow: hidden;
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.movie-card:hover .movie-card-title {
  color: var(--accent);
}

.movie-card-body p {
  display: -webkit-box;
  min-height: 3.2em;
  margin: 10px 0 12px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta {
  gap: 8px;
  margin-bottom: 12px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

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

.category-card,
.overview-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.14), transparent 13rem),
    rgba(15, 23, 42, 0.68);
}

.category-card > a {
  display: block;
  padding: 24px;
}

.category-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(34, 211, 238, 0.12);
  color: var(--accent);
}

.category-card h3 {
  margin: 18px 0 10px;
  font-size: 22px;
}

.category-card p,
.overview-head p,
.site-footer p,
.page-hero p,
.detail-one-line,
.detail-text-block p {
  color: var(--muted);
  line-height: 1.78;
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 24px 24px;
}

.category-samples a {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--soft);
  font-size: 12px;
}

.latest-list,
.overview-samples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.compact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.62);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.compact-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: rgba(30, 41, 59, 0.8);
}

.compact-card img {
  width: 76px;
  height: 50px;
  flex: 0 0 auto;
  border-radius: 12px;
  object-fit: cover;
}

.compact-card span,
.rank-title {
  min-width: 0;
}

.compact-card strong,
.rank-title strong {
  display: block;
  overflow: hidden;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-card em,
.rank-title em {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 52px 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.66);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.rank-row:hover {
  transform: translateX(6px);
  border-color: var(--line-strong);
  background: rgba(30, 41, 59, 0.86);
}

.rank-row img {
  width: 76px;
  height: 50px;
  border-radius: 12px;
  object-fit: cover;
}

.rank-row-large img {
  height: 64px;
}

.rank-num {
  color: var(--accent);
  font-weight: 1000;
  letter-spacing: 0.04em;
}

.rank-score {
  font-weight: 1000;
}

.inner-main {
  padding: 34px 0 80px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}

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

.breadcrumb a::after {
  content: "/";
  margin-left: 9px;
  color: #475569;
}

.page-hero {
  padding: clamp(30px, 6vw, 56px);
}

.simple-hero h1,
.category-hero h1,
.rank-hero h1 {
  font-size: clamp(36px, 5vw, 66px);
}

.category-hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(34, 211, 238, 0.18), transparent 20rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.62));
}

.inline-filters {
  max-width: 820px;
  margin-top: 28px;
}

.overview-grid {
  margin-top: 26px;
}

.overview-card {
  padding: 22px;
}

.overview-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
}

.overview-head > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(34, 211, 238, 0.12);
  color: var(--accent);
}

.overview-head h2 {
  margin: 0 0 8px;
}

.overview-head a {
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--accent);
  font-weight: 900;
  white-space: nowrap;
}

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

.rank-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(28px, 6vw, 58px);
  overflow: hidden;
}

.rank-hero h2 {
  margin: 12px 0 0;
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: -0.04em;
}

.rank-hero p {
  max-width: 720px;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.8;
}

.rank-hero-poster {
  aspect-ratio: 2 / 3;
}

.detail-main {
  padding-bottom: 90px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: clamp(26px, 4vw, 46px);
  align-items: center;
  padding: clamp(20px, 4vw, 34px);
}

.player-card {
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.45);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.stream-video {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: contain;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  background:
    radial-gradient(circle at center, rgba(34, 211, 238, 0.22), transparent 18rem),
    linear-gradient(180deg, rgba(2, 6, 23, 0.32), rgba(2, 6, 23, 0.84));
  color: var(--text);
  cursor: pointer;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.play-circle {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #04111f;
  font-size: 28px;
  font-weight: 1000;
  box-shadow: 0 16px 42px rgba(34, 211, 238, 0.28);
}

.player-overlay strong {
  font-size: 18px;
}

.detail-info h1 {
  font-size: clamp(32px, 4vw, 58px);
}

.detail-one-line {
  margin: 18px 0 0;
  font-size: 17px;
}

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

.detail-meta-grid span {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 16px;
  padding: 12px;
  background: rgba(2, 6, 23, 0.42);
  color: var(--text);
  font-weight: 900;
}

.detail-meta-grid b {
  color: var(--muted);
  font-size: 12px;
}

.detail-tags {
  margin-top: 18px;
}

.detail-content {
  margin-top: 28px;
  padding: clamp(24px, 4vw, 42px);
}

.detail-text-block + .detail-text-block {
  margin-top: 28px;
}

.detail-text-block h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.detail-text-block p {
  margin: 0;
  font-size: 17px;
}

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

.empty-state {
  display: none;
  margin: 28px 0 0;
  border: 1px dashed rgba(148, 163, 184, 0.28);
  border-radius: 18px;
  padding: 18px;
  color: var(--muted);
  text-align: center;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 46px 0;
}

.footer-logo {
  margin-bottom: 16px;
}

.site-footer h2 {
  margin: 0 0 16px;
  font-size: 18px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--muted);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 20px 0;
  color: #64748b;
  font-size: 14px;
}

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

  .menu-toggle {
    display: block;
  }

  .hero-content,
  .search-panel,
  .rank-hero,
  .detail-hero {
    grid-template-columns: 1fr;
  }

  .hero-poster,
  .rank-hero-poster {
    max-width: 320px;
  }

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

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

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

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

  .brand-text strong {
    font-size: 17px;
  }

  .brand-text em {
    display: none;
  }

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

  .hero-content {
    padding-top: 74px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-actions,
  .detail-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-controls {
    bottom: 22px;
  }

  .search-panel {
    margin-top: 22px;
  }

  .filters,
  .inline-filters,
  .movie-grid,
  .category-grid,
  .overview-grid,
  .latest-list,
  .overview-samples,
  .related-grid,
  .footer-grid,
  .detail-meta-grid {
    grid-template-columns: 1fr;
  }

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

  .rank-row {
    grid-template-columns: 42px 64px minmax(0, 1fr);
  }

  .rank-row img {
    width: 64px;
    height: 48px;
  }

  .rank-score {
    grid-column: 3;
  }

  .overview-head {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .overview-head a {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
