:root {
  color-scheme: light;
  --bg: #fff7ed;
  --panel: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --red: #dc2626;
  --red-dark: #7f1d1d;
  --orange: #ea580c;
  --orange-soft: #fed7aa;
  --gold: #fde68a;
  --shadow: 0 22px 45px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 14px 30px rgba(15, 23, 42, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(135deg, #fff7ed 0%, #f8fafc 45%, #ffedd5 100%);
  color: var(--ink);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(220, 38, 38, 0.26);
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-copy em {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.brand-invert .brand-copy strong,
.brand-invert .brand-copy em {
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-link {
  padding: 9px 12px;
  color: #475569;
  font-weight: 800;
  border-radius: 999px;
  transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red);
  background: #fff1f2;
}

.nav-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-search input,
.mobile-search input,
.strip-search input,
.page-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid #cbd5e1;
  outline: none;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  transition: 0.2s ease;
}

.nav-search input {
  width: 240px;
  padding: 10px 16px;
}

.nav-search button,
.mobile-search button,
.strip-search button,
.page-search button {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 12px 20px rgba(220, 38, 38, 0.2);
}

.nav-search button {
  padding: 10px 16px;
}

.nav-search input:focus,
.mobile-search input:focus,
.strip-search input:focus,
.page-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: #fff1f2;
  color: var(--red);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
}

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

.mobile-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.mobile-search input {
  padding: 12px 16px;
}

.mobile-search button {
  padding: 12px 18px;
}

.mobile-links {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.mobile-link {
  padding: 12px 14px;
  border-radius: 12px;
  color: #475569;
  font-weight: 800;
  background: #f8fafc;
}

.mobile-link:hover {
  background: #fff1f2;
  color: var(--red);
}

.site-main {
  min-height: 70vh;
}

.hero-section {
  position: relative;
  min-height: 640px;
  background: radial-gradient(circle at 18% 18%, rgba(253, 230, 138, 0.28), transparent 28%), linear-gradient(120deg, #7f1d1d, #9a3412 48%, #7f1d1d);
  overflow: hidden;
}

.hero-slider,
.hero-slide {
  min-height: 640px;
}

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

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

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(69, 10, 10, 0.94) 0%, rgba(127, 29, 29, 0.82) 43%, rgba(127, 29, 29, 0.3) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 32px));
  min-height: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 72px 0;
  color: #fff;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  color: var(--gold);
}

.hero-copy h1 {
  margin: 18px 0 8px;
  max-width: 760px;
  font-size: clamp(48px, 8vw, 86px);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -0.06em;
  background: linear-gradient(90deg, #fde68a, #fff, #fed7aa);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4.5vw, 58px);
  line-height: 1.05;
  font-weight: 900;
}

.hero-copy p {
  max-width: 720px;
  margin: 0 0 24px;
  color: #ffe4e6;
  font-size: 18px;
  line-height: 1.8;
}

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

.hero-tags span,
.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #991b1b;
  background: #fff1f2;
  font-size: 12px;
  font-weight: 900;
}

.hero-tags span {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 950;
  transition: 0.2s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 18px 32px rgba(220, 38, 38, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(220, 38, 38, 0.38);
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}

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

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

.hero-dot.active {
  width: 34px;
  background: #fff;
}

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

.intro-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
  margin-top: -42px;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 5;
}

.intro-strip h2,
.section-title-row h2,
.rank-panel h2,
.content-card h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.intro-strip p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.strip-search,
.page-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.strip-search input,
.page-search input {
  min-height: 54px;
  padding: 0 18px;
}

.strip-search button,
.page-search button {
  padding: 0 22px;
}

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

.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--red);
  background: #fff1f2;
  font-weight: 950;
}

.section-more:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--orange));
}

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

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

.category-chip {
  position: relative;
  min-height: 210px;
  border-radius: 24px;
  overflow: hidden;
  background: #7f1d1d;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

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

.category-chip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.14), rgba(127, 29, 29, 0.92));
}

.category-chip-text {
  position: absolute;
  inset-inline: 18px;
  bottom: 18px;
  color: #fff;
}

.category-chip-text strong {
  display: block;
  font-size: 22px;
  font-weight: 950;
}

.category-chip-text em {
  display: block;
  margin-top: 7px;
  color: #ffe4e6;
  font-size: 13px;
  line-height: 1.55;
  font-style: normal;
}

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

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

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

.category-movie-grid,
.ranking-grid,
.search-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #7f1d1d;
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(69, 10, 10, 0.86));
  transition: opacity 0.25s ease;
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(220, 38, 38, 0.9);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.24);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.84);
  transition: 0.25s ease;
}

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

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

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

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  font-weight: 950;
  box-shadow: 0 12px 20px rgba(15, 23, 42, 0.2);
}

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

.movie-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.movie-meta-row span + span::before {
  content: "·";
  margin-right: 6px;
  color: #cbd5e1;
}

.movie-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 950;
}

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

