* {
  box-sizing: border-box;
}

:root {
  --bg: #fff7fb;
  --surface: #ffffff;
  --surface-soft: #fff1f6;
  --text: #2f2630;
  --muted: #756a73;
  --line: #f7cfe0;
  --brand: #ec4899;
  --brand-strong: #ef4444;
  --brand-warm: #f97316;
  --shadow: 0 18px 45px rgba(236, 72, 153, 0.14);
  --radius: 22px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #fff7fb 38%, #ffffff 100%);
  min-height: 100vh;
}

body.nav-open {
  overflow: hidden;
}

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

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

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: linear-gradient(90deg, rgba(255, 241, 246, 0.94), rgba(255, 247, 237, 0.94));
  border-bottom: 1px solid rgba(247, 207, 224, 0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 26px rgba(236, 72, 153, 0.08);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--brand);
  white-space: nowrap;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong), var(--brand-warm));
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.28);
  font-size: 14px;
}

.logo-text {
  background: linear-gradient(90deg, var(--brand), var(--brand-strong));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 20px;
}

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

.nav-link {
  color: #5f5360;
  font-size: 15px;
  font-weight: 650;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand);
}

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

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(247, 207, 224, 0.9);
}

.header-search input {
  width: 160px;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 8px 8px 8px 12px;
  color: var(--text);
}

.header-search button,
.page-search button,
.hero-search button,
.primary-btn {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #ffffff;
  font-weight: 750;
  padding: 11px 20px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(236, 72, 153, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button:hover,
.page-search button:hover,
.hero-search button:hover,
.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(236, 72, 153, 0.30);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #5f5360;
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  padding: 12px 20px 18px;
  border-top: 1px solid var(--line);
  background: #fff7fb;
}

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

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 58px 0 44px;
  background: radial-gradient(circle at 15% 20%, rgba(244, 114, 182, 0.22), transparent 25%), linear-gradient(135deg, #fff1f6 0%, #fff7ed 55%, #ffffff 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.32;
  animation: floatPulse 5s ease-in-out infinite;
}

.hero-orb-one {
  width: 84px;
  height: 84px;
  left: 8%;
  top: 14%;
  background: #f9a8d4;
}

.hero-orb-two {
  width: 142px;
  height: 142px;
  right: 12%;
  top: 18%;
  background: #fca5a5;
  animation-delay: 0.8s;
}

.hero-orb-three {
  width: 110px;
  height: 110px;
  left: 45%;
  bottom: 8%;
  background: #fdba74;
  animation-delay: 1.6s;
}

@keyframes floatPulse {
  0%, 100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.08) translateY(-12px);
  }
}

.hero-container {
  position: relative;
  z-index: 1;
}

.hero-carousel {
  position: relative;
  min-height: 520px;
  border-radius: 34px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 40px;
  align-items: center;
  padding: 54px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(36px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 13px;
  text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1 {
  margin: 16px 0 18px;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--brand), var(--brand-strong), var(--brand-warm));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p,
.page-hero p {
  margin: 0;
  color: #665b64;
  font-size: 18px;
  line-height: 1.8;
}

.hero-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.hero-meta span,
.detail-meta span,
.tag-row span,
.card-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(236, 72, 153, 0.1);
  color: #be185d;
  font-size: 13px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.ghost-btn,
.category-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 20px;
  border: 1px solid rgba(236, 72, 153, 0.22);
  color: var(--brand);
  background: rgba(255, 255, 255, 0.68);
  font-weight: 760;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ghost-btn:hover,
.category-pill:hover {
  background: #fff1f6;
  transform: translateY(-2px);
}

.hero-poster {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(135deg, #ffe4ef, #fff7ed);
  box-shadow: 0 26px 54px rgba(236, 72, 153, 0.22);
}

.hero-poster::after,
.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.58));
  pointer-events: none;
}

.hero-poster img,
.poster-wrap img,
.compact-card img,
.ranking-item img,
.overview-thumbs img,
.poster-card img,
.ranking-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.hero-play,
.play-badge {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand);
  font-size: 24px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}

.hero-controls {
  position: absolute;
  left: 52px;
  right: 52px;
  bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.hero-controls button {
  pointer-events: auto;
  border: 0;
  cursor: pointer;
}

.hero-controls > button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  color: var(--brand);
  font-size: 28px;
  box-shadow: 0 8px 22px rgba(236, 72, 153, 0.18);
}

