:root {
  --orange: #ea580c;
  --orange-2: #f97316;
  --amber: #d97706;
  --amber-2: #f59e0b;
  --yellow-bg: #fff7ed;
  --soft-bg: #fffbeb;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #fed7aa;
  --card: #ffffff;
  --shadow: 0 16px 40px rgba(154, 52, 18, 0.12);
  --deep-shadow: 0 24px 70px rgba(154, 52, 18, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 50%, #fef3c7 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 247, 237, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(251, 146, 60, 0.22);
  box-shadow: 0 10px 32px rgba(154, 52, 18, 0.08);
}

.nav-shell {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 72px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #9a3412;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--orange-2), var(--amber));
  box-shadow: 0 10px 26px rgba(234, 88, 12, 0.28);
}

.brand-text {
  font-size: 1.22rem;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link,
.mobile-link {
  font-weight: 700;
  color: #4b5563;
  border-radius: 999px;
  transition: 0.25s ease;
}

.nav-link {
  padding: 10px 16px;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: #fff;
  background: linear-gradient(90deg, var(--orange-2), var(--amber));
  box-shadow: 0 10px 28px rgba(234, 88, 12, 0.24);
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: 12px;
  background: #ffedd5;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #9a3412;
}

.mobile-nav {
  display: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 18px;
}

.mobile-nav.open {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mobile-link {
  padding: 12px 14px;
  background: rgba(255, 237, 213, 0.8);
  text-align: center;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(90deg, #ea580c 0%, #d97706 52%, #ca8a04 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 26%), radial-gradient(circle at 82% 18%, rgba(255,255,255,0.13), transparent 25%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: linear-gradient(45deg, rgba(255,255,255,0.12) 25%, transparent 25%), linear-gradient(-45deg, rgba(255,255,255,0.12) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.12) 75%), linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.12) 75%);
  background-size: 48px 48px;
  background-position: 0 0, 0 24px, 24px -24px, -24px 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 92px 20px 126px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 44px;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow,
.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff7ed;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 40px rgba(0,0,0,0.12);
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.055em;
  text-shadow: 0 18px 50px rgba(0,0,0,0.2);
}

.hero-copy p {
  margin: 0 0 28px;
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  color: #ffedd5;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn-primary,
.btn-ghost,
.btn-white,
.small-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 850;
  transition: 0.25s ease;
}

.btn-white {
  padding: 14px 24px;
  color: var(--orange);
  background: #fff;
  box-shadow: 0 18px 45px rgba(0,0,0,0.18);
}

.btn-white:hover {
  transform: translateY(-2px) scale(1.02);
  background: #fff7ed;
}

.btn-ghost {
  padding: 12px 22px;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.85);
}

.btn-ghost:hover {
  color: var(--orange);
  background: #fff;
}

.btn-primary {
  padding: 13px 22px;
  color: #fff;
  background: linear-gradient(90deg, var(--orange-2), var(--amber));
  box-shadow: 0 14px 36px rgba(234, 88, 12, 0.26);
}

.btn-primary:hover,
.small-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(234, 88, 12, 0.3);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-tags a {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.24);
  color: #fff7ed;
  font-weight: 700;
}

.hero-stage {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: var(--deep-shadow);
  min-height: 520px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: 0.7s ease;
}

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

.hero-poster {
  position: relative;
  min-height: 350px;
  overflow: hidden;
}

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

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.58));
}

.hero-caption {
  position: relative;
  z-index: 3;
  padding: 24px;
  background: linear-gradient(180deg, rgba(17,24,39,0.92), rgba(17,24,39,0.82));
}

.hero-caption span {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(251,146,60,0.18);
  color: #fed7aa;
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-caption h2 {
  margin: 12px 0 8px;
  font-size: 1.85rem;
  line-height: 1.15;
}

.hero-caption p {
  margin: 0 0 16px;
  color: #fdebd3;
}

.small-link {
  padding: 9px 14px;
  color: #fff;
  background: linear-gradient(90deg, var(--orange-2), var(--amber));
}

.hero-dots {
  position: absolute;
  right: 22px;
  top: 22px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: 0.2s ease;
}

.hero-dot.active {
  width: 28px;
  border-radius: 999px;
  background: #fff;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  height: 92px;
}

.hero-wave svg {
  width: 100%;
  height: 100%;
}

.page-hero {
  color: #fff;
  background: linear-gradient(90deg, var(--orange-2), var(--amber));
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 10%, rgba(255,255,255,0.24), transparent 30%), radial-gradient(circle at 86% 22%, rgba(255,255,255,0.18), transparent 26%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 20px;
}

.page-hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.06;
  font-weight: 950;
}

