:root {
  --ash-50: #f8f7f6;
  --ash-100: #efedeb;
  --ash-200: #ded9d4;
  --ash-400: #9b928c;
  --ash-600: #6f6661;
  --ash-700: #5a524e;
  --ash-900: #4a4441;
  --fire-50: #fff8f0;
  --fire-100: #ffefd6;
  --fire-300: #ffbd70;
  --fire-500: #ff7a14;
  --fire-600: #f05d00;
  --fire-700: #c74400;
  --ember-50: #fdf4f3;
  --ember-100: #fce7e4;
  --ember-600: #cf4332;
  --forest-50: #f3f6f3;
  --forest-600: #475e47;
  --forest-700: #3a4c3a;
  --shadow-soft: 0 18px 40px rgba(45, 35, 30, 0.13);
  --shadow-card: 0 8px 24px rgba(45, 35, 30, 0.1);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ash-50);
  color: var(--ash-900);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  line-height: 1.12;
}

p {
  margin: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(222, 217, 212, 0.7);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 20px rgba(45, 35, 30, 0.06);
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--fire-500), var(--ember-600));
  color: #fff;
  box-shadow: 0 10px 20px rgba(240, 93, 0, 0.24);
}

.brand-text strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.brand-text small {
  display: block;
  margin-top: 3px;
  color: var(--ash-600);
  font-size: 12px;
}

.nav-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.nav-link {
  color: var(--ash-700);
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--fire-600);
}

.nav-link.compact {
  font-size: 14px;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--ash-100);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ash-900);
  border-radius: 999px;
}

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

.site-search input,
.wide-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid var(--ash-200);
  border-radius: 999px;
  background: #fff;
  color: var(--ash-900);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-search input {
  width: 220px;
  padding: 10px 14px;
}

.site-search input:focus,
.wide-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--fire-500);
  box-shadow: 0 0 0 4px rgba(255, 122, 20, 0.14);
}

.site-search button,
.wide-search button,
.primary-button,
.ghost-button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.site-search button,
.wide-search button,
.primary-button {
  border: 0;
  background: linear-gradient(135deg, var(--fire-600), var(--ember-600));
  color: #fff;
  box-shadow: 0 12px 24px rgba(240, 93, 0, 0.22);
}

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

.wide-search button,
.primary-button,
.ghost-button {
  min-height: 48px;
  padding: 12px 22px;
}

.primary-button:hover,
.wide-search button:hover,
.site-search button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(240, 93, 0, 0.3);
}

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

.ghost-button:not(.light) {
  color: var(--ash-900);
  border-color: var(--ash-200);
  background: #fff;
}

.site-search-results {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 70;
  width: min(420px, calc(100vw - 32px));
  max-height: 420px;
  overflow: auto;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--ash-200);
  padding: 8px;
  display: none;
}

.site-search-results.is-open {
  display: block;
}

.search-result-item {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
}

.search-result-item:hover {
  background: var(--fire-50);
}

.search-result-item strong {
  display: block;
  color: var(--ash-900);
}

.search-result-item small {
  display: block;
  color: var(--ash-600);
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #120f0e;
}

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

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

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

.hero-bg,
.detail-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08);
  transform: scale(1.04);
}

.hero-overlay,
.detail-hero-mask {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 26%, rgba(255, 122, 20, 0.24), transparent 36%),
    linear-gradient(90deg, rgba(13, 10, 9, 0.92) 0%, rgba(35, 24, 19, 0.68) 46%, rgba(35, 24, 19, 0.28) 100%),
    linear-gradient(0deg, rgba(13, 10, 9, 0.85) 0%, rgba(13, 10, 9, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 32px));
  min-height: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.62fr);
  align-items: center;
  gap: 56px;
  padding: 72px 0 96px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--fire-300);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.text-fire {
  color: var(--fire-600);
}

.hero-copy h1 {
  max-width: 850px;
  color: #fff;
  font-size: clamp(42px, 7vw, 82px);
  letter-spacing: -0.04em;
}

.hero-copy p {
  max-width: 740px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-meta,
.meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hero-meta {
  margin-top: 24px;
}

.hero-meta span,
.meta-line span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hero-meta span {
  padding: 7px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}

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

.hero-cover {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.42);
  transform: rotate(2deg);
}

