:root {
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --cyan-50: #ecfeff;
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;
  --blue-50: #eff6ff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-soft: 0 18px 50px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.10);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--gray-900);
  background: var(--gray-50);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  background: linear-gradient(135deg, var(--teal-50), var(--cyan-50));
}

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

button,
input,
select {
  font: inherit;
}

.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.94);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
}

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

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

.brand-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal-500), var(--cyan-600));
  box-shadow: 0 12px 24px rgba(20, 184, 166, 0.28);
}

.brand-copy strong {
  display: block;
  font-size: 22px;
  color: var(--gray-800);
  line-height: 1.1;
}

.brand-copy small {
  display: block;
  color: var(--gray-500);
  font-size: 12px;
  margin-top: 2px;
}

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

.nav-link,
.mobile-link {
  color: var(--gray-700);
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--teal-600);
  background: var(--teal-50);
}

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

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

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--teal-600);
}

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

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

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 82px 0;
  background: linear-gradient(135deg, var(--teal-50), var(--cyan-50) 48%, var(--blue-50));
}

.hero-blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(36px);
  opacity: 0.28;
}

.hero-blob-a {
  top: 80px;
  left: 6%;
  width: 280px;
  height: 280px;
  background: var(--teal-500);
}

.hero-blob-b {
  right: 6%;
  bottom: 70px;
  width: 360px;
  height: 360px;
  background: var(--cyan-500);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: 56px;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--teal-600);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 18px 0 22px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-copy h1 span {
  display: block;
  margin-top: 10px;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--teal-600);
}

.hero-copy p {
  margin: 0 0 30px;
  max-width: 680px;
  color: var(--gray-700);
  font-size: 20px;
}

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

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

.hero-tags a {
  padding: 8px 14px;
  color: var(--teal-700, #0f766e);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn.primary {
  color: var(--white);
  background: linear-gradient(90deg, var(--teal-500), var(--cyan-600));
  box-shadow: 0 16px 36px rgba(8, 145, 178, 0.24);
}

.btn.ghost {
  color: var(--teal-700, #0f766e);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.btn.white {
  color: var(--teal-600);
  background: var(--white);
}

.hero-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  transform: rotate(1.5deg);
}

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

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

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

.hero-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.08) 60%);
}

.hero-card-copy {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 82px;
  color: var(--white);
}

.hero-card-copy h3 {
  margin: 10px 0;
  font-size: 30px;
  line-height: 1.18;
}

.hero-card-copy p {
  display: -webkit-box;
  margin: 0 0 18px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.88);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hero-card-copy a {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  background: var(--teal-500);
}

.hero-label {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.88);
  font-size: 13px;
  font-weight: 800;
}

.hero-controls {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-controls button {
  border: 0;
  color: var(--white);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.18);
}

.hero-controls > button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 28px;
}

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

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  opacity: 0.65;
}

.hero-dots button.active {
  width: 28px;
  opacity: 1;
  background: var(--teal-500);
}

.stats-strip {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 34px 0;
  text-align: center;
}

.stats-grid strong {
  display: block;
  color: var(--teal-600);
  font-size: 34px;
  line-height: 1;
}

.stats-grid span {
  color: var(--gray-600);
  font-weight: 700;
}

.section {
  padding: 76px 0;
}

.light-section {
  background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
}

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

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

.section-heading h2 {
  margin: 6px 0 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
}

.section-action,
.text-link {
  color: var(--teal-600);
  font-weight: 800;
}

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

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

.newest-grid,
.catalog-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.16);
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--gray-100);
}

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

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

.year-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 8px;
  color: var(--white);
  border-radius: 999px;
  background: var(--teal-500);
  font-size: 12px;
  font-weight: 800;
}

.play-hover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(0, 0, 0, 0.28);
  font-size: 44px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.movie-card:hover .play-hover {
  opacity: 1;
}

.card-body {
  padding: 18px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--gray-500);
  font-size: 13px;
}

.rating {
  color: #d97706;
  white-space: nowrap;
}

.movie-card h3 {
  display: -webkit-box;
  min-height: 50px;
  margin: 10px 0 8px;
  overflow: hidden;
  color: var(--gray-900);
  font-size: 18px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

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

.compact .card-body {
  padding: 14px;
}

.compact h3 {
  font-size: 15px;
}

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

.tag-row span {
  display: inline-flex;
  padding: 5px 9px;
  color: var(--gray-700);
  border-radius: 999px;
  background: var(--gray-100);
  font-size: 12px;
  font-weight: 700;
}

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

.category-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.category-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.12));
}

.category-copy {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  color: var(--white);
}

.category-copy strong {
  display: block;
  font-size: 26px;
}

.category-copy em {
  display: block;
  margin: 4px 0 8px;
  font-style: normal;
  opacity: 0.9;
}

.category-copy small {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
  align-items: start;
}

.ranking-card,
.side-card,
.detail-card,
.filter-panel,
.category-overview-card {
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.ranking-card {
  position: sticky;
  top: 98px;
  padding: 24px;
}

.ranking-head span {
  color: var(--teal-600);
  font-weight: 900;
}

.ranking-head h2 {
  margin: 4px 0;
}

.ranking-head p {
  margin: 0 0 20px;
  color: var(--gray-600);
}

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

.rank-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: var(--gray-50);
}

.rank-row:hover {
  background: var(--teal-50);
}

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

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

.rank-score {
  color: #d97706;
  font-weight: 800;
}

.cta-section {
  padding: 82px 0;
  color: var(--white);
  text-align: center;
  background: linear-gradient(100deg, var(--teal-600), var(--cyan-600));
}

.cta-section h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 44px);
}

