:root {
  --page-bg: #fff7fb;
  --surface: #ffffff;
  --surface-soft: #fff1f8;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #f9cfe2;
  --pink: #db2777;
  --pink-dark: #be185d;
  --purple: #7c3aed;
  --purple-soft: #f3e8ff;
  --shadow: 0 24px 70px rgba(190, 24, 93, 0.16);
  --soft-shadow: 0 14px 35px rgba(124, 58, 237, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(244, 114, 182, 0.18), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(168, 85, 247, 0.16), transparent 30%),
    linear-gradient(180deg, #fff7fb 0%, #ffffff 46%, #fff7fb 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(249, 207, 226, 0.8);
  box-shadow: 0 10px 34px rgba(190, 24, 93, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 800;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 10px 24px rgba(219, 39, 119, 0.26);
  font-size: 14px;
}

.brand-name {
  font-size: 22px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  overflow: hidden;
}

.desktop-nav a {
  padding: 9px 12px;
  color: #4b5563;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--pink-dark);
  background: #ffe4f0;
  transform: translateY(-1px);
}

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

.header-search {
  flex: 0 0 280px;
}

.header-search input,
.mobile-search input,
.search-panel-form input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid #f9cfe2;
  outline: none;
  border-radius: 999px;
  color: var(--text);
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.header-search input,
.mobile-search input {
  padding: 10px 14px;
}

.header-search button,
.mobile-search button,
.search-panel-form button,
.primary-button,
.secondary-button,
.hero-button,
.filter-button {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button,
.mobile-search button,
.search-panel-form button,
.primary-button,
.hero-button,
.filter-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 12px 28px rgba(219, 39, 119, 0.25);
}

.header-search button,
.mobile-search button {
  padding: 10px 16px;
}

.secondary-button {
  color: var(--pink-dark);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.64);
}

.header-search button:hover,
.mobile-search button:hover,
.search-panel-form button:hover,
.primary-button:hover,
.secondary-button:hover,
.hero-button:hover,
.filter-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(219, 39, 119, 0.3);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #fff1f8;
  padding: 10px;
}

.mobile-menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--pink-dark);
}

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

.mobile-panel.is-open {
  display: block;
}

.mobile-panel nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.mobile-panel nav a {
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff1f8;
  color: #4b5563;
  font-weight: 700;
}

main {
  min-height: 64vh;
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #2b1231;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

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

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.hero-slide.is-active .hero-image {
  animation: heroZoom 8s ease forwards;
}

@keyframes heroZoom {
  from {
    transform: scale(1.03);
  }
  to {
    transform: scale(1.1);
  }
}

.hero-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(84, 15, 67, 0.94) 0%, rgba(190, 24, 93, 0.76) 42%, rgba(124, 58, 237, 0.58) 100%),
    linear-gradient(0deg, rgba(17, 24, 39, 0.82), transparent 58%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 360px;
  gap: 48px;
  align-items: center;
  color: #ffffff;
}

.hero-kicker,
.page-kicker,
.detail-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  color: #fff7fb;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  font-weight: 800;
  font-size: 13px;
}

.hero-title {
  margin: 22px 0 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  max-width: 760px;
}

.hero-desc {
  max-width: 700px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-meta,
.detail-meta,
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-meta span,
.detail-meta span,
.page-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 700;
}

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

.hero-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
}

.hero-side-card {
  padding: 20px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.28);
  backdrop-filter: blur(18px);
}

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

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

.hero-mini-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: center;
  padding: 9px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-mini-item:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.2);
}

.hero-mini-item img {
  width: 70px;
  height: 86px;
  object-fit: cover;
  border-radius: 14px;
}

.hero-mini-item strong {
  display: block;
  line-height: 1.3;
}

.hero-mini-item span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 5;
  width: min(1180px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
}

.hero-arrows {
  display: flex;
  gap: 10px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

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

.hero-dot {
  width: 26px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

.hero-dot.is-active {
  width: 44px;
  background: #ffffff;
}

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

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

.section-heading h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.15;
}

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

.section-more {
  flex: 0 0 auto;
  color: var(--pink-dark);
  font-weight: 800;
}

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(249, 207, 226, 0.72);
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  border-color: rgba(219, 39, 119, 0.28);
  box-shadow: var(--shadow);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #ffe4f0, #f3e8ff);
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.72), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.region-badge,
.rank-badge,
.score-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  background: rgba(219, 39, 119, 0.92);
  backdrop-filter: blur(8px);
}

.region-badge {
  right: 12px;
  top: 12px;
}

.rank-badge {
  left: 12px;
  top: 12px;
  background: rgba(124, 58, 237, 0.92);
}

.score-badge {
  left: 12px;
  bottom: 12px;
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-dark);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.82);
  opacity: 0;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.24);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

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

.movie-card-body h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

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

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

.movie-meta-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.movie-meta-row span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #7c2d53;
  background: #fff1f8;
  font-size: 12px;
  font-weight: 700;
}

.tag-row {
  margin-top: 9px;
}

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

.category-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  display: flex;
  align-items: end;
  padding: 24px;
  border-radius: 28px;
  color: #ffffff;
  background: #2b1231;
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-card img,
.category-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.category-card img {
  object-fit: cover;
  opacity: 0.58;
  transition: transform 0.48s ease;
}

.category-card:hover img {
  transform: scale(1.08);
}

.category-cover {
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.88), rgba(219, 39, 119, 0.44));
}

.category-card > div {
  position: relative;
  z-index: 1;
}

.category-card h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.category-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.category-mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.category-mini-list span {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 700;
}