.hero-dots {
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(236, 72, 153, 0.25);
  padding: 0;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
  width: 30px;
  background: var(--brand);
}

.hero-search,
.page-search {
  display: flex;
  gap: 10px;
  max-width: 720px;
  margin: 24px auto 0;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(247, 207, 224, 0.92);
  box-shadow: 0 10px 28px rgba(236, 72, 153, 0.12);
}

.hero-search input,
.page-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  padding: 12px 18px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.hero-pills a {
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(247, 207, 224, 0.9);
  color: #6b5665;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hero-pills a:hover {
  transform: translateY(-2px);
  background: #fff1f6;
  color: var(--brand);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: -26px;
  position: relative;
  z-index: 2;
}

.content-section {
  padding: 64px 0;
}

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

.section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.03em;
}

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

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

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

.movie-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 44px rgba(236, 72, 153, 0.18);
}

.card-link {
  display: block;
  height: 100%;
}

.poster-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #ffe4ef, #fff7ed);
}

.featured-card .poster-wrap {
  aspect-ratio: 16 / 9;
}

.play-badge {
  width: 50px;
  height: 50px;
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-type {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(236, 72, 153, 0.92);
  font-size: 12px;
  font-weight: 800;
}

.card-body {
  padding: 16px;
}

.card-body h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-body p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  min-height: 42px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #948691;
  font-size: 12px;
  margin-bottom: 10px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-tags span {
  padding: 4px 8px;
  font-size: 11px;
}

.soft-section {
  background: linear-gradient(90deg, #fff1f6, #fff7ed);
}

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 270px;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}

.compact-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(236, 72, 153, 0.10);
  scroll-snap-align: start;
}

.compact-card img {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background: #fff1f6;
}

.compact-card h3,
.ranking-item h3 {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.compact-card p,
.ranking-item p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.compact-card span,
.ranking-item span:not(.rank-number) {
  color: #9b8d98;
  font-size: 12px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 42px;
  padding: 64px 0;
}

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

.category-card {
  display: block;
  min-height: 150px;
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff, #fff1f6);
  border: 1px solid rgba(247, 207, 224, 0.82);
  box-shadow: 0 12px 28px rgba(236, 72, 153, 0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover,
.overview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(236, 72, 153, 0.16);
}

.category-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 20px;
  font-weight: 850;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.ranking-item {
  display: grid;
  grid-template-columns: 46px 88px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.09);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-item:hover {
  transform: translateX(4px);
  box-shadow: 0 14px 32px rgba(236, 72, 153, 0.15);
}

.rank-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  font-size: 14px;
  font-weight: 900;
}

.ranking-item img {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background: #fff1f6;
}

.page-hero {
  padding: 72px 0;
  background: radial-gradient(circle at 20% 15%, rgba(244, 114, 182, 0.2), transparent 28%), linear-gradient(120deg, #fff1f6 0%, #fff7ed 100%);
}

.compact-hero,
.category-hero {
  text-align: center;
}

.compact-hero h1,
.category-hero h1 {
  font-size: clamp(34px, 5vw, 56px);
}

.filter-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 0 18px;
  margin-bottom: 18px;
}

.filter-bar button {
  flex: 0 0 auto;
  border: 1px solid rgba(247, 207, 224, 0.9);
  border-radius: 999px;
  background: #ffffff;
  color: #6f606b;
  padding: 9px 16px;
  cursor: pointer;
  font-weight: 750;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.filter-bar button:hover,
.filter-bar button.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  transform: translateY(-1px);
}

.empty-state {
  display: none;
  padding: 44px;
  text-align: center;
  color: var(--muted);
  border-radius: 20px;
  background: #ffffff;
}

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

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

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

.overview-card {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(236, 72, 153, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.overview-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 150px;
  overflow: hidden;
  background: #fff1f6;
}

.overview-body {
  padding: 22px;
}

.overview-body h2 {
  margin: 0 0 10px;
}

.overview-body p {
  min-height: 52px;
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.65;
}

.overview-body span {
  color: var(--brand);
  font-weight: 850;
}

.ranking-hero {
  padding: 58px 0;
}

.ranking-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.6fr);
  gap: 40px;
  align-items: center;
}

