:root {
  --bg: #0f172a;
  --bg-soft: #1f1609;
  --paper: #ffffff;
  --paper-soft: #fff8eb;
  --text: #1f2937;
  --muted: #64748b;
  --line: rgba(146, 64, 14, 0.18);
  --amber: #f59e0b;
  --amber-dark: #92400e;
  --gold: #fde68a;
  --red: #dc2626;
  --shadow: 0 24px 70px rgba(20, 14, 6, 0.18);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #fff7ed 0%, #f8fafc 42%, #fef3c7 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(120, 53, 15, 0.98), rgba(133, 77, 14, 0.98), rgba(120, 53, 15, 0.98));
  box-shadow: 0 18px 50px rgba(69, 26, 3, 0.28);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1240px, calc(100% - 28px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #78350f;
  background: linear-gradient(135deg, #fef3c7, #f59e0b);
  box-shadow: 0 0 28px rgba(251, 191, 36, 0.55);
}

.brand-text {
  font-size: 1.55rem;
  letter-spacing: 0.02em;
  color: transparent;
  background: linear-gradient(90deg, #fef3c7, #fde68a, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
}

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

.nav-link {
  color: #fffbeb;
  font-weight: 700;
  opacity: 0.9;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fde047;
  opacity: 1;
}

.quick-search,
.mobile-search,
.big-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quick-search {
  width: 280px;
}

.quick-search input,
.mobile-search input,
.big-search input,
.search-panel input,
.search-panel select {
  width: 100%;
  border: 1px solid rgba(253, 230, 138, 0.35);
  border-radius: 999px;
  outline: none;
  padding: 11px 16px;
  color: #78350f;
  background: rgba(255, 251, 235, 0.96);
}

.quick-search button,
.mobile-search button,
.big-search button,
.search-panel button {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  color: #78350f;
  font-weight: 800;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quick-search button:hover,
.mobile-search button:hover,
.big-search button:hover,
.search-panel button:hover,
.primary-btn:hover,
.ghost-btn:hover,
.card-action:hover,
.section-link:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: rgba(255, 251, 235, 0.14);
  border-radius: 12px;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fffbeb;
}

.mobile-nav {
  display: none;
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
  padding: 0 0 18px;
  border-top: 1px solid rgba(253, 230, 138, 0.22);
}

.hero-carousel {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: #ffffff;
  background: radial-gradient(circle at 20% 10%, rgba(250, 204, 21, 0.28), transparent 32%), linear-gradient(135deg, #0f172a, #451a03 48%, #78350f);
}

.hero-stage {
  width: min(1180px, calc(100% - 32px));
  min-height: 620px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: 56px;
  padding: 82px 0 96px;
  opacity: 0;
  transform: translateX(28px);
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.hero-copy h1 {
  margin: 14px 0 20px;
  font-size: clamp(2.8rem, 8vw, 5.9rem);
  line-height: 0.96;
  font-weight: 950;
  letter-spacing: -0.055em;
  color: transparent;
  background: linear-gradient(90deg, #fef3c7, #fde047, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
}

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

.hero-copy .eyebrow {
  color: #fde68a;
}

.hero-copy p {
  max-width: 700px;
  margin: 0 0 26px;
  color: #fffbeb;
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.9;
}

.hero-tags,
.card-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-tags span,
.card-tags span,
.detail-tags span {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-tags span,
.detail-tags span {
  color: #451a03;
  background: rgba(254, 243, 199, 0.92);
}

.hero-actions,
.detail-actions,
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.primary-btn,
.ghost-btn,
.section-link,
.card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-btn {
  padding: 14px 28px;
  color: #451a03;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  box-shadow: 0 20px 45px rgba(245, 158, 11, 0.28);
}

.ghost-btn {
  padding: 13px 26px;
  color: #fffbeb;
  border: 1px solid rgba(254, 243, 199, 0.42);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.ghost-btn.dark {
  color: #92400e;
  border-color: rgba(146, 64, 14, 0.22);
  background: #fff7ed;
}

.hero-poster {
  position: relative;
  display: block;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.42);
  transform: rotate(1.6deg);
}

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

.hero-poster img {
  height: 520px;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-panel {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 82px;
  z-index: 3;
  width: min(340px, calc(100% - 44px));
  border: 1px solid rgba(253, 230, 138, 0.2);
  border-radius: 24px;
  padding: 18px;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(18px);
}

.panel-label {
  display: block;
  color: #fde68a;
  font-weight: 900;
  margin-bottom: 10px;
}

.hero-mini {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 10px;
  border-radius: 16px;
  color: #fffbeb;
  opacity: 0.74;
  transition: opacity 0.25s ease, background 0.25s ease;
}

.hero-mini:hover,
.hero-mini.is-active {
  opacity: 1;
  background: rgba(255, 251, 235, 0.12);
}

.hero-mini span {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #451a03;
  background: #fbbf24;
  font-weight: 900;
}

.hero-mini strong,
.hero-mini em {
  display: block;
}

.hero-mini strong {
  font-size: 0.94rem;
}

.hero-mini em {
  margin-top: 4px;
  color: #fed7aa;
  font-size: 0.78rem;
  font-style: normal;
}

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

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

.hero-dot.is-active {
  width: 36px;
  background: #fbbf24;
}

.hero-orb {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.42;
  animation: floatOrb 8s ease-in-out infinite alternate;
}

.orb-one {
  width: 160px;
  height: 160px;
  top: 80px;
  left: 9%;
  background: #fde047;
}

.orb-two {
  width: 210px;
  height: 210px;
  right: 12%;
  top: 120px;
  background: #f59e0b;
  animation-delay: 1s;
}

.orb-three {
  width: 120px;
  height: 120px;
  left: 42%;
  bottom: 70px;
  background: #fef3c7;
  animation-delay: 1.8s;
}

@keyframes floatOrb {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(22px, -18px, 0) scale(1.08); }
}

.section {
  padding: 74px 0;
}

.lift-card {
  position: relative;
  margin-top: -38px;
  border-radius: 32px;
  padding: 42px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

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

.section-head h2 {
  margin: 8px 0 0;
  color: #111827;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 950;
  letter-spacing: -0.04em;
}

.section-head.light h2,
.section-head.light .section-kicker {
  color: #fffbeb;
}

.section-link {
  padding: 10px 18px;
  color: #92400e;
  background: #fff7ed;
  border: 1px solid rgba(146, 64, 14, 0.16);
}

.light-link {
  color: #451a03;
  background: #fde68a;
}

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

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

.compact-grid,
.catalog-grid,
.search-grid,
.ranking-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(146, 64, 14, 0.12);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 25px 64px rgba(146, 64, 14, 0.18);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #78350f, #0f172a);
}

.poster-link img {
  height: 300px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.movie-card.compact .poster-link img {
  height: 230px;
}

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

.poster-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.72));
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #451a03;
  background: linear-gradient(135deg, #fef3c7, #f59e0b);
  font-weight: 950;
}

.card-body {
  padding: 18px;
}

.card-tags {
  margin-bottom: 10px;
}

.card-tags span {
  color: #b45309;
  background: #fffbeb;
}

.card-body h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.35;
  font-weight: 900;
}

.card-body h3 a:hover {
  color: #d97706;
}

.card-body p {
  min-height: 48px;
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.65;
}

.card-action {
  color: #92400e;
  font-size: 0.92rem;
}

.color-band {
  color: #ffffff;
  background: linear-gradient(135deg, #78350f, #92400e 45%, #111827);
}

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

.category-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.category-card img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 22%, rgba(0, 0, 0, 0.78));
}

.category-card strong,
.category-card em {
  position: relative;
  z-index: 2;
}

.category-card strong {
  font-size: 1.4rem;
  font-weight: 950;
}

.category-card em {
  margin-top: 8px;
  color: #fed7aa;
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1.55;
}

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

.rank-panel,
.side-card {
  position: sticky;
  top: 96px;
  border-radius: 26px;
  padding: 22px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.rank-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.rank-panel-head span,
.side-card h2 {
  color: #111827;
  font-weight: 950;
  font-size: 1.2rem;
}

.rank-panel-head a {
  color: #b45309;
  font-weight: 800;
}

.mini-item {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(146, 64, 14, 0.12);
}

.mini-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #451a03;
}

.mini-thumb img {
  height: 76px;
  object-fit: cover;
}

.tiny-rank {
  position: absolute;
  top: 6px;
  left: 6px;
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #451a03;
  background: #fbbf24;
  font-weight: 900;
  font-size: 0.78rem;
}

.mini-copy strong,
.mini-copy em,
.mini-copy small {
  display: block;
}

.mini-copy strong {
  color: #111827;
  line-height: 1.35;
}

.mini-copy em {
  margin: 4px 0;
  color: #b45309;
  font-size: 0.82rem;
  font-style: normal;
}

.mini-copy small {
  color: #64748b;
  line-height: 1.45;
}

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

.cta-box {
  border-radius: 32px;
  padding: 52px;
  text-align: center;
  color: #ffffff;
  background: radial-gradient(circle at 20% 20%, rgba(253, 224, 71, 0.3), transparent 32%), linear-gradient(135deg, #451a03, #92400e);
  box-shadow: var(--shadow);
}

.cta-box h2,
.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.045em;
}

.cta-box p {
  color: #fffbeb;
  margin: 0 auto 28px;
  max-width: 680px;
  line-height: 1.8;
}

.big-search {
  width: min(620px, 100%);
  margin: 0 auto;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.page-hero {
  padding: 86px 0;
  color: #ffffff;
  background: radial-gradient(circle at 20% 20%, rgba(253, 224, 71, 0.2), transparent 34%), linear-gradient(135deg, #0f172a, #78350f);
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #fffbeb;
  font-size: 1.13rem;
  line-height: 1.85;
}

.category-hero,
.search-hero {
  background: radial-gradient(circle at 72% 18%, rgba(251, 191, 36, 0.24), transparent 34%), linear-gradient(135deg, #451a03, #111827);
}

.rank-hero {
  background: radial-gradient(circle at 18% 24%, rgba(220, 38, 38, 0.22), transparent 32%), linear-gradient(135deg, #1f2937, #7f1d1d, #92400e);
}

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

.filter-chip {
  display: inline-flex;
  padding: 10px 15px;
  border-radius: 999px;
  color: #fffbeb;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(253, 230, 138, 0.24);
  font-weight: 800;
}

.filter-chip:hover,
.filter-chip.is-active {
  color: #451a03;
  background: #fbbf24;
}

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

.overview-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 22px;
  align-items: center;
  overflow: hidden;
  border-radius: 26px;
  padding: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.overview-image {
  overflow: hidden;
  border-radius: 20px;
}

.overview-image img {
  height: 180px;
  object-fit: cover;
}

.overview-card span {
  color: #d97706;
  font-weight: 900;
}

.overview-card h2 {
  margin: 8px 0 10px;
  font-size: 1.5rem;
  font-weight: 950;
}

.overview-card p {
  color: #64748b;
  line-height: 1.7;
}

.sample-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.sample-links a {
  padding: 7px 10px;
  border-radius: 999px;
  color: #92400e;
  background: #fff7ed;
  font-size: 0.86rem;
  font-weight: 800;
}

.search-panel {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 28px;
  border-radius: 28px;
  padding: 22px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.search-panel label span {
  display: block;
  margin: 0 0 8px;
  color: #92400e;
  font-size: 0.86rem;
  font-weight: 900;
}

.search-panel input,
.search-panel select {
  border-color: rgba(146, 64, 14, 0.18);
  background: #fffaf0;
}

.search-empty {
  margin: 22px 0;
  border-radius: 20px;
  padding: 24px;
  color: #92400e;
  background: #fff7ed;
  text-align: center;
  font-weight: 900;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 28px 0 0;
  color: #92400e;
  font-size: 0.93rem;
  font-weight: 800;
}

.breadcrumb strong {
  color: #111827;
}

.detail-hero {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 38px;
  align-items: center;
  padding: 38px 0 24px;
}

.detail-poster {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.detail-poster img {
  height: 500px;
  object-fit: cover;
}

.detail-copy {
  border-radius: 30px;
  padding: 42px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.detail-copy h1 {
  margin: 12px 0 18px;
  color: #111827;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  line-height: 1.04;
  font-weight: 950;
  letter-spacing: -0.045em;
}

.detail-one-line {
  color: #475569;
  font-size: 1.18rem;
  line-height: 1.9;
}

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

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

.player-section,
.content-card {
  margin-bottom: 26px;
  border-radius: 28px;
  padding: 26px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.player-section h2,
.content-card h2 {
  margin: 0 0 18px;
  color: #111827;
  font-size: 1.55rem;
  font-weight: 950;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #000000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.movie-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  background: #000000;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.58));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-icon {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #451a03;
  font-size: 2rem;
  background: linear-gradient(135deg, #fef3c7, #f59e0b);
  box-shadow: 0 22px 60px rgba(245, 158, 11, 0.36);
  padding-left: 5px;
}

.content-card p {
  margin: 0;
  color: #475569;
  font-size: 1.04rem;
  line-height: 1.9;
}

.review-card {
  background: linear-gradient(135deg, #fff7ed, #ffffff);
}

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

.movie-info-list div {
  border-radius: 16px;
  padding: 14px;
  background: #fff7ed;
}

.movie-info-list dt {
  color: #92400e;
  font-size: 0.82rem;
  font-weight: 900;
}

.movie-info-list dd {
  margin: 6px 0 0;
  color: #111827;
  font-weight: 800;
}

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

.site-footer {
  color: #fffbeb;
  background: linear-gradient(180deg, #0f172a, #451a03);
  margin-top: 36px;
}

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

.footer-logo {
  color: #fde68a;
  font-size: 1.35rem;
}

.footer-brand p,
.site-footer section p,
.site-footer li a {
  color: #fed7aa;
  line-height: 1.75;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #fde68a;
  font-size: 1.08rem;
  font-weight: 900;
}

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

.site-footer li {
  margin: 8px 0;
}

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

.footer-bottom {
  border-top: 1px solid rgba(253, 230, 138, 0.16);
  padding: 20px 0;
  text-align: center;
  color: #fed7aa;
}

@media (max-width: 1100px) {
  .desktop-nav,
  .quick-search {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

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

  .mobile-search {
    margin-top: 6px;
  }

  .hero-panel {
    display: none;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-poster img {
    height: 380px;
  }

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

  .rank-panel,
  .side-card {
    position: relative;
    top: auto;
  }

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

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

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

  .detail-hero {
    grid-template-columns: 280px 1fr;
  }
}

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

  .brand-text {
    font-size: 1.24rem;
  }

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

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

  .hero-slide {
    padding: 52px 0 88px;
  }

  .hero-copy h1 {
    font-size: 3.1rem;
  }

  .hero-poster img {
    height: 340px;
  }

  .lift-card,
  .cta-box,
  .detail-copy,
  .player-section,
  .content-card {
    padding: 24px;
    border-radius: 24px;
  }

  .section {
    padding: 52px 0;
  }

  .section-head {
    display: block;
  }

  .section-link {
    margin-top: 16px;
  }

  .movie-grid,
  .featured-grid,
  .compact-grid,
  .catalog-grid,
  .search-grid,
  .ranking-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .poster-link img,
  .movie-card.compact .poster-link img {
    height: 240px;
  }

  .overview-card,
  .detail-hero,
  .search-panel {
    grid-template-columns: 1fr;
  }

  .detail-poster img {
    height: 420px;
  }

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

  .big-search,
  .mobile-search {
    align-items: stretch;
    flex-direction: column;
    border-radius: 22px;
  }
}

@media (max-width: 480px) {
  .shell,
  .hero-stage,
  .footer-grid,
  .header-inner,
  .mobile-nav {
    width: min(100% - 22px, 1180px);
  }

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

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

  .hero-copy h1 {
    font-size: 2.55rem;
  }

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

  .hero-poster img,
  .detail-poster img {
    height: 320px;
  }

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

  .poster-link img,
  .movie-card.compact .poster-link img {
    height: 280px;
  }

  .mini-item {
    grid-template-columns: 92px 1fr;
  }

  .mini-thumb img {
    height: 68px;
  }
}