.page-hero p {
  margin: 0;
  max-width: 840px;
  color: #ffedd5;
  font-size: 1.15rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 20px;
}

.section-block {
  margin-bottom: 76px;
}

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

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange-2), var(--amber));
  box-shadow: 0 14px 30px rgba(234, 88, 12, 0.22);
}

.section-title h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.1;
  font-weight: 920;
}

.section-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--orange);
  font-weight: 850;
}

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

.category-tile,
.category-overview-card,
.feature-panel,
.filter-panel,
.detail-panel,
.side-panel,
.rank-row {
  background: var(--card);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.category-tile {
  position: relative;
  min-height: 124px;
  padding: 22px;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(135deg, var(--orange-2), var(--amber));
  transition: 0.25s ease;
}

.category-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(0,0,0,0.1);
  transition: 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--deep-shadow);
}

.category-tile:hover::before {
  opacity: 1;
}

.category-tile strong,
.category-tile span {
  position: relative;
  display: block;
}

.category-tile strong {
  font-size: 1.22rem;
  margin-bottom: 6px;
}

.category-tile span {
  color: #ffedd5;
  font-size: 0.92rem;
}

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

.movie-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: 0.3s ease;
}

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

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #fed7aa, #fef3c7);
}

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

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

.year-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  color: #fff;
  font-weight: 850;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.year-badge {
  top: 10px;
  right: 10px;
  padding: 5px 8px;
  border-radius: 9px;
  font-size: 0.75rem;
  background: linear-gradient(90deg, var(--orange-2), var(--amber));
}

.rank-badge {
  top: 10px;
  left: 10px;
  min-width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ef4444, var(--orange-2));
}

.poster-mask {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  color: #fff;
  opacity: 0;
  background: linear-gradient(180deg, transparent 16%, rgba(0,0,0,0.82));
  transition: 0.28s ease;
}

.movie-card:hover .poster-mask {
  opacity: 1;
}

.poster-mask span {
  font-size: 0.86rem;
  line-height: 1.45;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 13px;
}

.card-body strong {
  font-size: 0.98rem;
  line-height: 1.35;
  color: #1f2937;
  transition: 0.2s ease;
}

.movie-card:hover .card-body strong {
  color: var(--orange);
}

.card-meta,
.card-genre {
  color: var(--muted);
  font-size: 0.8rem;
}

.card-genre {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tag-row span {
  padding: 3px 7px;
  border-radius: 999px;
  color: #9a3412;
  background: #ffedd5;
  font-size: 0.72rem;
}

.compact-card .tag-row {
  display: none;
}

.feature-panel {
  overflow: hidden;
  padding: 28px;
  background: linear-gradient(135deg, #fff, #fff7ed);
}

.feature-panel h2 {
  margin: 0 0 12px;
  font-size: 2rem;
}

.feature-panel p {
  margin: 0 0 20px;
  color: var(--muted);
}

.filter-panel {
  padding: 24px;
  margin-bottom: 28px;
}

.search-box input {
  width: 100%;
  min-height: 52px;
  border: 2px solid #fed7aa;
  border-radius: 16px;
  padding: 0 18px;
  outline: none;
  color: var(--text);
  background: #fffaf3;
  transition: 0.2s ease;
}

.search-box input:focus,
.filter-row select:focus {
  border-color: var(--orange-2);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.filter-row {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 16px;
}

.filter-row label {
  display: grid;
  gap: 6px;
  min-width: 150px;
  color: #7c2d12;
  font-weight: 800;
  font-size: 0.9rem;
}

.filter-row select {
  min-height: 44px;
  border: 2px solid #fed7aa;
  border-radius: 13px;
  padding: 0 12px;
  outline: none;
  background: #fff;
}

.result-count {
  margin-left: auto;
  color: var(--muted);
  padding: 10px 0;
}

.result-count strong {
  color: var(--orange);
}

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

.category-overview-card {
  overflow: hidden;
  padding: 24px;
  transition: 0.25s ease;
}

.category-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--deep-shadow);
}

.category-overview-card h2 {
  margin: 0 0 8px;
  font-size: 1.55rem;
}

.category-overview-card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.category-samples {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.category-samples a {
  color: #7c2d12;
  font-weight: 750;
}

.category-count {
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 999px;
  color: #9a3412;
  background: #ffedd5;
  font-weight: 850;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 74px 94px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  transition: 0.25s ease;
}

.rank-row:hover {
  transform: translateX(4px);
  box-shadow: var(--deep-shadow);
}

.rank-num {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 950;
  background: linear-gradient(135deg, #ef4444, var(--orange-2));
}

.rank-row img {
  width: 94px;
  height: 128px;
  object-fit: cover;
  border-radius: 14px;
}

.rank-info h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.rank-info p {
  margin: 0 0 8px;
  color: var(--muted);
}

.rank-meta {
  color: #9a3412;
  font-weight: 800;
}

.detail-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 20px 70px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #9a3412;
  font-weight: 750;
  margin-bottom: 22px;
}

.breadcrumb span {
  color: var(--muted);
}

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

.detail-panel {
  overflow: hidden;
}

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

.movie-video {
  width: 100%;
  height: 100%;
  background: #020617;
}

.player-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #020617;
  transition: 0.25s ease;
}

.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  filter: saturate(1.05) contrast(1.05);
}

