:root {
  --bg: #f9fafb;
  --panel: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --soft: #f3f4f6;
  --line: #e5e7eb;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --red: #ef4444;
  --green: #059669;
  --blue: #2563eb;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}

.brand:hover {
  color: var(--orange-dark);
}

.brand-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.28);
  font-size: 14px;
}

.brand-text {
  font-size: 24px;
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 68px;
  color: #374151;
  font-weight: 650;
  transition: color 0.22s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--red));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--orange-dark);
}

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

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #fff7ed;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  width: 21px;
  height: 2px;
  background: var(--orange-dark);
  border-radius: 999px;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.mobile-panel.open {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 16px 18px;
}

.mobile-link {
  padding: 10px 12px;
  border-radius: 12px;
  color: #374151;
  font-weight: 650;
}

.mobile-link:hover {
  background: #fff7ed;
  color: var(--orange-dark);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 64px 0 52px;
  color: #ffffff;
  background: radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.28), transparent 26%), linear-gradient(135deg, #fb923c 0%, #f97316 42%, #ef4444 100%);
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-section::before {
  width: 360px;
  height: 360px;
  right: -120px;
  top: -90px;
  background: rgba(255, 255, 255, 0.14);
}

.hero-section::after {
  width: 280px;
  height: 280px;
  left: -90px;
  bottom: -150px;
  background: rgba(127, 29, 29, 0.18);
}

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

.hero-copy h1 {
  margin: 14px 0 18px;
  max-width: 780px;
  font-size: clamp(36px, 6vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-copy p {
  margin: 0;
  max-width: 760px;
  color: #fff7ed;
  font-size: clamp(17px, 2vw, 22px);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-weight: 750;
  backdrop-filter: blur(8px);
}

.hero-search {
  display: flex;
  max-width: 620px;
  margin-top: 28px;
  padding: 8px;
  gap: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
}

.hero-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  outline: none;
  background: #ffffff;
  color: var(--text);
}

.hero-search button,
.primary-button,
.secondary-button,
.hero-more {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.hero-search button {
  padding: 12px 24px;
  color: #ffffff;
  background: #111827;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
}

.primary-button {
  color: var(--orange-dark);
  background: #ffffff;
  box-shadow: 0 18px 35px rgba(127, 29, 29, 0.18);
}

.secondary-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.primary-button:hover,
.secondary-button:hover,
.hero-more:hover,
.hero-search button:hover {
  transform: translateY(-2px);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-chips a {
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff7ed;
  font-weight: 650;
}

.hero-chips a:hover {
  background: rgba(255, 255, 255, 0.26);
  color: #ffffff;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 565px;
  border-radius: 30px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 30px 70px rgba(127, 29, 29, 0.25);
  backdrop-filter: blur(18px);
}

.hero-slide {
  display: none;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #111827;
}

.hero-slide.active {
  display: block;
  animation: fadeUp 0.55s ease both;
}

.hero-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(17, 24, 39, 0.95));
}

.hero-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 54px;
}

.hero-caption span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.92);
  font-weight: 750;
}

.hero-caption h2 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.15;
}

.hero-caption p {
  margin: 0 0 16px;
  color: #e5e7eb;
}

.hero-more {
  display: inline-flex;
  padding: 10px 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--red));
}

.hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width 0.22s ease, background 0.22s ease;
}

.hero-dot.active {
  width: 28px;
  background: #ffffff;
}

.home-section {
  padding: 56px 0;
}

.white-section {
  background: #ffffff;
}

.soft-green {
  background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
}

.soft-blue {
  background: linear-gradient(135deg, #eff6ff, #eef2ff);
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-link {
  color: var(--orange-dark);
  font-weight: 800;
  white-space: nowrap;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 18px;
}

.featured-grid {
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
}

.compact-grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.movie-card {
  min-width: 0;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

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

.cover-frame,
.category-cover,
.list-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #fed7aa, #fecaca);
}

.cover-frame {
  aspect-ratio: 3 / 4;
}

.cover-frame img,
.category-cover img,
.list-cover img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.32s ease, opacity 0.22s ease;
}

.movie-card:hover .cover-frame img,
.category-card:hover .category-cover img,
.list-card:hover .list-cover img {
  transform: scale(1.06);
}

img.is-missing {
  opacity: 0;
}

.type-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 800;
  line-height: 1;
}

.type-badge {
  right: 10px;
  top: 10px;
  padding: 7px 10px;
  background: rgba(17, 24, 39, 0.74);
  backdrop-filter: blur(8px);
  font-size: 12px;
}

.rank-badge {
  left: 10px;
  top: 10px;
  min-width: 31px;
  height: 31px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  box-shadow: 0 10px 18px rgba(239, 68, 68, 0.28);
}

