:root {
  --primary-50: #e6f7f7;
  --primary-100: #b3e6e6;
  --primary-400: #1ab0b0;
  --primary-500: #009999;
  --primary-600: #007a7a;
  --primary-700: #005b5b;
  --primary-800: #003d3d;
  --primary-900: #001e1e;
  --secondary-50: #f0f4f8;
  --secondary-100: #d9e2ec;
  --secondary-200: #bcccdc;
  --secondary-300: #9fb3c8;
  --secondary-400: #829ab1;
  --secondary-500: #627d98;
  --secondary-600: #486581;
  --secondary-700: #334e68;
  --secondary-800: #243b53;
  --secondary-900: #102a43;
  --accent-500: #f97316;
  --white: #ffffff;
  --black: #000000;
  --shadow: 0 18px 45px rgba(16, 42, 67, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--secondary-900);
  background: var(--secondary-50);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(188, 204, 220, 0.6);
  backdrop-filter: blur(18px);
}

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

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-400), var(--primary-600));
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 153, 153, 0.28);
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 20px;
  color: var(--secondary-900);
}

.brand-copy em {
  color: var(--secondary-500);
  font-size: 12px;
  font-style: normal;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--secondary-700);
  font-weight: 600;
}

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

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

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  color: var(--secondary-800);
  background: var(--secondary-50);
  border-radius: 12px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  padding: 12px 16px 20px;
  border-top: 1px solid var(--secondary-100);
  background: var(--white);
}

.mobile-nav a {
  display: block;
  padding: 14px 18px;
  border-radius: 12px;
  color: var(--secondary-700);
  font-weight: 600;
}

.mobile-nav a:hover {
  color: var(--primary-600);
  background: var(--secondary-50);
}

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

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

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

.hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.46) 48%, rgba(0, 0, 0, 0.08));
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 760px;
  color: var(--white);
}

.hero-kicker,
.page-hero span,
.section-head span,
.rank-head span {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-bottom: 16px;
  padding: 8px 16px;
  color: var(--white);
  background: rgba(0, 153, 153, 0.9);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-copy h1 {
  margin: 0 0 18px;
  max-width: 840px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero-copy p {
  max-width: 720px;
  margin: 0 0 24px;
  color: var(--secondary-100);
  font-size: 19px;
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-tags span,
.detail-tags span {
  padding: 6px 12px;
  color: var(--primary-100);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 13px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

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

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  color: var(--white);
  background: var(--primary-500);
  box-shadow: 0 14px 30px rgba(0, 153, 153, 0.28);
}

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

.btn-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-light {
  color: var(--primary-800);
  background: rgba(255, 255, 255, 0.9);
}

.btn.full {
  width: 100%;
}

.hero-dots {
  position: absolute;
  right: clamp(24px, 6vw, 80px);
  bottom: 34px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

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

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

.bg-white {
  background: var(--white);
}

.bg-soft {
  background: var(--secondary-50);
}

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

.section-head h2,
.rank-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  color: var(--secondary-900);
}

.section-head p {
  margin: 10px 0 0;
  color: var(--secondary-500);
}

.section-link {
  flex: none;
  color: var(--primary-600);
  font-weight: 700;
}

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

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

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

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(188, 204, 220, 0.5);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(16, 42, 67, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card-hover:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 153, 153, 0.35);
  box-shadow: var(--shadow);
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--secondary-200), var(--secondary-400));
}

.card-small .poster-wrap {
  aspect-ratio: 3 / 4;
}

.card-wide {
  flex-direction: row;
  gap: 0;
}

