:root {
  --bg: #0f1020;
  --bg-soft: #15162b;
  --card: rgba(255, 255, 255, 0.92);
  --card-dark: rgba(22, 18, 45, 0.72);
  --text: #1f2433;
  --muted: #6f7280;
  --light: #ffffff;
  --pink: #ec4899;
  --pink-strong: #db2777;
  --purple: #8b5cf6;
  --blue: #3b82f6;
  --cyan: #06b6d4;
  --gold: #f59e0b;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(22, 18, 45, 0.18);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fff7fb 0%, #f6f3ff 38%, #eef6ff 100%);
  color: var(--text);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.14);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 12px 32px rgba(236, 72, 153, 0.35);
  font-size: 15px;
}

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

.nav-link,
.nav-drop-button {
  border: 0;
  background: transparent;
  padding: 10px 15px;
  border-radius: 999px;
  color: #4b5563;
  font-weight: 700;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active,
.nav-drop-button:hover {
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.24);
}

.nav-dropdown {
  position: relative;
}

.nav-drop-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 190px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 20px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.nav-dropdown:hover .nav-drop-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-drop-panel a,
.mobile-nav a,
.footer-links a {
  display: block;
  padding: 10px 12px;
  color: #4b5563;
  border-radius: 12px;
  font-weight: 700;
}

.nav-drop-panel a:hover,
.mobile-nav a:hover,
.footer-links a:hover {
  background: linear-gradient(90deg, rgba(236, 72, 153, 0.1), rgba(139, 92, 246, 0.12));
  color: var(--pink-strong);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  padding: 11px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  border-radius: 2px;
}

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

.hero-section {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #1a1136;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #ec4899, #8b5cf6 48%, #3b82f6);
  background-size: 200% 200%;
  animation: gradientMove 14s ease infinite;
}

.hero-gradient::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 10%, rgba(255,255,255,0.22), transparent 28%), radial-gradient(circle at 80% 70%, rgba(255,255,255,0.18), transparent 24%);
}

.hero-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(36px);
  opacity: 0.56;
}

.hero-glow-one {
  left: -120px;
  top: 120px;
  background: #f0abfc;
}

.hero-glow-two {
  right: -120px;
  bottom: 60px;
  background: #60a5fa;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 44px));
  min-height: 540px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(290px, 0.62fr);
  gap: 40px;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateX(30px) scale(0.98);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.eyebrow,
.section-heading span,
.category-card span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pink-strong);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hero-text .eyebrow,
.detail-info .eyebrow,
.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.86);
}

.hero-text h1 {
  margin: 18px 0 14px;
  font-size: clamp(42px, 6.4vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-shadow: 0 22px 60px rgba(10, 8, 24, 0.28);
}

.hero-text h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 4vw, 44px);
  letter-spacing: -0.04em;
}

.hero-text p,
.page-hero p,
.detail-info p {
  margin: 0;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.8;
}

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

.hero-tags {
  margin: 26px 0;
}

.hero-tags span,
.detail-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
}

.tag-row span {
  background: rgba(139, 92, 246, 0.1);
  color: #6d28d9;
}

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

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

.primary-button,
.card-link {
  background: #fff;
  color: var(--pink-strong);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.ghost-button {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.primary-button:hover,
.ghost-button:hover,
.card-link:hover,
.text-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 55px rgba(139, 92, 246, 0.3);
}

.hero-poster {
  position: relative;
  display: block;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(10, 8, 24, 0.38);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: rotate(2deg);
}

.hero-poster img {
  aspect-ratio: 3 / 4.15;
  object-fit: cover;
}

.hero-poster span {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  box-shadow: 0 14px 30px rgba(239, 68, 68, 0.34);
}

.hero-dots {
  position: absolute;
  left: 0;
  bottom: 10px;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
}

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

.hero-side-panel {
  position: absolute;
  z-index: 3;
  right: max(22px, calc((100vw - 1240px) / 2));
  bottom: 28px;
  display: flex;
  gap: 14px;
}

.hero-side-panel a {
  min-width: 132px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}

.hero-side-panel strong,
.hero-side-panel span {
  display: block;
}

.hero-side-panel span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.section-wrap {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
  padding: 62px 0;
}

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

.section-heading h2,
.page-hero h1,
.detail-info h1 {
  margin: 10px 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.section-heading p {
  margin: 0;
  max-width: 680px;
  color: var(--muted);
  line-height: 1.8;
}

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

.text-link {
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--purple));
}

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

.featured-grid .movie-card-large {
  grid-column: span 2;
  grid-row: span 2;
}

.movie-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(139, 92, 246, 0.12);
  box-shadow: 0 18px 55px rgba(22, 18, 45, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.16), rgba(59, 130, 246, 0.16));
}

.poster-link img {
  aspect-ratio: 3 / 4.05;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.movie-card-large .poster-link img {
  aspect-ratio: 16 / 11;
}

.poster-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  border-radius: 999px;
  padding: 7px 12px;
  color: #fff;
  background: rgba(17, 24, 39, 0.64);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 900;
}

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

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

.movie-card-meta strong {
  color: #f59e0b;
}

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

.movie-card h3 a:hover,
.rank-main h3 a:hover {
  color: var(--pink-strong);
}

.movie-card p {
  margin: 0 0 15px;
  color: var(--muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.horizontal-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
}

.compact-card {
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  align-items: center;
  min-width: 250px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(139, 92, 246, 0.12);
  box-shadow: 0 14px 38px rgba(22, 18, 45, 0.07);
}

.compact-card:hover {
  transform: translateY(-3px);
}

.compact-card img {
  height: 112px;
  border-radius: 15px;
  object-fit: cover;
}

.compact-card strong,
.compact-card em {
  display: block;
}

.compact-card strong {
  margin-bottom: 8px;
  font-size: 17px;
}

.compact-card em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.5;
}

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

