:root {
  --pink-50: #fdf2f8;
  --pink-100: #fce7f3;
  --pink-200: #fbcfe8;
  --pink-500: #ec4899;
  --pink-600: #db2777;
  --purple-50: #faf5ff;
  --purple-100: #f3e8ff;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --cyan-50: #ecfeff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #f1f5f9;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(236, 72, 153, 0.14);
  --strong-shadow: 0 26px 70px rgba(147, 51, 234, 0.22);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(135deg, var(--pink-50), var(--purple-50) 48%, var(--blue-50));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.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.88);
  border-bottom: 1px solid rgba(251, 207, 232, 0.68);
  backdrop-filter: blur(18px);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink-500), var(--purple-500), var(--blue-500));
  box-shadow: 0 10px 20px rgba(236, 72, 153, 0.28);
  font-size: 14px;
}

.logo-text {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--pink-500), var(--purple-500), var(--blue-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link {
  color: #374151;
  font-weight: 650;
  transition: color 0.22s ease;
}

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

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

.header-search input,
.mobile-search input,
.hero-search input,
.filter-panel input,
.filter-panel select {
  border: 1px solid var(--pink-200);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.header-search input {
  width: 210px;
  border-radius: 999px;
  padding: 10px 15px;
}

.header-search button,
.mobile-search button,
.hero-search button,
.filter-panel button {
  border: 0;
  color: #fff;
  background: linear-gradient(90deg, var(--pink-500), var(--purple-500));
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(236, 72, 153, 0.20);
}

.header-search input:focus,
.mobile-search input:focus,
.hero-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--pink-500);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.10);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: var(--pink-50);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 10px;
  background: var(--pink-500);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  padding: 12px 16px 18px;
  background: rgba(255, 255, 255, 0.96);
}

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

.mobile-link {
  display: block;
  padding: 12px 0;
  color: #374151;
  font-weight: 700;
}

.mobile-search input {
  flex: 1;
  border-radius: 999px;
  padding: 10px 14px;
}

.hero-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #f472b6, #a855f7 52%, #60a5fa);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.24), transparent 28%), radial-gradient(circle at 78% 20%, rgba(255, 192, 203, 0.22), transparent 24%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 540px;
  margin: 0 auto;
  padding: 72px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  align-items: center;
  gap: 42px;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(42px);
  opacity: 0.42;
  animation: pulseGlow 5s ease-in-out infinite;
}

.orb-one {
  top: 60px;
  left: 8%;
  width: 150px;
  height: 150px;
  background: #fff;
}

.orb-two {
  right: 9%;
  top: 180px;
  width: 190px;
  height: 190px;
  background: #fbcfe8;
  animation-delay: 1s;
}

.orb-three {
  left: 42%;
  bottom: 48px;
  width: 170px;
  height: 170px;
  background: #c4b5fd;
  animation-delay: 2s;
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}

.hero-copy {
  text-align: left;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--pink-600);
  background: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.hero-copy h1 {
  margin: 24px 0 18px;
  max-width: 760px;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.hero-copy p {
  max-width: 680px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.90);
  font-size: clamp(17px, 2.2vw, 23px);
}

.hero-search {
  max-width: 640px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 70px rgba(31, 41, 55, 0.16);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 999px;
  padding: 15px 18px;
}

.hero-search button {
  padding: 15px 24px;
}

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

.primary-action,
.ghost-action,
.detail-actions a,
.rank-more,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.primary-action {
  padding: 14px 26px;
  color: var(--pink-500);
  background: #fff;
  box-shadow: 0 18px 36px rgba(255, 255, 255, 0.22);
}

.ghost-action {
  padding: 12px 22px;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.75);
}

.primary-action:hover,
.ghost-action:hover,
.detail-actions a:hover,
.rank-more:hover,
.section-more:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-carousel {
  position: relative;
  min-height: 430px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 35px 90px rgba(31, 41, 55, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}

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

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

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.05), rgba(17, 24, 39, 0.78));
}

.hero-slide-content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
}

.hero-slide-content span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(236, 72, 153, 0.88);
  font-size: 13px;
  font-weight: 800;
}

.hero-slide-content h2 {
  margin: 14px 0 10px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.1;
}

.hero-slide-content p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-slide-content a {
  display: inline-flex;
  border-radius: 999px;
  padding: 10px 18px;
  color: #fff;
  background: linear-gradient(90deg, var(--pink-500), var(--purple-500));
  font-weight: 800;
}

