:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #eefcf8;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --dark: #020617;
  --dark-soft: #0f172a;
  --emerald: #10b981;
  --emerald-dark: #059669;
  --cyan: #06b6d4;
  --shadow: 0 22px 55px rgba(15, 23, 42, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 45%, #f0fdfa 100%);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #e5e7eb;
  background: rgba(2, 6, 23, 0.94);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  box-shadow: 0 16px 30px rgba(16, 185, 129, 0.28);
}

.brand-text {
  font-size: 1.2rem;
  background: linear-gradient(90deg, #34d399, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  color: #cbd5e1;
  font-weight: 700;
  transition: color 0.2s ease;
}

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

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.8);
  padding: 10px;
}

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

.quick-nav {
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.quick-nav-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 10px 0;
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.nav-pill {
  flex: 0 0 auto;
  padding: 7px 14px;
  color: #d1fae5;
  border: 1px solid rgba(16, 185, 129, 0.26);
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  font-size: 0.92rem;
}

.spotlight {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
  background: #020617;
}

.spotlight-track,
.spotlight-slide {
  position: absolute;
  inset: 0;
}

.spotlight-slide {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.8s ease, transform 1.1s ease;
  pointer-events: none;
}

.spotlight-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.spotlight-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-layer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(16, 185, 129, 0.34), transparent 28%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.88) 0%, rgba(2, 6, 23, 0.68) 46%, rgba(2, 6, 23, 0.16) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.84) 0%, transparent 42%);
}

.spotlight-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  padding-top: 86px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  max-width: 1180px;
}

.spotlight-content h1 {
  max-width: 800px;
  margin: 0 0 14px;
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.08em;
}

.spotlight-content h2 {
  max-width: 680px;
  margin: 0 0 16px;
  color: #6ee7b7;
  font-size: clamp(1.6rem, 3.4vw, 3.25rem);
  line-height: 1.08;
}

.spotlight-content p {
  max-width: 720px;
  margin: 0;
  color: #dbeafe;
  font-size: clamp(1rem, 1.65vw, 1.28rem);
}

.spotlight-tags,
.detail-meta,
.tag-row,
.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.spotlight-tags {
  margin-bottom: 18px;
}

.spotlight-tags span,
.detail-meta span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 700;
}

.spotlight-tags span {
  padding: 7px 12px;
  color: #ecfeff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

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

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  box-shadow: 0 18px 38px rgba(16, 185, 129, 0.32);
}

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

.primary-button.slim {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.92rem;
}

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

.text-button {
  min-height: 40px;
  padding: 0;
  color: var(--emerald-dark);
}

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

.slider-dot {
  width: 34px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
}

.slider-dot.is-active {
  background: #34d399;
}

.spotlight-search {
  position: absolute;
  left: 50%;
  bottom: 36px;
  z-index: 5;
  width: min(760px, calc(100% - 32px));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
}

.spotlight-search input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid var(--line);
  outline: none;
  color: var(--text);
  background: #fff;
}

.spotlight-search input {
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
}

.spotlight-search button {
  min-height: 48px;
  padding: 0 24px;
  color: #fff;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  font-weight: 800;
  cursor: pointer;
}

.page-section {
  padding: 72px 0;
}

.page-section.tinted {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(6, 182, 212, 0.08));
}

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

.eyebrow {
  margin: 0 0 6px;
  color: var(--emerald-dark);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading h2,
.rank-head h2,
.detail-card h1,
.inner-hero h1 {
  margin: 0;
  color: var(--text);
  line-height: 1.08;
}

.section-heading h2,
.inner-hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.045em;
}

.section-more {
  color: var(--emerald-dark);
  font-weight: 800;
}

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

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

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

.movie-card {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.32);
  box-shadow: var(--shadow);
}

.movie-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--dark-soft);
}

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

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

.movie-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.64), transparent 56%);
}

