:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --cyan: #06b6d4;
  --teal: #14b8a6;
  --orange: #f97316;
  --red: #ef4444;
  --slate: #0f172a;
  --slate-soft: #1e293b;
  --gray: #64748b;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #111827;
  background: #f8fafc;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  color: #fff;
  background: linear-gradient(90deg, #2563eb 0%, #06b6d4 54%, #14b8a6 100%);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.22);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark,
.footer-brand span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

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

.main-nav > a,
.nav-dropdown > a {
  font-weight: 700;
  opacity: 0.94;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.main-nav > a:hover,
.nav-dropdown > a:hover,
.main-nav .active {
  opacity: 1;
  transform: translateY(-1px);
}

.nav-dropdown {
  position: relative;
  padding: 22px 0;
}

.dropdown-menu {
  position: absolute;
  left: 0;
  top: 64px;
  min-width: 190px;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
  color: #1f2937;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.18s ease;
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
}

.dropdown-menu a:hover {
  color: var(--blue);
  background: #eff6ff;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-search {
  position: relative;
  width: 270px;
  display: flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.header-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  padding: 10px 44px 10px 18px;
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.header-search button {
  position: absolute;
  right: 6px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  max-height: 420px;
  overflow: auto;
  border-radius: 18px;
  background: #fff;
  color: #1f2937;
  box-shadow: var(--shadow);
  display: none;
}

.search-suggestions.is-visible {
  display: block;
}

.search-suggestions a {
  display: block;
  padding: 13px 16px;
  border-bottom: 1px solid #eef2f7;
}

.search-suggestions strong {
  display: block;
  font-size: 15px;
  color: #0f172a;
}

.search-suggestions span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.mobile-panel {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

.mobile-panel a {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
}

.mobile-panel a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  height: 560px;
  overflow: hidden;
  color: #fff;
  background: #0f172a;
}

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

.hero-slide {
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-left: max(calc((100% - 1180px) / 2), 16px);
}

.hero-kicker,
.page-hero span {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #f97316;
  font-size: 14px;
  font-weight: 800;
}

.hero h1,
.hero h2 {
  margin: 0 0 18px;
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero p {
  max-width: 680px;
  margin: 0 0 24px;
  color: #e5e7eb;
  font-size: clamp(17px, 2vw, 22px);
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-tags a,
.hero-tags span,
.detail-tags span {
  padding: 7px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-btn,
.ghost-btn,
.text-link,
.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.primary-btn {
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, #f97316, #ef4444);
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 40px rgba(239, 68, 68, 0.35);
}

.ghost-btn {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  transition: all 0.2s ease;
}

.hero-dot.active {
  width: 36px;
  background: #fff;
}

.section {
  padding: 72px 0;
}

.bg-white {
  background: #fff;
}

.bg-soft {
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.section-head {
  margin-bottom: 30px;
}

.section-head h2 {
  margin: 0 0 8px;
  color: #111827;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.2;
}

.section-head p {
  margin: 0;
  color: #64748b;
}

.split-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.center-head {
  text-align: center;
}

.section-link {
  color: var(--blue);
}

.section-link.light {
  color: #bfdbfe;
}

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

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.movie-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
}

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

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

.movie-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.34);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.movie-card:hover .movie-cover::after {
  opacity: 1;
}

.play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88);
  transition: all 0.2s ease;
}

.movie-card:hover .play-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.movie-year,
.rank-badge {
  position: absolute;
  z-index: 3;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.movie-year {
  right: 10px;
  bottom: 10px;
  padding: 4px 9px;
  background: rgba(0, 0, 0, 0.66);
}

.rank-badge {
  left: 10px;
  top: 10px;
  padding: 5px 10px;
  background: linear-gradient(90deg, #ef4444, #f97316);
}

.movie-info {
  padding: 18px;
}

.movie-info h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.movie-info h3 a:hover {
  color: var(--blue);
}

.movie-info p {
  display: -webkit-box;
  margin: 0 0 14px;
  color: #64748b;
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
}

.tag-row,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-row span,
.tag-cloud span {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  color: #2563eb;
  background: #eff6ff;
  font-size: 12px;
  font-weight: 700;
}

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

.rank-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  overflow: hidden;
  padding: 14px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.rank-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 16px;
  background: #0f172a;
}

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

.rank-cover span {
  position: absolute;
  left: 8px;
  top: 8px;
  min-width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: #ef4444;
  font-weight: 900;
}

.rank-card h3 {
  margin: 4px 0 8px;
  font-size: 18px;
}

.rank-card h3 a:hover {
  color: var(--blue);
}

.rank-card p {
  display: -webkit-box;
  margin: 0 0 12px;
  color: #64748b;
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.category-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border-radius: 24px;
  color: #fff;
  isolation: isolate;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.category-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.82));
}

.category-card span {
  font-size: 42px;
}

.category-card strong {
  margin-top: 12px;
  font-size: 21px;
}

.category-card em {
  margin-top: 6px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.dark-section {
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

.dark-section .section-head h2,
.dark-section .movie-info h3,
.dark-section .movie-info h3 a {
  color: #fff;
}

.dark-section .section-head p,
.dark-section .movie-info p,
.dark-section .movie-meta {
  color: #cbd5e1;
}

.dark-grid .movie-card {
  background: #1e293b;
}

.seo-block p {
  max-width: 880px;
  color: #475569;
  font-size: 17px;
}

.page-hero {
  padding: 78px 0;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #06b6d4 56%, #14b8a6);
}

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

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.rank-hero {
  background: linear-gradient(135deg, #0f172a, #1d4ed8 55%, #f97316);
}

.filter-panel {
  position: sticky;
  top: 82px;
  z-index: 20;
  display: grid;
  gap: 16px;
  margin-bottom: 30px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.single-filter {
  position: static;
}

.filter-panel input {
  width: 100%;
  border: 1px solid #cbd5e1;
  outline: 0;
  border-radius: 16px;
  padding: 14px 16px;
  color: #0f172a;
  background: #fff;
}

.filter-panel input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  color: #475569;
  background: #f1f5f9;
  font-weight: 800;
}

.filter-btn.active,
.filter-btn:hover {
  color: #fff;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
}

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

.no-results {
  display: none;
  margin-top: 24px;
  padding: 24px;
  border-radius: 20px;
  color: #64748b;
  text-align: center;
  background: #f8fafc;
}

.no-results.is-visible {
  display: block;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 22px;
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.category-image {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #0f172a;
}

.category-image img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
}

.category-image span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-size: 36px;
}

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

.category-overview-card h2 a:hover,
.text-link:hover {
  color: var(--blue);
}

.category-overview-card p {
  margin: 0 0 14px;
  color: #64748b;
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.category-samples a {
  padding: 5px 10px;
  border-radius: 999px;
  color: #2563eb;
  background: #eff6ff;
  font-size: 13px;
  font-weight: 800;
}

.category-hero.gradient-orange,
.gradient-orange {
  background: linear-gradient(135deg, #f97316, #ef4444);
}

.category-hero.gradient-blue,
.gradient-blue {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.category-hero.gradient-green,
.gradient-green {
  background: linear-gradient(135deg, #16a34a, #14b8a6);
}

.category-hero.gradient-purple,
.gradient-purple {
  background: linear-gradient(135deg, #7c3aed, #db2777);
}

.category-hero.gradient-rose,
.gradient-rose {
  background: linear-gradient(135deg, #f43f5e, #fb7185);
}

.category-hero.gradient-cyan,
.gradient-cyan {
  background: linear-gradient(135deg, #0891b2, #2563eb);
}

.category-hero.gradient-amber,
.gradient-amber {
  background: linear-gradient(135deg, #d97706, #dc2626);
}

.category-hero.gradient-teal,
.gradient-teal {
  background: linear-gradient(135deg, #0f766e, #22c55e);
}

.category-hero.gradient-indigo,
.gradient-indigo {
  background: linear-gradient(135deg, #4f46e5, #0ea5e9);
}

.category-hero.gradient-pink,
.gradient-pink {
  background: linear-gradient(135deg, #db2777, #f97316);
}

.detail-hero {
  padding: 76px 0;
  color: #fff;
  background-position: center;
  background-size: cover;
}

.detail-hero-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: 34px;
}

.detail-poster {
  width: 100%;
  aspect-ratio: 3 / 4;
  border: 6px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  color: #dbeafe;
  font-weight: 700;
}

.breadcrumbs a:hover {
  color: #fff;
}

.detail-heading h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.08;
}

.detail-heading p {
  max-width: 780px;
  margin: 0 0 22px;
  color: #e5e7eb;
  font-size: 19px;
}

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

.player-panel,
.content-panel,
.side-card,
.related-section {
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

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

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

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: #fff;
  background: rgba(15, 23, 42, 0.38);
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.player-circle {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, #f97316, #ef4444);
  font-size: 28px;
  box-shadow: 0 18px 34px rgba(239, 68, 68, 0.34);
}

.player-overlay strong {
  font-size: 18px;
}

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

.content-panel h2,
.side-card h2,
.related-section h2 {
  margin: 0 0 14px;
  color: #111827;
}

.content-panel p {
  margin: 0 0 22px;
  color: #374151;
  font-size: 17px;
}

.related-section {
  padding: 28px;
}

.compact-head {
  margin-bottom: 20px;
}

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

.detail-aside {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 20px;
}

.side-card {
  padding: 24px;
}

.side-card dl {
  margin: 0;
}

.side-card dt {
  margin-top: 14px;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.side-card dd {
  margin: 4px 0 0;
  color: #111827;
  font-weight: 700;
}

.site-footer {
  color: #cbd5e1;
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 32px;
  padding: 54px 0 34px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #fff;
}

.site-footer p {
  margin: 0;
  color: #cbd5e1;
}

.site-footer a {
  display: block;
  margin: 8px 0;
}

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

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

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

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

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

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

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

  .detail-aside {
    position: static;
  }
}

@media (max-width: 880px) {
  .main-nav,
  .header-search {
    display: none;
  }

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

  .mobile-panel.is-open {
    display: block;
  }

  .hero {
    height: 500px;
  }

  .hero-content {
    margin-left: 16px;
    margin-right: 16px;
  }

  .split-head {
    display: block;
  }

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

  .rank-card,
  .category-overview-card,
  .detail-hero-inner {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 560px) {
  .container,
  .header-inner,
  .mobile-panel {
    width: min(100% - 24px, 1180px);
  }

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

  .hero {
    height: 540px;
  }

  .hero h1,
  .hero h2 {
    font-size: 38px;
  }

  .section,
  .detail-section {
    padding: 48px 0;
  }

  .movie-grid,
  .all-grid,
  .category-grid,
  .rank-grid,
  .related-grid,
  .category-overview-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: static;
  }

  .page-hero,
  .detail-hero {
    padding: 52px 0;
  }
}
