:root {
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --stone-950: #0c0a09;
  --bronze-50: #f7f2ef;
  --bronze-100: #eaded8;
  --bronze-200: #d8c4ba;
  --bronze-300: #c5a99c;
  --bronze-400: #d2bab0;
  --bronze-500: #b38c7d;
  --bronze-600: #a07568;
  --bronze-700: #977669;
  --bronze-800: #795d53;
  --bronze-900: #604940;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(12, 10, 9, 0.08);
  --shadow-md: 0 18px 48px rgba(12, 10, 9, 0.14);
  --shadow-lg: 0 26px 70px rgba(12, 10, 9, 0.24);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input {
  font: inherit;
}

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

.container.narrow {
  width: min(900px, calc(100% - 32px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(28, 25, 23, 0.96);
  color: var(--stone-100);
  box-shadow: 0 8px 30px rgba(12, 10, 9, 0.28);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--stone-950);
  background: linear-gradient(135deg, var(--bronze-300), var(--bronze-600));
  box-shadow: 0 12px 30px rgba(160, 117, 104, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

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

.brand-text em {
  color: var(--stone-400);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
}

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

.nav-link,
.mobile-link {
  color: var(--stone-300);
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link {
  padding: 10px 18px;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--bronze-400);
  background: rgba(255, 255, 255, 0.08);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--stone-100);
  border-radius: 99px;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.mobile-link {
  padding: 12px 14px;
}

.hero-carousel {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  background: var(--stone-950);
}

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

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

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 28%, rgba(160, 117, 104, 0.18), transparent 38%),
    linear-gradient(90deg, rgba(12, 10, 9, 0.88), rgba(12, 10, 9, 0.58), rgba(12, 10, 9, 0.18)),
    linear-gradient(0deg, rgba(12, 10, 9, 0.95), rgba(12, 10, 9, 0.10) 55%, rgba(12, 10, 9, 0.65));
}

.hero-content {
  position: absolute;
  left: max(24px, calc((100vw - 1180px) / 2));
  right: 24px;
  bottom: 82px;
  max-width: 760px;
  color: var(--white);
}

.hero-kicker,
.page-hero span,
.section-heading span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--bronze-200);
  background: rgba(160, 117, 104, 0.24);
  border: 1px solid rgba(210, 186, 176, 0.28);
  font-size: 13px;
  font-weight: 700;
}

.hero-content h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-shadow: 0 20px 50px rgba(0, 0, 0, 0.42);
}

.hero-content p {
  max-width: 680px;
  margin: 0 0 24px;
  color: var(--stone-200);
  font-size: clamp(17px, 2vw, 22px);
}

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

