:root {
  --dark-950: #05070a;
  --dark-900: #07090c;
  --dark-850: #0c1016;
  --dark-800: #12171e;
  --dark-700: #1d2530;
  --dark-600: #283342;
  --accent-500: #e6a800;
  --accent-400: #ffc61a;
  --primary-500: #0056e0;
  --primary-400: #1a75ff;
  --text-main: #ffffff;
  --text-soft: #d1d5db;
  --text-muted: #9ca3af;
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(0, 86, 224, 0.22), transparent 34rem),
    linear-gradient(180deg, var(--dark-900) 0%, var(--dark-800) 48%, var(--dark-900) 100%);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(7, 9, 12, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #111827;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-400), var(--accent-500));
  box-shadow: 0 0 24px rgba(230, 168, 0, 0.32);
}

.brand-text {
  font-size: 20px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--text-soft);
}

.nav-link {
  position: relative;
  padding: 22px 0;
  transition: color 0.2s ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent-400);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-400);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.header-search {
  display: flex;
  align-items: center;
  width: min(300px, 28vw);
  border: 1px solid var(--dark-700);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(18, 23, 30, 0.76);
}

.header-search input {
  width: 100%;
  min-width: 0;
  color: var(--text-main);
  border: 0;
  outline: 0;
  background: transparent;
  padding: 10px 14px;
}

.header-search button {
  color: #111827;
  border: 0;
  background: var(--accent-400);
  padding: 10px 15px;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--dark-700);
  border-radius: 12px;
  background: var(--dark-800);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--text-main);
}

.hero-slider {
  position: relative;
  min-height: 70vh;
  padding-top: 64px;
  overflow: hidden;
  background: var(--dark-950);
}

.hero-stage {
  position: relative;
  min-height: calc(70vh - 64px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  background-position: center;
  background-size: cover;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

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

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  min-height: calc(70vh - 64px);
  gap: 48px;
  padding: 56px 0 120px;
}

.hero-copy {
  max-width: 760px;
  animation: slideUp 0.7s ease both;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 12px;
  color: var(--accent-400);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-shadow: 0 16px 46px rgba(0, 0, 0, 0.55);
}

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

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

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

.hero-tags span,
.tag-row span {
  color: var(--accent-400);
  border: 1px solid rgba(230, 168, 0, 0.28);
  border-radius: 999px;
  background: rgba(230, 168, 0, 0.1);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

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

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

.button.primary {
  color: #111827;
  background: linear-gradient(135deg, var(--accent-400), var(--accent-500));
  box-shadow: 0 16px 34px rgba(230, 168, 0, 0.28);
}

.button.ghost {
  color: var(--text-main);
  border: 1px solid var(--dark-600);
  background: rgba(18, 23, 30, 0.72);
}

.button.text {
  color: var(--accent-400);
  padding-inline: 8px;
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: var(--dark-800);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.hero-poster::before {
  position: absolute;
  inset: 14px;
  z-index: -1;
  content: "";
  border-radius: 24px;
  background: rgba(230, 168, 0, 0.2);
  filter: blur(28px);
}

.hero-poster img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(7, 9, 12, 0.62);
  font-size: 36px;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
  background: rgba(230, 168, 0, 0.88);
  transform: translateY(-50%) scale(1.04);
}

.hero-control.prev {
  left: max(18px, calc((100vw - 1180px) / 2 - 72px));
}

.hero-control.next {
  right: max(18px, calc((100vw - 1180px) / 2 - 72px));
}

.hero-dots {
  position: absolute;
  right: 0;
  bottom: 92px;
  left: 0;
  z-index: 6;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero-dot {
  width: 30px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

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

.hero-thumb-row {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.hero-thumb {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(18, 23, 30, 0.7);
  padding: 8px;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.hero-thumb.is-active,
.hero-thumb:hover {
  border-color: rgba(255, 198, 26, 0.7);
  background: rgba(18, 23, 30, 0.92);
}

.hero-thumb img {
  width: 44px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
}

.hero-thumb span {
  overflow: hidden;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-main {
  padding-top: 64px;
}

.inner-hero {
  padding: 72px 0 54px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 16% 20%, rgba(230, 168, 0, 0.16), transparent 30rem),
    linear-gradient(135deg, rgba(7, 9, 12, 0.96), rgba(18, 23, 30, 0.88));
}

.inner-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.inner-hero p:not(.section-kicker) {
  max-width: 760px;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.8;
}

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

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

.section {
  padding: 68px 0;
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3.8vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.section-heading p:last-child {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-action {
  color: var(--accent-400);
  font-weight: 800;
  white-space: nowrap;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(18, 23, 30, 0.86);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.movie-card:hover {
  border-color: rgba(255, 198, 26, 0.45);
  background: rgba(29, 37, 48, 0.92);
  transform: translateY(-6px);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--dark-700);
}

.poster-link img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.76));
}

.poster-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  color: #111827;
  border-radius: 999px;
  background: var(--accent-400);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

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

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

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--text-muted);
  font-size: 12px;
}

.movie-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 6px;
}

.movie-card h2 {
  margin: 10px 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.movie-card h2 a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 0.2s ease;
}

.movie-card h2 a:hover {
  color: var(--accent-400);
}

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

.movie-card.compact .movie-card-body {
  padding: 12px;
}

.movie-card.compact h2 {
  font-size: 15px;
}

.movie-card.compact p,
.movie-card.compact .tag-row {
  display: none;
}

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

.category-card,
.category-wide-card,
.prose-card,
.side-card,
.player-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(18, 23, 30, 0.84);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.category-card {
  padding: 20px;
  min-height: 210px;
}

.category-title {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--text-main);
  font-size: 22px;
  font-weight: 900;
}

.category-card p,
.category-wide-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

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

.category-mini-links a {
  color: var(--text-soft);
  border: 1px solid var(--dark-700);
  border-radius: 999px;
  background: rgba(7, 9, 12, 0.35);
  padding: 7px 10px;
  font-size: 12px;
}

.category-mini-links a:hover {
  color: var(--accent-400);
  border-color: rgba(255, 198, 26, 0.46);
}

.category-wide-grid {
  display: grid;
  gap: 18px;
}

.category-wide-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px;
}

