:root {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --accent: #ef4444;
  --ink: #111827;
  --muted: #6b7280;
  --soft: #f3f4f6;
  --line: #e5e7eb;
  --card: #ffffff;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

html {
  scroll-behavior: smooth;
}

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

body.no-scroll {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

.max-wrap {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.28);
}

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

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

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  transition: color 0.2s ease;
}

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

.header-search {
  margin-left: auto;
  width: min(320px, 28vw);
  height: 42px;
  display: flex;
  align-items: center;
  background: #f3f4f6;
  border: 1px solid transparent;
  border-radius: 999px;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.header-search:focus-within {
  background: #fff;
  border-color: #bfdbfe;
}

.header-search input,
.mobile-search input,
.big-search input,
.filter-search input {
  width: 100%;
  color: #111827;
  background: transparent;
  outline: none;
}

.header-search input {
  padding: 0 0 0 18px;
  font-size: 14px;
}

.header-search button,
.mobile-search button {
  height: 100%;
  padding: 0 18px;
  color: #fff;
  background: var(--brand);
  font-size: 14px;
  font-weight: 700;
}

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

.menu-button span {
  width: 20px;
  height: 2px;
  border-radius: 10px;
  background: #111827;
}

.mobile-panel {
  display: none;
  padding: 0 16px 18px;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}

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

.mobile-link {
  display: block;
  padding: 13px 4px;
  color: #374151;
  font-weight: 700;
}

.mobile-link.active {
  color: var(--brand);
}

.mobile-search {
  height: 44px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  border-radius: 14px;
  overflow: hidden;
  background: #f3f4f6;
}

.mobile-search input {
  padding: 0 14px;
}

.hero {
  position: relative;
  height: 540px;
  overflow: hidden;
  background: #020617;
}

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

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

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

.hero-slide img,
.detail-backdrop {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.58), rgba(15, 23, 42, 0.18)), linear-gradient(0deg, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 54px 0;
  color: #fff;
}

.hero-kicker,
.detail-meta,
.movie-meta-row,
.movie-meta-line,
.hero-tags,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-kicker span,
.hero-tags span,
.chip-row span,
.detail-meta span {
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
}

.hero-kicker span:first-child {
  background: #dc2626;
}

.hero-kicker span:last-child,
.hero-tags span,
.detail-meta span {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-content h1 {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.hero-content p {
  max-width: 660px;
  margin-top: 22px;
  color: #e5e7eb;
  font-size: 19px;
  line-height: 1.7;
}

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

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

.primary-button,
.ghost-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-button {
  min-height: 48px;
  padding: 0 26px;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.32);
}

.primary-button:hover {
  transform: translateY(-2px);
  background: var(--brand-dark);
  box-shadow: 0 20px 36px rgba(37, 99, 235, 0.38);
}

.ghost-button {
  min-height: 48px;
  padding: 0 24px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
}

.ghost-button:hover {
  background: rgba(255, 255, 255, 0.22);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  transform: translateY(-50%);
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  font-size: 36px;
  line-height: 1;
  transition: background 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.72);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

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

.content-section {
  padding: 64px 0 0;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.section-heading.tight {
  margin-bottom: 18px;
}

.section-heading h2 {
  color: #111827;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin-top: 6px;
  color: #6b7280;
}

.section-heading > a {
  margin-left: auto;
  color: var(--brand);
  font-weight: 800;
}

.section-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.movie-grid {
  display: grid;
  gap: 22px;
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111827;
}

.movie-card.small .poster-link {
  aspect-ratio: 16 / 9;
}

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

.movie-card:hover .poster-link img {
  transform: scale(1.08);
  opacity: 0.86;
}

.poster-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(37, 99, 235, 0.9);
  font-size: 12px;
  font-weight: 800;
}

.poster-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-card:hover .poster-play {
  opacity: 1;
  transform: translateY(0);
}

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

.movie-meta-row,
.movie-meta-line {
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
}

.movie-card h3 {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
}

.movie-card h3 a:hover {
  color: var(--brand);
}

.movie-card p {
  min-height: 44px;
  margin-top: 8px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.58;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.chip-row {
  margin-top: 12px;
  gap: 8px;
}

.chip-row span {
  padding: 4px 9px;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  font-size: 12px;
}

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

.category-tile {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  border-radius: 24px;
  background: #111827;
  color: #fff;
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.16);
}

.category-tile img,
.category-shade {
  position: absolute;
  inset: 0;
}

.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 0.35s ease;
}

