/* Static movie site styles inspired by the uploaded blue/cyan React template. */
:root {
  --blue-950: #0f2448;
  --blue-900: #153f80;
  --blue-700: #1d63d4;
  --blue-600: #2563eb;
  --blue-500: #3386f5;
  --cyan-500: #06b6d4;
  --cyan-300: #67e8f9;
  --red-500: #ef4444;
  --green-500: #22c55e;
  --yellow-500: #eab308;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #f8fbff;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(15, 35, 70, 0.12);
  --soft-shadow: 0 12px 28px rgba(15, 35, 70, 0.10);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 42%, #ecfeff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(15, 35, 70, 0.10);
}

.nav-shell {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.brand-mark {
  position: relative;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: -6px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.45), rgba(103, 232, 249, 0.45));
  filter: blur(8px);
}

.brand-mark svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

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

.nav-link {
  position: relative;
  color: #374151;
  font-size: 15px;
  font-weight: 700;
  transition: color 0.25s ease;
}

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

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-500));
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: #f3f4f6;
  color: var(--text);
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 999px;
}

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

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

.hero-section {
  position: relative;
  height: 600px;
  overflow: hidden;
  color: #ffffff;
}

.hero-bg,
.hero-bg img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  background: linear-gradient(90deg, rgba(15, 36, 72, 0.92), rgba(29, 78, 216, 0.72), rgba(8, 145, 178, 0.10));
}

.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(0deg, #eff6ff, rgba(239, 246, 255, 0));
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: 42px;
}

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

.eyebrow,
.section-kicker,
.panel-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #dbeafe;
  background: rgba(59, 130, 246, 0.25);
  backdrop-filter: blur(10px);
}

.hero-copy h1 {
  margin: 18px 0 0;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero-copy h2 {
  margin: 10px 0 0;
  color: #bfdbfe;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.2;
}

.hero-copy p {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

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

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

.primary-btn {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.35);
}

.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.primary-btn.inverse {
  color: var(--blue-600);
  background: #ffffff;
}

.ghost-btn {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.30);
  backdrop-filter: blur(10px);
}

.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-xl);
  padding: 28px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-panel h3 {
  margin: 16px 0 10px;
  font-size: 30px;
}

.hero-panel p {
  color: rgba(255, 255, 255, 0.82);
}

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

.hero-tags span,
.hero-tags a,
.tag-row span {
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.16);
}

.featured-overlap {
  position: relative;
  z-index: 4;
  margin-top: -76px;
}

.featured-grid,
.movie-grid {
  display: grid;
  gap: 24px;
}

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

.movie-grid.one {
  grid-template-columns: 1fr;
}

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

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

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

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

.section-heading.compact {
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.15;
}

.section-heading a {
  color: var(--blue-600);
  font-weight: 800;
}

.section-kicker {
  color: var(--blue-700);
  background: #dbeafe;
  border-color: #bfdbfe;
}

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.88);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeafe, #ecfeff);
}

.movie-card.featured-card .poster-wrap {
  aspect-ratio: 16 / 9;
}

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

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

.play-pill,
.year-pill {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.play-pill {
  left: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
  box-shadow: 0 8px 18px rgba(15, 35, 70, 0.25);
}

.year-pill {
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  color: #ffffff;
  background: rgba(17, 24, 39, 0.62);
  backdrop-filter: blur(10px);
}

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

.card-meta,
.list-meta,
.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.card-meta a {
  color: var(--blue-600);
}

.movie-card h3,
.list-card h3 {
  margin: 10px 0 8px;
  font-size: 20px;
  line-height: 1.25;
}

.movie-card h3 a:hover,
.list-card h3 a:hover {
  color: var(--blue-600);
}

.movie-card p,
.list-card p {
  display: -webkit-box;
  min-height: 50px;
  overflow: hidden;
  margin: 0;
  color: #4b5563;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tag-row span {
  color: var(--blue-700);
  background: #eff6ff;
}

.stats-band,
.review-band,
.page-banner {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
}

.stats-band {
  padding: 64px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  text-align: center;
}

.stats-grid div {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.stats-grid strong {
  display: block;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.1;
}

.stats-grid span {
  color: #dbeafe;
  font-weight: 700;
}

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

.category-tile {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  border: 1px solid rgba(191, 219, 254, 0.95);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: linear-gradient(145deg, #ffffff, #eff6ff);
  box-shadow: var(--soft-shadow);
}

.category-tile::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(6, 182, 212, 0.18));
}

.category-tile strong {
  display: block;
  font-size: 22px;
  color: var(--blue-900);
}

.category-tile span {
  display: inline-block;
  margin: 8px 0;
  color: var(--blue-600);
  font-weight: 800;
}

.category-tile p {
  margin: 0;
  color: #4b5563;
}

.review-band {
  padding: 72px 0;
  background: linear-gradient(135deg, #111827, #153f80 55%, #111827);
}

.section-heading.light h2 {
  color: #ffffff;
}

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

.list-card {
  display: grid;
  grid-template-columns: auto 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(226, 232, 240, 0.82);
  border-radius: var(--radius-lg);
  padding: 14px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--soft-shadow);
}

.rank-no {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--red-500), var(--yellow-500));
}

.list-cover {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 14px;
  background: #dbeafe;
}

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

.metric-row {
  margin-top: 10px;
}

.cta-block {
  padding: 76px 0;
}

.cta-block > div {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 56px;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500), var(--blue-700));
  box-shadow: var(--shadow);
}

.cta-block h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 46px);
}