.movie-info {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.movie-title {
  overflow: hidden;
  display: -webkit-box;
  color: #111827;
  font-size: 16px;
  line-height: 1.3;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-desc {
  overflow: hidden;
  display: -webkit-box;
  min-height: 41px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta,
.movie-tags,
.tag-row,
.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.movie-meta em {
  color: #6b7280;
  font-size: 12px;
  font-style: normal;
}

.movie-tags span,
.tag-row a,
.footer-tags a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #fff7ed;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 700;
}

.movie-tags span {
  padding: 4px 8px;
}

.tag-row a {
  padding: 6px 10px;
}

.category-preview-list {
  display: grid;
  gap: 30px;
}

.category-preview {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 34px rgba(37, 99, 235, 0.08);
}

.category-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.category-preview-head h3 {
  margin: 0;
  font-size: 24px;
}

.category-preview-head p {
  margin: 5px 0 0;
  color: var(--muted);
}

.category-preview-head a {
  color: var(--orange-dark);
  font-weight: 800;
  white-space: nowrap;
}

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

.list-card {
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.list-card a {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.list-cover {
  aspect-ratio: 3 / 4;
}

.list-body {
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 12px 12px 12px 0;
}

.list-body strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.list-body small {
  color: var(--orange-dark);
  font-weight: 700;
}

.list-body span {
  overflow: hidden;
  display: -webkit-box;
  color: var(--muted);
  font-size: 13px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.list-rank {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  font-weight: 900;
  font-size: 12px;
}

.page-hero {
  padding: 62px 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--red));
}

.page-hero span {
  display: inline-flex;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

.page-hero h1 {
  margin: 14px 0 8px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 780px;
  margin: 0;
  color: #fff7ed;
  font-size: 18px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.category-card {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-card a {
  display: grid;
  height: 100%;
}

.category-cover {
  aspect-ratio: 16 / 9;
}

.category-body {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.category-body strong {
  font-size: 22px;
}

.category-body small {
  color: var(--muted);
  font-size: 14px;
}

.category-body em {
  color: var(--orange-dark);
  font-style: normal;
  font-weight: 800;
}

.filter-panel {
  position: sticky;
  top: 68px;
  z-index: 60;
  padding: 16px 0;
  background: rgba(249, 250, 251, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.filter-grid {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) 170px 170px 160px;
  gap: 14px;
  align-items: end;
}

.filter-grid label {
  display: grid;
  gap: 6px;
  color: #374151;
  font-weight: 700;
  font-size: 13px;
}

.filter-grid input,
.filter-grid select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 13px;
  outline: none;
  background: #ffffff;
  color: var(--text);
}

.filter-grid input:focus,
.filter-grid select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.13);
}

.filter-counter {
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  font-weight: 850;
}

.ranking-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 34px;
  align-items: center;
}

.ranking-feature {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 26px 60px rgba(127, 29, 29, 0.22);
}

.ranking-feature img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
}

.ranking-feature strong {
  font-size: 20px;
}

.ranking-feature small {
  color: #fff7ed;
}

.ranking-card-grid {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}

.detail-wrap {
  padding: 28px 0 0;
  background: #f9fafb;
}

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

.breadcrumb a {
  color: var(--orange-dark);
  font-weight: 750;
}

.breadcrumb strong {
  color: var(--text);
}

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

.detail-main,
.detail-side > div,
.detail-content {
  border-radius: 24px;
}

.player-wrap {
  overflow: hidden;
  border-radius: 24px;
  background: #000000;
  box-shadow: 0 22px 65px rgba(15, 23, 42, 0.22);
}

.player-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-screen video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000000;
}

.play-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(17, 24, 39, 0.78));
  cursor: pointer;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.play-circle {
  width: 76px;
  height: 76px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  padding-left: 4px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  box-shadow: 0 18px 40px rgba(239, 68, 68, 0.34);
  font-size: 30px;
}

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

.detail-content {
  margin-top: 22px;
  padding: 28px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

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

.lead-text {
  margin: 0;
  color: #4b5563;
  font-size: 18px;
}

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

.meta-list div {
  padding: 14px;
  border-radius: 16px;
  background: #f9fafb;
}

.meta-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.meta-list dd {
  margin: 5px 0 0;
  font-weight: 800;
}

.detail-content h2,
.side-box h2 {
  margin: 24px 0 10px;
  font-size: 24px;
}

.detail-content p {
  color: #374151;
}

.detail-side {
  display: grid;
  gap: 22px;
}

.poster-card,
.side-box {
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.poster-card img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
}

.poster-card strong {
  display: block;
  margin-top: 14px;
  font-size: 20px;
}

.poster-card span {
  color: var(--muted);
}

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

.site-footer {
  background: #111827;
  color: #d1d5db;
}

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

.site-footer h3,
.site-footer h4 {
  margin: 0 0 14px;
  color: #ffffff;
}

.site-footer p {
  margin: 0;
  color: #9ca3af;
}

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

.site-footer a {
  color: #d1d5db;
}

.site-footer a:hover {
  color: #fb923c;
}

.footer-tags a {
  padding: 6px 10px;
  background: rgba(249, 115, 22, 0.16);
  color: #fed7aa;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid #1f2937;
  color: #9ca3af;
  font-size: 14px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

@media (max-width: 1024px) {
  .hero-grid,
  .detail-grid,
  .ranking-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    min-height: auto;
  }

  .hero-media {
    aspect-ratio: 16 / 10;
  }

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

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

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

  .main-nav {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

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

  .hero-section {
    padding: 44px 0 36px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-search {
    border-radius: 22px;
    flex-direction: column;
  }

  .hero-search button {
    width: 100%;
  }

  .hero-caption {
    left: 18px;
    right: 18px;
    bottom: 46px;
  }

  .hero-caption h2 {
    font-size: 23px;
  }

  .section-head,
  .category-preview-head,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .movie-grid,
  .featured-grid,
  .ranking-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

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

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

  .filter-panel {
    position: static;
  }

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

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

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

@media (max-width: 420px) {
  .movie-grid,
  .featured-grid,
  .compact-grid,
  .ranking-card-grid {
    grid-template-columns: 1fr;
  }

  .meta-list {
    grid-template-columns: 1fr;
  }

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