.movie-year,
.movie-type {
  position: absolute;
  z-index: 2;
  top: 12px;
  padding: 5px 10px;
  color: #ecfeff;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.68);
  font-size: 0.82rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.movie-year {
  left: 12px;
}

.movie-type {
  right: 12px;
}

.play-mark {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--emerald-dark);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.movie-info {
  padding: 18px;
}

.movie-info h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.movie-info p {
  min-height: 3.2em;
  margin: 0 0 14px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta {
  color: #64748b;
  font-size: 0.86rem;
}

.movie-meta span {
  max-width: 100%;
}

.movie-card.compact .movie-thumb {
  aspect-ratio: 16 / 9;
}

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

.category-card {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.category-card h3 {
  position: relative;
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.category-card p,
.category-card small {
  position: relative;
  color: var(--muted);
}

.category-card small {
  display: block;
  margin-top: 16px;
}

.category-glow {
  position: absolute;
  width: 160px;
  height: 160px;
  right: -70px;
  top: -70px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.26), transparent 68%);
}

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

.rank-panel {
  position: sticky;
  top: 122px;
  padding: 24px;
  border-radius: var(--radius-lg);
  color: #e2e8f0;
  background:
    radial-gradient(circle at 80% 0%, rgba(16, 185, 129, 0.26), transparent 32%),
    linear-gradient(145deg, #020617, #0f172a);
  box-shadow: var(--shadow);
}

.rank-head h2 {
  color: #fff;
  font-size: 2rem;
}

.rank-list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.rank-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.rank-no {
  grid-row: span 2;
  color: #6ee7b7;
  font-size: 1.25rem;
  font-weight: 900;
}

.rank-title {
  overflow: hidden;
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-meta,
.rank-heat {
  color: #cbd5e1;
  font-size: 0.86rem;
}

.rank-heat {
  color: #67e8f9;
}

.inner-hero {
  padding: 86px 0 64px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 16%, rgba(16, 185, 129, 0.34), transparent 30%),
    radial-gradient(circle at 82% 14%, rgba(6, 182, 212, 0.22), transparent 26%),
    linear-gradient(135deg, #020617, #0f172a 70%, #064e3b);
}

.inner-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 14px 0 0;
  color: #cbd5e1;
  font-size: 1.12rem;
}

.inner-hero h1 {
  color: #fff;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #cbd5e1;
  font-size: 0.92rem;
}

.breadcrumb a:hover {
  color: #6ee7b7;
}

.category-overview-grid {
  display: grid;
  gap: 24px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.poster-stack {
  position: relative;
  min-height: 170px;
}

.poster-stack img {
  position: absolute;
  width: 74%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 6px solid #fff;
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

.poster-stack img:nth-child(1) {
  left: 0;
  top: 28px;
  z-index: 3;
}

.poster-stack img:nth-child(2) {
  right: 0;
  top: 0;
  z-index: 2;
}

.poster-stack img:nth-child(3) {
  right: 22px;
  bottom: 0;
  z-index: 1;
}

.category-overview-card h2 {
  margin: 0 0 10px;
  font-size: 2rem;
}

.category-overview-card p {
  color: var(--muted);
}

.sample-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.sample-links a {
  padding: 6px 11px;
  border-radius: 999px;
  color: #047857;
  background: #d1fae5;
  font-size: 0.88rem;
  font-weight: 700;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px;
  gap: 12px;
  margin-bottom: 28px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.filter-bar.wide {
  grid-template-columns: minmax(240px, 1fr) 170px 170px 150px;
}

.filter-bar input,
.filter-bar select {
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
}

.empty-state {
  margin-top: 24px;
  padding: 36px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 22px;
  background: #fff;
}

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

.ranking-card {
  display: grid;
  grid-template-columns: 72px 148px minmax(0, 1fr) 110px;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.ranking-number {
  color: var(--emerald-dark);
  font-size: 1.8rem;
  font-weight: 900;
}

.ranking-card img {
  width: 148px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
}

.ranking-body {
  display: grid;
  gap: 5px;
}

.ranking-body strong {
  font-size: 1.15rem;
}

.ranking-body em {
  color: var(--muted);
  font-style: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ranking-body small {
  color: #64748b;
}

.ranking-score {
  justify-self: end;
  color: #0891b2;
  font-weight: 900;
}

.detail-wrap {
  padding: 38px 0 72px;
}

.detail-wrap .breadcrumb {
  color: #64748b;
}

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

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

.watch-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #020617;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.watch-panel video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #020617;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #fff;
  background:
    radial-gradient(circle at center, rgba(16, 185, 129, 0.28), transparent 32%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.58), rgba(2, 6, 23, 0.28));
  cursor: pointer;
}

.play-overlay span {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  padding-left: 5px;
  border-radius: 50%;
  color: #064e3b;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.35);
  font-size: 2rem;
}

.watch-panel.is-playing .play-overlay {
  display: none;
}

.detail-card,
.side-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

.detail-card {
  padding: 30px;
}

.detail-title-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
}

.detail-card h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.detail-card h2 {
  margin: 30px 0 10px;
  font-size: 1.35rem;
}

.detail-card p {
  margin: 0;
  color: #334155;
  font-size: 1.02rem;
}

.detail-card .lead-text {
  margin-top: 24px;
  padding: 18px;
  color: #0f172a;
  border-left: 4px solid var(--emerald);
  border-radius: 12px;
  background: #ecfdf5;
  font-weight: 700;
}

.detail-meta {
  margin-top: 20px;
}

.detail-meta span,
.tag-row span {
  padding: 7px 12px;
  color: #047857;
  background: #d1fae5;
}

.tag-row {
  margin-top: 28px;
}

.detail-side {
  position: sticky;
  top: 126px;
  display: grid;
  gap: 18px;
}

.side-poster {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.side-box {
  padding: 22px;
}

.side-box h2 {
  margin: 0 0 14px;
}

.side-box dl {
  margin: 0;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px 14px;
}

.side-box dt {
  color: #64748b;
  font-weight: 700;
}

.side-box dd {
  margin: 0;
  min-width: 0;
}

.side-box a {
  color: var(--emerald-dark);
  font-weight: 800;
}

.related-section {
  padding-bottom: 0;
}

.site-footer {
  color: #cbd5e1;
  background: linear-gradient(135deg, #020617, #0f172a);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px 220px;
  gap: 36px;
}

.footer-logo {
  margin-bottom: 12px;
  color: #6ee7b7;
  font-size: 1.5rem;
  font-weight: 900;
}

.footer-brand p {
  max-width: 540px;
  margin: 0;
  color: #94a3b8;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links h3 {
  margin: 0 0 8px;
  color: #fff;
}

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

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

[hidden] {
  display: none !important;
}

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

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

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

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

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

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

  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 70px;
    display: none;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.96);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
    gap: 12px;
  }

  .quick-nav {
    display: none;
  }

  .spotlight {
    min-height: 78vh;
  }

  .spotlight-content {
    padding-top: 46px;
  }

  .spotlight-content h1 {
    letter-spacing: -0.05em;
  }

  .spotlight-actions {
    gap: 10px;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .spotlight-search {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .spotlight-dots {
    bottom: 142px;
  }

  .page-section {
    padding: 48px 0;
  }

  .section-heading,
  .detail-title-row {
    display: grid;
    align-items: start;
  }

  .movie-grid,
  .movie-grid.small-grid,
  .catalog-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .movie-info {
    padding: 14px;
  }

  .movie-info p {
    min-height: auto;
  }

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

  .poster-stack {
    min-height: 160px;
  }

  .filter-bar,
  .filter-bar.wide {
    grid-template-columns: 1fr;
  }

  .ranking-card {
    grid-template-columns: 54px 92px minmax(0, 1fr);
  }

  .ranking-card img {
    width: 92px;
  }

  .ranking-score {
    grid-column: 3;
    justify-self: start;
  }

  .detail-card {
    padding: 22px;
  }

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

@media (max-width: 480px) {
  .movie-grid,
  .movie-grid.small-grid,
  .catalog-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .spotlight-content h1 {
    font-size: 2.55rem;
  }

  .spotlight-content h2 {
    font-size: 1.55rem;
  }

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

  .ranking-number,
  .ranking-score {
    justify-self: start;
  }

  .ranking-card img {
    width: 100%;
  }
}
