:root {
  --site-bg: #0f1419;
  --panel-bg: rgba(15, 23, 42, 0.72);
  --soft-panel: rgba(30, 41, 59, 0.42);
  --line: rgba(148, 163, 184, 0.22);
  --muted: #94a3b8;
  --text: #e2e8f0;
  --strong: #ffffff;
  --accent: #d6dde8;
  --accent-2: #8b9bb2;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
  --radius-xl: 1.25rem;
  --radius-lg: 1rem;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(148, 163, 184, 0.14), transparent 34rem),
    radial-gradient(circle at 95% 10%, rgba(71, 85, 105, 0.24), transparent 28rem),
    var(--site-bg);
  color: var(--text);
}

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

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-left: 0;
  border-right: 0;
  border-top: 0;
}

.header-inner {
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--strong);
  text-decoration: none;
  min-width: max-content;
}

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid rgba(226, 232, 240, 0.35);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  box-shadow: 0 0 24px rgba(192, 192, 192, 0.14);
  font-size: 0.88rem;
}

.brand-title {
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-link,
.mobile-link {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

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

.header-search {
  width: min(22rem, 28vw);
}

.header-search input,
.mobile-search input,
.category-filter-search,
.search-page-form input {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.58);
  color: #e2e8f0;
  padding: 0.72rem 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.category-filter-search:focus,
.search-page-form input:focus {
  border-color: rgba(226, 232, 240, 0.58);
  box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.1);
}

.nav-toggle {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.72);
  color: #ffffff;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  padding: 0 1rem 1rem;
  border-left: 0;
  border-right: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

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

.mobile-nav {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.8rem;
}

.mobile-link {
  padding: 0.75rem 0.85rem;
  border-radius: 0.9rem;
  background: rgba(15, 23, 42, 0.42);
}

.site-main {
  min-height: 100vh;
}

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

.hero-carousel {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  background: #0f1419;
}

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

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

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.42) saturate(1.04);
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 20, 25, 0.95), rgba(15, 20, 25, 0.52), rgba(15, 20, 25, 0.72)),
    linear-gradient(0deg, #0f1419 0%, rgba(15, 20, 25, 0.28) 38%, rgba(15, 20, 25, 0.45) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 24rem);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-top: 6rem;
  padding-bottom: 4.5rem;
}

.hero-copy {
  max-width: 48rem;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: max-content;
  color: #d8dee8;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.hero-copy h1,
.page-hero h1,
.category-hero h1,
.detail-title-block h1 {
  margin: 0;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 7vw, 6.8rem);
}

.hero-copy p {
  max-width: 42rem;
  color: #cbd5e1;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.9;
  margin: 1.25rem 0 1.4rem;
}

.hero-tags,
.card-meta,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.hero-tags span,
.tag-row span {
  border: 1px solid rgba(203, 213, 225, 0.22);
  background: rgba(15, 23, 42, 0.36);
  color: #dbe4f0;
  border-radius: 999px;
  padding: 0.38rem 0.68rem;
  font-size: 0.82rem;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  min-height: 2.8rem;
  padding: 0.78rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.primary-button {
  color: #0f172a;
  background: linear-gradient(135deg, #f8fafc, #aeb8c8);
  border: 0;
}

.ghost-button {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.18);
  backdrop-filter: blur(12px);
}

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

.hero-poster {
  position: relative;
  display: block;
  border-radius: 1.6rem;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.22);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
  background: rgba(15, 23, 42, 0.5);
}

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

.hero-control {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.6rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-arrow,
.hero-dot {
  border: 1px solid rgba(226, 232, 240, 0.2);
  background: rgba(15, 23, 42, 0.52);
  color: #ffffff;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.hero-arrow {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  font-size: 1.7rem;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

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

.hero-dot.active {
  width: 2.2rem;
  background: #e2e8f0;
  opacity: 1;
}

.content-section {
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.section-heading,
.preview-head,
.category-hero-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.section-heading h2,
.preview-head h2,
.side-panel h2,
.detail-section h2,
.info-panel h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 850;
  letter-spacing: -0.03em;
}

.section-heading a,
.preview-head a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 700;
}

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(30, 41, 59, 0.32);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.card-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  color: #ffffff;
  text-decoration: none;
  background: rgba(15, 23, 42, 0.68);
}

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

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