.hero-cover img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.hero-cover span,
.detail-cover span,
.play-chip {
  position: absolute;
  border-radius: 999px;
  color: #fff;
  background: rgba(240, 93, 0, 0.92);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(240, 93, 0, 0.34);
}

.hero-cover span {
  left: 20px;
  bottom: 20px;
  padding: 10px 16px;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 5;
  width: min(1280px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.hero-controls button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  font-size: 24px;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px !important;
  height: 10px !important;
  padding: 0;
  background: rgba(255, 255, 255, 0.38) !important;
}

.hero-dot.is-active {
  width: 28px !important;
  background: var(--fire-500) !important;
}

.search-band {
  margin-top: -44px;
  position: relative;
  z-index: 6;
}

.search-band-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: center;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.search-band h2,
.section-heading h2,
.page-hero h1,
.player-caption h2,
.content-card h2 {
  color: var(--ash-900);
}

.search-band p,
.section-heading p,
.category-overview-card p,
.content-card p,
.player-caption p,
.ranking-card p {
  color: var(--ash-600);
}

.wide-search input {
  min-height: 52px;
  padding: 12px 18px;
}

.section-block {
  padding: 72px 0;
}

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

.section-heading h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.section-heading a,
.text-link {
  color: var(--fire-600);
  font-weight: 900;
}

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

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

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

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

.movie-card,
.category-overview-card,
.content-card,
.player-card,
.ranking-card,
.ranking-panel,
.filter-panel,
.tag-cloud-panel {
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-card);
}

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

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 46px rgba(45, 35, 30, 0.15);
}

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.74));
}

.play-chip {
  right: 12px;
  bottom: 12px;
  padding: 7px 12px;
  font-size: 12px;
}

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-weight: 900;
}

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

.meta-line {
  margin-bottom: 10px;
}

.meta-line span {
  padding: 5px 9px;
  color: var(--fire-700);
  background: var(--fire-50);
}

.movie-card h2,
.ranking-card h2,
.category-overview-card h2 {
  font-family: inherit;
  font-size: 19px;
  line-height: 1.28;
}

.movie-card h2 a:hover,
.ranking-card h2 a:hover,
.category-overview-card h2 a:hover {
  color: var(--fire-600);
}

.movie-card p {
  margin-top: 8px;
  color: var(--ash-600);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tag-row,
.tag-cloud,
.mini-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row {
  margin-top: 14px;
}

.tag-row span,
.tag-cloud span,
.mini-links a {
  display: inline-flex;
  border-radius: 999px;
  background: var(--ash-100);
  color: var(--ash-700);
  font-size: 12px;
  font-weight: 800;
}

.tag-row span {
  padding: 5px 9px;
}

.tag-cloud span,
.mini-links a {
  padding: 8px 12px;
}

.soft-panel {
  background: linear-gradient(135deg, var(--fire-50), var(--ember-50) 50%, var(--forest-50));
}

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

.category-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-card);
}

.category-card img,
.category-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.category-card img {
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.category-layer {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.78));
}

.category-card strong,
.category-card small {
  position: relative;
  z-index: 1;
  color: #fff;
}

.category-card strong {
  font-size: 22px;
}

.category-card small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.84);
}

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

.ranking-panel {
  position: sticky;
  top: 98px;
  padding: 22px;
}

.compact-heading h2 {
  font-size: 28px;
}

.rank-row {
  display: grid;
  grid-template-columns: 34px 74px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--ash-100);
}

.rank-row:last-child {
  border-bottom: 0;
}

.rank-no {
  color: var(--fire-600);
  font-size: 22px;
  font-weight: 900;
}

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

.rank-info strong,
.rank-info small {
  display: block;
}

.rank-info strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-info small {
  color: var(--ash-600);
  font-size: 12px;
}

.rank-row em {
  color: var(--fire-600);
  font-style: normal;
  font-weight: 900;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
}

.page-hero {
  padding: 86px 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 122, 20, 0.18), transparent 30%),
    linear-gradient(135deg, var(--ash-900), #211b18);
  color: #fff;
}

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

.page-hero p {
  max-width: 780px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 24px;
  color: var(--ash-600);
  font-size: 14px;
}

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

.breadcrumb.light {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.76);
}

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

.category-overview-grid {
  display: grid;
  gap: 20px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px;
}