.ranking-cover {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 28px;
  background: #fff1f6;
  box-shadow: var(--shadow);
}

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

.detail-page {
  padding: 38px 0 70px;
  background: #fdf8fb;
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #9a8696;
  font-size: 14px;
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--brand);
  font-weight: 700;
}

.watch-player {
  margin-bottom: 22px;
}

.player-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 26px;
  overflow: hidden;
  background: #0f0b10;
  box-shadow: 0 24px 54px rgba(18, 12, 18, 0.24);
}

.watch-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(14, 8, 14, 0.08), rgba(14, 8, 14, 0.66));
  cursor: pointer;
}

.player-overlay span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  color: var(--brand);
  background: rgba(255, 255, 255, 0.93);
  font-size: 30px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.player-overlay strong {
  font-size: 18px;
  letter-spacing: 0.08em;
}

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

.detail-card,
.sidebar-card {
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(236, 72, 153, 0.09);
}

.detail-card {
  padding: 26px;
  margin-bottom: 22px;
}

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

.title-card h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
}

.detail-meta {
  margin: 0 0 16px;
}

.one-line {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.tag-row,
.tag-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag-links a {
  padding: 7px 12px;
  border-radius: 999px;
  background: #f5f2f4;
  color: #70636c;
  font-size: 13px;
  transition: background 0.2s ease, color 0.2s ease;
}

.tag-links a:hover {
  background: #fff1f6;
  color: var(--brand);
}

.article-card h2,
.sidebar-card h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.article-card h2:not(:first-child) {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #f2e4ed;
}

.article-card p {
  margin: 0;
  color: #5f5560;
  line-height: 1.95;
  font-size: 16px;
}

.detail-sidebar {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 18px;
}

.sidebar-card {
  padding: 20px;
}

.poster-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  background: #fff1f6;
  margin-bottom: 14px;
}

.poster-card h2 {
  font-size: 20px;
  margin-bottom: 6px;
}

.poster-card p {
  margin: 0;
  color: var(--muted);
}

.info-card dl {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px 12px;
  margin: 0;
}

.info-card dt {
  color: #9b8d98;
}

.info-card dd {
  margin: 0;
  color: #554a54;
  font-weight: 700;
}

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

.related-list .compact-card {
  grid-template-columns: 96px minmax(0, 1fr);
  box-shadow: none;
  border: 1px solid #f2e4ed;
}

.site-footer {
  border-top: 1px solid rgba(247, 207, 224, 0.86);
  background: linear-gradient(180deg, #fff7fb, #ffffff);
  padding: 44px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}

.footer-brand p {
  max-width: 460px;
  color: var(--muted);
  line-height: 1.75;
}

.site-footer h3 {
  margin: 0 0 14px;
  font-size: 16px;
}

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

.footer-links a {
  color: #6f606b;
  font-size: 14px;
}

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(247, 207, 224, 0.8);
  text-align: center;
  color: #9b8d98;
  font-size: 13px;
}

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

  .nav-toggle {
    display: block;
  }

  body.nav-open .mobile-nav {
    display: block;
  }

  .hero-slide,
  .ranking-feature,
  .detail-layout,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero-slide {
    position: relative;
    display: none;
  }

  .hero-slide.active {
    display: grid;
  }

  .hero-carousel {
    min-height: 0;
  }

  .hero-controls {
    position: static;
    padding: 0 24px 24px;
  }

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

  .detail-sidebar {
    position: static;
  }
}

@media (max-width: 860px) {
  .feature-strip,
  .movie-grid,
  .full-grid,
  .overview-grid,
  .large-ranking,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-slide {
    padding: 34px 24px;
  }

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

  .title-row {
    flex-direction: column;
  }
}

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

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

  .hero-slide {
    padding: 26px 18px;
    gap: 24px;
  }

  .hero-copy p,
  .page-hero p {
    font-size: 15px;
  }

  .hero-search,
  .page-search {
    flex-direction: column;
    border-radius: 24px;
  }

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

  .feature-strip,
  .movie-grid,
  .full-grid,
  .overview-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .scroll-row {
    grid-auto-columns: 84%;
  }

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

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

  .rank-number {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .detail-card,
  .sidebar-card {
    padding: 18px;
  }

  .player-overlay span {
    width: 64px;
    height: 64px;
  }
}