.player-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(249,115,22,0.2), rgba(0,0,0,0.58));
}

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

.play-orb {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 86px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 2;
  background: linear-gradient(135deg, var(--orange-2), var(--amber));
  box-shadow: 0 20px 48px rgba(0,0,0,0.36);
  transition: 0.22s ease;
}

.player-cover:hover .play-orb {
  transform: translate(-50%, -50%) scale(1.08);
}

.play-triangle {
  width: 0;
  height: 0;
  margin-left: 7px;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 25px solid #fff;
}

.detail-body {
  padding: 30px;
}

.detail-body h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  font-weight: 950;
}

.info-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.info-chips span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #9a3412;
  background: #ffedd5;
  font-weight: 800;
  font-size: 0.9rem;
}

.info-chips span:first-child {
  color: #fff;
  background: linear-gradient(90deg, var(--orange-2), var(--amber));
}

.detail-section {
  margin-top: 26px;
}

.detail-section h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.detail-section p {
  margin: 0;
  color: #374151;
  line-height: 1.85;
}

.intro-text {
  padding-left: 16px;
  border-left: 4px solid var(--orange-2);
  font-style: italic;
}

.review-box {
  padding: 18px;
  border-radius: 18px;
  background: #fff7ed;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.detail-tags a,
.detail-tags span {
  padding: 7px 11px;
  border-radius: 999px;
  color: #7c2d12;
  background: #ffedd5;
  font-weight: 750;
}

.side-panel {
  position: sticky;
  top: 96px;
  padding: 22px;
}

.side-panel h2 {
  margin: 0 0 18px;
  font-size: 1.35rem;
}

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

.side-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  transition: 0.22s ease;
}

.side-item:hover {
  background: #fff7ed;
}

.side-item img {
  width: 82px;
  height: 110px;
  border-radius: 12px;
  object-fit: cover;
}

.side-item strong {
  display: block;
  margin-bottom: 6px;
  color: #1f2937;
}

.side-item span {
  color: var(--muted);
  font-size: 0.82rem;
}

.side-item:hover strong {
  color: var(--orange);
}

.hidden-by-filter {
  display: none !important;
}

.site-footer {
  color: #e5e7eb;
  background: linear-gradient(135deg, #111827, #1f2937 55%, #111827);
}

.footer-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 20px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.footer-logo {
  margin-bottom: 10px;
  font-size: 1.45rem;
  font-weight: 950;
  color: #fb923c;
}

.footer-brand p {
  max-width: 420px;
  margin: 0;
  color: #d1d5db;
}

.footer-col {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-col h3 {
  margin: 0 0 8px;
  color: #fb923c;
}

.footer-col a {
  color: #d1d5db;
  transition: 0.2s ease;
}

.footer-col a:hover {
  color: #fb923c;
}

.footer-bottom {
  padding: 18px 20px;
  color: #9ca3af;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    max-width: 620px;
  }

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

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

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

  .side-panel {
    position: static;
  }
}

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

  .menu-toggle {
    display: flex;
  }

  .hero-inner {
    padding-top: 64px;
    padding-bottom: 102px;
  }

  .hero-stage {
    min-height: 480px;
  }

  .category-grid,
  .category-overview,
  .footer-shell {
    grid-template-columns: 1fr;
  }

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

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

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

  .result-count {
    margin-left: 0;
  }

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

  .rank-row .btn-primary {
    grid-column: 1 / -1;
  }

  .rank-row img {
    width: 76px;
    height: 104px;
  }

  .detail-body {
    padding: 22px;
  }
}

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

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

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

  .hero-poster,
  .hero-poster img {
    min-height: 300px;
  }

  .hero-stage {
    min-height: 440px;
    border-radius: 22px;
  }

  .container,
  .page-hero-inner,
  .detail-wrap {
    padding-left: 14px;
    padding-right: 14px;
  }

  .movie-grid {
    gap: 12px;
  }

  .card-body {
    padding: 10px;
  }

  .tag-row {
    display: none;
  }
}
