:root {
  --page-bg: #fff7ed;
  --page-bg-soft: #fff1f2;
  --text-main: #111827;
  --text-muted: #6b7280;
  --line-soft: rgba(148, 163, 184, 0.22);
  --rose: #e11d48;
  --pink: #db2777;
  --orange: #f97316;
  --shadow-soft: 0 18px 45px rgba(190, 18, 60, 0.12);
  --shadow-card: 0 18px 40px rgba(15, 23, 42, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(244, 63, 94, 0.16), transparent 36rem),
    linear-gradient(135deg, #fffbeb 0%, #fff1f2 48%, #fdf2f8 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.94), rgba(255, 241, 242, 0.94), rgba(253, 242, 248, 0.94));
  box-shadow: 0 10px 30px rgba(148, 27, 68, 0.12);
  backdrop-filter: blur(16px);
}

.nav-shell,
.footer-shell,
.section-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-shell {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.site-logo span,
.footer-logo span {
  font-size: 24px;
  background: linear-gradient(90deg, var(--rose), var(--pink), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-icon {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--rose);
  stroke-width: 1.9;
  stroke-linejoin: round;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link,
.mobile-nav-link {
  color: #374151;
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: var(--rose);
}

.nav-link:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: #374151;
}

.mobile-nav {
  display: none;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 14px;
  border: 1px solid rgba(244, 63, 94, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
}

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

.hero-slider {
  position: relative;
  height: min(680px, calc(100vh - 74px));
  min-height: 560px;
  overflow: hidden;
  background: linear-gradient(90deg, var(--rose), var(--pink), var(--orange));
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.8s ease, transform 1.1s ease;
  pointer-events: none;
}

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

.hero-slide img,
.channel-hero > img,
.detail-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.82), rgba(17, 24, 39, 0.45), rgba(190, 18, 60, 0.18)),
    radial-gradient(circle at 20% 80%, rgba(244, 63, 94, 0.58), transparent 34rem);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
  padding-top: 132px;
  color: white;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--rose);
  background: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: 800px;
  margin: 0 0 22px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.07em;
}

.hero-content p {
  max-width: 680px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2.4vw, 24px);
}

.hero-tags,
.detail-tags,
.movie-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.detail-tags span {
  display: inline-flex;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 700;
}

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

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

.primary-button {
  color: var(--rose);
  background: white;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.24);
}

.ghost-button {
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}

.primary-button:hover,
.ghost-button:hover,
.side-button:hover,
.pill-link:hover,
.section-link:hover {
  transform: translateY(-2px) scale(1.02);
}

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

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

.hero-dot.is-active {
  width: 34px;
  background: white;
}

.section-shell {
  padding: 70px 0;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
}

.section-intro h2,
.section-heading h2,
.sub-hero h1,
.channel-hero-content h1,
.detail-hero-content h1,
.cta-panel h2 {
  margin: 0;
  color: var(--text-main);
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.05em;
}

.section-intro p,
.section-heading p,
.sub-hero p,
.channel-hero-content p,
.cta-panel p {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 18px;
}

.section-link,
.pill-link,
.side-button {
  color: white;
  background: linear-gradient(90deg, var(--rose), var(--pink));
  box-shadow: var(--shadow-soft);
}

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

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

.section-heading.centered {
  justify-content: center;
  text-align: center;
}

.category-band {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -1px 0 rgba(244, 63, 94, 0.08);
}

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

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

.movie-grid--masonry .movie-card:nth-child(5n + 1) {
  grid-row: span 2;
}

.movie-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(244, 63, 94, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  border-color: rgba(244, 63, 94, 0.32);
  box-shadow: var(--shadow-card);
  transform: translateY(-6px);
}

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #ffe4e6, #fdf2f8);
}

.movie-card--large .movie-poster {
  aspect-ratio: 16 / 10;
}

.movie-card--compact {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
}

.movie-card--compact .movie-poster {
  height: 100%;
  aspect-ratio: auto;
}

.movie-card--compact .movie-line {
  -webkit-line-clamp: 2;
}

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

.movie-card:hover .movie-poster img,
.category-card:hover img,
.compact-item:hover img {
  transform: scale(1.06);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.06), rgba(17, 24, 39, 0.72));
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  color: var(--rose);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.28);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.poster-year,
.rank-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  color: white;
  background: rgba(17, 24, 39, 0.72);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.rank-badge {
  left: 12px;
  right: auto;
  background: linear-gradient(90deg, var(--rose), var(--orange));
}

