:root {
  --mist-950: #071826;
  --mist-900: #102a43;
  --mist-850: #173653;
  --mist-800: #243b53;
  --mist-700: #334e68;
  --mist-600: #486581;
  --mist-500: #627d98;
  --mist-400: #829ab1;
  --mist-300: #bcccdc;
  --mist-200: #d9e2ec;
  --swamp-700: #174e52;
  --swamp-600: #20656a;
  --swamp-500: #2d8285;
  --swamp-400: #52a0a3;
  --swamp-300: #7bb8ba;
  --yellow: #facc15;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
  --soft-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--mist-900);
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 42, 67, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(130, 154, 177, 0.18);
}

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

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

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--swamp-500), var(--swamp-700));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(45, 130, 133, 0.35);
  font-size: 14px;
}

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

.brand-copy strong {
  font-size: 20px;
  letter-spacing: 0.02em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--mist-400);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--mist-200);
  font-size: 15px;
}

.main-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--white);
}

.top-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.top-search input,
.mobile-menu input {
  width: 210px;
  border: 1px solid rgba(130, 154, 177, 0.22);
  background: rgba(36, 59, 83, 0.75);
  color: var(--white);
  border-radius: 999px;
  padding: 10px 14px;
  outline: none;
}

.top-search input:focus,
.mobile-menu input:focus,
.filter-controls input:focus,
.filter-controls select:focus {
  border-color: var(--swamp-400);
  box-shadow: 0 0 0 3px rgba(82, 160, 163, 0.18);
}

.top-search button {
  border: 0;
  color: var(--white);
  background: var(--swamp-500);
  border-radius: 999px;
  padding: 10px 16px;
  transition: background 0.2s ease;
}

.top-search button:hover {
  background: var(--swamp-600);
}

.menu-button {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: 0;
  background: transparent;
  padding: 8px;
}

.menu-button span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 4px;
}

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(130, 154, 177, 0.18);
  padding: 14px 16px 18px;
  background: rgba(16, 42, 67, 0.98);
}

.mobile-menu.open {
  display: grid;
  gap: 12px;
}

.mobile-menu a {
  color: var(--mist-200);
  padding: 8px 0;
}

.mobile-menu input {
  width: 100%;
}

.hero {
  position: relative;
  height: 600px;
  min-height: 520px;
  overflow: hidden;
  background: var(--mist-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease;
}

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

.hero-image,
.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(82, 160, 163, 0.32), transparent 34%),
    linear-gradient(to top, var(--mist-900), rgba(16, 42, 67, 0.74) 44%, rgba(16, 42, 67, 0.08));
}

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

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

.hero-kicker {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(32, 101, 106, 0.82);
  color: var(--white);
  padding: 7px 13px;
  font-size: 14px;
  backdrop-filter: blur(10px);
}

.hero h1,
.hero h2,
.detail-copy h1,
.page-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.hero p,
.page-hero p {
  max-width: 760px;
  color: var(--mist-200);
  font-size: 18px;
  line-height: 1.75;
  margin: 0 0 26px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--mist-300);
  font-size: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--swamp-500);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(45, 130, 133, 0.35);
}

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

.btn-ghost {
  border: 1px solid rgba(217, 226, 236, 0.34);
  color: var(--white);
  background: rgba(16, 42, 67, 0.35);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: var(--swamp-300);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(16, 42, 67, 0.56);
  backdrop-filter: blur(10px);
  font-size: 34px;
  line-height: 1;
  transition: background 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(16, 42, 67, 0.86);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--mist-600);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
  width: 32px;
  background: var(--swamp-400);
}

.section {
  padding: 58px 0;
}

.band-section {
  background: rgba(36, 59, 83, 0.3);
}

.ranking-section {
  background: linear-gradient(to bottom, var(--mist-900), rgba(36, 59, 83, 0.5));
}

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

.section-head h2,
.filter-heading h2,
.site-footer h2,
.movie-article h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.025em;
}

.section-head p,
.filter-heading p {
  margin: 9px 0 0;
  color: var(--mist-400);
  line-height: 1.65;
}

.section-link {
  color: var(--swamp-400);
  font-weight: 700;
}

.section-link:hover {
  color: var(--swamp-300);
}

.movie-grid {
  display: grid;
  gap: 22px;
}

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

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

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

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

.poster-link {
  display: block;
  height: 100%;
}

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 16px;
  background: var(--mist-800);
  box-shadow: var(--soft-shadow);
}

.poster-frame img,
.rank-thumb img,
.category-covers img,
.detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent 52%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.movie-card:hover .poster-frame img,
.rank-item:hover .rank-thumb img,
.category-overview-card:hover .category-covers img {
  transform: scale(1.06);
}

