:root {
  --bg: #fff7ed;
  --panel: #ffffff;
  --panel-soft: #fffaf0;
  --text: #2f1a0b;
  --muted: #765b45;
  --muted-light: #a1846b;
  --brand: #b45309;
  --brand-strong: #92400e;
  --brand-soft: #f59e0b;
  --line: rgba(180, 83, 9, 0.16);
  --shadow: 0 24px 70px rgba(120, 53, 15, 0.18);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.18), transparent 34rem),
    linear-gradient(180deg, #fffaf0 0%, #fff7ed 38%, #ffffff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 240, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--brand-strong);
}

.brand-mark,
.footer-brand span {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #c2410c);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(194, 65, 12, 0.24);
}

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

.brand-sub {
  padding-left: 10px;
  color: var(--muted-light);
  font-size: 13px;
  font-weight: 700;
  border-left: 1px solid var(--line);
}

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

.nav-link,
.mobile-link {
  padding: 10px 16px;
  color: #674422;
  border-radius: 999px;
  font-weight: 700;
  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(--brand-strong);
  background: rgba(245, 158, 11, 0.12);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: rgba(245, 158, 11, 0.12);
  border-radius: 14px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--brand-strong);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(120, 53, 15, 0.12);
}

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

.hero {
  position: relative;
  overflow: hidden;
  min-height: 710px;
  background: #2f1a0b;
}

.hero-slides {
  position: relative;
  height: 710px;
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px) saturate(1.05);
  transform: scale(1.05);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 44%, rgba(245, 158, 11, 0.26), transparent 28rem),
    linear-gradient(90deg, rgba(49, 23, 5, 0.94) 0%, rgba(67, 29, 4, 0.8) 42%, rgba(67, 29, 4, 0.32) 100%),
    linear-gradient(180deg, rgba(49, 23, 5, 0.16), rgba(49, 23, 5, 0.82));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 360px;
  align-items: center;
  gap: 54px;
  padding-top: 36px;
}

.hero-copy {
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #d97706;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy .eyebrow,
.page-hero .eyebrow,
.detail-copy .eyebrow {
  color: #fbbf24;
}

.hero-copy h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 8vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.hero-copy p {
  max-width: 670px;
  margin: 24px 0 0;
  color: rgba(255, 247, 237, 0.88);
  font-size: 20px;
}

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

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

.hero-tags span,
.tag-row span,
.detail-tags a {
  padding: 7px 11px;
  color: #8a3f05;
  background: rgba(251, 191, 36, 0.16);
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span,
.detail-tags a {
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  color: var(--brand-strong);
  background: #fff;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(120, 53, 15, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(120, 53, 15, 0.2);
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #c2410c);
}

.btn.ghost {
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: none;
}

.btn.text {
  color: #fef3c7;
  background: transparent;
  box-shadow: none;
}

.btn.small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
}

.hero-poster {
  position: relative;
  display: block;
  padding: 12px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 34px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

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

.hero-poster span {
  position: absolute;
  left: 28px;
  bottom: 28px;
  padding: 8px 14px;
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

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

.hero-dot {
  width: 34px;
  height: 8px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 999px;
}

.hero-dot.active {
  background: #fbbf24;
}

.hero-strip {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 4;
  width: min(1180px, calc(100% - 32px));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  transform: translateX(-50%);
}

.horizontal-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  min-width: 0;
  padding: 10px;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.horizontal-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.18);
}

.horizontal-card img {
  width: 70px;
  height: 88px;
  object-fit: cover;
  border-radius: 14px;
}

.horizontal-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.horizontal-info strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
}

.horizontal-info em {
  overflow: hidden;
  color: rgba(255, 247, 237, 0.72);
  font-size: 12px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-badge {
  width: fit-content;
  padding: 2px 7px;
  color: #7c2d12;
  background: #fbbf24;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

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

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: end;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading h1,
.section-heading h2,
.page-hero h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.section-heading p,
.page-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.section-link {
  color: var(--brand-strong);
  font-weight: 900;
}

.quick-search-card {
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quick-search-card form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.quick-search-card input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  color: var(--text);
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: none;
}

.quick-search-card input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: rgba(245, 158, 11, 0.58);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.quick-search-card button {
  min-height: 50px;
  padding: 0 20px;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #c2410c);
  border: 0;
  border-radius: 16px;
  font-weight: 900;
}

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

.category-tile,
.category-card-large {
  position: relative;
  overflow: hidden;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 237, 0.82)),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.24), transparent 12rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(120, 53, 15, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover,
.category-card-large:hover,
.movie-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(120, 53, 15, 0.16);
}

.category-tile span {
  display: block;
  color: var(--brand-strong);
  font-size: 20px;
  font-weight: 900;
}

.category-tile strong {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.rank-section {
  width: 100%;
  max-width: none;
  padding: 70px max(16px, calc((100vw - 1180px) / 2));
  background: linear-gradient(135deg, #431407, #7c2d12 52%, #b45309);
}

.rank-section .section-heading h2,
.rank-section .section-link {
  color: #fff;
}

.rank-section .eyebrow {
  color: #fbbf24;
}

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

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

.movie-card {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 15px 34px rgba(120, 53, 15, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: #f3d8b4;
}

.poster-link img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.movie-card:hover .poster-link img {
  transform: scale(1.05);
  filter: saturate(1.12);
}

.play-chip,
.rank-badge,
.heat-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  border-radius: 999px;
}

.play-chip {
  right: 10px;
  bottom: 10px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(10px);
}

.rank-badge {
  top: 10px;
  left: 10px;
  min-width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #f59e0b, #c2410c);
}

.heat-pill {
  position: static;
  padding: 3px 7px;
  color: #9a3412;
  background: #ffedd5;
}

.movie-info {
  padding: 14px 14px 16px;
}

.movie-meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--muted-light);
  font-size: 12px;
  font-weight: 800;
}