.movie-card:hover .card-cover img,
.category-tile:hover img,
.rank-thumb:hover img,
.poster-panel:hover img {
  transform: scale(1.08);
}

.card-gradient,
.category-shade,
.category-hero-mask,
.detail-hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.06) 58%, rgba(0, 0, 0, 0.24));
}

.play-chip,
.rank-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(226, 232, 240, 0.22);
  backdrop-filter: blur(10px);
}

.play-chip {
  right: 0.75rem;
  bottom: 0.75rem;
  width: 2rem;
  height: 2rem;
}

.rank-badge {
  left: 0.75rem;
  top: 0.75rem;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.55rem;
  font-weight: 900;
}

.card-body {
  padding: 1rem;
}

.card-meta {
  color: #94a3b8;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.card-meta span + span::before {
  content: "·";
  margin-right: 0.55rem;
  color: rgba(148, 163, 184, 0.65);
}

.card-body h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  line-height: 1.35;
  color: #ffffff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-body h3 a,
.rank-info h3 a,
.next-panel a {
  color: inherit;
  text-decoration: none;
}

.card-body p {
  margin: 0 0 0.8rem;
  color: #aab6c7;
  font-size: 0.9rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tag-row span {
  padding: 0.28rem 0.55rem;
  font-size: 0.74rem;
}

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

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

.category-tile {
  position: relative;
  min-height: 12rem;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #ffffff;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(51, 65, 85, 0.9), rgba(15, 23, 42, 0.9));
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  opacity: 0.68;
}

.category-label,
.category-desc {
  position: absolute;
  left: 1rem;
  right: 1rem;
  z-index: 2;
}

.category-label {
  bottom: 3.4rem;
  font-size: 1.25rem;
  font-weight: 900;
}

.category-desc {
  bottom: 1rem;
  color: #cbd5e1;
  font-size: 0.85rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(18rem, 0.8fr);
  gap: 1.5rem;
  align-items: start;
}

.rank-list {
  display: grid;
  gap: 0.85rem;
}

.rank-row {
  display: grid;
  grid-template-columns: 3rem 5.8rem minmax(0, 1fr) 4rem;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem;
  border-radius: var(--radius-lg);
  background: rgba(30, 41, 59, 0.3);
}

.rank-num {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 900;
  text-align: center;
}

.rank-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 0.85rem;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.7);
}

.rank-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.rank-info h3 {
  margin: 0 0 0.35rem;
  color: #ffffff;
  font-size: 1rem;
}

.rank-info p {
  margin: 0 0 0.35rem;
  color: #aab6c7;
  font-size: 0.86rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-score {
  justify-self: end;
  color: #ffffff;
  font-weight: 900;
  font-size: 1.1rem;
}

.side-panel,
.detail-section,
.player-card,
.poster-panel,
.info-panel,
.next-panel,
.category-preview {
  border-radius: var(--radius-xl);
  background: rgba(30, 41, 59, 0.3);
}

.side-panel {
  padding: 1.35rem;
  position: sticky;
  top: 6rem;
}

.side-panel p,
.preview-head p,
.page-hero p,
.category-hero p,
.detail-title-block p,
.detail-section p,
.footer-brand p,
.site-footer p {
  color: #aab6c7;
  line-height: 1.8;
}

.side-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.side-links a {
  color: #e2e8f0;
  text-decoration: none;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  background: rgba(15, 23, 42, 0.35);
}

.masonry-grid,
.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.page-hero {
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
}

.page-hero h1 {
  font-size: clamp(2.3rem, 6vw, 4.8rem);
}

.page-hero-copy {
  max-width: 52rem;
}

.category-previews {
  display: grid;
  gap: 1.2rem;
  padding-bottom: 4rem;
}

.category-preview {
  padding: 1.25rem;
}

.category-hero,
.detail-hero {
  position: relative;
  min-height: 24rem;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #0f1419;
}

.category-hero > img,
.detail-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
}

.category-hero-mask,
.detail-hero-mask {
  background:
    linear-gradient(0deg, #0f1419 0%, rgba(15, 20, 25, 0.18) 60%, rgba(15, 20, 25, 0.56) 100%),
    linear-gradient(90deg, rgba(15, 20, 25, 0.86), rgba(15, 20, 25, 0.28));
}

.category-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 8rem;
  padding-bottom: 3rem;
  width: 100%;
}