.movie-card:hover .poster-frame::after {
  opacity: 1;
}

.poster-year,
.rank-badge {
  position: absolute;
  top: 10px;
  z-index: 2;
  border-radius: 8px;
  background: rgba(16, 42, 67, 0.86);
  color: var(--white);
  padding: 5px 8px;
  font-size: 12px;
  backdrop-filter: blur(8px);
}

.poster-year {
  right: 10px;
}

.rank-badge {
  left: 10px;
  background: linear-gradient(135deg, var(--swamp-500), var(--swamp-700));
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(45, 130, 133, 0.92);
  color: var(--white);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
}

.movie-card:hover .poster-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.card-body {
  display: grid;
  gap: 6px;
  padding-top: 12px;
}

.card-body strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--white);
  font-size: 16px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.movie-card:hover .card-body strong,
.rank-item:hover strong {
  color: var(--swamp-300);
}

.card-body em {
  color: var(--mist-400);
  font-size: 13px;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-line {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  min-height: 40px;
  color: var(--mist-300);
  font-size: 13px;
  line-height: 1.55;
}

.card-meta {
  color: var(--mist-500);
  font-size: 12px;
}

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

.tag-row span {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(36, 59, 83, 0.86);
  color: var(--mist-300);
  padding: 4px 8px;
  font-size: 12px;
}

.horizontal-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 300px);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: none;
}

.horizontal-row::-webkit-scrollbar {
  display: none;
}

.horizontal-row .poster-frame {
  aspect-ratio: 16 / 9;
}

.horizontal-row .card-line,
.slim-grid .card-line {
  display: none;
}

.scroll-buttons {
  display: flex;
  gap: 10px;
}

.scroll-buttons button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: var(--mist-700);
  color: var(--white);
  font-size: 25px;
}

.scroll-buttons button:hover {
  background: var(--mist-600);
}

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

.category-tile a,
.category-overview-card a {
  display: block;
  height: 100%;
  border: 1px solid rgba(130, 154, 177, 0.15);
  border-radius: 18px;
  background: rgba(36, 59, 83, 0.48);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.category-tile a {
  padding: 22px;
}

.category-tile a:hover,
.category-overview-card a:hover {
  transform: translateY(-2px);
  border-color: rgba(82, 160, 163, 0.5);
  background: rgba(36, 59, 83, 0.78);
}

.category-tile strong,
.category-overview-card strong {
  display: block;
  font-size: 21px;
  margin-bottom: 8px;
}

.category-tile span,
.category-overview-card em {
  display: block;
  color: var(--mist-300);
  font-style: normal;
  line-height: 1.65;
}

.category-tile em {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  font-style: normal;
}

.category-tile em span,
.category-info span span {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(16, 42, 67, 0.65);
  color: var(--swamp-300);
  padding: 5px 9px;
  font-size: 12px;
  box-shadow: none;
  border: 0;
}

.split-section {
  background: radial-gradient(circle at 50% 0, rgba(82, 160, 163, 0.12), transparent 34%);
}

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

.local-head {
  align-items: flex-start;
}

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

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

.rank-item a {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 118px;
  border-radius: 16px;
  background: rgba(36, 59, 83, 0.52);
  padding: 14px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item a:hover {
  background: rgba(51, 78, 104, 0.56);
  transform: translateY(-1px);
}

.rank-num {
  flex: none;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--swamp-500), var(--swamp-700));
  font-weight: 800;
}

.rank-thumb {
  position: relative;
  flex: none;
  width: 132px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: var(--mist-800);
}

.rank-thumb i {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.34);
  color: var(--white);
  opacity: 0;
  transition: opacity 0.2s ease;
  font-style: normal;
}

.rank-item:hover .rank-thumb i {
  opacity: 1;
}

.rank-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.rank-copy strong {
  font-size: 16px;
  line-height: 1.35;
}

.rank-copy em,
.rank-copy small,
.rank-copy span {
  color: var(--mist-400);
  font-style: normal;
  font-size: 13px;
  line-height: 1.45;
}

.rank-copy span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--mist-300);
}

.page-hero {
  position: relative;
  padding: 82px 0 54px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(82, 160, 163, 0.26), transparent 32%),
    linear-gradient(135deg, var(--mist-900), var(--mist-800));
}

.compact-hero span {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(32, 101, 106, 0.78);
  padding: 7px 13px;
  color: var(--white);
}

.compact-hero h1 {
  margin-top: 18px;
}

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

