:root {
  --amber: #f59e0b;
  --orange: #f97316;
  --yellow: #facc15;
  --red: #ef4444;
  --pink: #ec4899;
  --teal: #14b8a6;
  --cyan: #06b6d4;
  --emerald: #10b981;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --shadow-soft: 0 18px 48px rgba(15, 23, 42, 0.14);
  --shadow-card: 0 14px 30px rgba(15, 23, 42, 0.12);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --max-width: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--gray-800);
  background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 45%, #fef3c7 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(90deg, var(--amber), var(--orange), #d97706);
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.28);
}

.nav-shell {
  max-width: var(--max-width);
  height: 68px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.brand-name {
  font-size: 24px;
}

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

.nav-link {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 650;
  padding: 9px 12px;
  border-radius: 999px;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  transform: translateY(-1px);
}

.header-search {
  position: relative;
  width: 270px;
}

.search-input {
  width: 100%;
  border: 0;
  outline: none;
  border-radius: 999px;
  padding: 11px 16px;
  color: var(--gray-800);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 8px 20px rgba(146, 64, 14, 0.16);
}

.search-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: none;
  max-height: 430px;
  overflow-y: auto;
  z-index: 90;
}

.search-results.open {
  display: block;
}

.search-result-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--gray-100);
  transition: background 0.2s ease;
}

.search-result-item:hover {
  background: #fff7ed;
}

.search-result-item img {
  width: 52px;
  height: 68px;
  object-fit: cover;
  border-radius: 10px;
}

.search-result-item strong {
  display: block;
  font-size: 14px;
  color: var(--gray-900);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-item span {
  display: block;
  margin-top: 3px;
  color: var(--gray-500);
  font-size: 12px;
}

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

.mobile-nav {
  display: none;
  padding: 10px 18px 18px;
  background: #d97706;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.mobile-nav.open {
  display: block;
}

.mobile-link {
  display: block;
  color: var(--white);
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 650;
}

.mobile-link:hover {
  background: rgba(255, 255, 255, 0.14);
}

.mobile-search {
  position: relative;
  margin-top: 10px;
}

.page-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 22px 76px;
}

.hero-carousel {
  position: relative;
  height: 620px;
  overflow: hidden;
  background: var(--slate-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 6s ease;
}

.hero-slide.active .hero-image {
  transform: scale(1.1);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.68) 42%, rgba(15, 23, 42, 0.24) 100%), linear-gradient(0deg, rgba(15, 23, 42, 0.74), transparent 42%);
}

.hero-content {
  position: absolute;
  left: max(22px, calc((100vw - var(--max-width)) / 2 + 22px));
  bottom: 92px;
  max-width: 760px;
  color: var(--white);
}

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.hero-tags span {
  padding: 8px 12px;
  color: var(--white);
  background: rgba(245, 158, 11, 0.86);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.22);
}

.hero-kicker-title,
.hero-content h1 {
  margin: 20px 0 8px;
  color: #fde68a;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-content h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.05em;
  font-weight: 900;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
}

.hero-content p {
  margin: 18px 0 0;
  max-width: 680px;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.86);
}

.hero-meta,
.card-meta,
.detail-meta,
.rank-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-meta {
  margin-top: 18px;
}

.hero-meta span,
.detail-meta span {
  border-radius: 999px;
  padding: 8px 13px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.16);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

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

.primary-button {
  padding: 14px 24px;
  color: var(--white);
  background: linear-gradient(90deg, var(--amber), var(--orange));
  box-shadow: 0 14px 26px rgba(249, 115, 22, 0.32);
}

.ghost-button {
  padding: 13px 23px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.primary-button:hover,
.ghost-button:hover,
.more-link:hover,
.category-link:hover,
.filter-button:hover {
  transform: translateY(-2px);
}

.hero-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.32);
  cursor: pointer;
  z-index: 10;
  font-size: 24px;
  transition: background 0.2s ease;
}

.hero-control:hover {
  background: rgba(0, 0, 0, 0.52);
}

.hero-control.prev {
  left: 22px;
}

.hero-control.next {
  right: 22px;
}

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

