:root {
  --sand-50: #faf8f3;
  --sand-100: #f5f0e6;
  --sand-200: #e8ddc4;
  --sand-300: #d9c298;
  --sand-400: #c9a876;
  --sand-500: #b98f5f;
  --sand-600: #a3744c;
  --sand-700: #885e40;
  --sand-800: #6f4d38;
  --sand-900: #5b4030;
  --desert-50: #fef9f0;
  --desert-100: #fdf2e0;
  --desert-300: #f5c38c;
  --desert-400: #f1b070;
  --desert-500: #ec944f;
  --desert-600: #d97935;
  --desert-700: #b5602a;
  --text: #2f2119;
  --muted: #7d6a5c;
  --white: #ffffff;
  --shadow: 0 12px 30px rgba(91, 64, 48, 0.12);
  --shadow-warm: 0 4px 20px rgba(236, 148, 79, 0.20);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, var(--sand-50), #ffffff 42%, var(--sand-50));
  color: var(--text);
  min-width: 320px;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--sand-700), var(--desert-700));
  color: var(--sand-50);
  box-shadow: 0 10px 28px rgba(91, 64, 48, 0.28);
}

.nav-wrap {
  max-width: 1180px;
  height: 64px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--sand-900);
  background: linear-gradient(135deg, var(--desert-300), var(--desert-500));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  font-size: 14px;
}

.brand-text {
  font-size: 21px;
}

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

.nav-link {
  padding: 10px 15px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 700;
  transition: background 0.22s ease, transform 0.22s ease;
}

.nav-link:hover,
.nav-link.is-active {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  padding: 10px;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #ffffff;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  padding: 8px 20px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

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

.mobile-nav .nav-link,
.mobile-cats a {
  display: block;
  padding: 11px 10px;
  border-radius: 10px;
}

.mobile-cats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
  color: var(--sand-200);
}

.hero-carousel {
  position: relative;
  height: 70vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--sand-900);
}

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

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms ease;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 30%, rgba(236, 148, 79, 0.25), transparent 28%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.45) 48%, rgba(0, 0, 0, 0.2));
}

.hero-content {
  position: absolute;
  left: calc(50% - 590px);
  bottom: 96px;
  width: min(680px, calc(100% - 40px));
  color: #ffffff;
}

.eyebrow,
.section-kicker {
  color: var(--desert-400);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
}

.hero-content h1,
.hero-content h2 {
  margin: 14px 0 16px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  margin: 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.8;
}

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

.hero-tags {
  margin-top: 18px;
}

.hero-tags span,
.detail-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: inherit;
  font-size: 12px;
  font-weight: 700;
}

.tag-row span {
  background: var(--sand-100);
  color: var(--sand-700);
}

.detail-tags span {
  background: var(--desert-100);
  color: var(--desert-700);
}

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

.primary-button,
.ghost-button,
.text-button,
.rank-action,
.filter-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.primary-button {
  min-height: 48px;
  padding: 0 24px;
  background: linear-gradient(135deg, var(--desert-500), var(--desert-700));
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(217, 121, 53, 0.32);
}

.ghost-button {
  min-height: 48px;
  padding: 0 22px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.primary-button:hover,
.ghost-button:hover,
.text-button:hover,
.rank-action:hover,
.filter-reset:hover {
  transform: translateY(-2px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

.hero-dot.is-active {
  width: 28px;
  background: var(--desert-400);
}

.hero-search {
  position: absolute;
  right: calc(50% - 590px);
  bottom: 96px;
  z-index: 5;
  width: min(360px, calc(100% - 40px));
  display: flex;
  padding: 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
}

.hero-search input,
.search-shell input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
}

.hero-search input {
  padding: 0 14px;
  color: #ffffff;
}

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

.hero-search button {
  border: 0;
  border-radius: 14px;
  padding: 10px 18px;
  color: #ffffff;
  background: var(--desert-600);
  cursor: pointer;
  font-weight: 800;
}

.hero-quick-links {
  position: absolute;
  right: calc(50% - 590px);
  bottom: 34px;
  z-index: 5;
  width: min(360px, calc(100% - 40px));
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-quick-links a,
.inline-links a {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.section-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 58px 20px;
}

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

.section-head.compact {
  margin-bottom: 18px;
}

.section-head h2,
.page-hero h1,
.detail-card h1 {
  margin: 4px 0 0;
  color: var(--sand-900);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.section-more,
.text-button {
  color: var(--desert-700);
  font-weight: 900;
}

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

.category-card,
.category-overview-card,
.movie-card,
.feature-card,
.side-card,
.detail-card,
.ranking-panel,
.rank-row {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.category-card {
  position: relative;
  min-height: 210px;
  padding: 22px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(91, 64, 48, 0.1), rgba(91, 64, 48, 0.84));
  z-index: -1;
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.02);
  transition: transform 0.4s ease;
}

.category-card:hover,
.movie-card:hover,
.feature-card:hover,
.category-overview-card:hover,
.rank-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-warm);
}

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

.category-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--sand-900);
  background: var(--desert-300);
  font-weight: 900;
}

