:root {
  --red: #dc2626;
  --red-dark: #b91c1c;
  --orange: #ea580c;
  --amber: #f59e0b;
  --blue: #2563eb;
  --green: #16a34a;
  --purple: #7c3aed;
  --pink: #db2777;
  --slate: #334155;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f9fafb;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(229, 231, 235, 0.88);
  backdrop-filter: blur(16px);
}

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

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.28);
}

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

.desktop-nav a,
.mobile-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: #4b5563;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--red);
  background: #fee2e2;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: #fee2e2;
  padding: 10px;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--red);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 10px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

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

.hero-section {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  background: radial-gradient(circle at 20% 15%, #fff7ed 0, transparent 34%), linear-gradient(135deg, #fff1f2 0%, #fff7ed 54%, #fff 100%);
}

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

.hero-stage {
  position: relative;
  min-height: 620px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.65fr);
  gap: 48px;
  align-items: center;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero-slide.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.section-heading span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0 0 12px;
  color: transparent;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero-copy h2 {
  margin: 0 0 20px;
  font-size: clamp(1.75rem, 3vw, 3.2rem);
  line-height: 1.1;
}

.hero-summary {
  max-width: 660px;
  margin: 0 0 26px;
  color: #374151;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

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

.hero-tags span,
.detail-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 12px;
  border-radius: 999px;
  color: #991b1b;
  background: #fee2e2;
  font-size: 0.83rem;
  font-weight: 800;
}

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

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

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

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 12px 26px rgba(220, 38, 38, 0.28);
}

.btn.secondary {
  color: var(--red);
  background: #fff;
  border: 2px solid #fecaca;
}

.btn.outline {
  color: var(--red);
  background: #fff;
  border: 1px solid #fecaca;
}

.btn.full {
  width: 100%;
}

.btn.light.primary,
.btn.primary.light {
  color: var(--red);
  background: #fff;
  box-shadow: 0 18px 32px rgba(127, 29, 29, 0.18);
}

.btn.secondary.light {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.text-link {
  color: var(--red-dark);
  font-weight: 900;
}

.hero-poster {
  position: relative;
  display: block;
  border-radius: 34px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #fee2e2, #ffedd5);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

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

.hero-poster:hover img {
  transform: scale(1.06);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.72));
}

.hero-poster-label {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  display: inline-flex;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  color: #fff;
  background: rgba(220, 38, 38, 0.9);
  font-weight: 900;
}

.hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.hero-controls button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--red);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  font-size: 1.4rem;
}

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

.hero-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  background: #fecaca;
  box-shadow: none;
}

.hero-dots button.active {
  width: 34px;
  background: var(--red);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.3;
}

.hero-glow.one {
  width: 360px;
  height: 360px;
  top: 80px;
  left: 5%;
  background: #f87171;
}

.hero-glow.two {
  width: 460px;
  height: 460px;
  right: 4%;
  bottom: 4%;
  background: #fb923c;
}

.quick-search,
.content-section,
.page-main,
.category-overview,
.site-footer .footer-shell,
.detail-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.quick-search,
.content-section {
  padding: 78px 0;
}

.section-heading {
  text-align: center;
  margin: 0 auto 36px;
  max-width: 760px;
}

.section-heading.left {
  text-align: left;
  margin-left: 0;
}

.section-heading.compact {
  margin-bottom: 20px;
}

.section-heading h2,
.page-hero h1,
.category-overview-copy h2,
.detail-card h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-heading p,
.page-hero p,
.category-overview-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.search-panel,
.filter-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.search-panel input,
.filter-row input {
  flex: 1;
  width: 100%;
  min-height: 48px;
  border: 0;
  outline: 0;
  padding: 0 12px;
  color: var(--ink);
  background: transparent;
}

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

.catalogue-grid {
  padding-bottom: 68px;
}

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

.poster-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.poster-link:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #fee2e2, #ffedd5);
}

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

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

.poster-region,
.poster-play {
  position: absolute;
  z-index: 2;
}

