:root {
  --bg: #f8fafc;
  --text: #111827;
  --muted: #667085;
  --soft: #f3f4f6;
  --card: #ffffff;
  --line: rgba(17, 24, 39, 0.08);
  --orange: #f97316;
  --orange-dark: #ea580c;
  --red: #dc2626;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(180deg, #fff7ed 0%, #f8fafc 260px, #eef2f7 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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: 80;
  color: #ffffff;
  background: linear-gradient(90deg, #f97316 0%, #ef4444 52%, #b91c1c 100%);
  box-shadow: 0 12px 30px rgba(185, 28, 28, 0.22);
}

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

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

.logo-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: #f97316;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.18), 0 12px 24px rgba(0, 0, 0, 0.16);
}

.logo-text {
  font-size: 23px;
}

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

.nav-link {
  padding: 10px 13px;
  border-radius: 999px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  background: rgba(255, 255, 255, 0.17);
  color: #fff7ed;
}

.nav-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  width: min(330px, 32vw);
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.nav-search input {
  min-width: 0;
  flex: 1;
  height: 40px;
  padding: 0 14px;
  color: #ffffff;
  border: 0;
  outline: 0;
  background: transparent;
}

.nav-search input::placeholder {
  color: rgba(255, 255, 255, 0.76);
}

.nav-search button {
  height: 40px;
  padding: 0 16px;
  border: 0;
  color: #9a3412;
  background: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 16px;
}

.mobile-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
  margin-top: 8px;
}

.mobile-nav.is-open {
  display: block;
}

main {
  min-height: 60vh;
}

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

.inner-page {
  padding: 32px 0 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 22px;
  width: min(1400px, calc(100% - 32px));
  margin: 24px auto 0;
}

.hero-stage {
  position: relative;
  height: 600px;
  overflow: hidden;
  border-radius: 30px;
  background: radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.65), transparent 32%), #030712;
  box-shadow: 0 30px 70px rgba(17, 24, 39, 0.32);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.hero-slide.image-soft img {
  display: none;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.52) 45%, rgba(0, 0, 0, 0.08) 100%);
}

.hero-copy {
  position: absolute;
  left: 48px;
  right: 48px;
  bottom: 52px;
  z-index: 2;
  max-width: 760px;
  color: #ffffff;
}

.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: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #fff7ed;
  background: rgba(249, 115, 22, 0.88);
}

.hero-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.hero-copy p {
  max-width: 670px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.8;
}

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

.primary-button,
.ghost-button,
.section-more,
.ranking-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #ef4444);
  box-shadow: 0 14px 32px rgba(239, 68, 68, 0.34);
}

.ghost-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.primary-button:hover,
.ghost-button:hover,
.section-more:hover,
.ranking-action:hover {
  transform: translateY(-2px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  background: rgba(0, 0, 0, 0.32);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
}

.hero-prev {
  left: 18px;
}

.hero-next {
  right: 18px;
}

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

.hero-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
  width: 34px;
  background: #f97316;
}

.hero-side-panel {
  min-height: 600px;
  padding: 28px;
  border-radius: 30px;
  color: #ffffff;
  background: linear-gradient(160deg, #111827, #7f1d1d 58%, #f97316 150%);
  box-shadow: var(--shadow);
}

.hero-side-panel h2 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 950;
}

.hero-side-panel p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

.hero-search {
  display: grid;
  grid-template-columns: 1fr auto;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.hero-search input {
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 0;
  outline: 0;
  color: #ffffff;
  background: transparent;
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.hero-search button {
  border: 0;
  padding: 0 18px;
  color: #9a3412;
  background: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

.hero-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.hero-category-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffedd5;
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 800;
}

.hero-mini-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.hero-mini-card {
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-mini-card:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.18);
}

.hero-mini-card img {
  width: 68px;
  height: 50px;
  border-radius: 12px;
  object-fit: cover;
  background: linear-gradient(135deg, #7c2d12, #111827);
}

.hero-mini-card span {
  font-weight: 850;
  line-height: 1.35;
}

.content-section,
.category-strip {
  margin-top: 56px;
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 950;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.compact-heading {
  margin-bottom: 18px;
}

.section-more {
  min-height: 40px;
  color: #ea580c;
  background: #fff7ed;
  box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.18);
}

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

.category-tile {
  position: relative;
  min-height: 158px;
  overflow: hidden;
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff, #fff7ed);
  box-shadow: var(--shadow);
}

.category-light {
  position: absolute;
  right: -26px;
  top: -26px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.16);
}

.category-tile strong {
  position: relative;
  display: block;
  font-size: 21px;
  font-weight: 950;
}

.category-tile p {
  position: relative;
  margin: 10px 0 14px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.category-tile em {
  position: relative;
  color: #ea580c;
  font-style: normal;
  font-weight: 850;
  font-size: 13px;
}

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

.category-movie-grid {
  margin-top: 24px;
}

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.16);
}