.cta-section p {
  max-width: 700px;
  margin: 0 auto 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.page-hero,
.category-hero,
.detail-topbar {
  color: var(--white);
  background: linear-gradient(120deg, var(--teal-600), var(--cyan-600));
}

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

.page-hero h1,
.category-hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.08;
}

.page-hero p,
.category-hero p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
}

.category-overview-image {
  overflow: hidden;
  border-radius: 16px;
}

.category-overview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-overview-card h2 {
  margin: 4px 0 8px;
}

.category-overview-card p {
  color: var(--gray-600);
}

.mini-title-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.mini-title-list span {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--teal-50);
  color: var(--teal-600);
  font-size: 12px;
  font-weight: 700;
}

.category-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0;
  background: linear-gradient(120deg, rgba(13, 148, 136, 0.94), rgba(8, 145, 178, 0.90)), var(--category-image);
  background-size: cover;
  background-position: center;
}

.category-hero-inner span {
  display: inline-flex;
  margin-top: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(130px, 180px)) auto;
  gap: 14px;
  padding: 18px;
  margin-bottom: 14px;
}

.filter-panel label {
  display: grid;
  gap: 6px;
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 0 12px;
  color: var(--gray-800);
  background: var(--white);
  outline: none;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

.filter-reset {
  align-self: end;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(90deg, var(--teal-500), var(--cyan-600));
  cursor: pointer;
  font-weight: 900;
  padding: 0 16px;
}

.filter-count {
  margin: 0 0 20px;
  color: var(--gray-600);
  font-weight: 800;
}

.empty-state {
  padding: 24px;
  border-radius: 16px;
  color: var(--gray-600);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

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

.ranking-page-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 20px;
  padding: 16px;
}

.ranking-cover {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 3 / 4;
}

.ranking-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ranking-cover span {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--white);
  background: var(--teal-500);
  font-weight: 900;
}

.ranking-page-copy h2 {
  margin: 10px 0;
}

.ranking-page-copy p {
  color: var(--gray-600);
}

.detail-topbar {
  padding: 22px 0;
  background: linear-gradient(120deg, #111827, #1f2937);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: rgba(255, 255, 255, 0.76);
}

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

.detail-section {
  background: var(--gray-50);
}

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

.video-player {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #000000;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16 / 9;
}

.video-player video {
  width: 100%;
  height: 100%;
  background: #000000;
}

.big-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.58));
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.big-play span {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-500), var(--cyan-600));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.26);
  font-size: 34px;
}

.big-play em {
  margin-top: 96px;
  font-style: normal;
  font-weight: 900;
}

.video-player.playing .big-play {
  opacity: 0;
  pointer-events: none;
}

.player-message {
  position: absolute;
  left: 18px;
  bottom: 14px;
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.45);
  font-size: 13px;
}

.detail-card {
  margin-top: 24px;
  padding: 28px;
}

.detail-card h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.16;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.detail-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--teal-700, #0f766e);
  background: var(--teal-50);
  font-weight: 800;
}

.detail-block {
  margin-top: 24px;
}

.detail-block h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.detail-block p {
  margin: 0;
  color: var(--gray-700);
}

.review-block {
  padding: 18px;
  border-left: 5px solid var(--teal-500);
  border-radius: 16px;
  background: var(--teal-50);
}

.detail-tags span {
  color: var(--teal-700, #0f766e);
  border: 1px solid rgba(20, 184, 166, 0.18);
  background: linear-gradient(90deg, var(--teal-50), var(--cyan-50));
}

.detail-side {
  position: sticky;
  top: 98px;
}

.side-card {
  padding: 18px;
}

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

.poster-info h2 {
  margin: 18px 0 12px;
}

.poster-info dl {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px 12px;
  margin: 0;
}

.poster-info dt {
  color: var(--gray-500);
}

.poster-info dd {
  margin: 0;
  color: var(--gray-900);
  font-weight: 800;
  word-break: break-word;
}

.site-footer {
  color: rgba(255, 255, 255, 0.74);
  background: #111827;
  padding: 48px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
}

.footer-brand {
  color: var(--white);
  margin-bottom: 12px;
}

.footer-grid h3 {
  margin: 0 0 14px;
  color: var(--white);
}

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

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

[hidden] {
  display: none !important;
}

@media (max-width: 1100px) {
  .hero-grid,
  .two-column-section,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-side,
  .ranking-card {
    position: static;
  }

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

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

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

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

  .menu-toggle {
    display: block;
  }

  .hero-section,
  .section,
  .page-hero,
  .category-hero {
    padding: 52px 0;
  }

  .hero-grid {
    gap: 32px;
  }

  .hero-card {
    min-height: 420px;
    transform: none;
  }

  .stats-grid,
  .movie-grid,
  .feature-grid,
  .newest-grid,
  .catalog-grid,
  .category-grid,
  .category-overview-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading {
    display: block;
  }

  .section-action {
    display: inline-flex;
    margin-top: 12px;
  }

  .category-overview-card,
  .ranking-page-row {
    grid-template-columns: 1fr;
  }

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

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

  .brand-icon {
    width: 40px;
    height: 40px;
  }

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

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

  .hero-card {
    min-height: 360px;
  }

  .hero-card-copy {
    left: 18px;
    right: 18px;
    bottom: 70px;
  }

  .hero-card-copy h3 {
    font-size: 22px;
  }

  .stats-grid,
  .movie-grid,
  .feature-grid,
  .newest-grid,
  .catalog-grid,
  .category-grid,
  .category-overview-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .poster-wrap,
  .ranking-cover {
    aspect-ratio: 16 / 10;
  }

  .poster-info img {
    aspect-ratio: 16 / 10;
  }

  .detail-card {
    padding: 20px;
  }
}
