:root {
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --rose-700: #be123c;
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(17, 24, 39, 0.12);
  --shadow-soft: 0 12px 30px rgba(17, 24, 39, 0.08);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--gray-900);
  background: linear-gradient(180deg, var(--orange-50) 0%, var(--white) 36%, var(--rose-50) 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 {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 28px rgba(225, 29, 72, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  max-width: var(--container);
  min-height: 76px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--gray-900);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 900;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--rose-600), var(--orange-600));
  box-shadow: 0 12px 26px rgba(225, 29, 72, 0.3);
}

.brand-text {
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

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

.nav-link,
.mobile-nav-link {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--gray-700);
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: var(--rose-700);
  background: var(--rose-50);
}

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

.site-search {
  width: 310px;
}

.site-search input,
.mobile-search input,
.large-search input {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  background: var(--white);
  color: var(--gray-900);
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

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

.mobile-search input,
.large-search input {
  padding: 14px 18px;
}

.site-search input:focus,
.mobile-search input:focus,
.large-search input:focus {
  border-color: rgba(244, 63, 94, 0.55);
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.12);
}

.site-search button,
.mobile-search button,
.large-search button {
  border: 0;
  border-radius: 999px;
  color: var(--white);
  font-weight: 800;
  background: linear-gradient(135deg, var(--rose-600), var(--orange-600));
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(225, 29, 72, 0.24);
}

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

.mobile-search button,
.large-search button {
  padding: 14px 22px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--rose-50);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--rose-700);
  border-radius: 3px;
}

.mobile-panel {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 18px;
}

.mobile-panel:not([hidden]) {
  display: grid;
  gap: 10px;
}

.hero {
  position: relative;
  height: 640px;
  overflow: hidden;
  background: var(--gray-900);
}

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

.hero-slide {
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.8s ease, transform 1.2s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(190, 18, 60, 0.96), rgba(249, 115, 22, 0.78), rgba(17, 24, 39, 0.38)),
    linear-gradient(0deg, rgba(255, 247, 237, 0.95) 0%, rgba(255, 247, 237, 0) 25%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 78px 24px 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}

.hero-kicker,
.section-title span,
.detail-kicker,
.page-hero span,
.cta-section span,
.panel-head span {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  color: var(--rose-600);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-kicker {
  color: var(--rose-100);
  margin-bottom: 18px;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.7rem);
  line-height: 0.98;
  font-weight: 1000;
  letter-spacing: -0.07em;
}

.hero h1 span {
  display: block;
  margin-top: 12px;
  color: var(--rose-100);
}

.hero p {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  line-height: 1.9;
}

.hero-tags,
.detail-tags,
.card-meta,
.rank-meta,
.detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

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

.hero-tags span,
.detail-tags span {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

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

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

.primary-button {
  color: var(--rose-700);
  background: var(--white);
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.18);
}

.primary-button:hover,
.ghost-button:hover,
.card-cover:hover .card-play,
.movie-card:hover {
  transform: translateY(-3px);
}

.ghost-button {
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.78);
}

.ghost-button.light {
  color: var(--white);
}

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

.hero-dot {
  width: 46px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 72px;
  background: var(--white);
}

.section-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 74px 24px;
}

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

.section-title.centered {
  display: block;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title.compact {
  align-items: start;
  justify-content: start;
  display: block;
}

.section-title h2 {
  margin: 8px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.08;
  font-weight: 1000;
  letter-spacing: -0.05em;
}

.section-title p {
  margin: 14px 0 0;
  color: var(--gray-600);
  line-height: 1.8;
}

.section-title a,
.panel-head a,
.category-overview-head a {
  color: var(--rose-700);
  font-weight: 900;
}

.movie-grid,
.poster-grid,
.category-card-grid,
.category-overview-grid,
.overview-preview-grid,
.side-card-grid {
  display: grid;
  gap: 22px;
}

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

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

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

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

.movie-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(229, 231, 235, 0.74);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  box-shadow: var(--shadow);
}

.card-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, var(--rose-100), var(--orange-100));
  aspect-ratio: 4 / 3;
}