.category-wide-card h2 {
  margin: 0;
  font-size: 30px;
}

.ranking-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: center;
}

.ranking-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.ranking-copy p {
  color: var(--text-muted);
  line-height: 1.8;
}

.ranking-list,
.full-ranking {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.ranking-list li,
.rank-row {
  display: grid;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(18, 23, 30, 0.86);
}

.ranking-list li {
  grid-template-columns: 48px minmax(0, 1fr) 72px;
  gap: 12px;
  padding: 14px;
}

.ranking-list span,
.rank-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #111827;
  border-radius: 12px;
  background: var(--accent-400);
  font-weight: 900;
}

.ranking-list a,
.rank-title {
  overflow: hidden;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-list em {
  color: var(--text-muted);
  font-style: normal;
  text-align: right;
}

.full-ranking {
  display: grid;
  gap: 10px;
}

.rank-row {
  grid-template-columns: 54px minmax(0, 1fr) 90px 90px 120px 78px;
  gap: 12px;
  padding: 12px 14px;
  color: var(--text-soft);
}

.rank-title:hover,
.rank-play:hover {
  color: var(--accent-400);
}

.rank-play {
  color: var(--accent-400);
  font-weight: 800;
  text-align: right;
}

.filter-bar,
.search-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.filter-bar input,
.filter-bar select,
.search-panel input {
  min-height: 46px;
  color: var(--text-main);
  border: 1px solid var(--dark-700);
  border-radius: 14px;
  outline: 0;
  background: rgba(18, 23, 30, 0.88);
  padding: 0 14px;
}

.filter-bar input,
.search-panel input {
  flex: 1 1 260px;
}

.filter-bar select {
  flex: 0 0 170px;
}

.search-panel {
  max-width: 760px;
  margin-top: 30px;
}

.search-panel input {
  min-height: 54px;
  font-size: 16px;
}

.detail-main {
  padding-top: 64px;
}

.detail-hero {
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid var(--line);
}

.detail-hero-inner {
  padding: 54px 0 64px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 36px;
  align-items: end;
}

.detail-poster {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.detail-poster img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail-copy h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.detail-one-line {
  max-width: 830px;
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: 19px;
  line-height: 1.8;
}

.player-section {
  padding-bottom: 36px;
}

.player-card {
  overflow: hidden;
}

.player-shell {
  position: relative;
  background: #000;
}

.movie-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.play-toggle {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--text-main);
  border: 0;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.62));
  cursor: pointer;
}

