:root {
  --site-bg: #fffbeb;
  --surface: #ffffff;
  --surface-soft: #fff7ed;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --primary: #f97316;
  --primary-dark: #ea580c;
  --accent: #ef4444;
  --green: #16a34a;
  --blue: #2563eb;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
  --shadow-soft: 0 10px 25px rgba(17, 24, 39, 0.08);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--site-bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(16px);
}

.site-header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--ink);
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.28);
}

.brand-text {
  font-size: 22px;
  letter-spacing: -0.02em;
}

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

.desktop-nav a {
  color: #374151;
  font-size: 15px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--primary);
}

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

.header-search input,
.mobile-search input,
.hero-search input,
.filter-panel input,
.filter-panel select,
.search-panel input {
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  background: #ffffff;
  color: var(--ink);
}

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

.header-search button,
.mobile-search button,
.hero-search button,
.search-panel button,
.filter-reset {
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button,
.mobile-search button {
  padding: 10px 16px;
}

.header-search button:hover,
.mobile-search button:hover,
.hero-search button:hover,
.search-panel button:hover,
.filter-reset:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.28);
}

.mobile-menu-button {
  display: none;
  border: 0;
  background: #f3f4f6;
  color: var(--ink);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 16px;
  border-top: 1px solid var(--line);
}

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

.mobile-nav a {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  color: #374151;
  background: #ffffff;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #fb923c 0%, #f97316 42%, #ef4444 100%);
  padding: 76px 0;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(180deg, transparent, rgba(127, 29, 29, 0.18));
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: 42px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffedd5;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero p {
  max-width: 760px;
  margin: 0 0 28px;
  color: #fff7ed;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.7;
}

.hero-search {
  display: flex;
  max-width: 640px;
  padding: 8px;
  gap: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
}

.hero-search input {
  flex: 1;
  padding: 14px 18px;
}

.hero-search button {
  padding: 0 24px;
}

.hero-stats,
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hero-stats span,
.hero-pills a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.hero-stats strong {
  font-size: 18px;
}

.hero-visual {
  position: relative;
}

.hero-slider-frame {
  position: relative;
  min-height: 500px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(127, 29, 29, 0.38);
  background: rgba(255, 255, 255, 0.18);
}

.hero-slide {
  display: none;
  position: absolute;
  inset: 0;
}

.hero-slide.is-active {
  display: block;
  animation: fadeIn 0.55s ease both;
}

.hero-poster-link,
.hero-poster-link img {
  width: 100%;
  height: 100%;
}

.hero-poster-link img {
  object-fit: cover;
  filter: saturate(1.02) contrast(1.02);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.05), rgba(17, 24, 39, 0.9));
}

.hero-slide-copy {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 1;
}

.hero-slide-copy span {
  display: inline-block;
  margin-bottom: 8px;
  color: #fed7aa;
  font-weight: 800;
}

.hero-slide-copy h2 {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.18;
}