.movie-info {
  display: flex;
  min-height: 188px;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.movie-title {
  display: -webkit-box;
  min-height: 2.8em;
  overflow: hidden;
  color: #111827;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-title:hover {
  color: var(--rose);
}

.movie-line {
  display: -webkit-box;
  min-height: 4.8em;
  margin: 10px 0 14px;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.movie-meta span,
.movie-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #f8fafc;
}

.movie-tags {
  margin-top: 12px;
}

.movie-tags span {
  color: #be123c;
  background: #fff1f2;
  font-size: 12px;
  font-weight: 800;
}

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

.category-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: white;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.16);
}

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

.category-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.08), rgba(17, 24, 39, 0.78)), linear-gradient(135deg, var(--accent), transparent);
}

.category-card-content {
  position: absolute;
  inset: auto 18px 18px;
  display: grid;
  gap: 4px;
}

.category-card-content strong {
  font-size: 22px;
}

.category-card-content small {
  color: rgba(255, 255, 255, 0.82);
}

.recommend-band {
  background: linear-gradient(90deg, rgba(255, 228, 230, 0.96), rgba(252, 231, 243, 0.96), rgba(255, 237, 213, 0.96));
}

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

.split-list > div,
.related-list,
.ranking-sidebar > div {
  display: grid;
  gap: 14px;
}

