* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: #0f172a;
  --panel-soft: #111827;
  --panel-light: #1e293b;
  --text: #f8fafc;
  --muted: #94a3b8;
  --line: rgba(148, 163, 184, 0.18);
  --amber: #f59e0b;
  --amber-deep: #d97706;
  --orange: #f97316;
  --red: #ef4444;
  --green: #22c55e;
  --blue: #38bdf8;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at top left, rgba(245, 158, 11, 0.08), transparent 35%), var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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: 50;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.96));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.nav-shell {
  width: min(1240px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: white;
  font-size: 17px;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.32);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

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

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

.nav-link {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 650;
  padding: 26px 0;
  transition: color 0.2s ease;
}

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

.nav-search {
  min-width: 210px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  background: rgba(51, 65, 85, 0.58);
}

.search-icon {
  color: var(--muted);
}

.nav-search input,
.mobile-search input,
.large-search input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.nav-search input::placeholder,
.mobile-search input::placeholder,
.large-search input::placeholder,
.filter-bar input::placeholder {
  color: #64748b;
}

.mobile-toggle {
  display: none;
  border: 0;
  color: white;
  background: transparent;
  font-size: 24px;
  padding: 8px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  padding: 12px 16px 18px;
}

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

.mobile-search {
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  background: rgba(51, 65, 85, 0.58);
  margin-bottom: 12px;
}

.mobile-link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.mobile-link {
  color: #cbd5e1;
  text-align: center;
  border-radius: 10px;
  padding: 10px 4px;
  background: rgba(15, 23, 42, 0.62);
  font-size: 13px;
}

.mobile-link.is-active,
.mobile-link:hover {
  color: var(--amber);
}

.hero {
  position: relative;
  height: min(64vw, 640px);
  min-height: 430px;
  overflow: hidden;
  background: #020617;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}

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

.hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-shade,
.detail-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.82) 34%, rgba(2, 6, 23, 0.2) 100%), linear-gradient(90deg, rgba(2, 6, 23, 0.78), transparent 60%);
}

.hero-content {
  position: absolute;
  left: max(28px, calc((100% - 1240px) / 2));
  right: 28px;
  bottom: 72px;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.detail-title-block h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  text-shadow: 0 16px 35px rgba(0, 0, 0, 0.45);
}

.hero-summary {
  max-width: 690px;
  margin: 18px 0 0;
  color: #e2e8f0;
  font-size: clamp(15px, 1.6vw, 19px);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 28px;
}

.hero-tags span,
.tag-row span,
.tag-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 11px;
  border-radius: 999px;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 12px;
  font-weight: 650;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-button,
.secondary-button,
.ghost-button,
.large-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button,
.large-search button {
  color: white;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 16px 34px rgba(245, 158, 11, 0.3);
}

.secondary-button {
  color: white;
  background: rgba(30, 41, 59, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.ghost-button {
  color: #e2e8f0;
  background: rgba(2, 6, 23, 0.3);
  border: 1px solid rgba(226, 232, 240, 0.22);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.large-search button:hover {
  transform: translateY(-2px);
}

.hero-control {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: white;
  background: rgba(0, 0, 0, 0.42);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

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

.hero-prev {
  left: 18px;
}

.hero-next {
  right: 18px;
}

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

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 32px;
  background: var(--amber);
}

.hero-search-panel {
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.98), #020617);
  border-bottom: 1px solid var(--line);
}

.hero-search-inner,
.page-shell,
.footer-shell,
.detail-hero-inner,
.page-hero-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-search-inner {
  padding: 28px 0 20px;
}

.hero-search-inner h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 34px);
}

.hero-search-inner p {
  max-width: 900px;
  margin: 0 0 18px;
  color: var(--muted);
}

.large-search {
  display: flex;
  max-width: 720px;
  margin-bottom: 18px;
  padding: 8px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.9);
}

.large-search input {
  padding: 0 12px;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-pills a {
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(30, 41, 59, 0.62);
  font-size: 14px;
}

.category-pills a:hover {
  color: white;
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.42);
}

.page-shell {
  padding: 44px 0 72px;
}

.content-section {
  margin-bottom: 58px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-heading > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: white;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 14px 34px rgba(245, 158, 11, 0.24);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  max-width: 420px;
  text-align: right;
}

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

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.98));
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.34);
  box-shadow: var(--shadow);
}

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #0f172a;
}

.movie-card-wide .poster-frame {
  aspect-ratio: 16 / 9;
}

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

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

.poster-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), transparent 48%);
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  color: white;
  background: rgba(245, 158, 11, 0.88);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.poster-year,
.poster-region {
  position: absolute;
  padding: 4px 8px;
  border-radius: 8px;
  color: white;
  background: rgba(0, 0, 0, 0.64);
  font-size: 12px;
  font-weight: 700;
}

.poster-year {
  top: 10px;
  right: 10px;
}

.poster-region {
  left: 10px;
  bottom: 10px;
}

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

.movie-card-body h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.35;
}

.movie-card-body h3 a:hover,
.rank-info h3 a:hover,
.category-body h2 a:hover {
  color: var(--amber);
}

.movie-card-body p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta,
.rank-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 12px;
}

.movie-meta span {
  border-radius: 8px;
  padding: 3px 8px;
  background: rgba(15, 23, 42, 0.84);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.movie-card-small .movie-card-body p,
.movie-card-small .tag-row {
  display: none;
}

.year-stack {
  display: grid;
  gap: 30px;
}

.year-band {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 22px;
  align-items: start;
}

.year-label {
  position: sticky;
  top: 96px;
  border-radius: 999px;
  padding: 10px 18px;
  color: white;
  text-align: center;
  font-weight: 900;
  background: linear-gradient(135deg, var(--amber), var(--orange));
}

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

.rank-card {
  display: grid;
  grid-template-columns: 54px 120px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
}

.rank-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--amber), var(--orange));
}