.hero-tags span,
.tag-list span,
.detail-tags span,
.detail-tag-list span {
  border-radius: 999px;
  background: var(--bronze-50);
  color: var(--bronze-800);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  background: rgba(255, 255, 255, 0.14);
  color: var(--stone-100);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

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

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

.primary-button {
  color: var(--white);
  background: var(--bronze-600);
  box-shadow: 0 16px 32px rgba(160, 117, 104, 0.35);
}

.primary-button:hover,
.section-heading a:hover {
  background: var(--bronze-700);
  transform: translateY(-2px);
}

.ghost-button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.ghost-button:hover {
  color: var(--stone-950);
  background: var(--white);
  transform: translateY(-2px);
}

.hero-control {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(12, 10, 9, 0.56);
  cursor: pointer;
  font-size: 38px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
  background: rgba(12, 10, 9, 0.78);
  transform: translateY(-50%) scale(1.05);
}

.hero-control.prev {
  left: 22px;
  transform: translateY(-50%);
}

.hero-control.next {
  right: 22px;
  transform: translateY(-50%);
}

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

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

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

.search-band {
  margin-top: -38px;
  position: relative;
  z-index: 3;
}

.search-band .container {
  padding: 34px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.search-band h2,
.page-hero h1,
.section-heading h2,
.movie-detail-card h1,
.movie-detail-card h2 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.search-band h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.search-band p {
  margin: 12px 0 20px;
  color: var(--stone-600);
}

.search-box,
.inline-filter {
  display: grid;
  gap: 8px;
}

.search-box span,
.inline-filter span {
  color: var(--stone-600);
  font-size: 14px;
  font-weight: 700;
}

.search-box input,
.inline-filter input {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--stone-200);
  border-radius: 16px;
  padding: 0 18px;
  color: var(--stone-900);
  background: var(--stone-50);
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.search-box input:focus,
.inline-filter input:focus {
  border-color: var(--bronze-500);
  box-shadow: 0 0 0 4px rgba(160, 117, 104, 0.16);
}

.search-results {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.search-result-item {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 16px;
  background: var(--stone-50);
  border: 1px solid var(--stone-200);
}

.search-result-item img {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--stone-200);
}

.search-result-item strong {
  display: block;
  color: var(--stone-900);
}

.search-result-item em {
  display: block;
  color: var(--stone-500);
  font-size: 13px;
  font-style: normal;
}

.search-empty {
  color: var(--stone-500);
  padding: 12px 2px;
}

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

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

.section-heading h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.section-heading a {
  flex: none;
  color: var(--white);
  background: var(--bronze-600);
}

.section-heading.light h2,
.section-heading.light span {
  color: var(--white);
}

.compact-heading {
  display: block;
}

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

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

.movie-card-link {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--white);
  border: 1px solid rgba(231, 229, 228, 0.8);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card-link:hover {
  transform: translateY(-5px);
  border-color: rgba(160, 117, 104, 0.34);
  box-shadow: var(--shadow-md);
}

.poster-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: var(--stone-200);
}

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

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

.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 10, 9, 0.72), transparent 56%);
  opacity: 0.82;
}

.poster-frame figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--bronze-500), var(--bronze-800));
  box-shadow: 0 12px 22px rgba(12, 10, 9, 0.32);
}

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

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

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

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--stone-500);
  font-size: 12px;
  font-weight: 700;
}

.movie-meta span {
  display: inline-flex;
  align-items: center;
}

.movie-meta span + span::before {
  content: "·";
  margin-right: 8px;
  color: var(--stone-400);
}

.movie-card.compact .movie-card-link {
  min-width: 250px;
}

.movie-card.compact .movie-card-body h3 {
  font-size: 16px;
}

.movie-card.compact .tag-list span:nth-child(n+3) {
  display: none;
}

.bronze-panel,
.dark-panel,
.two-column-panel {
  width: min(1180px, calc(100% - 32px));
  border-radius: var(--radius-lg);
  padding: 48px;
}

.bronze-panel {
  margin-top: 72px;
  background: var(--bronze-50);
  box-shadow: inset 0 0 0 1px rgba(160, 117, 104, 0.08);
}

.dark-panel {
  margin-top: 72px;
  background:
    radial-gradient(circle at top right, rgba(160, 117, 104, 0.22), transparent 34%),
    var(--stone-900);
  color: var(--white);
}

.horizontal-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

.horizontal-row .movie-card {
  flex: 0 0 270px;
  scroll-snap-align: start;
}

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

.category-tile,
.category-overview-card a {
  display: grid;
  gap: 14px;
  min-height: 100%;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid rgba(160, 117, 104, 0.12);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover,
.category-overview-card a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.category-tile strong,
.category-overview-body h2 {
  color: var(--stone-900);
  font-size: 21px;
}

.category-tile p,
.category-overview-body p {
  margin: 0;
  color: var(--stone-600);
}

.category-tile div,
.sample-title-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-tile div span,
.sample-title-list span {
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--bronze-800);
  background: var(--bronze-50);
  font-size: 12px;
  font-weight: 700;
}

.two-column-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.feature-column {
  min-width: 0;
}

.stone-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

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

.page-hero {
  padding: 78px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 16%, rgba(210, 186, 176, 0.22), transparent 32%),
    linear-gradient(135deg, var(--stone-950), var(--stone-800));
}

.simple-hero,
.category-hero,
.ranking-hero {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero h1 {
  max-width: 860px;
  font-size: clamp(36px, 6vw, 64px);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-top: 22px;
  color: var(--stone-300);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--bronze-300);
}

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

.category-posters img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  background: var(--stone-200);
}

.category-overview-body {
  display: grid;
  gap: 12px;
}

