:root {
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --cyan: #0891b2;
  --blue: #1d4ed8;
  --amber: #f59e0b;
  --rose: #e11d48;
  --emerald: #059669;
  --violet: #7c3aed;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --radius-xl: 1.5rem;
  --radius-lg: 1rem;
  --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.08);
  --shadow-strong: 0 24px 60px rgba(15, 23, 42, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--slate-900);
  background: linear-gradient(135deg, var(--slate-50), var(--slate-100));
}

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;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(13, 148, 136, 0.3);
  font-size: 0.92rem;
}

.brand-text {
  display: grid;
  gap: 0.1rem;
}

.brand-text strong {
  font-size: 1.18rem;
  line-height: 1;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text small {
  color: var(--slate-500);
  font-size: 0.76rem;
}

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

.nav-link,
.mobile-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border-radius: 0.75rem;
  color: var(--slate-700);
  font-size: 0.94rem;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.mobile-nav-link:hover,
.nav-link.is-active,
.mobile-nav-link.is-active {
  color: var(--teal-dark);
  background: rgba(13, 148, 136, 0.1);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  border: 0;
  border-radius: 0.8rem;
  background: rgba(15, 23, 42, 0.05);
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 999px;
}

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

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

.hero-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.2), transparent 28%),
    radial-gradient(circle at 86% 24%, rgba(125, 211, 252, 0.32), transparent 30%),
    linear-gradient(135deg, #0f766e 0%, #0891b2 48%, #1d4ed8 100%);
  padding: 76px 0;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(16px);
  opacity: 0.35;
}

.hero-orb-one {
  width: 260px;
  height: 260px;
  right: 12%;
  top: 18%;
  background: #67e8f9;
}

.hero-orb-two {
  width: 180px;
  height: 180px;
  left: 7%;
  bottom: 8%;
  background: #5eead4;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 42px;
  align-items: center;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.hero-copy p,
.page-hero p,
.detail-copy p {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.75;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.5rem 0.85rem;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-search {
  display: flex;
  width: min(640px, 100%);
  padding: 0.38rem;
  margin: 2rem 0 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  box-shadow: var(--shadow-strong);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0.85rem 1.15rem;
  background: transparent;
  color: var(--slate-900);
}

.hero-search button,
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.3rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  box-shadow: 0 14px 28px rgba(8, 145, 178, 0.25);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-search button:hover,
.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(8, 145, 178, 0.32);
}

.hero-actions,
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.ghost-btn,
.ghost-dark-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  font-weight: 800;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ghost-btn {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.ghost-dark-btn {
  color: var(--teal-dark);
  border: 1px solid rgba(13, 148, 136, 0.2);
  background: rgba(13, 148, 136, 0.08);
}

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

.hero-carousel {
  position: relative;
  min-height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2rem;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.28);
  box-shadow: var(--shadow-strong);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}

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

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

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.1) 64%);
}

.hero-slide-copy {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.hero-slide-copy span {
  display: inline-flex;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 800;
}

.hero-slide-copy h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.hero-slide-copy p {
  max-width: 34rem;
  margin: 0 0 1.1rem;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.65;
}

.hero-slide-copy a {
  display: inline-flex;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.92);
  font-weight: 800;
}

.hero-dots {
  position: absolute;
  z-index: 4;
  right: 1.5rem;
  top: 1.4rem;
  display: flex;
  gap: 0.45rem;
}

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

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

.section {
  padding: 70px 0;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading.centered {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading.spread {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.section-heading span {
  display: inline-flex;
  margin-bottom: 0.45rem;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 0.6rem 0 0;
  color: var(--slate-600);
  line-height: 1.7;
}

.section-heading a {
  color: var(--teal-dark);
  font-weight: 800;
}

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

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

.category-card {
  position: relative;
  display: grid;
  min-height: 230px;
  padding: 1.35rem;
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.category-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-strong);
}

.category-card:hover::before {
  opacity: 0.08;
}

.category-icon,
.category-action,
.category-count {
  position: relative;
  z-index: 1;
}

.category-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--white);
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
}

.category-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.25rem;
}

.category-card em {
  position: relative;
  z-index: 1;
  color: var(--slate-600);
  font-style: normal;
  line-height: 1.65;
}

.category-count {
  margin-top: auto;
  color: var(--slate-500);
  font-size: 0.85rem;
  font-weight: 800;
}

.category-action {
  margin-top: 0.8rem;
  color: var(--teal-dark);
  font-weight: 900;
}

