:root {
  --color-primary: #102a43;
  --color-secondary: #243b53;
  --color-accent: #f59e0b;
  --color-accent-strong: #d97706;
  --color-text-primary: #f0f4f8;
  --color-text-secondary: #bcccdc;
  --color-border: #334e68;
  --color-bg: #0a1929;
  --color-panel: rgba(16, 42, 67, 0.82);
  --shadow-night: 0 20px 60px rgba(0, 0, 0, 0.6);
  --shadow-amber: 0 0 20px rgba(251, 191, 36, 0.3);
  --radius: 0.75rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.12), transparent 32rem),
    linear-gradient(180deg, #0a1929 0%, #071421 45%, #091827 100%);
  color: var(--color-text-primary);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: Outfit, Inter, system-ui, sans-serif;
  line-height: 1.15;
}

p {
  margin: 0;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.container-custom {
  width: min(100%, 1280px);
  margin-inline: auto;
  padding-inline: 1rem;
}

.section-spacing {
  padding-block: 4.5rem;
}

.section-soft {
  background: linear-gradient(180deg, rgba(16, 42, 67, 0.24), rgba(16, 42, 67, 0.08));
}

.card {
  overflow: hidden;
  border: 1px solid rgba(51, 78, 104, 0.78);
  border-radius: var(--radius);
  background: var(--color-panel);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.card-hover {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: var(--shadow-night), 0 0 32px rgba(245, 158, 11, 0.12);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  padding: 0.75rem 1.35rem;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-accent);
  color: #071421;
  box-shadow: var(--shadow-amber);
}

.btn-primary:hover {
  background: var(--color-accent-strong);
}

.btn-ghost {
  border-color: rgba(188, 204, 220, 0.28);
  background: rgba(16, 42, 67, 0.62);
  color: var(--color-text-primary);
}

.btn-ghost:hover {
  border-color: rgba(245, 158, 11, 0.75);
  color: #fbbf24;
}

.text-gradient {
  background: linear-gradient(90deg, #fbbf24 0%, #d97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(7, 20, 33, 0.94);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border-radius: 0.85rem;
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  font-size: 1.35rem;
  font-weight: 900;
  box-shadow: 0 0 22px rgba(245, 158, 11, 0.18);
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand-subtitle {
  color: #829ab1;
  font-size: 0.76rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.45rem;
}

.nav-link {
  position: relative;
  color: #d9e2ec;
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 0.25s ease;
}

.nav-link::after {
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--color-accent);
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fbbf24;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid rgba(188, 204, 220, 0.22);
  border-radius: 0.75rem;
  background: rgba(16, 42, 67, 0.74);
  color: var(--color-text-primary);
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0.28rem auto;
  background: currentColor;
}

.mobile-nav {
  display: none;
  padding: 0 1rem 1rem;
  background: rgba(7, 20, 33, 0.96);
  border-top: 1px solid rgba(51, 78, 104, 0.8);
}

.mobile-nav.open {
  display: grid;
  gap: 0.5rem;
}

.mobile-link {
  border-radius: 0.7rem;
  padding: 0.85rem 1rem;
  color: #d9e2ec;
  background: rgba(16, 42, 67, 0.45);
}

.mobile-link.active {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
}

.hero {
  position: relative;
  min-height: 720px;
  background: #071421;
}

.hero-stage {
  position: relative;
  min-height: 720px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 20, 33, 0.96) 0%, rgba(7, 20, 33, 0.74) 42%, rgba(7, 20, 33, 0.35) 100%),
    linear-gradient(180deg, rgba(7, 20, 33, 0.1) 0%, #0a1929 100%);
}

.hero-content {
  position: relative;
  display: grid;
  min-height: 720px;
  grid-template-columns: minmax(0, 1.08fr) minmax(270px, 0.52fr);
  gap: 3rem;
  align-items: center;
  padding-top: 5rem;
}

.hero-copy {
  max-width: 760px;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  color: #fbbf24;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 900px;
  font-size: clamp(2.3rem, 7vw, 4.85rem);
  font-weight: 950;
  letter-spacing: -0.06em;
}

.hero-copy h2 {
  margin-top: 1rem;
  font-size: clamp(1.65rem, 3.4vw, 3rem);
  color: #fbbf24;
}

.hero-copy p {
  margin-top: 1.25rem;
  max-width: 720px;
  font-size: 1.1rem;
}

.hero-pills,
.card-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-pills {
  margin-top: 1.35rem;
}

.pill,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  border: 1px solid rgba(188, 204, 220, 0.18);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  color: #d9e2ec;
  background: rgba(16, 42, 67, 0.72);
  font-size: 0.83rem;
  font-weight: 700;
}

