:root {
  color-scheme: dark;
  --bg-0: #020617;
  --bg-1: #0f172a;
  --bg-2: #111827;
  --card: rgba(15, 23, 42, 0.72);
  --card-strong: rgba(15, 23, 42, 0.92);
  --line: rgba(51, 65, 85, 0.86);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --soft: #94a3b8;
  --teal: #2dd4bf;
  --teal-strong: #14b8a6;
  --blue: #3b82f6;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.16), transparent 32rem),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 42%, var(--bg-0));
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(51, 65, 85, 0.7);
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(16px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(1280px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  box-shadow: 0 12px 30px rgba(20, 184, 166, 0.26);
}

.brand-text {
  font-size: 1.08rem;
}

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

.nav-link,
.mobile-link {
  color: var(--muted);
  font-weight: 650;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link {
  padding: 9px 14px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--teal);
  background: rgba(45, 212, 191, 0.1);
}

.header-search,
.mobile-search,
.hero-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.hero-search input,
.filter-bar input,
.filter-bar select {
  color: var(--text);
  border: 1px solid var(--line);
  outline: none;
  background: rgba(15, 23, 42, 0.82);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input {
  width: 176px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
}

.header-search button,
.mobile-search button,
.hero-search button,
.filter-bar button {
  border: 0;
  color: #04111f;
  font-weight: 800;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), #67e8f9);
  cursor: pointer;
}

.header-search button {
  height: 38px;
  padding: 0 16px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.8);
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: var(--text);
}

.mobile-nav {
  display: none;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 16px;
}

.mobile-nav.is-open {
  display: grid;
  gap: 10px;
}

.mobile-link {
  display: block;
  padding: 12px 14px;
}

.mobile-search input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 14px;
  border-radius: 14px;
}

.mobile-search button {
  height: 42px;
  padding: 0 18px;
}

.hero {
  position: relative;
  min-height: 700px;
  height: 78vh;
  overflow: hidden;
  background: var(--bg-0);
}

.hero-track,
.hero-slide,
.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transform: scale(1.03);
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.72) 42%, rgba(2, 6, 23, 0.18)),
    linear-gradient(0deg, rgba(2, 6, 23, 1), transparent 34%);
}

.hero-content {
  position: absolute;
  z-index: 3;
  top: 54%;
  left: max(24px, calc((100vw - 1280px) / 2 + 24px));
  width: min(640px, calc(100% - 48px));
  transform: translateY(-50%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.hero h1 {
  max-width: 12em;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
}

.hero-summary {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.24rem);
  line-height: 1.8;
}

.hero-tags,
.tag-list,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-tags {
  margin: 26px 0 0;
}

.hero-tags span,
.tag-list span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  color: #bffcf5;
  border: 1px solid rgba(45, 212, 191, 0.24);
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.12);
}

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

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

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

.btn-primary {
  color: #03111f;
  background: linear-gradient(135deg, var(--teal), #67e8f9);
  box-shadow: 0 16px 40px rgba(20, 184, 166, 0.3);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid rgba(203, 213, 225, 0.22);
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(10px);
}

.btn-link {
  color: var(--teal);
}

.hero-panel {
  position: absolute;
  z-index: 4;
  right: max(24px, calc((100vw - 1280px) / 2 + 24px));
  bottom: 80px;
  display: grid;
  gap: 16px;
  width: min(430px, calc(100% - 48px));
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.6);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  border-radius: 16px;
}

.hero-search button {
  height: 48px;
  padding: 0 20px;
}

.hero-thumbs {
  display: grid;
  gap: 10px;
}

.hero-thumb {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 12px;
  padding: 8px;
  color: var(--muted);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.48);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero-thumb:hover {
  color: var(--text);
  background: rgba(20, 184, 166, 0.13);
  transform: translateX(-3px);
}

.hero-thumb img {
  width: 74px;
  height: 52px;
  object-fit: cover;
  border-radius: 12px;
}

.hero-thumb span {
  overflow: hidden;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-dots {
  position: absolute;
  z-index: 5;
  left: max(24px, calc((100vw - 1280px) / 2 + 24px));
  bottom: 54px;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 42px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(203, 213, 225, 0.36);
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--teal);
}