.poster-region {
  top: 10px;
  right: 10px;
  max-width: calc(100% - 20px);
  padding: 4px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(220, 38, 38, 0.88);
  font-size: 0.72rem;
  font-weight: 900;
}

.poster-play {
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  transform: translate(-50%, -50%) scale(0.82);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

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

.movie-info strong {
  min-height: 2.9em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.95rem;
  line-height: 1.45;
}

.movie-meta,
.movie-desc,
.compact-card em,
.compact-card small,
.rank-copy em,
.rank-copy small {
  color: var(--muted);
  font-style: normal;
}

.movie-desc {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.86rem;
}

.tag-row span {
  min-height: 22px;
  padding: 3px 8px;
  font-size: 0.72rem;
}

.category-band {
  padding: 82px max(16px, calc((100% - 1180px) / 2));
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--orange));
}

.section-heading.light span,
.section-heading.light p {
  color: #fee2e2;
}

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

.category-tile {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  padding: 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  transition: transform 0.24s ease, background 0.24s ease;
}

.category-tile:hover {
  transform: translateY(-6px) scale(1.01);
  background: rgba(255, 255, 255, 0.18);
}

.category-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  font-size: 1.5rem;
  font-weight: 900;
}

.category-tile strong,
.category-tile em,
.category-tile small {
  position: relative;
  z-index: 2;
  display: block;
}

.category-tile strong {
  margin-bottom: 4px;
  font-size: 1.45rem;
}

.category-tile em {
  margin-bottom: 10px;
  color: #ffedd5;
  font-style: normal;
  font-weight: 800;
}

.category-tile small {
  color: #fff7ed;
}

.category-tile img {
  position: absolute;
  right: -20px;
  bottom: -25px;
  width: 45%;
  height: 55%;
  object-fit: cover;
  border-radius: 24px;
  opacity: 0.28;
  transform: rotate(-8deg);
}

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

.ranking-panel,
.side-recommend,
.detail-side > div {
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.ranking-panel {
  position: sticky;
  top: 92px;
  padding: 24px;
}

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

.rank-list.large {
  gap: 14px;
}

.rank-item {
  display: grid;
  grid-template-columns: 42px 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: #fff7ed;
  transition: transform 0.2s ease, background 0.2s ease;
}

.rank-item:hover {
  transform: translateX(4px);
  background: #fee2e2;
}

.rank-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  font-weight: 900;
}

.rank-item img {
  width: 72px;
  height: 98px;
  object-fit: cover;
  border-radius: 12px;
}

.rank-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.rank-copy strong,
.compact-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.cta-section {
  margin-top: 10px;
  padding: 90px 16px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, var(--red), var(--orange));
}

.cta-section h2 {
  margin: 0 auto 14px;
  max-width: 850px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.08;
}

.cta-section p {
  max-width: 700px;
  margin: 0 auto 28px;
  color: #fff7ed;
}

.cta-section div {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.page-main {
  padding: 46px 0 80px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  padding: 54px;
  border-radius: 34px;
  background: linear-gradient(135deg, #fff1f2, #fff7ed);
  box-shadow: var(--shadow-soft);
}

.page-hero.slim {
  text-align: center;
}

.page-hero p {
  max-width: 760px;
}

.page-hero.slim p {
  margin-left: auto;
  margin-right: auto;
}

.breadcrumb,
.detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb a,
.detail-breadcrumb a {
  color: var(--red);
  font-weight: 800;
}

.category-overview {
  display: grid;
  gap: 22px;
  padding-bottom: 70px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1fr);
  gap: 24px;
  padding: 28px;
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.category-overview-copy span {
  color: var(--red);
  font-weight: 900;
}

.category-preview-list,
.related-list {
  display: grid;
  gap: 12px;
}

.compact-card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: #fff7ed;
  transition: transform 0.2s ease, background 0.2s ease;
}

.compact-card:hover {
  transform: translateY(-3px);
  background: #fee2e2;
}

.compact-card img {
  width: 84px;
  height: 112px;
  object-fit: cover;
  border-radius: 14px;
}

.compact-card span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

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

.filter-shell {
  margin-bottom: 26px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-row a {
  padding: 9px 14px;
  border-radius: 999px;
  color: #4b5563;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 800;
}

.chip-row a.active,
.chip-row a:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

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

.side-recommend {
  position: sticky;
  top: 92px;
  padding: 22px;
}

.side-recommend h2 {
  margin: 0 0 16px;
}

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

.detail-main {
  padding: 30px 0 80px;
}

.detail-breadcrumb {
  margin: 8px 0 22px;
}

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

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

.player-card,
.detail-card,
.poster-card,
.related-card {
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.player-card {
  overflow: hidden;
  margin-bottom: 22px;
}

.video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #050505;
}

.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050505;
}

.play-trigger {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #fff;
  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.62));
  cursor: pointer;
}