.movie-card.poster .card-cover,
.search-card .card-cover {
  aspect-ratio: 3 / 4;
}

.movie-card.wide .card-cover {
  aspect-ratio: 16 / 9;
}

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

.movie-card:hover img,
.compact-card:hover img,
.rank-thumb:hover img {
  transform: scale(1.08);
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  background: var(--rose-600);
  box-shadow: 0 10px 18px rgba(190, 18, 60, 0.25);
}

.card-play {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--rose-700);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.25);
  transition: transform 0.2s ease;
}

.card-body {
  padding: 18px;
}

.card-body h2 {
  margin: 0 0 10px;
  font-size: 1.02rem;
  line-height: 1.35;
  font-weight: 900;
}

.card-body h2 a:hover {
  color: var(--rose-700);
}

.card-body p {
  display: -webkit-box;
  min-height: 3.1em;
  margin: 0;
  overflow: hidden;
  color: var(--gray-600);
  font-size: 0.92rem;
  line-height: 1.65;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  justify-content: space-between;
  margin-top: 14px;
  color: var(--gray-500);
  font-size: 0.84rem;
  font-weight: 700;
}

.feature-band {
  padding: 74px 24px;
  background: linear-gradient(120deg, var(--orange-100), var(--rose-100));
}

.feature-band .movie-grid {
  max-width: var(--container);
  margin: 0 auto;
}

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

.category-card,
.category-overview-card,
.content-card,
.player-card,
.side-panel,
.ranking-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.category-card,
.category-overview-card {
  padding: 24px;
}

.category-card-title {
  display: inline-flex;
  margin-bottom: 10px;
  font-size: 1.18rem;
  font-weight: 1000;
  color: var(--gray-900);
}

.category-card p,
.category-overview-card p {
  min-height: 3.2em;
  margin: 0 0 18px;
  color: var(--gray-600);
  line-height: 1.7;
}

.category-preview,
.overview-preview-grid,
.side-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.compact-card {
  position: relative;
  overflow: hidden;
  min-height: 126px;
  border-radius: 18px;
  background: var(--gray-900);
}

.compact-card img {
  width: 100%;
  height: 126px;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 0.45s ease, opacity 0.3s ease;
}

.compact-card span {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
}

.compact-card:hover img {
  opacity: 0.95;
}

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

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

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.rank-item {
  display: grid;
  grid-template-columns: 42px 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}

.rank-number {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  font-weight: 1000;
  background: linear-gradient(135deg, var(--rose-600), var(--orange-600));
}

.rank-thumb {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  background: var(--orange-100);
}

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

.rank-info h2 {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.3;
}

.rank-info h2 a:hover {
  color: var(--rose-700);
}

.rank-info p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--gray-600);
  font-size: 0.88rem;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rank-meta {
  margin-top: 8px;
  color: var(--gray-500);
  font-size: 0.78rem;
  font-weight: 700;
}

.cta-section {
  margin-top: 36px;
  padding: 90px 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose-600), var(--orange-600));
  text-align: center;
}

.cta-section > div {
  max-width: 820px;
  margin: 0 auto;
}

.cta-section span {
  margin: 0 auto;
  color: var(--rose-100);
}

.cta-section h2 {
  margin: 12px 0 16px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  font-weight: 1000;
}

.cta-section p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
  line-height: 1.85;
}

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

.page-main {
  min-height: 70vh;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 24px;
  color: var(--white);
  background: linear-gradient(135deg, rgba(190, 18, 60, 0.96), rgba(234, 88, 12, 0.9));
}

.page-hero > div {
  max-width: var(--container);
  margin: 0 auto;
}

.page-hero span {
  color: var(--rose-100);
}

.page-hero h1 {
  max-width: 860px;
  margin: 14px 0 16px;
  font-size: clamp(2.2rem, 4vw, 4.8rem);
  line-height: 1.02;
  font-weight: 1000;
  letter-spacing: -0.06em;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  line-height: 1.85;
}

.category-nav {
  max-width: var(--container);
  margin: 28px auto 0;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--gray-700);
  background: var(--white);
  border: 1px solid var(--gray-200);
  font-weight: 800;
}

