:root {
  --pink: #ec4899;
  --rose: #fb7185;
  --purple: #8b5cf6;
  --blue: #60a5fa;
  --cyan: #22d3ee;
  --amber: #f59e0b;
  --text: #1f2937;
  --muted: #6b7280;
  --line: rgba(148, 163, 184, 0.28);
  --card: rgba(255, 255, 255, 0.86);
  --shadow: 0 24px 70px rgba(129, 140, 248, 0.22);
  --radius: 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(244, 114, 182, 0.18), transparent 34rem),
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.16), transparent 36rem),
    linear-gradient(180deg, #fff7fb 0%, #ffffff 42%, #f8fbff 100%);
  min-height: 100vh;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 35px rgba(148, 163, 184, 0.16);
}

.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 76px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #111827;
  white-space: nowrap;
}

.brand-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--pink), var(--purple), var(--blue));
  box-shadow: 0 14px 30px rgba(236, 72, 153, 0.3);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.desktop-nav a,
.mobile-nav a {
  padding: 10px 14px;
  color: #4b5563;
  border-radius: 999px;
  font-weight: 700;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--pink);
  background: rgba(244, 114, 182, 0.12);
  transform: translateY(-1px);
}

.header-search {
  width: min(280px, 26vw);
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(148, 163, 184, 0.12);
}

.header-search input,
.hero-search input,
.page-filter input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 15px;
}

.header-search input {
  padding: 12px 6px 12px 16px;
}

.header-search button {
  border: 0;
  color: #fff;
  padding: 10px 15px;
  border-radius: 999px;
  margin-right: 3px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(236, 72, 153, 0.1);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

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

.mobile-nav {
  display: none;
  padding: 0 22px 18px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 8px;
  flex-wrap: wrap;
}

.mobile-nav.is-open {
  display: flex;
}

.hero-section {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #f472b6 0%, #a78bfa 48%, #60a5fa 100%);
}

.hero-light {
  position: absolute;
  border-radius: 999px;
  filter: blur(48px);
  opacity: 0.35;
  background: #fff;
  animation: floatLight 8s ease-in-out infinite;
}

.light-one {
  width: 180px;
  height: 180px;
  top: 70px;
  left: 8%;
}

.light-two {
  width: 240px;
  height: 240px;
  top: 170px;
  right: 12%;
  animation-delay: 1.2s;
}

.light-three {
  width: 160px;
  height: 160px;
  bottom: 90px;
  left: 44%;
  animation-delay: 2s;
}

@keyframes floatLight {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -18px, 0) scale(1.08);
  }
}

.hero-slider {
  position: relative;
  max-width: 1200px;
  min-height: 610px;
  margin: 0 auto;
  padding: 94px 22px 170px;
  z-index: 2;
}

.hero-slide {
  position: absolute;
  inset: 94px 22px 170px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 390px;
  align-items: center;
  gap: 46px;
  opacity: 0;
  transform: translateY(18px) scale(0.99);
  pointer-events: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.hero-bg {
  position: absolute;
  inset: -120px -20vw -180px;
  opacity: 0.22;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(22px) saturate(1.2);
  transform: scale(1.1);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(219, 39, 119, 0.82), rgba(91, 33, 182, 0.72), rgba(37, 99, 235, 0.7));
}

.hero-content {
  max-width: 720px;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-kicker {
  color: rgba(255, 255, 255, 0.86);
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  text-shadow: 0 18px 40px rgba(76, 29, 149, 0.26);
}

.hero-content p {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2.2vw, 23px);
  line-height: 1.72;
}

.hero-tags,
.detail-tags,
.tag-row,
.catalog-pills,
.hero-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags {
  margin-top: 22px;
}

.hero-tags span,
.detail-tags span,
.tag-row span,
.catalog-pills a,
.hero-category-pills a {
  border-radius: 999px;
  font-weight: 800;
}

.hero-tags span {
  padding: 8px 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

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

.primary-btn,
.ghost-btn,
.text-link,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-btn {
  padding: 14px 24px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 20px 42px rgba(236, 72, 153, 0.26);
}

.primary-btn:hover,
.ghost-btn:hover,
.section-more:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.ghost-btn {
  padding: 12px 22px;
  border-radius: 999px;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
}

.ghost-btn.dark {
  color: var(--pink);
  border-color: rgba(236, 72, 153, 0.3);
  background: rgba(236, 72, 153, 0.08);
}

.hero-poster {
  position: relative;
  display: block;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(88, 28, 135, 0.42);
  transform: rotate(2deg);
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.08));
}

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

.hero-poster:hover img {
  transform: scale(1.08);
}

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