.content-section {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 74px 0;
}

.page-main {
  padding-top: 68px;
}

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

.section-head span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -0.04em;
}

.section-head p {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--soft);
  line-height: 1.8;
}

.section-head > a {
  min-width: max-content;
  color: var(--teal);
  font-weight: 800;
}

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

.category-tile,
.category-card {
  min-height: 156px;
  padding: 24px;
  border: 1px solid rgba(51, 65, 85, 0.8);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(20, 184, 166, 0.12), rgba(59, 130, 246, 0.06)),
    rgba(15, 23, 42, 0.72);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.category-tile:hover,
.category-card:hover {
  border-color: rgba(45, 212, 191, 0.52);
  transform: translateY(-4px);
}

.category-tile strong,
.category-card span {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 850;
}

.category-tile span,
.category-card p {
  margin: 0;
  color: var(--soft);
  line-height: 1.7;
}

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

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

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

.movie-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(51, 65, 85, 0.82);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  border-color: rgba(45, 212, 191, 0.48);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  transform: translateY(-6px);
}

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

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

.movie-card:hover .poster-link img {
  filter: saturate(1.1);
  transform: scale(1.06);
}

.poster-shade {
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.88), transparent);
}

.card-badge,
.card-year {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.card-badge {
  top: 12px;
  left: 12px;
  color: #bffcf5;
  background: rgba(20, 184, 166, 0.22);
}

.card-year {
  right: 12px;
  bottom: 12px;
  color: #ffffff;
  background: rgba(2, 6, 23, 0.58);
}

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

.movie-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.movie-card h3 a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-meta,
.movie-desc {
  margin: 8px 0 0;
  color: var(--soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

.movie-desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.tag-list {
  margin-top: 12px;
}

.tag-list span {
  min-height: 26px;
  padding: 3px 9px;
  font-size: 0.76rem;
}

.split-layout,
.ranking-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 34px;
  align-items: start;
}

.ranking-layout {
  grid-template-columns: 0.82fr 1.18fr;
}

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

.rank-list-large {
  gap: 14px;
}

.rank-item {
  display: grid;
  grid-template-columns: 48px 68px 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(51, 65, 85, 0.8);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.72);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.rank-item:hover {
  border-color: rgba(45, 212, 191, 0.5);
  background: rgba(20, 184, 166, 0.09);
  transform: translateX(4px);
}

.rank-number {
  color: var(--teal);
  font-size: 1.35rem;
  font-weight: 900;
  text-align: center;
}

.rank-item img {
  width: 68px;
  height: 88px;
  object-fit: cover;
  border-radius: 12px;
}

.rank-copy {
  min-width: 0;
}

.rank-copy strong,
.rank-copy em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-copy strong {
  font-size: 1rem;
}

.rank-copy em {
  margin-top: 6px;
  color: var(--soft);
  font-size: 0.86rem;
  font-style: normal;
}

.filter-section {
  padding-top: 38px;
}

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

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

.filter-bar input:focus,
.filter-bar select:focus,
.header-search input:focus,
.mobile-search input:focus,
.hero-search input:focus {
  border-color: rgba(45, 212, 191, 0.72);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.1);
}

.movie-card.is-hidden {
  display: none;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(51, 65, 85, 0.8);
  background:
    radial-gradient(circle at top right, rgba(45, 212, 191, 0.14), transparent 30rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.94));
}

.small-hero {
  padding: 94px max(24px, calc((100vw - 1280px) / 2 + 24px)) 76px;
}

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

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.85;
}

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

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

.detail-main {
  padding-top: 68px;
}

.detail-hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background: var(--bg-0);
}

.detail-bg,
.detail-hero-shade {
  position: absolute;
  inset: 0;
}

.detail-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px) saturate(0.9);
  transform: scale(1.04);
}

.detail-hero-shade {
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.74) 52%, rgba(2, 6, 23, 0.28)),
    linear-gradient(0deg, rgba(2, 6, 23, 1), transparent 42%);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: center;
  gap: 46px;
  width: min(1180px, calc(100% - 32px));
  min-height: 660px;
  margin: 0 auto;
  padding: 70px 0;
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid rgba(203, 213, 225, 0.18);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--soft);
  font-size: 0.94rem;
}

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