.card-wide .poster-wrap {
  width: min(320px, 40%);
  flex: none;
  aspect-ratio: 16 / 9;
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.card:hover .poster-shade {
  opacity: 1;
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--primary-600);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.poster-year,
.poster-region {
  position: absolute;
  top: 12px;
  padding: 5px 10px;
  color: var(--white);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.poster-year {
  right: 12px;
  background: rgba(0, 0, 0, 0.68);
}

.poster-region {
  left: 12px;
  background: var(--primary-500);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
}

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

.card:hover .card-body strong {
  color: var(--primary-600);
}

.card-body em {
  color: var(--secondary-600);
  font-size: 14px;
  font-style: normal;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-meta {
  margin-top: auto;
  color: var(--secondary-500);
  font-size: 12px;
}

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

.tag-row span,
.tag-cloud span,
.genre-cloud span {
  padding: 4px 9px;
  color: var(--primary-700);
  background: var(--primary-50);
  border-radius: 999px;
  font-size: 12px;
}

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

.category-tile,
.category-panel {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 26px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-500), var(--primary-800));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.category-tile-soft,
.category-panel:nth-child(even) {
  background: linear-gradient(135deg, var(--secondary-800), var(--secondary-900));
}

.category-tile::after,
.category-panel::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.category-tile span,
.category-panel span {
  display: block;
  color: var(--primary-100);
  font-size: 14px;
  font-weight: 700;
}

.category-tile strong,
.category-panel strong {
  display: block;
  margin-top: 10px;
  font-size: 28px;
  line-height: 1.2;
}

.category-tile em,
.category-panel em {
  display: inline-block;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
  font-weight: 700;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
}

.wide-list {
  display: grid;
  gap: 20px;
}

.rank-card {
  align-self: start;
  padding: 26px;
  background: var(--secondary-900);
  border-radius: var(--radius);
  color: var(--white);
  box-shadow: var(--shadow);
}

.rank-card .rank-head h2 {
  color: var(--white);
}

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

.rank-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(4px);
}

.rank-item span {
  color: var(--primary-100);
  font-weight: 800;
}

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

.rank-item em {
  display: block;
  overflow: hidden;
  color: var(--secondary-300);
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
}

.page-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--primary-50);
  font-size: 18px;
}

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

.filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px 190px;
  gap: 14px;
  margin-bottom: 30px;
  padding: 18px;
  background: var(--secondary-50);
  border: 1px solid var(--secondary-100);
  border-radius: var(--radius);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  background: var(--white);
  border: 1px solid var(--secondary-100);
  border-radius: 14px;
}

.search-box input,
.filter-panel select,
.search-line input {
  width: 100%;
  min-height: 48px;
  border: 0;
  outline: none;
  color: var(--secondary-900);
  background: transparent;
}

.filter-panel select {
  padding: 0 14px;
  background: var(--white);
  border: 1px solid var(--secondary-100);
  border-radius: 14px;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 62px 118px minmax(0, 1fr) 80px;
  align-items: center;
  gap: 18px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--secondary-100);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(16, 42, 67, 0.06);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.ranking-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.ranking-number {
  color: var(--primary-600);
  font-size: 26px;
  font-weight: 800;
}

.ranking-row img {
  width: 118px;
  height: 74px;
  object-fit: cover;
  border-radius: 12px;
}

.ranking-info {
  min-width: 0;
}

.ranking-info strong,
.ranking-info em,
.ranking-info small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ranking-info strong {
  font-size: 18px;
}

.ranking-info em {
  color: var(--secondary-600);
  font-style: normal;
}

.ranking-info small {
  color: var(--secondary-500);
}

.ranking-row b {
  justify-self: end;
  color: var(--primary-600);
}

.search-console {
  padding: 26px;
  background: var(--secondary-50);
  border: 1px solid var(--secondary-100);
  border-radius: var(--radius);
}

.search-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--secondary-100);
  border-radius: 16px;
}

.search-line input {
  padding: 0 18px;
}

.search-line button {
  border: 0;
  color: var(--white);
  background: var(--primary-500);
  font-weight: 800;
  cursor: pointer;
}

.quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 28px;
}