.play-trigger[hidden] {
  display: none;
}

.play-trigger span {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.92);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.34);
  font-size: 2rem;
}

.player-error {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #fff;
  text-align: center;
  background: rgba(0, 0, 0, 0.72);
  font-weight: 900;
}

.player-error[hidden] {
  display: none;
}

.detail-card {
  padding: 30px;
}

.detail-title-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.detail-card h1 {
  margin-bottom: 18px;
}

.one-line {
  margin: 12px 0 20px;
  padding-left: 18px;
  border-left: 5px solid var(--red);
  color: #374151;
  font-size: 1.15rem;
  font-weight: 700;
}

.text-block,
.review-block {
  margin-top: 28px;
}

.text-block h2,
.review-block h2,
.related-card h2,
.poster-card h2 {
  margin: 0 0 12px;
  font-size: 1.45rem;
}

.text-block p,
.review-block p {
  margin: 0;
  color: #374151;
  font-size: 1.04rem;
  line-height: 1.88;
}

.review-block {
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff1f2, #fff7ed);
}

.detail-side {
  display: grid;
  gap: 22px;
  position: sticky;
  top: 92px;
}

.poster-card,
.related-card {
  padding: 20px;
}

.poster-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 16px;
  background: #fee2e2;
}

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

.site-footer {
  margin-top: 40px;
  padding: 54px 0 24px;
  color: #d1d5db;
  background: #111827;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.6fr);
  gap: 28px;
  align-items: start;
}

.footer-logo {
  color: #fff;
  font-size: 1.25rem;
}

.site-footer p {
  max-width: 560px;
  color: #9ca3af;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.footer-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #e5e7eb;
  background: rgba(255, 255, 255, 0.08);
}

.copyright {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #9ca3af;
  font-size: 0.9rem;
}

.movie-card.is-filtered,
.rank-item.is-filtered {
  display: none;
}

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

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

  .hero-slide,
  .detail-layout,
  .rank-page-layout,
  .split-layout,
  .category-overview-card {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 920px;
  }

  .hero-poster {
    max-width: 360px;
    margin: 0 auto;
  }

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

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

  .mobile-toggle {
    display: block;
  }

  .nav-shell {
    height: 64px;
  }

  .hero-shell {
    padding-top: 42px;
  }

  .hero-stage {
    min-height: 840px;
  }

  .hero-slide {
    gap: 28px;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 16vw, 4.8rem);
  }

  .hero-controls {
    bottom: 12px;
  }

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

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

  .quick-search,
  .content-section {
    padding: 52px 0;
  }

  .search-panel,
  .filter-row,
  .detail-title-row {
    flex-direction: column;
    align-items: stretch;
  }

  .page-hero {
    padding: 34px 22px;
    border-radius: 26px;
  }

  .rank-item {
    grid-template-columns: 34px 58px minmax(0, 1fr);
  }

  .rank-item img {
    width: 58px;
    height: 82px;
  }

  .compact-card {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .compact-card img {
    width: 70px;
    height: 94px;
  }

  .detail-card {
    padding: 22px;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .movie-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 780px;
  }

  .hero-poster {
    max-width: 280px;
  }
}