.category-overview-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
}

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

.category-overview-card p {
  margin-top: 10px;
}

.mini-links {
  margin-top: 14px;
}

.tag-cloud-panel {
  padding: 28px;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(3, 180px);
  gap: 14px;
  align-items: end;
  padding: 18px;
  margin-bottom: 28px;
}

.filter-panel label {
  display: grid;
  gap: 6px;
  color: var(--ash-700);
  font-size: 13px;
  font-weight: 900;
}

.filter-panel input,
.filter-panel select {
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 14px;
}

.movie-card.is-hidden,
.ranking-card.is-hidden {
  display: none;
}

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

.ranking-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 16px;
}

.ranking-poster {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
}

.ranking-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ranking-poster span {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-weight: 900;
}

.detail-hero {
  min-height: 620px;
  color: #fff;
  background: #120f0e;
}

.detail-hero-content {
  position: relative;
  z-index: 2;
  padding: 74px 0;
}

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

.detail-cover {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.44);
}

.detail-cover img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.detail-cover span {
  left: 20px;
  bottom: 20px;
  padding: 10px 16px;
}

.detail-copy h1 {
  color: #fff;
  font-size: clamp(40px, 6vw, 76px);
}

.detail-copy p {
  max-width: 820px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

.player-section {
  margin-top: -56px;
  position: relative;
  z-index: 5;
}

.player-card {
  overflow: hidden;
}

.video-wrap {
  position: relative;
  background: #050505;
  aspect-ratio: 16 / 9;
}

.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.video-play-button {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 92px;
  height: 92px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(240, 93, 0, 0.9);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.video-play-button span {
  margin-left: 5px;
  font-size: 34px;
}

.video-play-button:hover {
  transform: scale(1.05);
}

.video-play-button.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.player-status {
  position: absolute;
  left: 18px;
  bottom: 18px;
  color: #fff;
  font-size: 14px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.player-caption {
  padding: 22px 24px;
}

.player-caption h2 {
  font-size: 28px;
}

.content-card {
  padding: 30px;
}

.content-card h2 {
  margin-top: 26px;
  font-size: 30px;
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card p {
  margin-top: 12px;
  font-size: 17px;
}

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

.info-list div {
  padding: 14px;
  border-radius: 14px;
  background: var(--ash-50);
}

.info-list dt {
  color: var(--ash-600);
  font-size: 12px;
  font-weight: 900;
}

.info-list dd {
  margin: 3px 0 0;
  color: var(--ash-900);
  font-weight: 800;
}

.large-tags span {
  padding: 8px 12px;
}

.site-footer {
  margin-top: 34px;
  background: var(--ash-900);
  color: var(--ash-100);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr;
  gap: 34px;
  padding: 46px 0;
}

.footer-brand {
  margin-bottom: 10px;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
}

.site-footer h2 {
  margin-bottom: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 18px;
}

.site-footer p,
.site-footer a {
  color: var(--ash-400);
}

.site-footer a:hover {
  color: var(--fire-300);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  text-align: center;
  color: var(--ash-400);
  font-size: 14px;
}

@media (max-width: 1120px) {
  .nav-link.compact {
    display: none;
  }

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

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

  .ranking-panel {
    position: static;
  }

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

@media (max-width: 860px) {
  .nav-shell {
    min-height: 70px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-panel {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    padding: 16px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-soft);
  }

  .nav-panel.is-open {
    display: grid;
    gap: 16px;
  }

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

  .site-search {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .site-search input {
    width: 100%;
  }

  .hero,
  .hero-content {
    min-height: 720px;
  }

  .hero-content,
  .search-band-inner,
  .detail-grid,
  .category-overview-card,
  .ranking-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-cover {
    display: none;
  }

  .search-band {
    margin-top: 0;
  }

  .wide-search {
    display: grid;
    grid-template-columns: 1fr;
  }

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

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

  .detail-cover {
    max-width: 320px;
  }

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

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

@media (max-width: 560px) {
  .container-custom {
    width: min(100% - 24px, 1280px);
  }

  .brand-text strong {
    font-size: 20px;
  }

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

  .hero-content {
    padding-top: 54px;
  }

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

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

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

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

  .section-block {
    padding: 48px 0;
  }

  .video-play-button {
    width: 72px;
    height: 72px;
  }
}