.pill-link {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 16px 42px rgba(139, 92, 246, 0.22);
}

.pill-link:nth-child(3n) {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.pill-link:nth-child(4n) {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  color: #fff;
  background: linear-gradient(120deg, #ec4899, #8b5cf6 52%, #3b82f6);
}

.page-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 72px max(22px, calc((100vw - 1240px) / 2));
}

.page-hero::before,
.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 22% 18%, rgba(255,255,255,0.25), transparent 28%), radial-gradient(circle at 84% 76%, rgba(255,255,255,0.16), transparent 30%);
}

.page-hero > * {
  position: relative;
  z-index: 2;
}

.hero-mini-stack {
  display: grid;
  gap: 12px;
  width: min(420px, 100%);
}

.filter-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 14px;
  margin-bottom: 26px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(139, 92, 246, 0.12);
  box-shadow: 0 16px 44px rgba(22, 18, 45, 0.06);
}

.search-field,
.select-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.search-field input,
.select-field select {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(139, 92, 246, 0.16);
  border-radius: 16px;
  padding: 0 15px;
  outline: 0;
  color: var(--text);
  background: #fff;
}

.search-field input:focus,
.select-field select:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

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

.category-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 22px;
  align-items: center;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(139, 92, 246, 0.12);
  box-shadow: 0 18px 55px rgba(22, 18, 45, 0.08);
}

.category-cover-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.category-cover-grid img {
  height: 126px;
  object-fit: cover;
  border-radius: 16px;
}

.category-card h2 {
  margin: 10px 0;
  font-size: 28px;
}

.category-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.8;
}

.card-link {
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  box-shadow: none;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 70px 96px minmax(0, 1fr) 140px;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(139, 92, 246, 0.12);
  box-shadow: 0 14px 42px rgba(22, 18, 45, 0.06);
}

.rank-row.top {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 244, 229, 0.94));
}

.rank-number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink), var(--purple));
}

.rank-cover img {
  height: 126px;
  border-radius: 18px;
  object-fit: cover;
}

.rank-main h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.rank-main p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.65;
}

.rank-score {
  text-align: right;
}

.rank-score strong,
.detail-stats strong {
  display: block;
  color: #f59e0b;
  font-size: 28px;
}

.rank-score span {
  color: var(--muted);
  font-size: 13px;
}

.detail-hero {
  min-height: 560px;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  filter: blur(6px);
}

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

.detail-wrap {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
  min-height: 560px;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  padding: 56px 0;
}

.detail-poster {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(10, 8, 24, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.detail-poster img {
  aspect-ratio: 3 / 4.1;
  object-fit: cover;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

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

.detail-info h1 {
  font-size: clamp(38px, 6vw, 72px);
  color: #fff;
}

.detail-tags {
  margin: 24px 0;
}

.detail-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
}

.detail-stats span {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.detail-content-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.player-card {
  position: sticky;
  top: 92px;
  overflow: hidden;
  border-radius: 30px;
  background: #050716;
  box-shadow: 0 26px 80px rgba(22, 18, 45, 0.22);
}

.player-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050716;
  object-fit: cover;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, rgba(5, 7, 22, 0.24), rgba(5, 7, 22, 0.74));
  cursor: pointer;
}

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

.player-start {
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding-left: 5px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 20px 52px rgba(236, 72, 153, 0.34);
  font-size: 30px;
}

.detail-article {
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.12);
  box-shadow: 0 18px 55px rgba(22, 18, 45, 0.08);
}

.detail-article h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.detail-article p {
  margin: 0 0 24px;
  color: #4b5563;
  line-height: 1.9;
  font-size: 16px;
}

.info-table {
  display: grid;
  gap: 10px;
}

.info-table div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid rgba(139, 92, 246, 0.12);
}

.info-table span {
  color: var(--muted);
  font-weight: 800;
}

.site-footer {
  margin-top: 50px;
  color: #fff;
  background: linear-gradient(90deg, #111827, #3b1d68, #111827);
}

.footer-inner {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
  padding: 46px 0;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 34px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  margin: 0;
  max-width: 500px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 22px;
  text-align: center;
  color: rgba(255, 255, 255, 0.64);
}

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

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

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

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

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

  .player-card {
    position: relative;
    top: auto;
  }
}

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

  .menu-button {
    display: block;
  }

  .mobile-nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .hero-section {
    min-height: 780px;
    align-items: flex-start;
    padding-top: 46px;
  }

  .hero-content {
    min-height: 670px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero-poster {
    width: min(320px, 100%);
    margin: 0 auto;
  }

  .hero-side-panel {
    left: 22px;
    right: 22px;
    justify-content: center;
    overflow-x: auto;
  }

  .split-heading,
  .page-hero {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .featured-grid .movie-card-large {
    grid-column: span 2;
  }

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

  .rank-score {
    grid-column: 2 / -1;
    text-align: left;
  }

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

  .detail-poster {
    width: min(280px, 100%);
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .header-inner,
  .section-wrap,
  .detail-wrap,
  .footer-inner {
    width: calc(100% - 28px);
  }

  .brand {
    font-size: 20px;
  }

  .hero-text h1 {
    font-size: 42px;
  }

  .featured-grid,
  .movie-grid,
  .pill-grid,
  .filter-box {
    grid-template-columns: 1fr;
  }

  .featured-grid .movie-card-large {
    grid-column: span 1;
  }

  .category-card {
    grid-template-columns: 1fr;
  }

  .category-cover-grid img {
    height: 112px;
  }

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

  .rank-cover {
    display: none;
  }

  .rank-score {
    grid-column: 1 / -1;
  }

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