.hero-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width 0.22s ease, background 0.22s ease;
}

.hero-dots button.active {
  width: 34px;
  background: var(--amber);
}

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

.section-card {
  padding: 32px;
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.section-card.dark {
  color: var(--white);
  background: linear-gradient(135deg, var(--slate-800), var(--slate-900));
}

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

.heading-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(90deg, var(--amber), var(--orange));
  box-shadow: 0 12px 22px rgba(249, 115, 22, 0.24);
}

.section-heading.red .heading-mark {
  background: linear-gradient(90deg, var(--red), var(--pink));
}

.section-heading.teal .heading-mark {
  background: linear-gradient(90deg, var(--teal), var(--cyan));
}

.section-heading.green .heading-mark {
  background: linear-gradient(90deg, var(--emerald), #22c55e);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: var(--gray-800);
  letter-spacing: -0.04em;
}

.dark .section-heading h2 {
  color: var(--white);
}

.heading-line {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.4), transparent);
}

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

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

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

.movie-card {
  min-width: 0;
}

.movie-card a {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.movie-card a:hover {
  transform: translateY(-9px);
  box-shadow: 0 28px 48px rgba(15, 23, 42, 0.18);
}

.cover-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #fbbf24, #fb923c);
}

.compact-card .cover-wrap {
  aspect-ratio: 3 / 4;
}

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

.movie-card a:hover .cover-wrap img {
  transform: scale(1.11);
}

.cover-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.72), transparent 56%);
  transition: opacity 0.28s ease;
}

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

.type-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(245, 158, 11, 0.95);
  font-size: 12px;
  font-weight: 800;
}

.play-pulse {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%) scale(0.85);
  z-index: 2;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: rgba(245, 158, 11, 0.92);
  opacity: 0;
  box-shadow: 0 20px 42px rgba(245, 158, 11, 0.35);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

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

.card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  flex: 1;
}

.card-meta {
  gap: 8px;
  color: var(--gray-500);
  font-size: 13px;
}

.card-meta span {
  padding: 3px 9px;
  border-radius: 999px;
  background: #fff7ed;
}

.card-body h3 {
  margin: 0;
  color: var(--gray-900);
  font-size: 19px;
  line-height: 1.35;
  font-weight: 850;
}

.card-body p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.65;
  font-size: 14px;
}

.tag-row span {
  padding: 6px 9px;
  color: #b45309;
  background: #fffbeb;
}

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

.category-tile {
  position: relative;
  overflow: hidden;
  min-height: 176px;
  padding: 22px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: linear-gradient(135deg, var(--slate-800), var(--slate-900));
  box-shadow: var(--shadow-card);
}

.category-tile::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -50px;
  top: -48px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.38), transparent 68%);
}

.category-tile h3 {
  position: relative;
  margin: 0 0 12px;
  font-size: 24px;
}

.category-tile p {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  margin: 0 0 20px;
}

.category-link {
  position: relative;
  padding: 9px 14px;
  color: var(--white);
  background: rgba(245, 158, 11, 0.88);
}

.list-rail {
  display: grid;
  gap: 18px;
}

.rank-item {
  display: grid;
  grid-template-columns: 70px 108px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.rank-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--amber), var(--orange));
}

.rank-cover {
  width: 108px;
  height: 78px;
  border-radius: 14px;
  overflow: hidden;
}

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

.rank-content h2,
.rank-content h3 {
  margin: 0 0 7px;
  font-size: 22px;
  color: var(--gray-900);
}

.rank-content p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.65;
}

.rank-meta {
  color: var(--gray-500);
  font-size: 13px;
  margin-top: 8px;
}

.rank-action {
  padding: 10px 16px;
  border-radius: 999px;
  color: #b45309;
  background: #fffbeb;
  font-weight: 850;
}

.page-hero {
  padding: 64px 0 38px;
}

.page-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: clamp(32px, 5vw, 64px);
  color: var(--white);
  background: linear-gradient(135deg, var(--slate-800), var(--slate-900));
  box-shadow: var(--shadow-soft);
}