.tag {
  min-height: 1.65rem;
  padding: 0.25rem 0.55rem;
  color: #fbd38d;
  background: rgba(245, 158, 11, 0.12);
  font-size: 0.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.hero-card {
  position: relative;
  justify-self: end;
  width: min(100%, 360px);
  aspect-ratio: 2 / 3;
  transform: perspective(900px) rotateY(-7deg);
  box-shadow: var(--shadow-night), 0 0 42px rgba(245, 158, 11, 0.18);
}

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

.hero-card span {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  border-radius: 0.7rem;
  padding: 0.85rem;
  background: rgba(7, 20, 33, 0.76);
  color: var(--color-text-primary);
  font-size: 1.1rem;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateX(-50%);
}

.hero-arrow,
.hero-dot {
  border: 1px solid rgba(188, 204, 220, 0.22);
  background: rgba(16, 42, 67, 0.74);
  color: var(--color-text-primary);
  backdrop-filter: blur(10px);
}

.hero-arrow {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border-radius: 999px;
  font-size: 1.65rem;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 0.45rem;
}

.hero-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  padding: 0;
}

.hero-dot.active {
  width: 2rem;
  border-color: rgba(245, 158, 11, 0.9);
  background: var(--color-accent);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.section-heading p {
  max-width: 680px;
  margin-top: 0.7rem;
}

.section-link {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.35rem;
  color: #fbbf24;
  font-weight: 900;
}

.section-link span {
  transition: transform 0.25s ease;
}

.section-link:hover span {
  transform: translateX(4px);
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 1.25rem;
}

.compact-grid {
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
}

.movie-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  background: #102a43;
}

.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.movie-card:hover .movie-poster img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.poster-glow {
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(7, 20, 33, 0.92));
}

.rank-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  display: grid;
  min-width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 999px;
  background: var(--color-accent);
  color: #071421;
  font-weight: 950;
}

.movie-card-info {
  display: flex;
  min-height: 13.5rem;
  flex: 1;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem;
}

.movie-card-info.compact {
  min-height: 12rem;
}

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  color: #829ab1;
  font-size: 0.78rem;
  font-weight: 800;
}

.movie-card h3 {
  font-size: 1.05rem;
}

.movie-card h3 a:hover {
  color: #fbbf24;
}

.movie-card p {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.9rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.card-tags {
  margin-top: auto;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.category-tile {
  display: flex;
  min-height: 13rem;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.1rem;
}

.category-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 0.9rem;
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  font-size: 1.45rem;
  font-weight: 900;
}

.category-tile strong {
  font-size: 1.2rem;
}

.category-preview {
  display: grid;
  gap: 0.35rem;
  margin-top: auto;
}

.category-preview a,
.category-links a {
  color: #fbd38d;
  font-size: 0.9rem;
}

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

.rank-list {
  display: grid;
  padding: 0.55rem;
}

.rank-row {
  display: grid;
  grid-template-columns: 2.3rem 3.35rem minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  border-radius: 0.75rem;
  padding: 0.65rem;
  transition: background 0.25s ease;
}

.rank-row:hover {
  background: rgba(245, 158, 11, 0.1);
}

.rank-number {
  color: #fbbf24;
  font-size: 1.05rem;
  font-weight: 950;
  text-align: center;
}

.rank-row img {
  width: 3.35rem;
  height: 4.5rem;
  border-radius: 0.55rem;
  object-fit: cover;
  background: #102a43;
}

.rank-copy {
  display: grid;
  min-width: 0;
  gap: 0.18rem;
}

.rank-copy strong {
  overflow: hidden;
  color: var(--color-text-primary);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-copy small {
  overflow: hidden;
  color: #829ab1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-score {
  color: #fbbf24;
  font-weight: 950;
}

.spotlight {
  position: sticky;
  top: 6rem;
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(150px, 0.7fr));
  gap: 0.9rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(51, 78, 104, 0.72);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(16, 42, 67, 0.62);
  backdrop-filter: blur(14px);
}

.filter-panel label {
  display: grid;
  gap: 0.4rem;
  color: #829ab1;
  font-size: 0.78rem;
  font-weight: 900;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid rgba(51, 78, 104, 0.92);
  border-radius: 0.7rem;
  outline: none;
  padding: 0.8rem 0.9rem;
  background: rgba(7, 20, 33, 0.74);
  color: var(--color-text-primary);
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: rgba(245, 158, 11, 0.8);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

.page-shell {
  padding-top: 5rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(51, 78, 104, 0.7);
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.16), transparent 28rem),
    linear-gradient(135deg, rgba(16, 42, 67, 0.94), rgba(7, 20, 33, 0.96));
}

.small-hero .container-custom {
  padding-block: 5rem 4rem;
}

.page-hero h1 {
  max-width: 920px;
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.page-hero p {
  max-width: 760px;
  margin-top: 1rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
  color: #9fb3c8;
  font-size: 0.9rem;
}

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

.category-detail-grid {
  display: grid;
  gap: 1rem;
}

.category-detail-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1rem;
}

.category-cover {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
  min-height: 220px;
}

.category-cover img {
  width: 100%;
  height: 100%;
  min-height: 105px;
  border-radius: 0.55rem;
  object-fit: cover;
  background: #102a43;
}

.category-detail-card h2 {
  margin-bottom: 0.65rem;
}

.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-block: 1rem;
}