.quick-tags button {
  border: 0;
  padding: 8px 14px;
  color: var(--primary-700);
  background: var(--primary-50);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.detail-hero {
  min-height: 540px;
  padding: 0;
  background: var(--secondary-900);
}

.detail-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.62) 52%, rgba(0, 0, 0, 0.14));
}

.detail-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 540px;
  padding-bottom: 66px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--secondary-200);
  font-size: 14px;
}

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

.detail-hero h1 {
  max-width: 920px;
  margin: 0 0 16px;
  color: var(--white);
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.detail-hero p {
  max-width: 860px;
  margin: 0 0 22px;
  color: var(--secondary-100);
  font-size: 19px;
}

.detail-main {
  padding: 48px 0 78px;
}

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

.detail-primary,
.detail-aside {
  display: grid;
  gap: 24px;
}

.player-panel,
.article-card,
.poster-card,
.info-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--secondary-100);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(16, 42, 67, 0.08);
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--black);
}

.movie-player {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--black);
}

.play-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: var(--white);
  background: rgba(0, 0, 0, 0.34);
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-cover span {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  color: var(--primary-600);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  font-size: 30px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
}

.play-cover strong {
  font-size: 22px;
}

.play-cover.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.article-card {
  padding: 28px;
}

.article-card h2,
.info-card h2 {
  margin: 0 0 16px;
  color: var(--secondary-900);
  font-size: 24px;
}

.article-card p {
  margin: 0;
  color: var(--secondary-700);
  font-size: 17px;
  line-height: 1.85;
}

.poster-card {
  padding: 18px;
}

.poster-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin-bottom: 16px;
  border-radius: 14px;
}

.info-card {
  padding: 22px;
}

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

.info-card dt {
  color: var(--secondary-500);
}

.info-card dd {
  margin: 0;
  color: var(--secondary-800);
  font-weight: 700;
}

.genre-cloud {
  margin-top: 12px;
}

.pager-card {
  display: grid;
  gap: 12px;
}

.pager-card a {
  color: var(--primary-700);
  font-weight: 700;
}

.site-footer {
  color: var(--secondary-100);
  background: var(--secondary-900);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, 1fr);
  gap: 34px;
  padding: 52px 0;
}

.footer-logo {
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 800;
}

.footer-brand p,
.site-footer li,
.site-footer a {
  color: var(--secondary-300);
}

.site-footer h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 17px;
}

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

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

.footer-bottom {
  padding: 22px 16px;
  color: var(--secondary-400);
  border-top: 1px solid rgba(159, 179, 200, 0.2);
  text-align: center;
  font-size: 14px;
}

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

.empty-results {
  padding: 38px;
  color: var(--secondary-600);
  background: var(--white);
  border: 1px solid var(--secondary-100);
  border-radius: var(--radius);
  text-align: center;
}

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

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

  .rank-card,
  .detail-aside {
    order: 2;
  }
}

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

  .mobile-toggle {
    display: inline-grid;
    place-items: center;
  }

  .mobile-nav.is-open {
    display: block;
  }

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

  .hero-carousel {
    height: 76vh;
    min-height: 560px;
  }

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

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

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

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

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

  .card-wide {
    flex-direction: column;
  }

  .card-wide .poster-wrap {
    width: 100%;
  }

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

  .ranking-row b {
    display: none;
  }

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

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

  .header-inner {
    height: 66px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-copy em {
    display: none;
  }

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

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-dots {
    right: 18px;
    bottom: 22px;
  }

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

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

  .card-small .poster-wrap {
    aspect-ratio: 16 / 10;
  }

  .page-hero {
    padding: 56px 0;
  }

  .search-line {
    grid-template-columns: 1fr;
  }

  .search-line button {
    min-height: 48px;
  }

  .ranking-row {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .ranking-row img {
    display: none;
  }

  .detail-hero,
  .detail-hero-copy {
    min-height: 500px;
  }

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

  .article-card,
  .info-card {
    padding: 20px;
  }

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