.hero-slide-copy p {
  display: -webkit-box;
  margin: 0 0 16px;
  color: #f9fafb;
  font-size: 15px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-slide-copy a {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: #ffffff;
  font-weight: 900;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

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

.hero-dot.is-active {
  width: 32px;
  background: #ffffff;
}

.section {
  padding: 54px 0;
}

.section-soft {
  background: #ffffff;
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-kicker {
  color: var(--primary);
}

.section-head a,
.primary-link,
.secondary-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  font-weight: 900;
}

.section-head a,
.primary-link {
  padding: 10px 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.secondary-link {
  padding: 10px 16px;
  color: var(--primary-dark);
  background: #ffedd5;
}

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

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

.movie-card {
  min-width: 0;
}

.movie-card-link {
  display: block;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card-link:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.poster-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f3f4f6;
}

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

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

.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(17, 24, 39, 0.72));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card-link:hover .poster-frame::after {
  opacity: 1;
}

.poster-badge,
.poster-play {
  position: absolute;
  z-index: 1;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 900;
}

.poster-badge {
  top: 10px;
  left: 10px;
  padding: 5px 9px;
  background: rgba(249, 115, 22, 0.92);
  font-size: 12px;
}

.poster-play {
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 12px);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.24);
  opacity: 0;
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

.movie-card-meta,
.movie-card-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.movie-card-meta span:first-child {
  color: var(--primary-dark);
  font-weight: 800;
}

.movie-card h3 {
  display: -webkit-box;
  min-height: 46px;
  margin: 8px 0 8px;
  font-size: 16px;
  line-height: 1.42;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card p {
  display: -webkit-box;
  min-height: 42px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card-foot span {
  display: inline-block;
  overflow: hidden;
  max-width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
}

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

.mini-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mini-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.mini-thumb {
  position: relative;
  height: 92px;
  overflow: hidden;
  border-radius: 14px;
  background: #f3f4f6;
}

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

.mini-rank {
  position: absolute;
  top: 7px;
  left: 7px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-weight: 900;
}

.mini-info h3 {
  display: -webkit-box;
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.38;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mini-info p {
  display: -webkit-box;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mini-info span {
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
}

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

.spotlight-box {
  align-self: start;
  position: sticky;
  top: 94px;
  padding: 28px;
  border-radius: var(--radius);
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  box-shadow: var(--shadow);
}

.spotlight-box h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.spotlight-box p {
  margin: 0 0 18px;
  color: #e0e7ff;
  line-height: 1.75;
}

.spotlight-box a {
  width: 100%;
  margin-top: 10px;
}

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

.category-card,
.category-overview-card a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover,
.category-overview-card a:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.category-card-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  height: 150px;
  padding: 8px;
  background: linear-gradient(135deg, #fff7ed, #fee2e2);
}

.category-card-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.category-card-body,
.category-overview-card a > div:last-child {
  padding: 18px;
}

.category-icon {
  font-size: 32px;
}

.category-card h3,
.category-overview-card h2 {
  margin: 8px 0;
  font-size: 22px;
}

.category-card p,
.category-overview-card p {
  min-height: 72px;
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.65;
}

.category-card strong,
.category-overview-card strong {
  color: var(--primary-dark);
}

.category-overview-card a {
  height: 100%;
}

.category-overview-cover {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

.category-overview-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.58));
}

.category-overview-cover span {
  position: absolute;
  right: 18px;
  bottom: 14px;
  z-index: 1;
  font-size: 48px;
}

.page-hero {
  padding: 58px 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
}

.page-hero p {
  max-width: 780px;
  margin: 0;
  color: #fff7ed;
  font-size: 18px;
  line-height: 1.7;
}

.filter-panel {
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.filter-panel-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) repeat(3, minmax(160px, 1fr)) auto;
  gap: 14px;
  align-items: end;
}

.filter-panel label,
.search-panel label {
  display: grid;
  gap: 7px;
  color: #374151;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select,
.search-panel input {
  width: 100%;
  padding: 12px 14px;
}

.filter-reset,
.search-panel button {
  min-height: 48px;
  padding: 0 18px;
}

.filter-count {
  margin: 14px 0 0;
  color: var(--muted);
}

.filter-count strong {
  color: var(--primary-dark);
}

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

.ranking-row a {
  display: grid;
  grid-template-columns: 56px 86px minmax(0, 1fr) 88px;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-row a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.ranking-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-weight: 900;
}

.ranking-row img {
  width: 86px;
  height: 112px;
  object-fit: cover;
  border-radius: 14px;
  background: #f3f4f6;
}

.ranking-info h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.ranking-info p {
  display: -webkit-box;
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ranking-info span {
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
}

.ranking-row strong {
  color: var(--accent);
  font-size: 22px;
  text-align: right;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  margin-bottom: 12px;
  padding: 18px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.detail-page {
  padding: 28px 0 64px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--primary-dark);
  font-weight: 800;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
}

.player-card,
.detail-content,
.detail-sidebar > div {
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.player-card {
  overflow: hidden;
  margin-bottom: 24px;
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111827;
}

.movie-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #111827;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 10px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.2), rgba(17, 24, 39, 0.62));
  cursor: pointer;
}

.play-overlay.is-hidden {
  display: none;
}

.play-overlay span {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto;
  border-radius: 999px;
  color: var(--primary-dark);
  background: #ffffff;
  font-size: 28px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
}

.play-overlay strong {
  font-size: 20px;
}

.player-note {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  color: var(--muted);
  font-weight: 800;
}

.detail-content {
  padding: 28px;
}

.detail-content h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.detail-one-line {
  margin: 0 0 18px;
  color: #374151;
  font-size: 18px;
  line-height: 1.75;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.detail-tags span {
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: #ffedd5;
  font-size: 13px;
  font-weight: 900;
}

.detail-content section {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  margin-top: 22px;
}

.detail-content h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.detail-content p {
  margin: 0;
  color: #374151;
  line-height: 1.9;
}

.detail-sidebar {
  display: grid;
  align-content: start;
  gap: 20px;
}

.detail-poster-card,
.info-card {
  padding: 18px;
}

.detail-poster-card {
  position: sticky;
  top: 94px;
}

.detail-poster-card img {
  width: 100%;
  border-radius: 18px;
  background: #f3f4f6;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin-bottom: 14px;
}

.detail-poster-card .primary-link {
  width: 100%;
}

.info-card h2 {
  margin: 0 0 14px;
}

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

.info-card dt {
  color: var(--muted);
  font-weight: 800;
}

.info-card dd {
  margin: 0;
  min-width: 0;
  font-weight: 700;
}

.info-card a {
  color: var(--primary-dark);
}

.related-section {
  padding-bottom: 0;
}

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

.site-footer {
  color: #d1d5db;
  background: #111827;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
  gap: 28px;
  padding: 44px 0;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 14px;
  color: #ffffff;
}

.site-footer p {
  margin: 0 0 10px;
  color: #9ca3af;
  line-height: 1.75;
}

.footer-small {
  font-size: 13px;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 26px;
  border-top: 1px solid #374151;
  color: #9ca3af;
  font-size: 14px;
}

[hidden],
.is-filter-hidden {
  display: none !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

  .mobile-menu-button {
    display: inline-flex;
  }

  .site-header-inner {
    justify-content: space-between;
  }

  .header-search {
    margin-left: auto;
  }

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

  .hero-slider-frame {
    min-height: 420px;
  }

  .spotlight-box,
  .detail-poster-card {
    position: static;
  }

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

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

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

@media (max-width: 760px) {
  .site-header-inner {
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
    padding: 10px 0;
  }

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

  .header-search {
    display: none;
  }

  .mobile-search {
    width: 100%;
  }

  .mobile-search input {
    flex: 1;
    padding: 10px 12px;
  }

  .hero {
    padding: 48px 0;
  }

  .hero-search {
    border-radius: 24px;
    flex-direction: column;
  }

  .hero-search button {
    min-height: 48px;
  }

  .hero-slider-frame {
    min-height: 380px;
    border-radius: 24px;
  }

  .hero-slide-copy {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .section {
    padding: 38px 0;
  }

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

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

  .mini-grid,
  .rank-grid,
  .category-grid,
  .category-overview-grid,
  .footer-grid,
  .filter-panel-inner,
  .search-panel {
    grid-template-columns: 1fr;
  }

  .mini-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .ranking-row a {
    grid-template-columns: 42px 68px minmax(0, 1fr);
  }

  .ranking-row strong {
    grid-column: 3;
    text-align: left;
  }

  .ranking-row img {
    width: 68px;
    height: 92px;
  }

  .detail-content,
  .detail-poster-card,
  .info-card {
    padding: 18px;
  }

  .player-note,
  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .movie-grid,
  .movie-grid-featured,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .hero-slider-frame {
    min-height: 340px;
  }
}