.rank-page-list {
  margin-top: 1.5rem;
}

.detail-page {
  padding-top: 0;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  padding-top: 5rem;
  background: #071421;
}

.detail-bg {
  filter: blur(8px) saturate(0.9);
  transform: scale(1.04);
}

.detail-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 20, 33, 0.97), rgba(7, 20, 33, 0.78), rgba(7, 20, 33, 0.55)),
    linear-gradient(180deg, rgba(7, 20, 33, 0.1), #0a1929 100%);
}

.detail-hero-inner {
  position: relative;
  padding-block: 3rem 4rem;
}

.detail-intro {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.detail-poster {
  aspect-ratio: 2 / 3;
  box-shadow: var(--shadow-night), 0 0 36px rgba(245, 158, 11, 0.16);
}

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

.detail-copy h1 {
  max-width: 820px;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
}

.detail-copy p {
  max-width: 820px;
  margin-top: 1rem;
  font-size: 1.08rem;
}

.detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-block: 1.4rem;
}

.detail-stats span {
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 0.7rem;
  padding: 0.55rem 0.75rem;
  color: #fbd38d;
  background: rgba(245, 158, 11, 0.1);
  font-weight: 900;
}

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

.player-column {
  display: grid;
  gap: 1rem;
}

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

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

.player-start {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  gap: 0.8rem;
  border: 0;
  background: radial-gradient(circle, rgba(7, 20, 33, 0.35), rgba(0, 0, 0, 0.68));
  color: var(--color-text-primary);
  font-size: 1.1rem;
  font-weight: 900;
}

.player-shell.is-playing .player-start {
  opacity: 0;
  pointer-events: none;
}

.play-icon {
  display: grid;
  width: 5rem;
  height: 5rem;
  place-items: center;
  border-radius: 999px;
  background: var(--color-accent);
  color: #071421;
  font-size: 2rem;
  box-shadow: var(--shadow-amber);
}

.detail-article,
.side-card {
  padding: 1.25rem;
}

.detail-article h2,
.side-card h2 {
  margin-bottom: 0.85rem;
  font-size: 1.45rem;
}

.detail-article h2:not(:first-child) {
  margin-top: 1.35rem;
}

.detail-tags {
  margin-top: 1.25rem;
}

.detail-side {
  display: grid;
  gap: 1rem;
}

.side-card dl {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.side-card dl div {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 0.75rem;
  border-bottom: 1px solid rgba(51, 78, 104, 0.55);
  padding-bottom: 0.75rem;
}

.side-card dt {
  color: #829ab1;
  font-weight: 900;
}

.side-card dd {
  margin: 0;
  color: var(--color-text-primary);
}

.side-rank .rank-row {
  grid-template-columns: 1.8rem 2.8rem minmax(0, 1fr);
}

.side-rank .rank-row img {
  width: 2.8rem;
  height: 3.8rem;
}

.side-rank .rank-score {
  display: none;
}

.site-footer {
  border-top: 1px solid rgba(51, 78, 104, 0.78);
  background: rgba(7, 20, 33, 0.95);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 0.6fr 0.8fr;
  gap: 1.5rem;
  padding-block: 2.5rem;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
  font-weight: 950;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

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

.footer-bottom {
  border-top: 1px solid rgba(51, 78, 104, 0.58);
  padding-block: 1rem;
  color: #829ab1;
  font-size: 0.9rem;
}

[hidden] {
  display: none !important;
}

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

  .nav-toggle {
    display: inline-block;
  }

  .hero-content,
  .ranking-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .spotlight {
    position: relative;
    top: auto;
    justify-self: start;
    max-width: 280px;
  }

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

@media (max-width: 760px) {
  .container-custom {
    padding-inline: 0.9rem;
  }

  .section-spacing {
    padding-block: 3rem;
  }

  .header-inner {
    min-height: 4.25rem;
  }

  .brand-title {
    font-size: 1.12rem;
  }

  .brand-subtitle {
    display: none;
  }

  .hero,
  .hero-stage,
  .hero-content {
    min-height: 760px;
  }

  .hero-content {
    gap: 1.5rem;
    padding-top: 4.5rem;
  }

  .hero-copy h1 {
    font-size: 2.35rem;
  }

  .hero-copy h2 {
    font-size: 1.7rem;
  }

  .hero-card {
    width: 190px;
  }

  .section-heading {
    display: grid;
  }

  .movie-grid,
  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .movie-card-info,
  .movie-card-info.compact {
    min-height: 12.5rem;
    padding: 0.85rem;
  }

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

  .category-detail-card,
  .detail-intro,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .category-cover {
    min-height: 180px;
  }

  .detail-hero {
    min-height: auto;
  }

  .detail-hero-inner {
    padding-block: 2rem 3rem;
  }

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

  .rank-row {
    grid-template-columns: 2rem 3rem minmax(0, 1fr);
  }

  .rank-score {
    display: none;
  }

  .rank-row img {
    width: 3rem;
    height: 4rem;
  }
}

@media (max-width: 430px) {
  .movie-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }
}