.movie-info h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.28;
}

.movie-info h2 a:hover {
  color: var(--brand-strong);
}

.movie-info p {
  display: -webkit-box;
  min-height: 42px;
  margin: 8px 0 12px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row span {
  padding: 4px 8px;
  font-size: 11px;
}

.page-hero {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  padding: 78px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(251, 191, 36, 0.38), transparent 24rem),
    linear-gradient(135deg, #431407, #7c2d12 55%, #b45309);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.page-hero.compact {
  min-height: 260px;
}

.page-hero h1,
.page-hero p {
  color: #fff;
}

.page-hero p {
  color: rgba(255, 247, 237, 0.86);
}

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

.category-card-large {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  align-items: center;
}

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

.category-cover-row img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 14px;
}

.category-card-large h2 {
  margin: 0;
  font-size: 28px;
}

.category-card-large p {
  margin: 10px 0 18px;
  color: var(--muted);
}

.filter-panel {
  display: grid;
  grid-template-columns: 1fr 180px 180px;
  gap: 14px;
  margin-bottom: 26px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(120, 53, 15, 0.08);
}

.filter-panel label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.empty-state {
  margin-bottom: 24px;
  padding: 24px;
  color: var(--muted);
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  color: #fff;
  background: #2f1a0b;
}

.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(6px) saturate(1.08);
  transform: scale(1.06);
}

.detail-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(49, 23, 5, 0.96), rgba(67, 29, 4, 0.66), rgba(67, 29, 4, 0.42)),
    linear-gradient(180deg, rgba(49, 23, 5, 0.2), rgba(49, 23, 5, 0.86));
}

.detail-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 70px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  color: rgba(255, 247, 237, 0.72);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #fbbf24;
}

.detail-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.detail-poster-wrap {
  padding: 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 32px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
}

.detail-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 22px;
}

.detail-copy h1 {
  margin: 0;
  max-width: 790px;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.detail-one-line {
  max-width: 760px;
  margin: 20px 0 22px;
  color: rgba(255, 247, 237, 0.86);
  font-size: 19px;
}

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

.meta-list div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
}

.meta-list dt {
  color: rgba(255, 247, 237, 0.62);
  font-size: 12px;
  font-weight: 900;
}

.meta-list dd {
  margin: 4px 0 0;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

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

.detail-section {
  margin-top: -72px;
  position: relative;
  z-index: 3;
}

.player-shell {
  position: relative;
  overflow: hidden;
  background: #130802;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  box-shadow: 0 34px 90px rgba(49, 23, 5, 0.34);
}

.movie-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 10px;
  color: #fff;
  background:
    radial-gradient(circle at center, rgba(245, 158, 11, 0.12), transparent 20rem),
    rgba(0, 0, 0, 0.32);
  border: 0;
  text-align: center;
}

.player-cover.hidden {
  display: none;
}

.play-circle {
  width: 78px;
  height: 78px;
  display: inline-grid;
  place-items: center;
  padding-left: 4px;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #c2410c);
  border-radius: 50%;
  box-shadow: 0 20px 44px rgba(194, 65, 12, 0.36);
  font-size: 30px;
}

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

.article-section {
  padding-top: 0;
}

.detail-article {
  display: grid;
  gap: 16px;
  padding: 34px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(120, 53, 15, 0.08);
}

.detail-article h2 {
  margin: 0;
  color: var(--brand-strong);
  font-size: 25px;
}

.detail-article p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.site-footer {
  margin-top: 70px;
  color: #ffedd5;
  background: linear-gradient(135deg, #431407, #7c2d12 58%, #9a3412);
}

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

.footer-brand {
  color: #fff;
  font-size: 22px;
}

.footer-grid h2 {
  margin: 0 0 12px;
  color: #fff7ed;
  font-size: 18px;
}

.footer-grid p,
.footer-grid li {
  color: rgba(255, 237, 213, 0.78);
  font-size: 14px;
}

.footer-grid p {
  margin: 14px 0 0;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid li + li {
  margin-top: 8px;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 26px;
  color: rgba(255, 237, 213, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

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

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

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

  .hero-content {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

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

  .menu-toggle {
    display: block;
  }

  .hero,
  .hero-slides {
    min-height: 760px;
    height: 760px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 24px;
  }

  .hero-poster {
    width: min(260px, 70vw);
  }

  .hero-strip {
    display: none;
  }

  .hero-dots {
    bottom: 26px;
  }

  .intro-section,
  .category-card-large,
  .detail-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .page-hero {
    padding: 46px 28px;
    border-radius: 26px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 64px;
  }

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

  .hero-copy h1,
  .detail-copy h1 {
    letter-spacing: -0.04em;
  }

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

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

  .category-grid,
  .horizontal-grid {
    grid-template-columns: 1fr;
  }

  .quick-search-card form {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 46px 0;
  }

  .detail-inner {
    padding-bottom: 88px;
  }

  .detail-section {
    margin-top: -52px;
  }

  .detail-article {
    padding: 24px;
  }
}