.player-shell.is-playing .play-toggle {
  display: none;
}

.play-icon {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  color: #111827;
  border-radius: 50%;
  background: var(--accent-400);
  box-shadow: 0 16px 34px rgba(230, 168, 0, 0.32);
  font-size: 30px;
  text-indent: 4px;
}

.play-toggle span:last-child {
  font-size: 18px;
  font-weight: 900;
}

.player-info {
  padding: 22px;
}

.player-info h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.player-info p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}

.prose-card,
.side-card {
  padding: 26px;
}

.prose-card h2,
.side-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.prose-card p {
  margin: 0 0 24px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.9;
}

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

.side-card dt {
  color: var(--text-muted);
}

.side-card dd {
  margin: 0;
  color: var(--text-soft);
}

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

.related-text-links a {
  color: var(--text-soft);
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.related-text-links a:hover {
  color: var(--accent-400);
}

.site-footer {
  margin-top: 44px;
  border-top: 1px solid var(--line);
  background: rgba(7, 9, 12, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 28px;
  padding: 42px 0;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent-400);
  font-size: 24px;
  font-weight: 900;
}

.site-footer p {
  max-width: 520px;
  color: var(--text-muted);
  line-height: 1.8;
}

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

.footer-links h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

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

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

.footer-bottom {
  color: var(--text-muted);
  border-top: 1px solid var(--line);
  padding: 18px 0;
  text-align: center;
}

.is-hidden {
  display: none !important;
}

.empty-state {
  grid-column: 1 / -1;
  color: var(--text-muted);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(18, 23, 30, 0.74);
  padding: 34px;
  text-align: center;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

  .hero-content {
    grid-template-columns: minmax(0, 1fr) 220px;
  }

  .ranking-layout,
  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 60px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 60px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 9, 12, 0.98);
    padding: 14px 22px;
  }

  body.menu-open .main-nav {
    display: flex;
  }

  .nav-link {
    padding: 14px 0;
  }

  .header-search {
    display: none;
  }

  .hero-slider,
  .hero-stage,
  .hero-content {
    min-height: 82vh;
  }

  .hero-content {
    display: flex;
    align-items: flex-end;
    padding: 52px 0 150px;
  }

  .hero-poster {
    display: none;
  }

  .hero-control {
    top: auto;
    bottom: 96px;
    width: 42px;
    height: 42px;
    font-size: 30px;
  }

  .hero-control.prev {
    left: 16px;
  }

  .hero-control.next {
    right: 16px;
  }

  .hero-thumb-row {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-thumb {
    min-width: 190px;
  }

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

  .section-heading,
  .category-wide-card {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .detail-poster {
    max-width: 240px;
  }

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

  .rank-row span:nth-of-type(2),
  .rank-row span:nth-of-type(4),
  .rank-play {
    display: none;
  }

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

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

  .brand-text {
    font-size: 18px;
  }

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

  .hero-one-line,
  .detail-one-line {
    font-size: 16px;
  }

  .movie-grid,
  .compact-grid,
  .category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

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

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

  .movie-card p,
  .tag-row {
    display: none;
  }

  .section {
    padding: 48px 0;
  }

  .inner-hero {
    padding: 54px 0 40px;
  }

  .filter-bar select {
    flex: 1 1 140px;
  }
}