.poster-shell {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: radial-gradient(circle at 35% 20%, rgba(249, 115, 22, 0.56), transparent 32%), linear-gradient(135deg, #111827, #7f1d1d);
}

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

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

.poster-glow {
  position: absolute;
  inset: auto 0 0;
  height: 62%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), transparent);
}

.poster-play {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(249, 115, 22, 0.92);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-card:hover .poster-play {
  opacity: 1;
  transform: translateY(0);
}

.poster-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 9px;
  border-radius: 9px;
  color: #ffffff;
  background: rgba(249, 115, 22, 0.92);
  font-size: 12px;
  font-weight: 850;
}

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

.movie-title {
  display: -webkit-box;
  min-height: 48px;
  overflow: hidden;
  color: #111827;
  font-weight: 950;
  font-size: 17px;
  line-height: 1.42;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

.movie-title:hover {
  color: #ea580c;
}

.movie-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 9px 0;
  color: #667085;
  font-size: 13px;
  font-weight: 750;
}

.movie-card-body p {
  display: -webkit-box;
  min-height: 54px;
  margin: 0 0 12px;
  overflow: hidden;
  color: #667085;
  font-size: 14px;
  line-height: 1.65;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row span {
  color: #9a3412;
  background: #ffedd5;
}

.warm-section {
  margin-left: calc((100vw - min(1280px, calc(100vw - 32px))) / -2);
  margin-right: calc((100vw - min(1280px, calc(100vw - 32px))) / -2);
  padding: 48px max(16px, calc((100vw - 1280px) / 2 + 16px));
  background: linear-gradient(90deg, rgba(255, 247, 237, 0.95), rgba(254, 226, 226, 0.82));
}

.horizontal-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 230px;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 0 18px;
  scroll-snap-type: x proximity;
}

.horizontal-scroll .movie-card {
  scroll-snap-align: start;
}

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

.ranking-list-full {
  margin-top: 24px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}

.ranking-number {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #ef4444);
  font-weight: 950;
}

.ranking-title {
  color: #111827;
  font-size: 18px;
  font-weight: 950;
}

.ranking-info p {
  margin: 6px 0;
  color: #667085;
  line-height: 1.6;
}

.ranking-info span {
  color: #9ca3af;
  font-size: 13px;
}

.ranking-action {
  color: #ffffff;
  background: #f97316;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 48px;
  border-radius: 30px;
  color: #ffffff;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.2), transparent 24%), linear-gradient(135deg, #111827, #7f1d1d 58%, #f97316);
  box-shadow: var(--shadow);
}

.compact-page-hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.06;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.compact-page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.8;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #ffedd5;
  background: rgba(249, 115, 22, 0.38);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 20px;
  color: #667085;
  font-size: 14px;
  font-weight: 750;
}

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

.category-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.category-overview-card {
  overflow: hidden;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.category-overview-main {
  position: relative;
  display: block;
  padding: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff7ed, #ffffff);
}

.category-overview-main span {
  position: absolute;
  right: -34px;
  top: -34px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.15);
}

.category-overview-main h2 {
  position: relative;
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 950;
}

.category-overview-main p {
  position: relative;
  margin: 0;
  color: #667085;
  line-height: 1.75;
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px;
}

.category-samples a {
  padding: 8px 11px;
  border-radius: 999px;
  color: #9a3412;
  background: #ffedd5;
  font-size: 13px;
  font-weight: 800;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 180px;
  gap: 14px;
  margin-top: 24px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.filter-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 16px;
  background: #f3f4f6;
}

.filter-input-wrap span {
  color: #f97316;
  font-weight: 900;
}

.filter-input-wrap input,
.filter-panel select {
  width: 100%;
  min-width: 0;
  height: 48px;
  border: 0;
  outline: 0;
  color: #111827;
  background: #f3f4f6;
}

.filter-panel select {
  padding: 0 12px;
  border-radius: 16px;
  cursor: pointer;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 24px;
  align-items: stretch;
}