.page-hero-card::before,
.page-hero-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.page-hero-card::before {
  width: 300px;
  height: 300px;
  right: -90px;
  top: -90px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.45), transparent 72%);
}

.page-hero-card::after {
  width: 220px;
  height: 220px;
  left: 34%;
  bottom: -120px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.28), transparent 72%);
}

.page-hero-card h1 {
  position: relative;
  margin: 0 0 14px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.page-hero-card p {
  position: relative;
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
  font-size: 18px;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px 120px;
  gap: 12px;
  padding: 18px;
  margin-bottom: 28px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 12px 15px;
  outline: none;
  background: #fff;
}

.filter-button {
  border: 0;
  color: var(--white);
  cursor: pointer;
  background: linear-gradient(90deg, var(--amber), var(--orange));
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 24px;
  color: var(--gray-500);
  font-size: 14px;
}

.breadcrumbs a {
  color: #b45309;
  font-weight: 700;
}

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

.watch-panel,
.detail-card,
.related-panel {
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--slate-900);
}

.movie-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  color: var(--white);
  cursor: pointer;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.18));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-weight: 900;
  font-size: 20px;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.player-button {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 24px 48px rgba(245, 158, 11, 0.32);
  padding-left: 5px;
}

.watch-info {
  padding: 28px;
}

.watch-info h1 {
  margin: 0 0 16px;
  color: var(--gray-900);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.detail-meta span {
  color: #92400e;
  background: #fffbeb;
}

.watch-info p {
  margin: 18px 0 0;
  color: var(--gray-600);
  line-height: 1.85;
  font-size: 17px;
}

.detail-card {
  padding: 24px;
}

.detail-card img {
  width: 100%;
  border-radius: 22px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin-bottom: 18px;
}

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

.info-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px;
  color: var(--gray-600);
  line-height: 1.6;
}

.info-row strong {
  color: var(--gray-900);
}

.story-section {
  margin-top: 30px;
  padding: 30px;
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.story-section h2 {
  margin: 0 0 16px;
  color: var(--gray-900);
  font-size: 28px;
}

.story-section p {
  margin: 0 0 18px;
  color: var(--gray-700);
  line-height: 1.9;
  font-size: 17px;
}

.related-panel {
  margin-top: 30px;
  padding: 28px;
}

.related-panel h2 {
  margin: 0 0 22px;
  font-size: 30px;
}

.site-footer {
  color: var(--gray-300);
  background: linear-gradient(135deg, var(--slate-800), var(--slate-900));
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 22px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
  margin: 0 0 14px;
}

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

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

.site-footer a {
  color: #cbd5e1;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  text-align: center;
  padding: 18px 22px;
  color: #94a3b8;
}

.empty-state {
  display: none;
  padding: 34px;
  border-radius: 22px;
  background: #fff7ed;
  color: #92400e;
  text-align: center;
  font-weight: 800;
}

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

  .header-search {
    margin-left: auto;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

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

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

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

@media (max-width: 820px) {
  .nav-shell {
    height: auto;
    min-height: 64px;
    padding: 12px 16px;
    gap: 12px;
  }

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

  .header-search {
    display: none;
  }

  .hero-carousel {
    height: 560px;
  }

  .hero-content {
    left: 18px;
    right: 18px;
    bottom: 74px;
  }

  .hero-content h2 {
    font-size: 42px;
  }

  .hero-control {
    display: none;
  }

  .page-shell {
    padding: 38px 16px 56px;
  }

  .section-card {
    padding: 22px;
  }

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

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

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

  .rank-item {
    grid-template-columns: 48px 86px minmax(0, 1fr);
  }

  .rank-action {
    grid-column: 2 / -1;
    width: fit-content;
  }

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

@media (max-width: 560px) {
  .hero-carousel {
    height: 530px;
  }

  .hero-content h2 {
    font-size: 34px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .movie-grid,
  .movie-grid.three,
  .movie-grid.two,
  .category-band {
    grid-template-columns: 1fr;
  }

  .section-heading h2 {
    font-size: 28px;
  }

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

  .rank-cover {
    display: none;
  }

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

  .watch-info,
  .story-section,
  .related-panel {
    padding: 22px;
  }
}