.category-overview-card a {
  display: grid;
  grid-template-rows: 150px 1fr;
}

.category-covers {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 4px;
  height: 150px;
  overflow: hidden;
  background: var(--mist-800);
}

.category-covers img:first-child {
  grid-row: span 2;
}

.category-info {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.category-info span {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-zone {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(130, 154, 177, 0.15);
  border-radius: 18px;
  background: rgba(36, 59, 83, 0.48);
  padding: 20px;
  margin-bottom: 28px;
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.filter-controls input,
.filter-controls select {
  border: 1px solid rgba(130, 154, 177, 0.22);
  background: rgba(16, 42, 67, 0.74);
  color: var(--white);
  border-radius: 12px;
  padding: 11px 13px;
  outline: none;
}

.filter-controls input {
  width: min(360px, 100%);
}

.filter-results .movie-card.is-hidden,
.rank-grid .rank-item.is-hidden {
  display: none;
}

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

.detail-bg {
  filter: blur(4px);
  transform: scale(1.04);
  opacity: 0.45;
}

.detail-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(82, 160, 163, 0.18), transparent 32%),
    linear-gradient(to top, var(--mist-900), rgba(16, 42, 67, 0.82));
}

.detail-hero-inner {
  position: relative;
  padding: 34px 0 60px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--mist-300);
  margin-bottom: 34px;
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--swamp-300);
}

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

.detail-poster {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 20px;
  background: var(--mist-800);
  box-shadow: var(--shadow);
}

.detail-copy h1 {
  margin-bottom: 16px;
}

.detail-line {
  max-width: 820px;
  color: var(--mist-200);
  font-size: 18px;
  line-height: 1.75;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.detail-meta span {
  border-radius: 999px;
  background: rgba(36, 59, 83, 0.78);
  color: var(--mist-200);
  padding: 7px 12px;
}

.detail-tags {
  margin-bottom: 28px;
}

.player-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.75fr);
  gap: 26px;
  align-items: start;
}

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

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

.play-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle at center, rgba(45, 130, 133, 0.22), rgba(0, 0, 0, 0.58));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-layer span {
  display: inline-flex;
  width: 78px;
  height: 78px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(45, 130, 133, 0.96);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.42);
  font-size: 28px;
}

.play-layer strong {
  font-size: 18px;
}

.player-shell.is-playing .play-layer {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.movie-article {
  border: 1px solid rgba(130, 154, 177, 0.15);
  border-radius: 20px;
  background: rgba(36, 59, 83, 0.5);
  padding: 24px;
  box-shadow: var(--soft-shadow);
}

.movie-article h2 {
  font-size: 24px;
  margin: 0 0 12px;
}

.movie-article h2:not(:first-child) {
  margin-top: 26px;
}

.movie-article p {
  margin: 0;
  color: var(--mist-200);
  line-height: 1.85;
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid rgba(130, 154, 177, 0.14);
  background: var(--mist-950);
  color: var(--mist-400);
}

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

.footer-brand {
  margin-bottom: 18px;
}

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

.site-footer p {
  max-width: 460px;
  line-height: 1.72;
}

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

.footer-links a {
  color: var(--mist-400);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(130, 154, 177, 0.12);
  padding: 20px 0 30px;
  text-align: center;
  color: var(--mist-500);
  font-size: 14px;
}

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

  .player-layout,
  .split-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .main-nav,
  .top-search {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .hero {
    height: 540px;
  }

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

  .grid-3,
  .rank-grid,
  .rank-page-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: center;
  }

  .filter-zone,
  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-controls {
    justify-content: flex-start;
  }
}

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

  .hero {
    height: 500px;
    min-height: 500px;
  }

  .hero-content {
    padding-bottom: 70px;
  }

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

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

  .hero-arrow {
    display: none;
  }

  .section {
    padding: 42px 0;
  }

  .grid-3,
  .grid-4,
  .grid-5,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .movie-grid {
    gap: 16px;
  }

  .card-body strong {
    font-size: 14px;
  }

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

  .rank-item a {
    align-items: flex-start;
    gap: 12px;
  }

  .rank-thumb {
    width: 112px;
  }

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

  .detail-poster {
    width: min(240px, 70vw);
  }

  .player-shell {
    border-radius: 14px;
  }

  .movie-article {
    padding: 18px;
  }

  .category-overview-card a {
    grid-template-rows: 112px 1fr;
  }

  .category-covers {
    height: 112px;
  }
}

@media (max-width: 430px) {
  .grid-3,
  .grid-4,
  .grid-5,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

  .horizontal-row {
    grid-auto-columns: minmax(250px, 82vw);
  }
}