.category-card h3 {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 66px;
  color: #ffffff;
  font-size: 24px;
  margin: 0;
}

.category-card p {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.5;
}

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}

.feature-grid {
  display: grid;
  gap: 18px;
}

.feature-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
}

.feature-cover {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  background: var(--sand-100);
}

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

.feature-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.52), transparent);
}

.feature-body {
  padding: 26px;
}

.feature-body h3,
.card-content h3,
.rank-info h3,
.side-card h2 {
  margin: 8px 0 10px;
  color: var(--sand-900);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
}

.feature-body p,
.card-content p,
.rank-info p,
.side-card p,
.page-hero p,
.detail-card p,
.overview-body p {
  color: var(--muted);
  line-height: 1.75;
}

.text-button {
  margin-top: 18px;
}

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

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

.movie-card {
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sand-100);
}

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

.quality-badge,
.year-badge {
  position: absolute;
  top: 12px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.quality-badge {
  left: 12px;
  background: var(--desert-600);
}

.year-badge {
  right: 12px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 58%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.poster-play {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  transform: translate(-50%, 12px);
  opacity: 0;
  padding: 9px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--sand-900);
  font-weight: 900;
  white-space: nowrap;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

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

.card-content {
  padding: 17px;
}

.card-meta {
  color: var(--desert-700);
  font-size: 12px;
  font-weight: 900;
}

.card-content h3 {
  font-size: 18px;
}

.card-content p {
  min-height: 50px;
  margin: 0 0 14px;
  font-size: 14px;
}

.ranking-panel {
  padding: 22px;
}

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

.rank-list.mini {
  gap: 10px;
}

.rank-row {
  display: grid;
  grid-template-columns: 54px 82px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rank-list.mini .rank-row {
  grid-template-columns: 34px 58px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  box-shadow: none;
  border: 1px solid var(--sand-100);
}

.rank-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--desert-500), var(--sand-700));
  font-weight: 900;
}

.rank-list.mini .rank-number {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  font-size: 12px;
}

.rank-thumb {
  display: block;
  width: 82px;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  background: var(--sand-100);
}

.rank-list.mini .rank-thumb {
  width: 58px;
}

.rank-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-info h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.rank-list.mini .rank-info h3 {
  font-size: 14px;
}

.rank-info p {
  margin: 0;
  font-size: 13px;
}

.rank-list.mini .rank-info p,
.rank-list.mini .rank-meta,
.rank-list.mini .rank-action {
  display: none;
}

.rank-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  color: var(--sand-600);
  font-size: 12px;
  font-weight: 800;
}

.rank-action {
  padding: 10px 14px;
  color: #ffffff;
  background: var(--desert-600);
}

.page-hero {
  background:
    radial-gradient(circle at 18% 25%, rgba(236, 148, 79, 0.18), transparent 28%),
    linear-gradient(135deg, var(--sand-900), var(--sand-700));
  color: #ffffff;
}

.small-hero {
  padding: 80px 20px;
}