.category-tile:hover img {
  transform: scale(1.08);
}

.category-shade {
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.1));
}

.category-tile strong,
.category-tile em {
  position: relative;
  z-index: 2;
}

.category-tile strong {
  font-size: 22px;
  font-weight: 900;
}

.category-tile em {
  margin-top: 8px;
  color: #e5e7eb;
  font-size: 13px;
  line-height: 1.5;
  font-style: normal;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 26px;
  align-items: stretch;
  padding-bottom: 72px;
}

.ranking-panel,
.search-panel,
.story-card,
.filter-bar,
.category-overview-card {
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}

.ranking-panel,
.search-panel {
  padding: 26px;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 36px 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: #f8fafc;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ranking-row:hover {
  background: #eff6ff;
  transform: translateX(4px);
}

.rank-num {
  color: var(--brand);
  font-size: 22px;
  font-weight: 900;
  text-align: center;
}

.ranking-row img,
.compact-card img {
  width: 72px;
  height: 50px;
  object-fit: cover;
  border-radius: 12px;
}

.rank-info strong,
.compact-card strong {
  display: block;
  color: #111827;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-info em,
.compact-card em {
  display: block;
  margin-top: 4px;
  color: #6b7280;
  font-size: 13px;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-panel {
  color: #fff;
  background: radial-gradient(circle at top left, rgba(96, 165, 250, 0.32), transparent 38%), linear-gradient(135deg, #0f172a, #1e1b4b 62%, #1d4ed8);
}

.search-panel h2 {
  font-size: 34px;
  line-height: 1.1;
  font-weight: 900;
}

.search-panel p {
  margin-top: 12px;
  color: #dbeafe;
  line-height: 1.7;
}

.big-search {
  display: flex;
  height: 54px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 999px;
  background: #fff;
}

.big-search input {
  padding: 0 20px;
}

.big-search button {
  min-width: 110px;
  color: #fff;
  background: var(--brand);
  font-weight: 900;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.quick-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.site-footer {
  margin-top: 40px;
  background: #0f172a;
  color: #d1d5db;
}

.footer-inner {
  width: min(1280px, calc(100% - 32px));
  min-height: 150px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner strong {
  display: block;
  color: #fff;
  font-size: 20px;
}

.footer-inner p {
  max-width: 760px;
  margin-top: 8px;
  color: #9ca3af;
  line-height: 1.7;
}

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

.footer-links a:hover {
  color: #fff;
}

.sub-page {
  padding: 48px 0 28px;
}

.page-title {
  margin-bottom: 28px;
}

.page-title p {
  color: var(--brand);
  font-weight: 900;
}

.page-title h1 {
  margin-top: 10px;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.page-title span {
  display: block;
  max-width: 760px;
  margin-top: 14px;
  color: #6b7280;
  font-size: 17px;
  line-height: 1.7;
}

.category-overview {
  display: grid;
  gap: 22px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  overflow: hidden;
}

.overview-cover {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  background: #111827;
}

.overview-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 0.35s ease;
}

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

.overview-cover span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
}

.overview-info {
  padding: 26px;
}

.overview-info h2 {
  font-size: 30px;
  font-weight: 900;
}

.overview-info h2 a:hover {
  color: var(--brand);
}

.overview-info p {
  margin-top: 10px;
  color: #6b7280;
  line-height: 1.7;
}

.overview-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.compact-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  border-radius: 16px;
  background: #f8fafc;
}

.text-button {
  margin-top: 20px;
  color: var(--brand);
}

.text-button:hover {
  color: var(--brand-dark);
}

.filter-bar {
  padding: 22px;
}

.filter-search {
  height: 54px;
  display: flex;
  align-items: center;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #eff6ff;
}

.filter-search.large {
  height: 62px;
}

.filter-search input {
  padding: 0 22px;
  font-size: 16px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}

.filter-buttons button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: #1f2937;
  background: #f3f4f6;
  font-weight: 800;
}

.filter-buttons button.active,
.filter-buttons button:hover {
  color: #fff;
  background: var(--brand);
}

.channel-grid {
  padding-top: 6px;
}

.empty-state {
  padding: 40px 20px;
  color: #6b7280;
  text-align: center;
  font-weight: 800;
}

.ranking-grid {
  display: grid;
  gap: 18px;
}

.ranking-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  padding: 16px;
  border-radius: 22px;
  background: #f8fafc;
}

.ranking-cover {
  position: relative;
  overflow: hidden;
  min-height: 128px;
  border-radius: 18px;
  background: #111827;
}

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

.rank-large {
  position: absolute;
  left: 12px;
  top: 10px;
  z-index: 2;
  color: #fff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  font-size: 36px;
  font-weight: 950;
}

.ranking-copy p:first-child {
  color: var(--brand);
  font-weight: 900;
}

.ranking-copy h2 {
  margin-top: 6px;
  font-size: 26px;
  font-weight: 950;
}

.ranking-copy h2 a:hover {
  color: var(--brand);
}

.ranking-copy p:last-of-type {
  margin-top: 10px;
  color: #4b5563;
  line-height: 1.7;
}

.detail-page {
  background: #f8fafc;
}

.detail-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #020617;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  filter: blur(2px);
  transform: scale(1.03);
  opacity: 0.62;
}