.player-wrap {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  border-radius: 30px;
  background: #020617;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.28);
}

.player-wrap video {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: contain;
  background: #000000;
  cursor: pointer;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  color: #ffffff;
  background: #020617;
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

.player-cover-shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(249, 115, 22, 0.16), transparent 26%), linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18));
}

.play-button-large {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f97316, #ef4444);
  box-shadow: 0 0 0 18px rgba(249, 115, 22, 0.16), 0 20px 40px rgba(0, 0, 0, 0.28);
  font-size: 36px;
}

.play-title {
  position: relative;
  margin-top: 122px;
  font-size: 20px;
  font-weight: 950;
}

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

.detail-intro {
  padding: 30px;
  border-radius: 30px;
  color: #ffffff;
  background: linear-gradient(150deg, #111827, #7f1d1d 68%, #f97316 150%);
  box-shadow: var(--shadow);
}

.detail-intro h1 {
  margin: 16px 0;
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.detail-one-line {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  line-height: 1.8;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.detail-meta-grid span {
  min-height: 64px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.detail-meta-grid b {
  display: block;
  margin-bottom: 4px;
  color: #ffffff;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr);
  gap: 24px;
  margin-top: 28px;
}

.detail-main-card,
.detail-side-card {
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.detail-main-card {
  padding: 32px;
}

.detail-main-card h2,
.detail-side-card h2 {
  margin: 0 0 16px;
  font-size: 25px;
  font-weight: 950;
}

.detail-main-card h2:not(:first-child) {
  margin-top: 28px;
}

.detail-main-card p {
  margin: 0;
  color: #344054;
  font-size: 17px;
  line-height: 1.95;
}

.detail-side-card {
  padding: 22px;
}

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

.related-grid .movie-card-body p,
.related-grid .tag-row,
.related-grid .movie-meta {
  display: none;
}

.related-grid .movie-title {
  min-height: 42px;
  font-size: 14px;
}

.inline-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.inline-related-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #9a3412;
  background: #ffedd5;
  font-weight: 800;
  font-size: 13px;
}

.site-footer {
  margin-top: 72px;
  color: #d1d5db;
  background: linear-gradient(90deg, #111827, #1f2937, #111827);
}

.footer-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 38px 0;
}

.footer-brand p {
  margin: 12px 0 0;
  color: #9ca3af;
}

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

.footer-links a {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 750;
}

.footer-bottom {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9ca3af;
  text-align: center;
  font-size: 14px;
}

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

.no-results {
  display: none;
  padding: 28px;
  border-radius: 22px;
  color: #667085;
  background: #ffffff;
  box-shadow: var(--shadow);
  text-align: center;
  font-weight: 800;
}

.no-results.is-visible {
  display: block;
}

@media (max-width: 1120px) {
  .hero,
  .detail-hero,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-side-panel {
    min-height: auto;
  }

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

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

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

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

  .hero-stage,
  .hero-side-panel {
    border-radius: 24px;
  }

  .hero-stage {
    height: 520px;
  }

  .hero-copy {
    left: 24px;
    right: 24px;
    bottom: 44px;
  }

  .hero-arrow {
    display: none;
  }

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

  .section-heading,
  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .detail-meta-grid {
    grid-template-columns: 1fr;
  }

  .player-wrap,
  .player-wrap video {
    min-height: 360px;
  }
}

@media (max-width: 560px) {
  .nav-shell,
  .page-shell,
  .hero,
  .footer-shell,
  .footer-bottom,
  .mobile-nav {
    width: min(100% - 22px, 1280px);
  }

  .logo-text {
    font-size: 19px;
  }

  .hero {
    gap: 14px;
    margin-top: 14px;
  }

  .hero-stage {
    height: 500px;
  }

  .hero-copy p {
    font-size: 15px;
  }

  .page-hero,
  .detail-intro,
  .detail-main-card {
    padding: 24px;
    border-radius: 22px;
  }

  .category-grid,
  .category-overview-grid,
  .movie-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .horizontal-scroll {
    grid-auto-columns: 78vw;
  }

  .ranking-row {
    grid-template-columns: 48px 1fr;
  }

  .ranking-action {
    grid-column: 2;
    width: fit-content;
  }

  .ranking-number {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .player-wrap,
  .player-wrap video {
    min-height: 260px;
  }

  .play-button-large {
    width: 72px;
    height: 72px;
    font-size: 28px;
  }
}