.category-nav a:hover,
.category-nav a.is-current {
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(135deg, var(--rose-600), var(--orange-600));
}

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

.category-overview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.category-overview-head h2 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 1000;
}

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

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

.full-rank-list {
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.side-panel {
  padding: 22px;
}

.side-panel h2 {
  margin: 0 0 16px;
  font-size: 1.2rem;
  font-weight: 1000;
}

.large-search {
  max-width: 720px;
  margin-top: 28px;
}

.empty-search {
  padding: 48px;
  text-align: center;
  color: var(--gray-600);
  font-weight: 900;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.breadcrumb {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px 24px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--gray-600);
  font-weight: 800;
}

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

.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--gray-900);
}

.detail-backdrop {
  position: absolute;
  inset: 0;
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) saturate(1.15);
  transform: scale(1.08);
  opacity: 0.48;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(190, 18, 60, 0.76), rgba(234, 88, 12, 0.66));
}

.detail-shell {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 24px;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.34);
  aspect-ratio: 3 / 4;
  background: var(--rose-100);
}

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

.detail-info h1 {
  max-width: 820px;
  margin: 12px 0 18px;
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  line-height: 1.02;
  font-weight: 1000;
  letter-spacing: -0.06em;
}

.detail-info p {
  max-width: 780px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
  line-height: 1.85;
}

.detail-meta {
  color: var(--rose-100);
  font-weight: 800;
}

.detail-tags {
  margin: 20px 0 28px;
}

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

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

.player-card,
.content-card {
  padding: 24px;
}

.player-card h2,
.content-card h2 {
  margin: 0 0 16px;
  font-size: 1.35rem;
  font-weight: 1000;
}

.content-card p {
  margin: 0;
  color: var(--gray-700);
  font-size: 1.04rem;
  line-height: 1.9;
  white-space: pre-line;
}

.video-stage {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #000000;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.24);
  aspect-ratio: 16 / 9;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--rose-700);
  cursor: pointer;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.56));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-circle {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  padding-left: 6px;
  color: var(--rose-700);
  font-size: 2.4rem;
  line-height: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

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

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

.site-footer {
  padding: 52px 24px 26px;
  color: rgba(255, 255, 255, 0.8);
  background: #111827;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
}

.footer-brand {
  color: var(--white);
  font-size: 1.2rem;
}

.footer-inner p {
  max-width: 560px;
  margin: 14px 0 0;
  line-height: 1.8;
}

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

.footer-links a {
  color: var(--white);
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--rose-100);
}

.footer-bottom {
  max-width: var(--container);
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

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

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

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

  .ranking-panel,
  .sticky-panel {
    position: static;
  }
}

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

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .header-inner {
    min-height: 68px;
  }

  .hero {
    height: 620px;
  }

  .hero-content {
    padding-top: 56px;
    padding-bottom: 96px;
  }

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

  .section-title {
    display: block;
  }

  .section-title a {
    display: inline-flex;
    margin-top: 14px;
  }

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

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

@media (max-width: 560px) {
  .header-inner,
  .mobile-panel,
  .section-wrap,
  .page-hero,
  .detail-shell,
  .breadcrumb,
  .category-nav,
  .feature-band {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-text {
    font-size: 1rem;
  }

  .hero {
    height: 590px;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero p,
  .page-hero p,
  .detail-info p {
    font-size: 1rem;
  }

  .hero-actions,
  .cta-actions,
  .large-search,
  .mobile-search {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-button,
  .ghost-button,
  .large-search button,
  .mobile-search button {
    width: 100%;
  }

  .movie-grid,
  .feature-grid,
  .poster-grid,
  .category-movie-grid,
  .category-card-grid,
  .category-overview-grid,
  .overview-preview-grid,
  .related-grid,
  .side-card-grid {
    grid-template-columns: 1fr;
  }

  .rank-item {
    grid-template-columns: 38px 76px minmax(0, 1fr);
    gap: 10px;
  }

  .footer-inner {
    display: block;
  }

  .footer-links {
    margin-top: 22px;
  }
}
