:root {
  --amber-50: #fff8eb;
  --amber-100: #ffedc2;
  --amber-200: #f7d38a;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --orange-600: #ea580c;
  --orange-700: #c2410c;
  --stone-950: #1c120b;
  --stone-900: #2b1a11;
  --stone-800: #3b2718;
  --text: #24170e;
  --muted: #73533a;
  --card: rgba(255, 255, 255, 0.84);
  --shadow: 0 22px 55px rgba(87, 49, 16, 0.18);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 4%, rgba(255, 215, 128, 0.36), transparent 32rem),
    linear-gradient(135deg, #fff8eb 0%, #fff2d8 46%, #ffe9dd 100%);
  min-height: 100vh;
}

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

img {
  display: block;
  max-width: 100%;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(124, 45, 18, 0.2));
}

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(90deg, rgba(120, 53, 15, 0.9), rgba(154, 52, 18, 0.9));
  color: #fff7ed;
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(69, 26, 3, 0.22);
  transition: background 0.28s ease, box-shadow 0.28s ease;
}

.site-header.is-scrolled {
  background: linear-gradient(90deg, rgba(69, 26, 3, 0.96), rgba(124, 45, 18, 0.96));
  box-shadow: 0 18px 45px rgba(69, 26, 3, 0.28);
}

.header-inner {
  max-width: 1240px;
  height: 76px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.logo-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #7c2d12;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.35);
  font-size: 13px;
}

.logo-text {
  font-size: clamp(20px, 2vw, 26px);
}

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

.nav-link,
.mobile-link {
  color: rgba(255, 247, 237, 0.82);
  font-weight: 700;
  transition: color 0.22s ease, background 0.22s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: #fff;
}

.header-search {
  display: flex;
  align-items: center;
  width: min(280px, 26vw);
  border: 1px solid rgba(253, 230, 138, 0.35);
  background: rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  overflow: hidden;
}

.header-search input,
.mobile-search input,
.big-search input,
.filter-bar input {
  width: 100%;
  border: 0;
  outline: 0;
  color: inherit;
  background: transparent;
}

.header-search input {
  padding: 10px 12px 10px 16px;
  color: #fff;
}

.header-search input::placeholder,
.mobile-search input::placeholder {
  color: rgba(254, 243, 199, 0.72);
}

.header-search button {
  border: 0;
  color: #fff;
  background: transparent;
  padding: 10px 14px;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 22px 18px;
}

.mobile-panel.open {
  display: block;
}

.mobile-search {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.mobile-search input {
  color: #fff;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(253, 230, 138, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

.mobile-search button,
.big-search button,
.filter-buttons button {
  border: 0;
  cursor: pointer;
}

.mobile-search button {
  padding: 0 18px;
  border-radius: 14px;
  color: #7c2d12;
  font-weight: 800;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
}

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

.mobile-link {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
}

.site-main {
  padding-top: 76px;
}

.hero-slider {
  position: relative;
  min-height: calc(82vh - 20px);
  overflow: hidden;
  background: #1c120b;
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transform: scale(1.04);
  background-position: center;
  background-size: cover;
  transition: opacity 0.8s ease, transform 1.2s ease;
}

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

.hero-slide.active:hover {
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18) 52%, rgba(0, 0, 0, 0.32)),
    linear-gradient(90deg, rgba(41, 24, 10, 0.82), rgba(41, 24, 10, 0.22) 62%, rgba(41, 24, 10, 0.06));
}

.hero-content {
  position: absolute;
  left: max(22px, calc((100vw - 1240px) / 2 + 22px));
  right: 22px;
  bottom: 12vh;
  max-width: 780px;
  color: #fff;
}

.hero-badges,
.hero-meta,
.hero-actions,
.card-meta,
.tag-row,
.detail-actions,
.quick-tags,
.filter-buttons,
.detail-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.hero-badges {
  gap: 10px;
  margin-bottom: 16px;
}

.hero-badges span {
  padding: 7px 13px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  font-size: 14px;
  font-weight: 700;
}

.hero-badges span:first-child {
  background: rgba(217, 119, 6, 0.9);
}

.hero-content h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-shadow: 0 16px 45px rgba(0, 0, 0, 0.42);
}

.hero-one-line {
  margin: 18px 0 8px;
  font-size: clamp(18px, 2.6vw, 25px);
  color: #ffedc2;
  font-weight: 800;
}

.hero-summary,
.detail-summary {
  margin: 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.75;
}

.hero-meta {
  gap: 14px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-meta span + span::before {
  content: "·";
  margin-right: 14px;
  color: rgba(255, 255, 255, 0.54);
}

.hero-actions,
.detail-actions {
  gap: 14px;
  margin-top: 26px;
}

.primary-btn,
.glass-btn,
.text-link,
.big-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.primary-btn {
  min-height: 48px;
  padding: 0 28px;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--amber-600), var(--orange-600));
  box-shadow: 0 20px 42px rgba(194, 65, 12, 0.38);
}