.inline-filter {
  max-width: 520px;
  margin-bottom: 28px;
}

.detail-topbar {
  background: var(--stone-900);
  color: var(--white);
  padding: 24px 0;
}

.detail-topbar .breadcrumb {
  margin-top: 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 0.8fr);
  gap: 30px;
}

.detail-main {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--stone-950);
  box-shadow: var(--shadow-lg);
}

.movie-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--stone-950);
  object-fit: contain;
  cursor: pointer;
}

.player-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 0;
  color: var(--white);
  background:
    radial-gradient(circle at center, rgba(160, 117, 104, 0.28), transparent 34%),
    rgba(12, 10, 9, 0.58);
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--bronze-600);
  box-shadow: 0 18px 50px rgba(160, 117, 104, 0.36);
  font-size: 30px;
  padding-left: 4px;
}

.player-layer strong {
  max-width: min(620px, 86%);
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.2;
  text-align: center;
}

.player-layer em {
  color: var(--bronze-100);
  font-style: normal;
  font-weight: 800;
}

.movie-detail-card,
.sidebar-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.movie-detail-card h1 {
  margin-bottom: 14px;
  font-size: clamp(30px, 5vw, 46px);
}

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

.lead-text {
  margin: 0 0 24px;
  color: var(--stone-700);
  font-size: 19px;
  font-weight: 700;
}

.movie-detail-card section {
  padding-top: 22px;
  border-top: 1px solid var(--stone-200);
}

.movie-detail-card section + section {
  margin-top: 22px;
}

.movie-detail-card h2 {
  margin-bottom: 12px;
  font-size: 24px;
}

.movie-detail-card p {
  margin: 0;
  color: var(--stone-700);
  font-size: 16px;
}

.detail-tag-list {
  margin-top: 24px;
}

.detail-sidebar {
  min-width: 0;
}

.sidebar-card {
  position: sticky;
  top: 104px;
}

.sidebar-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 20px;
  background: var(--stone-200);
}

.sidebar-card dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.sidebar-card div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--stone-200);
}

.sidebar-card dt {
  margin-bottom: 4px;
  color: var(--stone-500);
  font-size: 13px;
}

.sidebar-card dd {
  margin: 0;
  color: var(--stone-900);
  font-weight: 800;
}

.sidebar-card dd a {
  color: var(--bronze-700);
}

.related-section {
  padding-bottom: 72px;
}

.site-footer {
  margin-top: 78px;
  background: var(--stone-900);
  color: var(--stone-300);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 34px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 36px;
}

.footer-brand {
  color: var(--white);
  font-size: 22px;
}

.footer-about p {
  max-width: 520px;
  color: var(--stone-400);
}

.footer-column h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 18px;
}

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

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

.footer-column a:hover {
  color: var(--bronze-300);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 16px;
  color: var(--stone-500);
  text-align: center;
  font-size: 14px;
}

.is-hidden-card {
  display: none;
}

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

  .detail-layout,
  .two-column-panel,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    position: static;
  }
}

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

  .menu-button {
    display: block;
  }

  .header-inner {
    height: 66px;
  }

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

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

  .brand-text em {
    display: none;
  }

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

  .hero-content {
    left: 18px;
    right: 18px;
    bottom: 82px;
  }

  .hero-control {
    top: auto;
    bottom: 28px;
  }

  .hero-control.prev {
    left: 18px;
    transform: none;
  }

  .hero-control.next {
    right: 18px;
    transform: none;
  }

  .hero-dots {
    bottom: 44px;
  }

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

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

  .bronze-panel,
  .dark-panel,
  .two-column-panel {
    padding: 28px;
  }

  .search-result-item {
    grid-template-columns: 52px 1fr;
  }

  .search-result-item .primary-button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .container,
  .section-wrap,
  .header-inner,
  .mobile-nav,
  .footer-inner,
  .bronze-panel,
  .dark-panel,
  .two-column-panel {
    width: min(100% - 22px, 1180px);
  }

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

  .hero-content h1 {
    font-size: 34px;
  }

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

  .search-band .container,
  .movie-detail-card,
  .sidebar-card {
    padding: 20px;
  }

  .movie-grid,
  .category-grid,
  .category-overview-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

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

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