.cta-block p {
  max-width: 720px;
  margin: 16px auto 28px;
  color: #dbeafe;
  font-size: 18px;
}

.page-banner {
  padding: 64px 0;
}

.page-banner h1 {
  margin: 10px 0 8px;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.1;
}

.page-banner p {
  max-width: 760px;
  margin: 0;
  color: #dbeafe;
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #dbeafe;
  font-size: 14px;
  font-weight: 700;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.breadcrumb em {
  font-style: normal;
  opacity: 0.7;
}

.filter-card {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.filter-card label {
  display: grid;
  gap: 8px;
  color: #374151;
  font-size: 14px;
  font-weight: 800;
}

.filter-search {
  flex: 1 1 340px;
}

.filter-card input,
.filter-card select,
.search-box input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--text);
  outline: none;
  background: #ffffff;
}

.filter-card input:focus,
.filter-card select:focus,
.search-box input:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.16);
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.result-count {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 800;
}

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

.category-overview-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.category-cover-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  height: 130px;
  background: #dbeafe;
}

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

.category-overview-card div {
  padding: 20px;
}

.category-overview-card h2 {
  margin: 0 0 8px;
}

.category-overview-card p {
  min-height: 52px;
  margin: 0 0 12px;
  color: #4b5563;
}

.category-overview-card span {
  color: var(--blue-600);
  font-weight: 900;
}

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

.ranking-side {
  position: sticky;
  top: 100px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.ranking-side h2 {
  margin: 0 0 16px;
}

.search-box {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.search-box button {
  border: 0;
  border-radius: 14px;
  padding: 0 22px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #111827;
}

.detail-bg,
.detail-bg img,
.detail-bg div {
  position: absolute;
  inset: 0;
}

.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px) saturate(1.1);
  transform: scale(1.04);
}

.detail-bg div {
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(30, 64, 175, 0.78), rgba(17, 24, 39, 0.58));
}

.detail-top {
  position: relative;
  z-index: 2;
  padding: 44px 0 64px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  margin-top: 28px;
}

.detail-poster {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: #dbeafe;
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail-info h1 {
  margin: 18px 0 12px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
}

.detail-one-line {
  max-width: 850px;
  margin: 0 0 22px;
  color: #e5e7eb;
  font-size: 20px;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
  gap: 12px;
  margin: 0 0 20px;
}

.meta-grid div {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.meta-grid dt {
  color: #bfdbfe;
  font-size: 12px;
  font-weight: 900;
}

.meta-grid dd {
  margin: 3px 0 0;
  font-weight: 800;
}

.detail-tags a {
  color: #ffffff;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000000;
  box-shadow: var(--shadow);
}

.player-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.18));
}

.player-start span {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.34);
}

.player-start strong {
  font-size: 20px;
}

.player-shell.is-playing .player-start {
  display: none;
}

.player-status {
  position: absolute;
  left: 18px;
  bottom: 18px;
  margin: 0;
  border-radius: 999px;
  padding: 7px 12px;
  color: #dbeafe;
  font-size: 13px;
  font-weight: 800;
  background: rgba(17, 24, 39, 0.70);
  backdrop-filter: blur(10px);
}

.detail-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 0 0 24px;
}

.content-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.content-card h2 {
  margin: 0 0 16px;
  font-size: 26px;
}

.content-card p {
  margin: 0;
  color: #374151;
  font-size: 17px;
  line-height: 1.9;
}

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

.pager-links a {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  color: var(--blue-700);
  font-weight: 900;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.sitemap-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sitemap-list a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #ffffff;
}

.sitemap-list span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  color: #ffffff;
  background: linear-gradient(135deg, #111827, var(--blue-950), #111827);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding: 52px 0;
}

.footer-grid h2,
.footer-grid h3 {
  margin: 0 0 14px;
}

.footer-grid h2 {
  background: linear-gradient(90deg, #93c5fd, var(--cyan-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-grid p,
.footer-grid a {
  color: #d1d5db;
}

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

.footer-grid a:hover {
  color: var(--cyan-300);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.footer-badges span {
  border-radius: 999px;
  padding: 5px 10px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.12);
}

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

.hidden-card {
  display: none !important;
}

@media (max-width: 1060px) {
  .movie-grid.four,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-content,
  .ranking-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    display: none;
  }

  .ranking-side {
    position: static;
  }
}

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

  .mobile-toggle {
    display: block;
  }

  .hero-section {
    height: auto;
    min-height: 620px;
  }

  .hero-content {
    padding: 80px 0 120px;
  }

  .featured-grid,
  .movie-grid.three,
  .movie-grid.four,
  .category-grid,
  .category-overview-grid,
  .stats-grid,
  .detail-content-grid,
  .footer-grid,
  .sitemap-list {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

  .list-card .rank-no {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .container,
  .nav-shell,
  .mobile-nav {
    width: min(100% - 24px, var(--container));
  }

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

  .hero-copy p,
  .detail-one-line {
    font-size: 17px;
  }

  .featured-grid,
  .movie-grid.three,
  .movie-grid.four,
  .movie-grid.one,
  .category-grid,
  .category-overview-grid,
  .stats-grid,
  .detail-content-grid,
  .footer-grid,
  .sitemap-list,
  .pager-links {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .filter-card,
  .search-box {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-controls,
  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .primary-btn,
  .ghost-btn,
  .search-box button {
    width: 100%;
  }

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

  .list-cover {
    aspect-ratio: 3 / 4;
  }

  .meta-grid {
    grid-template-columns: 1fr;
  }

  .cta-block > div {
    padding: 38px 22px;
  }
}