.primary-btn:hover,
.big-search button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 28px 52px rgba(194, 65, 12, 0.42);
}

.glass-btn {
  min-height: 48px;
  padding: 0 22px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.glass-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.22);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.24s ease, background 0.24s ease;
}

.hero-slider:hover .hero-arrow {
  opacity: 1;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.52);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

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

.section-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 76px 22px;
}

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

.section-title-row.compact {
  align-items: center;
  margin-bottom: 24px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--amber-600);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 900;
}

.section-title-row h2,
.article-block h2,
.info-panel h2,
.category-preview h2 {
  margin: 0 0 8px;
  color: #20130b;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-title-row p,
.category-preview p,
.search-panel p,
.page-hero p,
.article-block p,
.info-panel dd,
.info-panel dt {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.text-link {
  color: var(--amber-600);
  white-space: nowrap;
}

.text-link:hover {
  color: var(--orange-700);
  transform: translateX(2px);
}

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

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

.movie-card,
.horizontal-card,
.category-card,
.search-panel,
.ranking-panel,
.article-block,
.info-panel,
.filter-bar {
  background: var(--card);
  border: 1px solid rgba(217, 119, 6, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 66px rgba(87, 49, 16, 0.24);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #fbbf24, #7c2d12);
}

.movie-card.large .poster-link {
  aspect-ratio: 16 / 9;
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.66));
  opacity: 0.88;
}

.play-mini {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(217, 119, 6, 0.86);
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

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

.year-badge,
.rank-badge {
  position: absolute;
  right: 12px;
  padding: 5px 9px;
  border-radius: 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.58);
  font-size: 12px;
  font-weight: 800;
}

.year-badge {
  bottom: 12px;
}

.rank-badge {
  top: 12px;
  left: 12px;
  right: auto;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.movie-info {
  padding: 18px;
}

.movie-info h3,
.horizontal-info h3 {
  margin: 0;
  color: #20130b;
  font-size: 18px;
  line-height: 1.28;
}

.movie-info h3 a,
.horizontal-info h3 a {
  transition: color 0.22s ease;
}

.movie-info h3 a:hover,
.horizontal-info h3 a:hover {
  color: var(--amber-600);
}

.movie-info p,
.horizontal-info p {
  margin: 10px 0 14px;
  color: #6f523a;
  font-size: 14px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  gap: 8px;
  margin-bottom: 10px;
}

.card-meta span,
.tag-row span,
.detail-tags a,
.quick-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #92400e;
  background: #ffedd5;
}

.card-meta span:nth-child(2n) {
  color: #1d4ed8;
  background: #dbeafe;
}

.tag-row {
  gap: 7px;
}

.tag-row span {
  color: #78350f;
  background: rgba(253, 230, 138, 0.55);
}

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

.category-card {
  position: relative;
  min-height: 196px;
  overflow: hidden;
  border-radius: 24px;
  background-position: center;
  background-size: cover;
  color: #fff;
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.category-card:hover {
  transform: translateY(-6px) scale(1.02);
}

.category-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 18, 11, 0.12), rgba(28, 18, 11, 0.88));
}

.category-body {
  position: absolute;
  inset: auto 18px 18px 18px;
}

.category-body strong,
.category-body em,
.category-body small {
  display: block;
}

.category-body strong {
  margin-bottom: 8px;
  font-size: 23px;
}

.category-body em {
  min-height: 45px;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  font-size: 14px;
  line-height: 1.55;
}

.category-body small {
  margin-top: 10px;
  color: #fde68a;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 28px;
  align-items: start;
}

.ranking-panel,
.search-panel {
  border-radius: var(--radius-xl);
  padding: 28px;
}

.ranking-list {
  display: grid;
  gap: 14px;
}

.ranking-list.wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.horizontal-card {
  display: grid;
  grid-template-columns: auto 138px 1fr;
  gap: 16px;
  align-items: stretch;
  overflow: hidden;
  border-radius: 18px;
  padding: 12px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.horizontal-card:hover {
  transform: translateY(-4px);
}

.rank-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  align-self: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  font-size: 20px;
  font-weight: 900;
}

.horizontal-poster {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  background: #fbbf24;
}

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

.horizontal-poster span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.horizontal-card:hover .horizontal-poster span {
  opacity: 1;
}

.horizontal-info {
  min-width: 0;
  padding: 4px 2px;
}

.search-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
}

.big-search {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 0 0 1px rgba(217, 119, 6, 0.12);
}

.big-search input {
  padding: 0 18px;
  min-height: 48px;
  color: var(--text);
}

.big-search button {
  border-radius: 999px;
  padding: 0 24px;
  color: #fff;
  background: linear-gradient(90deg, var(--amber-600), var(--orange-600));
}

.quick-tags {
  gap: 10px;
  margin-top: 18px;
}

.page-hero {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 84px 22px;
}

.warm-hero {
  color: #fff;
  background:
    radial-gradient(circle at 15% 25%, rgba(253, 230, 138, 0.3), transparent 30rem),
    linear-gradient(135deg, rgba(120, 53, 15, 0.96), rgba(194, 65, 12, 0.92));
}