.compact-item {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 108px;
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(244, 63, 94, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.compact-item img {
  width: 82px;
  height: 86px;
  border-radius: 14px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.compact-rank strong {
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(90deg, var(--rose), var(--orange));
  font-size: 12px;
}

.compact-content {
  display: grid;
  gap: 5px;
}

.compact-content b {
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.compact-content small {
  color: var(--text-muted);
}

.cta-panel {
  width: min(1200px, calc(100% - 32px));
  margin: 30px auto 0;
  padding: 60px 24px;
  border-radius: var(--radius-xl);
  color: white;
  text-align: center;
  background: linear-gradient(90deg, var(--rose), var(--pink), var(--orange));
  box-shadow: 0 24px 54px rgba(190, 18, 60, 0.24);
}

.cta-panel h2,
.cta-panel p {
  color: white;
  margin-left: auto;
  margin-right: auto;
}

.filter-panel {
  margin-bottom: 28px;
  padding: 22px;
  border: 1px solid rgba(244, 63, 94, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
}

.filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.filter-heading h2 {
  margin: 0;
  font-size: 24px;
}

.filter-heading p {
  margin: 0;
  color: var(--text-muted);
  font-weight: 700;
}

.filter-controls {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 12px;
}

.filter-controls label {
  display: grid;
  gap: 7px;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.filter-controls input,
.filter-controls select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 13px;
  outline: none;
  padding: 0 13px;
  background: white;
  color: #111827;
}

.filter-controls input:focus,
.filter-controls select:focus {
  border-color: rgba(225, 29, 72, 0.65);
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.11);
}

.sub-hero,
.channel-hero,
.detail-hero {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.sub-hero {
  display: grid;
  place-items: center;
  padding: 82px 20px;
  text-align: center;
  background:
    radial-gradient(circle at 30% 40%, rgba(244, 63, 94, 0.18), transparent 28rem),
    linear-gradient(135deg, #fff7ed, #fff1f2, #fdf2f8);
}

.sub-hero h1,
.sub-hero p {
  margin-left: auto;
  margin-right: auto;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(244, 63, 94, 0.13);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
}

.category-cover-stack {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 10px;
  background: linear-gradient(135deg, var(--accent), rgba(255, 255, 255, 0.15));
}

.category-cover-stack img {
  width: 100%;
  height: 100%;
  min-height: 110px;
  border-radius: 16px;
  object-fit: cover;
}

.category-overview-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.category-overview-content span {
  color: var(--accent);
  font-weight: 850;
}

.category-overview-content h2 {
  margin: 6px 0 10px;
  font-size: 30px;
}

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

.category-overview-content .pill-link {
  width: max-content;
  margin-top: 18px;
  background: var(--accent);
}

.channel-hero {
  height: 460px;
  color: white;
  background: var(--accent);
}

.channel-hero-shade,
.detail-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.84), rgba(17, 24, 39, 0.35)),
    linear-gradient(135deg, var(--accent, #e11d48), transparent 62%);
}

.channel-hero-content,
.detail-hero-content {
  position: absolute;
  left: 50%;
  bottom: 54px;
  width: min(1200px, calc(100% - 32px));
  transform: translateX(-50%);
}

.channel-hero-content h1,
.channel-hero-content p,
.detail-hero-content h1,
.detail-hero-content p {
  color: white;
}

.channel-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.channel-stats span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

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

.ranking-sidebar,
.related-panel {
  position: sticky;
  top: 98px;
  padding: 22px;
  border: 1px solid rgba(244, 63, 94, 0.13);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.ranking-sidebar h2,
.related-panel h2 {
  margin: 0 0 18px;
}

.detail-hero {
  height: 520px;
}

.detail-hero-content h1 {
  max-width: 800px;
  margin-bottom: 16px;
  font-size: clamp(38px, 6vw, 68px);
}

.detail-hero-content p {
  max-width: 760px;
  font-size: 19px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.breadcrumb a:hover {
  color: white;
}

.detail-layout {
  grid-template-columns: minmax(0, 1fr) 330px;
}

.detail-content {
  display: grid;
  gap: 24px;
}

.player-card,
.info-card,
.story-card {
  overflow: hidden;
  border: 1px solid rgba(244, 63, 94, 0.13);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
}

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

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

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 12px;
  border: 0;
  color: white;
  background: radial-gradient(circle at center, rgba(225, 29, 72, 0.22), rgba(2, 6, 23, 0.72));
  cursor: pointer;
  z-index: 3;
}

.play-overlay.is-hidden {
  display: none;
}

.play-circle {
  display: grid;
  width: 86px;
  height: 86px;
  margin: 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--rose);
  background: white;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.32);
  font-size: 30px;
}

.play-overlay strong {
  font-size: 20px;
}

.info-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 26px;
  padding: 24px;
}

.poster-column img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
}

.info-column h2 {
  margin: 0 0 18px;
  font-size: 34px;
  line-height: 1.2;
}

.movie-detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.movie-detail-meta div {
  padding: 14px;
  border-radius: 16px;
  background: #fff7ed;
}

.movie-detail-meta dt {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 850;
}

.movie-detail-meta dd {
  margin: 2px 0 0;
  color: #111827;
  font-weight: 800;
}

.movie-detail-meta a {
  color: var(--rose);
}

.detail-tags--inline {
  margin-top: 18px;
}

.detail-tags--inline span {
  color: #be123c;
  border-color: transparent;
  background: #fff1f2;
}

.story-card {
  padding: 30px;
}

.story-card h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.story-card p {
  margin: 0;
  color: #374151;
  font-size: 17px;
}

.related-panel .movie-card--compact {
  grid-template-columns: 88px minmax(0, 1fr);
}

.related-panel .movie-card--compact .movie-info {
  min-height: auto;
  padding: 12px;
}

.related-panel .movie-card--compact .movie-title {
  font-size: 15px;
}

.related-panel .movie-card--compact .movie-line,
.related-panel .movie-card--compact .movie-tags {
  display: none;
}

.related-panel .side-button {
  width: 100%;
  margin-top: 18px;
}

.site-footer {
  margin-top: 70px;
  color: #d1d5db;
  background: linear-gradient(135deg, #111827, #1f2937, #111827);
}

.footer-shell {
  padding: 54px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 30px;
}

.footer-logo span {
  color: white;
  background: none;
}

.footer-grid p {
  max-width: 420px;
  color: #9ca3af;
}

.footer-grid h3 {
  margin: 0 0 14px;
  color: white;
}

.footer-grid a {
  display: block;
  margin: 7px 0;
  color: #d1d5db;
}

.footer-grid a:hover {
  color: #fb7185;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9ca3af;
  text-align: center;
}

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

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

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

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

  .search-field {
    grid-column: 1 / -1;
  }

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

  .ranking-sidebar,
  .related-panel {
    position: static;
  }
}

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

  .menu-toggle {
    display: block;
  }

  .site-logo span {
    font-size: 20px;
  }

  .hero-slider {
    min-height: 580px;
    height: 580px;
  }

  .hero-content {
    padding-top: 118px;
  }

  .section-intro,
  .section-heading,
  .split-list,
  .category-overview-card,
  .info-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
  }

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

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

  .movie-card--compact {
    grid-template-columns: 98px minmax(0, 1fr);
  }

  .movie-info {
    min-height: 164px;
    padding: 14px;
  }

  .movie-title {
    font-size: 16px;
  }

  .movie-detail-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav-shell,
  .footer-shell,
  .section-shell,
  .cta-panel {
    width: min(100% - 22px, 1200px);
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-actions {
    display: grid;
  }

  .movie-grid,
  .movie-grid--large,
  .category-grid,
  .category-overview-grid,
  .filter-controls {
    grid-template-columns: 1fr;
  }

  .movie-card--compact {
    grid-template-columns: 104px minmax(0, 1fr);
  }

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

  .channel-hero,
  .detail-hero {
    height: 500px;
  }

  .info-card,
  .story-card,
  .related-panel,
  .filter-panel {
    padding: 18px;
  }
}