.feature-band {
  background: linear-gradient(135deg, rgba(255, 228, 240, 0.92), rgba(243, 232, 255, 0.92));
  border-block: 1px solid rgba(249, 207, 226, 0.72);
}

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

.wide-card {
  display: grid;
  grid-template-columns: 38% 1fr;
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  border: 1px solid rgba(249, 207, 226, 0.72);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wide-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.wide-card img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.wide-card-content {
  padding: 24px;
}

.wide-card-content h3 {
  margin: 8px 0 10px;
  font-size: 24px;
}

.wide-card-content p {
  margin: 0 0 16px;
  color: var(--muted);
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(135deg, var(--pink), var(--purple));
}

.page-hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 76px;
}

.page-hero h1 {
  margin: 18px 0 14px;
  max-width: 880px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 170px 170px auto;
  gap: 12px;
  align-items: center;
  padding: 18px;
  margin-bottom: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(249, 207, 226, 0.72);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(14px);
}

.filter-bar input,
.filter-bar select {
  height: 44px;
  padding: 0 14px;
}

.filter-button {
  height: 44px;
  padding: 0 18px;
}

.search-empty {
  display: none;
  padding: 36px;
  border-radius: 24px;
  background: #ffffff;
  color: var(--muted);
  text-align: center;
  box-shadow: var(--soft-shadow);
}

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

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

.ranking-item {
  display: grid;
  grid-template-columns: 64px 96px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(249, 207, 226, 0.72);
  box-shadow: var(--soft-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.ranking-number {
  color: var(--pink-dark);
  font-size: 28px;
  font-weight: 900;
  text-align: center;
}

.ranking-item img {
  width: 96px;
  height: 124px;
  border-radius: 16px;
  object-fit: cover;
}

.ranking-info h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.ranking-info p {
  margin: 0 0 10px;
  color: var(--muted);
}

.ranking-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  font-weight: 800;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  background: #241126;
  color: #ffffff;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(12px) saturate(1.1);
  transform: scale(1.06);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(36, 17, 38, 0.96), rgba(190, 24, 93, 0.7)),
    linear-gradient(0deg, rgba(17, 24, 39, 0.86), transparent 60%);
}

.detail-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
  padding: 72px 0;
}

.detail-poster {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.detail-content h1 {
  margin: 18px 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
}

.detail-summary {
  margin: 0 0 24px;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.player-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 54px auto 0;
}

.movie-player {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #111827;
  box-shadow: 0 30px 90px rgba(17, 24, 39, 0.28);
}

.movie-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111827;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.56), rgba(17, 24, 39, 0.22));
  transition: opacity 0.25s ease;
}

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

.player-play-button {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--pink-dark);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.26);
  font-size: 32px;
}

.player-message {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 18px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
}

.detail-body-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
}

.article-card,
.side-panel,
.info-panel {
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(249, 207, 226, 0.72);
  box-shadow: var(--soft-shadow);
}

.article-card {
  padding: 32px;
}

.article-card h2,
.side-panel h2,
.info-panel h2 {
  margin: 0 0 16px;
  font-size: 24px;
}

.article-card p {
  margin: 0 0 20px;
  color: #4b5563;
}

.side-panel,
.info-panel {
  padding: 24px;
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #fee2f0;
}

.info-list span {
  color: var(--muted);
}

.info-list strong {
  text-align: right;
}

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

.related-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: center;
}

.related-item img {
  width: 74px;
  height: 92px;
  border-radius: 14px;
  object-fit: cover;
}

.related-item strong {
  display: block;
  line-height: 1.35;
}

.related-item span {
  color: var(--muted);
  font-size: 13px;
}

.prose-panel {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.prose-card {
  padding: 36px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  border: 1px solid rgba(249, 207, 226, 0.72);
}

.prose-card h2 {
  margin: 28px 0 12px;
}

.prose-card h2:first-child {
  margin-top: 0;
}

.site-footer {
  margin-top: 72px;
  background: linear-gradient(135deg, #fff1f8, #f3e8ff);
  border-top: 1px solid rgba(249, 207, 226, 0.8);
}

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

.footer-brand p,
.site-footer li,
.site-footer p {
  color: var(--muted);
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 17px;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.site-footer a:hover {
  color: var(--pink-dark);
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(249, 207, 226, 0.76);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

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

  .header-search {
    margin-left: auto;
  }

  .mobile-menu-button {
    display: block;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 96px 0 118px;
  }

  .hero-side-card {
    max-width: 620px;
  }

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

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

  .detail-inner,
  .detail-body-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 760px) {
  .header-inner {
    height: auto;
    min-height: 66px;
    padding: 10px 0;
  }

  .brand-name {
    font-size: 18px;
  }

  .header-search {
    display: none;
  }

  .mobile-search {
    display: flex;
  }

  .hero,
  .hero-inner {
    min-height: 660px;
  }

  .hero-inner {
    gap: 26px;
    padding: 78px 0 110px;
  }

  .hero-side-card {
    padding: 16px;
  }

  .hero-controls {
    bottom: 18px;
  }

  .content-section,
  .page-section {
    padding: 42px 0;
  }

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

  .movie-grid,
  .category-grid,
  .two-column-grid {
    grid-template-columns: 1fr;
  }

  .wide-card {
    grid-template-columns: 1fr;
  }

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

  .ranking-item {
    grid-template-columns: 48px 76px 1fr;
  }

  .ranking-item img {
    width: 76px;
    height: 98px;
  }

  .ranking-action {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .detail-inner {
    padding: 48px 0;
  }

  .article-card,
  .side-panel,
  .info-panel,
  .prose-card {
    padding: 22px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}