.movie-card p {
  min-height: 46px;
  margin: 10px 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.rank-panel {
  position: sticky;
  top: 98px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #fff, #fff7ed);
  box-shadow: var(--shadow);
}

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

.rank-row {
  display: grid;
  grid-template-columns: auto 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #fee2e2;
  transition: 0.2s ease;
}

.rank-row:hover {
  transform: translateX(4px);
  border-color: #fca5a5;
}

.rank-row img {
  width: 56px;
  height: 74px;
  border-radius: 12px;
  object-fit: cover;
}

.mini-rank {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #dc2626;
  font-size: 12px;
  font-weight: 950;
}

.rank-info {
  display: grid;
  min-width: 0;
}

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

.rank-info em {
  margin-top: 5px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-style: normal;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 10% 10%, rgba(253, 230, 138, 0.2), transparent 25%), linear-gradient(120deg, #7f1d1d, #9a3412 54%, #581c87);
  color: #fff;
}

.page-hero-inner {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0;
  text-align: center;
}

.page-hero .section-kicker {
  color: var(--gold);
}

.page-hero h1 {
  margin: 16px 0;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 780px;
  margin: 0 auto;
  color: #ffe4e6;
  font-size: 18px;
  line-height: 1.8;
}

.hero-inline-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.hero-inline-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 900;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 180px;
  gap: 12px;
  padding: 18px;
  margin-bottom: 26px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.filter-panel input,
.filter-panel select {
  min-height: 48px;
  padding: 0 16px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #450a0a;
}

.detail-bg,
.detail-overlay {
  position: absolute;
  inset: 0;
}

.detail-bg {
  background-size: cover;
  background-position: center;
  filter: blur(18px);
  transform: scale(1.08);
  opacity: 0.5;
}

.detail-overlay {
  background: linear-gradient(90deg, rgba(69, 10, 10, 0.96), rgba(127, 29, 29, 0.78));
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: #fecaca;
  font-size: 14px;
  font-weight: 800;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  margin-top: 34px;
}

.detail-poster-wrap {
  padding: 10px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

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

.detail-copy .section-kicker {
  color: var(--gold);
}

.detail-copy h1 {
  margin: 16px 0;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.detail-one-line {
  max-width: 840px;
  margin: 0;
  color: #ffe4e6;
  font-size: 20px;
  line-height: 1.8;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 900;
}

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

.detail-section {
  padding-top: 42px;
  padding-bottom: 42px;
}

.player-panel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.movie-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
  outline: none;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  color: #fff;
  background: #000;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-cover-image,
.player-cover-mask {
  position: absolute;
  inset: 0;
}

.player-cover-image {
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  opacity: 0.72;
}

.player-cover-mask {
  background: radial-gradient(circle, rgba(220, 38, 38, 0.24), rgba(0, 0, 0, 0.72));
}

.player-cover-content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.player-play-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  padding-left: 6px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  font-size: 34px;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.35);
}

.player-cover-content strong {
  font-size: 20px;
  font-weight: 950;
}

.content-card {
  padding: 34px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.content-card h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

.content-card h2:not(:first-child) {
  margin-top: 30px;
}

.content-card p {
  margin: 0;
  color: #334155;
  font-size: 17px;
  line-height: 1.95;
}

.site-footer {
  margin-top: 60px;
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #7f1d1d 62%, #111827);
}

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

.footer-brand p {
  max-width: 520px;
  margin: 18px 0 0;
  color: #cbd5e1;
  line-height: 1.8;
}

.footer-col h2 {
  margin: 0 0 18px;
  color: #fecaca;
  font-size: 18px;
  font-weight: 950;
}

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

.footer-links a {
  color: #cbd5e1;
  font-weight: 700;
  transition: 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-bottom {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 14px;
}

.is-filter-hidden {
  display: none !important;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 36px;
  border-radius: 24px;
  background: #fff;
  color: var(--muted);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 1180px) {
  .nav-links,
  .nav-search {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

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

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

  .split-layout {
    grid-template-columns: 1fr;
  }

  .rank-panel {
    position: static;
  }
}

@media (max-width: 820px) {
  .hero-section,
  .hero-slider,
  .hero-slide,
  .hero-copy {
    min-height: 610px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(69, 10, 10, 0.94), rgba(127, 29, 29, 0.76));
  }

  .hero-copy {
    align-items: center;
    text-align: center;
  }

  .intro-strip,
  .strip-search,
  .page-search,
  .filter-panel,
  .detail-layout,
  .footer-shell {
    grid-template-columns: 1fr;
  }

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

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

  .detail-poster-wrap {
    max-width: 260px;
  }
}

@media (max-width: 540px) {
  .nav-shell,
  .section-shell,
  .detail-shell,
  .page-hero-inner,
  .footer-shell,
  .footer-bottom {
    width: min(100% - 22px, 1240px);
  }

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

  .brand-copy em {
    display: none;
  }

  .hero-copy h1 {
    font-size: 48px;
  }

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

  .category-grid,
  .category-grid-large,
  .category-movie-grid,
  .ranking-grid,
  .search-grid,
  .movie-grid {
    grid-template-columns: 1fr;
  }

  .movie-card {
    border-radius: 20px;
  }

  .detail-copy h1,
  .page-hero h1 {
    font-size: 38px;
  }

  .player-panel {
    border-radius: 18px;
  }

  .content-card {
    padding: 22px;
  }
}