.rank-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: #0f172a;
}

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

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

.rank-info p {
  margin: 0 0 8px;
  color: var(--muted);
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #111827 52%, #1e293b);
}

.page-hero {
  min-height: 310px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  position: absolute;
  inset: -120px 40% auto -160px;
  height: 320px;
  content: "";
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.18);
  filter: blur(70px);
}

.page-hero-inner {
  position: relative;
  padding: 56px 0;
}

.page-hero-inner p {
  max-width: 760px;
  color: #cbd5e1;
}

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

.category-card {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.category-cover {
  position: relative;
  display: block;
  height: 190px;
  overflow: hidden;
}

.category-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) brightness(0.78);
}

.category-cover span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: white;
  font-size: 24px;
  font-weight: 900;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.7);
}

.category-body {
  padding: 18px;
}

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

.category-body p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

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

.category-samples a {
  border-radius: 999px;
  padding: 5px 9px;
  color: #cbd5e1;
  background: rgba(30, 41, 59, 0.9);
  font-size: 12px;
}

.filter-bar {
  display: grid;
  grid-template-columns: 1fr 180px 180px;
  gap: 12px;
  margin-bottom: 24px;
}

.filter-bar input,
.filter-bar select {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.92);
}

.filter-bar select {
  color: #cbd5e1;
}

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

.detail-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero-inner {
  position: relative;
  padding: 40px 0 70px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 72px;
  color: #cbd5e1;
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--amber);
}

.detail-title-block {
  max-width: 780px;
}

.detail-title-block > p:last-of-type {
  color: #e2e8f0;
  font-size: 18px;
}

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

.detail-main,
.detail-aside {
  display: grid;
  gap: 22px;
}

.player-card,
.detail-panel,
.info-card,
.related-card {
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.player-card {
  padding: 12px;
}

.video-player {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: black;
  aspect-ratio: 16 / 9;
}

.movie-video {
  width: 100%;
  height: 100%;
  background: black;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: black;
}

.player-cover.is-hidden {
  display: none;
}

.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
}

.player-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 20px 50px rgba(245, 158, 11, 0.35);
  font-size: 34px;
}

.player-message {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: min(360px, calc(100% - 40px));
  padding: 18px;
  border-radius: 14px;
  color: white;
  text-align: center;
  background: rgba(15, 23, 42, 0.92);
  transform: translate(-50%, -50%);
}

.detail-panel,
.info-card,
.related-card {
  padding: 24px;
}

.detail-panel h2,
.info-card h2,
.related-card h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.detail-panel p {
  margin: 0;
  color: #cbd5e1;
  white-space: pre-line;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.info-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.info-card dl div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.info-card dt {
  color: var(--muted);
}

.info-card dd {
  margin: 0;
  color: white;
  font-weight: 650;
}

.related-card {
  position: sticky;
  top: 100px;
}

.related-list {
  display: grid;
  gap: 14px;
}

.related-list .movie-card {
  display: grid;
  grid-template-columns: 96px 1fr;
}

.related-list .poster-frame {
  height: 130px;
  aspect-ratio: auto;
}

.related-list .movie-card-body {
  min-width: 0;
}

.empty-state {
  border: 1px dashed rgba(148, 163, 184, 0.28);
  border-radius: 16px;
  padding: 40px 20px;
  color: var(--muted);
  text-align: center;
  background: rgba(15, 23, 42, 0.58);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #0f172a;
  color: #cbd5e1;
}

.footer-shell {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr;
  gap: 34px;
  padding: 44px 0 28px;
}

.footer-about h2,
.footer-group h3 {
  margin: 0 0 12px;
  color: white;
}

.footer-about p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
}

.footer-group {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-group a:hover {
  color: var(--amber);
}

.footer-bottom {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 26px;
  border-top: 1px solid var(--line);
  color: #64748b;
  font-size: 13px;
}

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

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

  .nav-search {
    display: none;
  }

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

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

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

  .related-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav-shell {
    min-height: 64px;
  }

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

  .brand-subtitle {
    display: none;
  }

  .mobile-link-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    min-height: 520px;
    height: 82vh;
  }

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

  .hero-control {
    display: none;
  }

  .hero-actions,
  .large-search,
  .filter-bar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .page-shell,
  .hero-search-inner,
  .footer-shell,
  .detail-hero-inner,
  .page-hero-inner {
    width: min(100% - 24px, 1240px);
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 8px;
    text-align: left;
  }

  .featured-grid,
  .poster-grid,
  .compact-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .movie-card-body h3 {
    font-size: 14px;
  }

  .year-band {
    grid-template-columns: 1fr;
  }

  .year-label {
    position: static;
    width: fit-content;
  }

  .rank-card {
    grid-template-columns: 42px 86px 1fr;
    gap: 10px;
    padding: 10px;
  }

  .rank-info h3 {
    font-size: 15px;
  }

  .rank-info p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 13px;
  }

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

  .breadcrumb {
    margin-bottom: 90px;
  }

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

  .related-list .movie-card {
    grid-template-columns: 86px 1fr;
  }
}

@media (max-width: 460px) {
  .featured-grid,
  .poster-grid,
  .compact-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .movie-card-small .movie-card-body p {
    display: -webkit-box;
  }

  .hero h1,
  .page-hero h1,
  .detail-title-block h1 {
    font-size: 34px;
  }
}