.hero-dots {
  position: absolute;
  right: 22px;
  top: 22px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.hero-dot.active {
  width: 26px;
  background: #fff;
}

.content-section,
.soft-section,
.category-strip {
  padding: 58px 0;
}

.no-top {
  padding-top: 0;
}

.soft-section {
  background: rgba(255, 255, 255, 0.42);
}

.pink-soft {
  background: linear-gradient(90deg, rgba(253, 242, 248, 0.88), rgba(250, 245, 255, 0.88));
}

.blue-soft {
  background: linear-gradient(90deg, rgba(239, 246, 255, 0.90), rgba(236, 254, 255, 0.90));
}

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

.section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
  color: var(--text);
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-kicker {
  color: var(--pink-600);
  background: var(--pink-100);
  font-size: 13px;
}

.section-more,
.rank-more {
  color: var(--pink-600);
  background: #fff;
  box-shadow: 0 10px 28px rgba(236, 72, 153, 0.12);
  padding: 10px 18px;
}

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

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

.category-chip {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  border-radius: 22px;
  padding: 20px;
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-chip strong {
  font-size: 20px;
}

.category-chip span {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
}

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

.chip-0 {
  background: linear-gradient(135deg, #f472b6, #ec4899);
}

.chip-1 {
  background: linear-gradient(135deg, #fb7185, #f43f5e);
}

.chip-2 {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
}

.chip-3 {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.chip-4 {
  background: linear-gradient(135deg, #60a5fa, #06b6d4);
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(31, 41, 55, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(236, 72, 153, 0.18);
}

.card-cover {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--pink-100), var(--purple-100));
}

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

.movie-card.small .card-cover {
  aspect-ratio: 16 / 11;
}

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

.movie-card:hover .card-cover img {
  transform: scale(1.10);
}

.card-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.68));
  opacity: 0;
  transition: opacity 0.28s ease;
}

.movie-card:hover .card-glow {
  opacity: 1;
}

.card-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(236, 72, 153, 0.92);
  transform: translate(-50%, -50%) scale(0.74);
  opacity: 0;
  box-shadow: 0 14px 32px rgba(236, 72, 153, 0.34);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

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

.card-year,
.card-duration {
  position: absolute;
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(17, 24, 39, 0.70);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.card-year {
  left: 12px;
}

.card-duration {
  right: 12px;
}

.card-body {
  padding: 18px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
}

.card-meta a {
  color: var(--pink-600);
  font-weight: 800;
}

.movie-card h3 {
  margin: 0 0 9px;
  font-size: 18px;
  line-height: 1.35;
}

.movie-card h3 a:hover {
  color: var(--pink-500);
}

.movie-card p {
  min-height: 48px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.tag-row,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span,
.detail-tags span {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--pink-600);
  background: var(--pink-100);
  font-size: 12px;
  font-weight: 750;
}

.horizontal-row {
  display: flex;
  gap: 18px;
  padding-bottom: 12px;
  overflow-x: auto;
}

.horizontal-item {
  width: 282px;
  flex: 0 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.rank-panel,
.side-card,
.poster-card,
.detail-info-card,
.player-card,
.filter-panel,
.ranking-card {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 42px rgba(31, 41, 55, 0.08);
}

.rank-panel {
  position: sticky;
  top: 92px;
  padding: 24px;
}

.rank-title span {
  color: var(--pink-500);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.rank-title h2 {
  margin: 4px 0 18px;
  font-size: 28px;
}

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

.compact-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  border-radius: 16px;
  padding: 8px;
  background: #fff;
  transition: transform 0.2s ease, background 0.2s ease;
}

.compact-card:hover {
  transform: translateX(3px);
  background: var(--pink-50);
}

.compact-card img {
  width: 72px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--pink-100);
}

.compact-info {
  min-width: 0;
}

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

.compact-info strong {
  color: var(--text);
  font-size: 14px;
}

.compact-info em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.rank-number {
  position: absolute;
  left: -6px;
  top: -6px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--pink-500), var(--purple-500));
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(236, 72, 153, 0.30);
}

.rank-more {
  width: 100%;
  margin-top: 18px;
}

.page-hero {
  padding: 74px 0;
  color: #fff;
  background: linear-gradient(135deg, #f472b6, #a855f7 52%, #60a5fa);
}

.page-hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.1;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  line-height: 1.75;
}

.filter-panel {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 26px;
  padding: 18px;
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  border-radius: 16px;
  padding: 12px 14px;
}

.empty-state {
  display: none;
  border-radius: 18px;
  margin: 0 0 20px;
  padding: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.76);
  text-align: center;
}

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

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