.tone-blue::before,
.tone-blue .category-icon {
  background: linear-gradient(135deg, #2563eb, #0891b2);
}

.tone-amber::before,
.tone-amber .category-icon {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.tone-rose::before,
.tone-rose .category-icon {
  background: linear-gradient(135deg, #e11d48, #f97316);
}

.tone-emerald::before,
.tone-emerald .category-icon {
  background: linear-gradient(135deg, #059669, #0d9488);
}

.tone-cyan::before,
.tone-cyan .category-icon {
  background: linear-gradient(135deg, #0891b2, #2563eb);
}

.tone-violet::before,
.tone-violet .category-icon {
  background: linear-gradient(135deg, #7c3aed, #db2777);
}

.tone-slate::before,
.tone-slate .category-icon {
  background: linear-gradient(135deg, #334155, #0f172a);
}

.warm-section {
  background: linear-gradient(135deg, #fffbeb, #fff7ed);
}

.teal-section {
  background: linear-gradient(135deg, #ecfeff, #f0fdfa);
}

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

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

.archive-grid {
  align-items: stretch;
}

.movie-card {
  display: grid;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--slate-800), var(--slate-900));
}

.compact-card .poster-wrap {
  aspect-ratio: 3 / 4;
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.55), transparent 56%);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.movie-card:hover .poster-shade {
  opacity: 1;
}

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

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

.year-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--slate-800);
  font-size: 0.78rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.year-badge {
  right: 0.8rem;
  top: 0.8rem;
}

.rank-badge {
  left: 0.8rem;
  top: 0.8rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--cyan));
}

.movie-card-body {
  display: grid;
  gap: 0.7rem;
  padding: 1.15rem;
}

.movie-card-body strong {
  color: var(--slate-900);
  font-size: 1.08rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card-body em {
  color: var(--slate-600);
  font-style: normal;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  color: var(--slate-500);
  font-size: 0.82rem;
  font-weight: 800;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag-row span {
  display: inline-flex;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(13, 148, 136, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
}

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

.ranking-list {
  display: grid;
  gap: 0.9rem;
}

.ranking-item {
  display: grid;
  grid-template-columns: auto 86px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 0.9rem;
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.ranking-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  border-radius: 0.9rem;
  font-weight: 900;
}

.ranking-item img {
  width: 86px;
  height: 116px;
  object-fit: cover;
  border-radius: 0.8rem;
  background: var(--slate-800);
}

.ranking-copy {
  display: grid;
  min-width: 0;
  gap: 0.35rem;
}

.ranking-copy strong {
  color: var(--slate-900);
  font-size: 1.05rem;
}

.ranking-copy em {
  color: var(--slate-600);
  font-style: normal;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ranking-copy small {
  color: var(--slate-500);
  font-weight: 800;
}

.cta-band {
  padding: 76px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--slate-800), var(--slate-950));
}

.cta-inner {
  max-width: 760px;
  text-align: center;
}

.cta-icon {
  display: inline-grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 1rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.12);
}

.cta-inner h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.75;
}

.page-hero {
  color: var(--white);
  background: linear-gradient(135deg, var(--slate-800), var(--slate-950));
  padding: 64px 0;
}

.compact-hero {
  background: linear-gradient(135deg, var(--teal-dark), var(--cyan), var(--blue));
}

.category-hero,
.ranking-hero {
  background: linear-gradient(135deg, var(--slate-800), var(--slate-950));
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.94);
  font-weight: 800;
}

.filter-panel {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.filter-panel h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.filter-panel p {
  margin: 0;
  color: var(--slate-600);
}

.filter-controls {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 0.8rem;
}

.filter-controls label {
  display: grid;
  gap: 0.35rem;
  color: var(--slate-600);
  font-size: 0.85rem;
  font-weight: 800;
}

.filter-controls input,
.filter-controls select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--slate-200);
  border-radius: 0.9rem;
  outline: 0;
  padding: 0.7rem 0.85rem;
  background: var(--slate-50);
  color: var(--slate-900);
}

.filter-controls input:focus,
.filter-controls select:focus {
  border-color: rgba(13, 148, 136, 0.5);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

.empty-state {
  display: none;
  padding: 1rem;
  border-radius: 1rem;
  color: var(--slate-600);
  background: var(--slate-100);
}

.empty-state.is-visible {
  display: block;
}

.detail-hero {
  padding: 70px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.72)),
    linear-gradient(135deg, var(--teal-dark), var(--cyan));
}

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

.detail-poster {
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  background: var(--slate-800);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0;
}

.detail-meta span {
  display: inline-flex;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
}

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

.detail-tags span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

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

.main-column,
.side-column {
  display: grid;
  gap: 1.25rem;
}

.player-card,
.content-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.player-shell {
  position: relative;
  overflow: hidden;
  background: var(--slate-950);
  aspect-ratio: 16 / 9;
}

.video-player {
  width: 100%;
  height: 100%;
  display: block;
  background: var(--slate-950);
}

.player-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.8rem;
  border: 0;
  color: var(--white);
  background: linear-gradient(to top, rgba(2, 6, 23, 0.76), rgba(2, 6, 23, 0.18));
  cursor: pointer;
}

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

.big-play {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto;
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.92);
  font-size: 1.8rem;
}

.content-card {
  padding: 1.4rem;
}

.content-card h2 {
  margin: 0 0 0.9rem;
  font-size: 1.35rem;
}

.content-card p {
  color: var(--slate-700);
  line-height: 1.86;
}

.sticky-card {
  position: sticky;
  top: 92px;
}

.info-list {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 0.75rem 0.9rem;
  margin: 0;
}

.info-list dt {
  color: var(--slate-500);
  font-weight: 800;
}

.info-list dd {
  margin: 0;
  color: var(--slate-900);
  font-weight: 700;
  line-height: 1.55;
}

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

.site-footer {
  color: var(--white);
  background: linear-gradient(135deg, var(--slate-800), var(--slate-950));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 2rem;
  padding: 54px 0;
}

.footer-grid h3 {
  margin: 0 0 1rem;
}

.footer-grid p,
.footer-grid a {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
}

.footer-grid a:hover {
  color: var(--white);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.58);
}

.is-hidden-by-filter {
  display: none !important;
}

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

  .mobile-toggle {
    display: inline-flex;
  }

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

  .hero-carousel {
    min-height: 430px;
  }

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

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

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

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

  .hero-search {
    display: grid;
    gap: 0.4rem;
    border-radius: 1.3rem;
  }

  .hero-search button {
    border-radius: 1rem;
  }

  .hero-carousel {
    min-height: 390px;
  }

  .hero-slide-copy {
    padding: 1.35rem;
  }

  .section {
    padding: 46px 0;
  }

  .section-heading.spread {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-grid,
  .wide-category-grid,
  .movie-grid,
  .compact-grid,
  .ranking-grid {
    grid-template-columns: 1fr;
  }

  .ranking-item {
    grid-template-columns: auto 68px minmax(0, 1fr);
  }

  .ranking-item img {
    width: 68px;
    height: 92px;
  }
}