.detail-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.45)), linear-gradient(0deg, rgba(248, 250, 252, 1), rgba(248, 250, 252, 0) 32%);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 560px;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  padding: 64px 0;
  color: #fff;
}

.detail-poster {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

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

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #bfdbfe;
  font-weight: 800;
}

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

.detail-copy h1 {
  max-width: 880px;
  margin-top: 18px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.detail-copy > p {
  max-width: 780px;
  margin-top: 20px;
  color: #e5e7eb;
  font-size: 19px;
  line-height: 1.75;
}

.detail-meta {
  margin-top: 20px;
}

.detail-chips {
  margin-top: 20px;
}

.detail-copy .primary-button {
  margin-top: 28px;
}

.player-section {
  margin-top: -70px;
  position: relative;
  z-index: 3;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  box-shadow: 0 32px 75px rgba(15, 23, 42, 0.28);
}

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

.player-start {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.24), rgba(0, 0, 0, 0.36));
}

.player-start span {
  width: 92px;
  height: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(37, 99, 235, 0.92);
  font-size: 38px;
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.38);
  transition: transform 0.2s ease, background 0.2s ease;
}

.player-start:hover span {
  transform: scale(1.08);
  background: var(--brand-dark);
}

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

.story-card {
  padding: 28px;
}

.story-card h2 {
  font-size: 26px;
  font-weight: 950;
}

.story-card p {
  margin-top: 14px;
  color: #374151;
  font-size: 16px;
  line-height: 1.9;
}

.related-section {
  padding-bottom: 52px;
}

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

  .header-search {
    width: min(360px, 42vw);
  }

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

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

  .split-section,
  .detail-content {
    grid-template-columns: 1fr;
  }

  .overview-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .header-inner {
    min-height: 66px;
  }

  .header-search,
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: inline-flex;
    margin-left: auto;
  }

  .hero {
    height: 580px;
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 80px;
  }

  .hero-arrow {
    display: none;
  }

  .section-heading {
    align-items: flex-start;
  }

  .section-heading > a {
    display: none;
  }

  .movie-grid.five-cols,
  .movie-grid.four-cols,
  .movie-grid.three-cols,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .detail-poster {
    width: min(280px, 70vw);
  }

  .ranking-cover {
    min-height: 220px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 0;
  }
}

@media (max-width: 560px) {
  .max-wrap,
  .header-inner,
  .footer-inner,
  .hero-content {
    width: min(100% - 24px, 1280px);
  }

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

  .hero-content h1,
  .detail-copy h1 {
    font-size: 40px;
  }

  .hero-content p,
  .detail-copy > p {
    font-size: 16px;
  }

  .movie-grid.five-cols,
  .movie-grid.four-cols,
  .movie-grid.three-cols,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .overview-cover {
    min-height: 190px;
  }

  .filter-bar,
  .ranking-panel,
  .search-panel,
  .story-card {
    border-radius: 20px;
    padding: 18px;
  }

  .player-start span {
    width: 72px;
    height: 72px;
    font-size: 30px;
  }
}