.page-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.page-hero h1 {
  color: #ffffff;
  font-size: clamp(40px, 6vw, 64px);
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

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

.category-overview-card {
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.overview-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 180px;
  background: var(--sand-100);
}

.overview-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overview-body {
  padding: 22px;
}

.overview-body span {
  color: var(--desert-700);
  font-weight: 900;
}

.overview-body h2 {
  margin: 8px 0;
  color: var(--sand-900);
}

.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.search-shell {
  flex: 1;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid var(--sand-200);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(91, 64, 48, 0.08);
  color: var(--muted);
}

.search-shell input {
  color: var(--sand-900);
}

.filter-reset {
  border: 0;
  min-width: 92px;
  padding: 0 18px;
  color: #ffffff;
  background: var(--sand-700);
  cursor: pointer;
}

.empty-result {
  margin: 20px 0;
  padding: 18px;
  border-radius: 16px;
  background: var(--desert-50);
  color: var(--desert-700);
  font-weight: 800;
}

.detail-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--sand-600);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--desert-700);
}

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

.detail-main {
  display: grid;
  gap: 22px;
}

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #000000;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

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

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

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

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

.cover-shadow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(217, 121, 53, 0.34), transparent 20%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.34));
}

.big-play {
  position: relative;
  z-index: 2;
  width: 84px;
  height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--desert-500), var(--desert-700));
  box-shadow: 0 18px 40px rgba(217, 121, 53, 0.35);
  font-size: 34px;
  text-indent: 5px;
}

.play-text {
  position: absolute;
  z-index: 2;
  top: calc(50% + 58px);
  font-weight: 900;
  letter-spacing: 0.06em;
}

.player-message {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 4;
  transform: translateX(-50%);
  margin: 0;
  padding: 10px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.62);
  font-weight: 800;
}

.detail-card {
  padding: 30px;
}

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

.detail-card h2 {
  margin: 28px 0 10px;
  color: var(--sand-900);
  font-size: 23px;
}

.detail-card p {
  margin: 0;
  font-size: 16px;
}

.detail-side {
  display: grid;
  gap: 18px;
}

.side-card {
  padding: 20px;
}

.poster-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  background: var(--sand-100);
  margin-bottom: 16px;
}

.info-card dl {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px 12px;
  margin: 0;
}

.info-card dt {
  color: var(--sand-600);
  font-weight: 900;
}

.info-card dd {
  margin: 0;
  color: var(--sand-900);
  line-height: 1.6;
}

.related-section {
  padding-top: 38px;
}

.site-footer {
  margin-top: 42px;
  background: linear-gradient(180deg, var(--sand-800), var(--sand-900));
  color: var(--sand-200);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 46px 20px;
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr;
  gap: 34px;
}

.footer-logo {
  color: #ffffff;
  font-size: 20px;
}

.footer-brand p {
  max-width: 360px;
  color: var(--sand-300);
  line-height: 1.7;
}

.footer-group h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 15px;
}

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

.footer-links a {
  color: var(--sand-300);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--desert-400);
}

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 20px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--sand-400);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 1180px) {
  .hero-content,
  .hero-search,
  .hero-quick-links {
    left: 24px;
    right: auto;
  }

  .hero-search {
    bottom: 32px;
    left: auto;
    right: 24px;
  }

  .hero-quick-links {
    display: none;
  }
}

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

  .mobile-toggle {
    display: block;
  }

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

  .hero-content {
    bottom: 150px;
  }

  .hero-search {
    left: 20px;
    right: 20px;
    bottom: 36px;
    width: auto;
  }

  .hero-arrow {
    display: none;
  }

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

  .two-column-section,
  .detail-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .nav-wrap {
    padding: 0 14px;
  }

  .brand-text {
    font-size: 18px;
  }

  .hero-carousel {
    height: 76vh;
    min-height: 620px;
  }

  .hero-content {
    left: 18px;
    width: calc(100% - 36px);
    bottom: 142px;
  }

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

  .hero-actions {
    gap: 10px;
  }

  .primary-button,
  .ghost-button {
    min-height: 44px;
    padding: 0 16px;
  }

  .hero-search {
    left: 18px;
    right: 18px;
  }

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

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

  .category-grid,
  .overview-grid,
  .movie-grid,
  .movie-grid.wide-grid,
  .detail-side {
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: 42px 66px minmax(0, 1fr);
  }

  .rank-action {
    display: none;
  }

  .rank-thumb {
    width: 66px;
  }

  .filter-bar {
    flex-direction: column;
  }

  .small-hero {
    padding: 58px 16px;
  }

  .detail-shell {
    padding: 20px 16px 0;
  }

  .detail-card,
  .side-card {
    padding: 20px;
  }

  .big-play {
    width: 68px;
    height: 68px;
  }
}