.image-hero {
  color: #fff;
  background-position: center;
  background-size: cover;
}

.page-hero-layer {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.22)),
    linear-gradient(90deg, rgba(41, 24, 10, 0.82), rgba(41, 24, 10, 0.2));
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1040px);
  text-align: center;
}

.page-hero-inner p {
  max-width: 760px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.page-actions {
  justify-content: center;
}

.category-preview {
  margin-bottom: 72px;
}

.filter-bar {
  position: sticky;
  top: 86px;
  z-index: 10;
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
  padding: 16px;
  border-radius: 20px;
}

.filter-bar input {
  padding: 13px 16px;
  border: 1px solid rgba(217, 119, 6, 0.15);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.76);
}

.filter-buttons {
  gap: 10px;
}

.filter-buttons button {
  padding: 8px 14px;
  border-radius: 999px;
  color: #92400e;
  background: #ffedd5;
  font-weight: 800;
}

.filter-buttons button.active,
.filter-buttons button:hover {
  color: #fff;
  background: linear-gradient(90deg, var(--amber-600), var(--orange-600));
}

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

.breadcrumb {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--amber-600);
}

.detail-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: end;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.detail-layer {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(28, 18, 11, 0.88), rgba(28, 18, 11, 0.36)),
    linear-gradient(90deg, rgba(28, 18, 11, 0.88), rgba(28, 18, 11, 0.22));
  backdrop-filter: blur(2px);
}

.detail-inner {
  position: relative;
  z-index: 1;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 72px 22px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: end;
  color: #fff;
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 34px 75px rgba(0, 0, 0, 0.42);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail-copy h1 {
  max-width: 850px;
  font-size: clamp(36px, 6vw, 64px);
}

.detail-one-line {
  margin: 18px 0 10px;
  color: #ffedc2;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.65;
}

.player-section {
  padding-top: 54px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #070707;
  box-shadow: 0 38px 80px rgba(28, 18, 11, 0.34);
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.52));
  cursor: pointer;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.big-play {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #7c2d12;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.38);
  font-size: 30px;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
}

.article-block,
.info-panel {
  border-radius: var(--radius-xl);
  padding: 30px;
}

.article-block h2:not(:first-child) {
  margin-top: 34px;
}

.article-block p {
  font-size: 17px;
}

.info-panel dl {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px 16px;
  margin: 18px 0 22px;
}

.info-panel dt {
  color: #9a6a44;
  font-weight: 800;
}

.info-panel dd {
  margin: 0;
}

.detail-tags {
  gap: 9px;
}

.detail-tags a:hover,
.quick-tags a:hover {
  color: #fff;
  background: linear-gradient(90deg, var(--amber-600), var(--orange-600));
}

.site-footer {
  color: #ffedd5;
  background: linear-gradient(180deg, #3b1f0f, #140c08);
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 22px 34px;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
}

.footer-brand p {
  margin: 16px 0 0;
  max-width: 420px;
  color: rgba(255, 237, 213, 0.72);
  line-height: 1.7;
}

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

.footer-col a {
  display: block;
  margin: 9px 0;
  color: rgba(255, 237, 213, 0.76);
  transition: color 0.22s ease, transform 0.22s ease;
}

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

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 22px 28px;
  border-top: 1px solid rgba(255, 237, 213, 0.12);
  color: rgba(255, 237, 213, 0.62);
  font-size: 14px;
  text-align: center;
}

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

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

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

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

  .split-section,
  .detail-content-grid,
  .footer-inner,
  .ranking-list.wide {
    grid-template-columns: 1fr;
  }

  .detail-inner {
    grid-template-columns: 240px 1fr;
  }
}

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

  .site-main {
    padding-top: 66px;
  }

  .hero-slider {
    min-height: 76vh;
  }

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

  .hero-summary,
  .hero-meta {
    display: none;
  }

  .hero-actions {
    align-items: stretch;
  }

  .primary-btn,
  .glass-btn {
    min-height: 44px;
    padding: 0 18px;
  }

  .hero-arrow {
    display: none;
  }

  .section-wrap {
    padding: 52px 16px;
  }

  .section-title-row {
    display: block;
  }

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

  .movie-grid,
  .feature-grid,
  .preview-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .horizontal-card {
    grid-template-columns: 44px 104px 1fr;
    gap: 10px;
  }

  .rank-number {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .horizontal-info p {
    -webkit-line-clamp: 1;
  }

  .page-hero {
    min-height: 300px;
    padding: 54px 16px;
  }

  .detail-hero {
    min-height: 0;
  }

  .detail-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 42px 16px;
  }

  .detail-poster {
    max-width: 220px;
  }

  .detail-summary {
    display: none;
  }

  .big-search {
    display: grid;
    border-radius: 20px;
  }

  .big-search button {
    min-height: 46px;
  }

  .filter-bar {
    position: static;
  }

  .footer-inner {
    padding-top: 42px;
  }
}