.detail-copy h1 {
  max-width: 900px;
  font-size: clamp(2.4rem, 6vw, 5.8rem);
}

.detail-one-line {
  max-width: 850px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.85;
}

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

.detail-tags {
  margin-top: 16px;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 34px;
  align-items: start;
}

.player-wrap,
.movie-article {
  min-width: 0;
}

.player-shell {
  position: sticky;
  top: 92px;
  overflow: hidden;
  border: 1px solid rgba(45, 212, 191, 0.24);
  border-radius: 26px;
  background: #020617;
  box-shadow: var(--shadow);
}

.movie-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  cursor: pointer;
}

.player-start {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.16), rgba(2, 6, 23, 0.55));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-start span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  padding-left: 6px;
  color: #03111f;
  border-radius: 999px;
  font-size: 2.2rem;
  background: linear-gradient(135deg, var(--teal), #67e8f9);
  box-shadow: 0 18px 60px rgba(45, 212, 191, 0.36);
}

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

.movie-article {
  padding: 28px;
  border: 1px solid rgba(51, 65, 85, 0.8);
  border-radius: 26px;
  background: rgba(15, 23, 42, 0.72);
}

.movie-article h2 {
  margin: 0 0 14px;
  font-size: 1.4rem;
}

.movie-article h2:not(:first-child) {
  margin-top: 28px;
}

.movie-article p {
  margin: 0;
  color: var(--muted);
  line-height: 2;
}

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

.site-footer {
  margin-top: 40px;
  border-top: 1px solid rgba(51, 65, 85, 0.84);
  background: rgba(2, 6, 23, 0.82);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 34px;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0;
}

.footer-inner p {
  max-width: 440px;
  margin: 16px 0 0;
  color: var(--soft);
  line-height: 1.8;
}

.footer-inner h2 {
  margin: 0 0 16px;
  font-size: 1rem;
}

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

.footer-links a {
  color: var(--soft);
}

.footer-links a:hover {
  color: var(--teal);
}

.copyright {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  color: #64748b;
  border-top: 1px solid rgba(51, 65, 85, 0.64);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 1180px) {
  .header-search {
    display: none;
  }

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

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

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

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: 820px;
    height: auto;
  }

  .hero-content {
    top: 43%;
  }

  .hero-panel {
    right: 24px;
    bottom: 84px;
    left: 24px;
    width: auto;
  }

  .hero-dots {
    bottom: 34px;
  }

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

  .detail-hero-inner {
    gap: 28px;
    padding-top: 44px;
  }

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

  .player-shell {
    position: relative;
    top: auto;
  }

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

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

@media (max-width: 720px) {
  .site-nav {
    width: min(100% - 24px, 1280px);
    height: 64px;
  }

  .brand-text {
    font-size: 1rem;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    top: 39%;
    left: 18px;
    width: calc(100% - 36px);
  }

  .hero-summary {
    line-height: 1.7;
  }

  .hero-panel {
    right: 14px;
    bottom: 74px;
    left: 14px;
    padding: 14px;
  }

  .hero-thumbs {
    display: none;
  }

  .hero-actions,
  .page-actions {
    gap: 10px;
  }

  .btn {
    min-height: 42px;
    padding: 0 16px;
  }

  .content-section {
    width: min(100% - 24px, 1280px);
    padding: 50px 0;
  }

  .section-head {
    display: block;
  }

  .section-head > a {
    display: inline-flex;
    margin-top: 16px;
  }

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

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

  .small-hero {
    padding: 78px 18px 56px;
  }

  .detail-copy h1 {
    font-size: clamp(2.15rem, 13vw, 4rem);
  }

  .detail-hero-inner {
    width: calc(100% - 28px);
  }

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

  .player-start span {
    width: 68px;
    height: 68px;
    font-size: 1.8rem;
  }

  .movie-article {
    padding: 22px;
  }

  .rank-item {
    grid-template-columns: 42px 58px 1fr;
  }

  .rank-item img {
    width: 58px;
    height: 76px;
  }
}

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

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

  .hero-search input,
  .hero-search button {
    width: 100%;
  }

  .footer-inner {
    padding: 36px 0;
  }
}