.hero-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.is-active {
  width: 34px;
  background: #fff;
}

.hero-search {
  position: absolute;
  left: 50%;
  bottom: 54px;
  transform: translateX(-50%);
  width: min(760px, calc(100% - 44px));
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 4;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 55px rgba(76, 29, 149, 0.24);
}

.hero-search input {
  padding: 0 12px 0 18px;
  font-size: 16px;
}

.hero-search button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  cursor: pointer;
}

.hero-category-pills {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  justify-content: center;
  width: min(980px, calc(100% - 40px));
  z-index: 4;
}

.hero-category-pills a,
.catalog-pills a {
  padding: 8px 13px;
  font-size: 13px;
}

.hero-category-pills a {
  color: #fff;
  background: rgba(255, 255, 255, 0.17);
}

.section-wrap {
  width: min(1200px, calc(100% - 44px));
  margin: 0 auto;
  padding: 72px 0;
}

.section-wrap.no-padding {
  padding-left: 0;
  padding-right: 0;
}

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

.section-title-row h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.04em;
}

.section-kicker {
  color: var(--pink);
}

.section-more,
.text-link {
  color: var(--pink);
}

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

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

.movie-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 18px 45px rgba(148, 163, 184, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.22), rgba(96, 165, 250, 0.2));
}

.poster-link img,
.compact-card img,
.rank-cover img,
.detail-poster img,
.category-thumbs img,
.category-feature-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-link img {
  transition: transform 0.45s ease;
}

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

.year-badge,
.hot-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  backdrop-filter: blur(12px);
}

.year-badge {
  left: 12px;
  top: 12px;
  padding: 7px 10px;
  background: rgba(17, 24, 39, 0.54);
}

.hot-badge {
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  background: linear-gradient(135deg, var(--rose), var(--purple));
}

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

.movie-meta {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

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

.movie-card h3 a:hover,
.rank-row h3 a:hover,
.category-feature h2 a:hover {
  color: var(--pink);
}

.movie-one-line {
  margin: 10px 0 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.tag-row span,
.detail-tags span {
  padding: 6px 10px;
  color: #be185d;
  background: rgba(244, 114, 182, 0.12);
  font-size: 12px;
}

.soft-section {
  background: linear-gradient(135deg, rgba(252, 231, 243, 0.86), rgba(237, 233, 254, 0.86), rgba(219, 234, 254, 0.86));
}

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

.category-card,
.category-feature,
.side-panel,
.detail-text-card,
.player-card,
.detail-side,
.rank-row {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 45px rgba(148, 163, 184, 0.16);
}

.category-card {
  padding: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 15px;
}

.category-thumbs img {
  aspect-ratio: 1;
  border-radius: 16px;
  background: rgba(244, 114, 182, 0.14);
}

.category-card h3,
.category-feature h2,
.side-panel h2,
.detail-text-card h2,
.detail-side h2 {
  margin: 0 0 10px;
}

.category-card p,
.category-feature p,
.side-panel p,
.detail-text-card p {
  color: #4b5563;
  line-height: 1.8;
}

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

.compact-title {
  margin-bottom: 24px;
}

.side-panel {
  position: sticky;
  top: 100px;
  padding: 24px;
}

.compact-list {
  display: grid;
  gap: 13px;
  margin: 20px 0;
}

.compact-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: center;
  padding: 9px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  transition: background 0.25s ease, transform 0.25s ease;
}

.compact-card:hover {
  background: rgba(252, 231, 243, 0.9);
  transform: translateX(3px);
}

.compact-card img {
  aspect-ratio: 1;
  border-radius: 14px;
  background: rgba(244, 114, 182, 0.14);
}

.compact-card strong,
.compact-card em {
  display: block;
}

.compact-card strong {
  font-size: 14px;
  line-height: 1.35;
}

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

.full-btn {
  width: 100%;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 94px 22px;
  color: #fff;
  background: linear-gradient(135deg, #f472b6 0%, #a78bfa 52%, #60a5fa 100%);
}

.page-hero > div,
.page-hero > form,
.page-hero > .catalog-pills {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  filter: blur(45px);
}

.page-hero::before {
  width: 260px;
  height: 260px;
  right: 12%;
  top: 16%;
}

.page-hero::after {
  width: 190px;
  height: 190px;
  left: 10%;
  bottom: 12%;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.page-hero p:not(.section-kicker) {
  max-width: 780px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.8;
}

.page-filter {
  max-width: 760px;
  margin-top: 28px;
  padding: 13px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 55px rgba(76, 29, 149, 0.22);
}

.page-filter input {
  font-size: 16px;
}

.catalog-pills {
  margin-top: 22px;
}

.catalog-pills a {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

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

.category-feature {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  padding: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-feature-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.category-feature-images img {
  aspect-ratio: 1;
  border-radius: 16px;
  background: rgba(244, 114, 182, 0.14);
}

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

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

.rank-section {
  padding-top: 0;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 70px 86px minmax(0, 1fr) 110px;
  align-items: center;
  gap: 18px;
  padding: 12px 18px;
}

.rank-number {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #fff;
  font-weight: 950;
  background: linear-gradient(135deg, var(--pink), var(--purple));
}

.rank-cover {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 2 / 3;
  background: rgba(244, 114, 182, 0.14);
}

.rank-main h3 {
  margin: 0 0 8px;
}

.rank-main p {
  margin: 0 0 8px;
  color: #4b5563;
  line-height: 1.65;
}

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

.rank-score {
  justify-self: end;
  color: var(--pink);
  font-weight: 950;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #111827;
}

.detail-bg {
  position: absolute;
  inset: 0;
  opacity: 0.34;
}

.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) saturate(1.25);
  transform: scale(1.08);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(219, 39, 119, 0.82), rgba(91, 33, 182, 0.78), rgba(15, 23, 42, 0.82));
}

.detail-wrap {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 44px));
  margin: 0 auto;
  padding: 54px 0 72px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-bottom: 28px;
}

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