.category-hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
}

.filter-panel {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  border-radius: var(--radius-xl);
}

.filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.filter-btn {
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.45);
  color: #dbe4f0;
  border-radius: 999px;
  padding: 0.52rem 0.85rem;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  background: rgba(226, 232, 240, 0.16);
  color: #ffffff;
}

.empty-state {
  display: none;
  text-align: center;
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-xl);
  padding: 2rem;
  background: rgba(30, 41, 59, 0.28);
}

.empty-state.show {
  display: block;
}

.full-rank {
  gap: 0.7rem;
}

.search-page-form {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.25rem;
}

.search-page-form input {
  border-radius: 1rem;
}

.detail-hero {
  min-height: 34rem;
}

.detail-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 8rem;
  padding-bottom: 3rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
}

.breadcrumb a {
  color: #e2e8f0;
  text-decoration: none;
}

.detail-title-block {
  max-width: 56rem;
}

.detail-title-block h1 {
  font-size: clamp(2.4rem, 7vw, 5.6rem);
}

.detail-title-block p {
  font-size: clamp(1rem, 2vw, 1.22rem);
  margin: 1rem 0 1.25rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  gap: 1.5rem;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.detail-main,
.detail-side {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.player-card {
  padding: 0.75rem;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: #020617;
  aspect-ratio: 16 / 9;
}

.movie-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #020617;
  object-fit: contain;
}

.player-start {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.25), rgba(2, 6, 23, 0.72));
  cursor: pointer;
  font-weight: 900;
  font-size: 1.05rem;
}

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

.player-icon {
  width: 4.8rem;
  height: 4.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #0f172a;
  background: linear-gradient(135deg, #ffffff, #aeb8c8);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  font-size: 1.8rem;
}

.player-status {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 4;
  color: #cbd5e1;
  font-size: 0.86rem;
  pointer-events: none;
}

.detail-section {
  padding: 1.25rem;
}

.detail-section h2,
.info-panel h2 {
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}

.detail-section p {
  margin: 0;
}

.poster-panel,
.info-panel,
.next-panel {
  padding: 1rem;
}

.poster-panel img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 1rem;
  transition: transform 0.4s ease;
}

.wide {
  width: 100%;
}

.info-panel dl {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1rem;
}

.info-panel dl div {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 0.75rem;
}

.info-panel dt {
  color: #94a3b8;
}

.info-panel dd {
  margin: 0;
  color: #e2e8f0;
}

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

.next-panel {
  display: grid;
  gap: 0.65rem;
}

.next-panel a {
  color: #e2e8f0;
  line-height: 1.5;
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.42);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 1.4fr) 1fr 1fr 1fr;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 2.4rem;
}

.site-footer h3 {
  margin: 0 0 0.8rem;
  color: #ffffff;
  font-size: 1rem;
}

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

.site-footer a {
  color: #aab6c7;
  text-decoration: none;
}

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

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  text-align: center;
  padding: 1rem;
  color: #94a3b8;
  font-size: 0.9rem;
}

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

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

@media (max-width: 900px) {
  .desktop-nav,
  .header-search {
    display: none;
  }

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

  .header-inner {
    height: 4rem;
  }

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

  .hero-poster {
    display: none;
  }

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

  .side-panel,
  .detail-side {
    position: static;
  }

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

@media (max-width: 640px) {
  .inner-page {
    padding-top: 4rem;
  }

  .hero-carousel {
    min-height: 86vh;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 14vw, 4.2rem);
  }

  .hero-actions,
  .search-page-form,
  .section-heading,
  .preview-head,
  .category-hero-content {
    align-items: stretch;
    flex-direction: column;
  }

  .movie-grid,
  .masonry-grid,
  .preview-grid {
    grid-template-columns: 1fr;
  }

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

  .rank-score {
    grid-column: 3;
    justify-self: start;
    font-size: 0.95rem;
  }

  .category-tile {
    min-height: 10rem;
  }

  .detail-hero {
    min-height: 30rem;
  }

  .detail-title-block h1,
  .category-hero h1,
  .page-hero h1 {
    font-size: clamp(2rem, 12vw, 3.6rem);
  }

  .poster-panel {
    display: none;
  }
}