.ranking-card {
  padding: 14px;
}

.ranking-card p {
  margin: 10px 6px 10px;
  color: var(--muted);
  line-height: 1.7;
}

.detail-page {
  padding: 34px 0 64px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

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

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

.detail-main {
  min-width: 0;
}

.player-card {
  padding: 14px;
  margin-bottom: 22px;
}

.player-stage {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 16 / 9;
  background: #020617;
}

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

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 0;
  padding: 0;
  overflow: hidden;
  background: #020617;
}

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

.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
  transition: transform 0.4s ease;
}

.player-cover:hover img {
  transform: scale(1.04);
}

.player-shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.05), rgba(2, 6, 23, 0.72));
}

.player-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink-500), var(--purple-500));
  transform: translate(-50%, -50%);
  box-shadow: 0 24px 60px rgba(236, 72, 153, 0.42);
  font-size: 26px;
}

.detail-info-card {
  padding: 26px;
}

.detail-info-card h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
}

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

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

.detail-meta-grid div {
  border-radius: 18px;
  padding: 14px;
  background: var(--pink-50);
}

.detail-meta-grid span,
.detail-meta-grid strong {
  display: block;
}

.detail-meta-grid span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
}

.detail-meta-grid strong {
  overflow: hidden;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-tags {
  margin-bottom: 26px;
}

.detail-section {
  margin-top: 28px;
}

.detail-section h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.detail-section p,
.review-box p {
  margin: 0;
  color: #4b5563;
  line-height: 1.9;
}

.review-box {
  border-radius: 20px;
  padding: 22px;
  background: linear-gradient(135deg, var(--pink-50), var(--purple-50));
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.detail-actions a {
  padding: 12px 20px;
  color: #fff;
  background: linear-gradient(90deg, var(--pink-500), var(--purple-500));
}

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

.detail-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 20px;
}

.poster-card {
  overflow: hidden;
}

.poster-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--pink-100);
}

.poster-card h2,
.poster-card p {
  margin-left: 18px;
  margin-right: 18px;
}

.poster-card h2 {
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 22px;
}

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

.side-card {
  padding: 20px;
}

.side-card h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

.side-nav-card {
  display: grid;
  gap: 10px;
}

.side-nav-card a {
  display: block;
  border-radius: 14px;
  padding: 12px;
  background: var(--pink-50);
  color: var(--pink-600);
  font-weight: 800;
}

.site-footer {
  background: linear-gradient(90deg, var(--pink-100), var(--purple-100), var(--blue-100));
  border-top: 1px solid rgba(251, 207, 232, 0.7);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 28px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr;
  gap: 28px;
}

.footer-brand strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
  background: linear-gradient(90deg, var(--pink-500), var(--purple-500), var(--blue-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-content: start;
}

.footer-links a {
  color: #4b5563;
  font-weight: 700;
}

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

.copyright {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid rgba(236, 72, 153, 0.18);
  color: var(--muted);
  text-align: center;
}

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

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

  .hero-inner,
  .two-column,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-search,
  .hero-actions {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

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

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

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

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

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

@media (max-width: 680px) {
  .container,
  .header-inner,
  .hero-inner,
  .footer-inner,
  .copyright {
    width: min(100% - 24px, 1180px);
  }

  .logo-text {
    font-size: 20px;
  }

  .hero-inner {
    min-height: auto;
    padding: 56px 0;
  }

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

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

  .hero-carousel {
    min-height: 360px;
    border-radius: 24px;
  }

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

  .chip-grid,
  .category-card-grid,
  .four-grid,
  .small-grid,
  .movie-grid,
  .ranking-grid,
  .filter-panel,
  .detail-meta-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .content-section,
  .soft-section,
  .category-strip {
    padding: 42px 0;
  }

  .page-hero {
    padding: 54px 0;
  }

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

  .detail-info-card,
  .side-card,
  .rank-panel {
    padding: 18px;
  }
}