.detail-intro {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.detail-poster {
  display: block;
  overflow: hidden;
  border-radius: 32px;
  aspect-ratio: 2 / 3;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.42);
}

.detail-copy h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.detail-one-line {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.75;
}

.detail-meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.detail-meta-grid span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 800;
}

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

.detail-tags span {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

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

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

.player-card {
  overflow: hidden;
  padding: 12px;
  margin-bottom: 24px;
}

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

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

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #fff;
  border: 0;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.34), rgba(219, 39, 119, 0.38));
}

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

.play-circle {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  border-radius: 999px;
  color: var(--pink);
  font-size: 30px;
  background: #fff;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.34);
}

.play-overlay strong {
  font-size: 18px;
  text-shadow: 0 8px 22px rgba(15, 23, 42, 0.45);
}

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

.detail-text-card p {
  margin: 0 0 16px;
  font-size: 16px;
}

.detail-text-card p:last-child {
  margin-bottom: 0;
}

.detail-side {
  position: sticky;
  top: 100px;
  padding: 24px;
}

.detail-side dl {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px 16px;
  margin: 18px 0 24px;
}

.detail-side dt {
  color: var(--muted);
  font-weight: 800;
}

.detail-side dd {
  margin: 0;
  line-height: 1.6;
}

.site-footer {
  background: linear-gradient(135deg, #fce7f3, #ede9fe, #dbeafe);
  border-top: 1px solid rgba(255, 255, 255, 0.72);
}

.footer-grid {
  width: min(1200px, calc(100% - 44px));
  margin: 0 auto;
  padding: 56px 0 34px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
  gap: 32px;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 14px;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: #4b5563;
  line-height: 1.8;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.footer-bottom {
  width: min(1200px, calc(100% - 44px));
  margin: 0 auto;
  padding: 20px 0 30px;
  color: #6b7280;
  border-top: 1px solid rgba(255, 255, 255, 0.76);
}

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

  .hero-slide {
    grid-template-columns: 1fr 300px;
  }

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

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

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

  .side-panel,
  .detail-side {
    position: static;
  }

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

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

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-wrap {
    min-height: 68px;
  }

  .hero-section {
    min-height: 820px;
  }

  .hero-slider {
    min-height: 720px;
    padding-top: 64px;
  }

  .hero-slide {
    inset: 64px 22px 190px;
    grid-template-columns: 1fr;
    align-content: start;
  }

  .hero-poster {
    width: min(240px, 66vw);
    margin: 0 auto;
  }

  .hero-search {
    bottom: 70px;
    border-radius: 28px;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-category-pills {
    bottom: 16px;
  }

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

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

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

  .rank-row {
    grid-template-columns: 48px 68px minmax(0, 1fr);
  }

  .rank-score {
    grid-column: 3;
    justify-self: start;
  }

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

  .detail-poster {
    width: min(260px, 72vw);
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 18px;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }

  .section-wrap,
  .detail-wrap,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 28px, 1200px);
  }

  .hero-content h1,
  .page-hero h1,
  .detail-copy h1 {
    letter-spacing: -0.04em;
  }

  .movie-grid,
  .slim-grid,
  .category-grid,
  .category-feature-grid {
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: 42px 62px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .rank-main p {
    display: none;
  }

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

  .page-hero {
    padding: 72px 16px;
  }
}
