:root {
  --pink-600: #db2777;
  --pink-500: #ec4899;
  --pink-400: #f472b6;
  --orange-600: #ea580c;
  --orange-500: #f97316;
  --orange-400: #fb923c;
  --yellow-400: #facc15;
  --yellow-50: #fefce8;
  --pink-50: #fdf2f8;
  --orange-50: #fff7ed;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.10);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  color: var(--slate-800);
  background: linear-gradient(135deg, var(--orange-50), var(--pink-50) 48%, var(--yellow-50));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.88);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.nav-shell {
  max-width: 1240px;
  height: 74px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink-400), var(--orange-500));
  box-shadow: 0 10px 25px rgba(236, 72, 153, 0.32);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(-4deg);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: transparent;
  background: linear-gradient(90deg, var(--pink-500), var(--orange-500));
  -webkit-background-clip: text;
  background-clip: text;
}

.brand-sub {
  margin-top: 4px;
  color: var(--slate-500);
  font-size: 12px;
}

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

.nav-link {
  position: relative;
  color: var(--slate-700);
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--pink-500), var(--orange-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

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

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: var(--slate-100);
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--slate-700);
}

.mobile-nav {
  display: none;
  padding: 12px 24px 20px;
  background: var(--white);
  border-top: 1px solid var(--slate-200);
}

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

.mobile-nav-link {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--slate-700);
  font-weight: 700;
}

.mobile-nav-link.is-active {
  color: var(--white);
  background: linear-gradient(90deg, var(--pink-500), var(--orange-500));
}

.page-main {
  min-height: 70vh;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.30), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(250, 204, 21, 0.28), transparent 24%),
    linear-gradient(135deg, #ec4899 0%, #f97316 52%, #facc15 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.18) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.16) 25%, transparent 25%);
  background-size: 68px 68px;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 150px;
  background: linear-gradient(0deg, var(--orange-50), rgba(255, 247, 237, 0));
}

.hero-shell {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  min-height: 650px;
  margin: 0 auto;
  padding: 74px 24px 132px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 56px;
  align-items: center;
}

.hero-copy {
  color: var(--white);
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  font-size: 14px;
  font-weight: 800;
}

.section-kicker {
  color: var(--pink-600);
  background: rgba(236, 72, 153, 0.10);
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.08em;
  font-weight: 950;
}

.hero-title-glow {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, #fff, #fff7ad);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-copy p {
  max-width: 680px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
}

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

.hero-search {
  display: flex;
  gap: 10px;
  max-width: 560px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(14px);
}

.hero-search input {
  width: 100%;
  border: 0;
  outline: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: var(--slate-900);
  background: var(--white);
  min-height: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn-primary {
  color: var(--pink-600);
  background: var(--white);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.18);
}

.btn-primary:hover {
  background: #fffdf2;
}

.btn-ghost {
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.btn-gradient {
  color: var(--white);
  background: linear-gradient(90deg, var(--pink-500), var(--orange-500));
  box-shadow: 0 16px 30px rgba(236, 72, 153, 0.28);
}

.hero-visual {
  position: relative;
}

.hero-slider {
  position: relative;
  min-height: 560px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.25);
  opacity: 0;
  transform: translateX(32px) scale(0.98);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

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

.hero-poster {
  position: relative;
  min-height: 390px;
  overflow: hidden;
}

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

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

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.08) 58%);
}

.hero-slide-copy {
  position: relative;
  padding: 26px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.84), rgba(15, 23, 42, 0.96));
}

.hero-slide-copy h2 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.2;
}

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

.hero-slide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.hero-slide-meta span {
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 800;
}

.hero-dots {
  position: absolute;
  z-index: 3;
  left: 28px;
  bottom: 28px;
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 30px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
  width: 48px;
  background: var(--white);
}

.section {
  padding: 74px 24px;
}

.section-alt {
  background: rgba(255, 255, 255, 0.72);
}

.section-shell {
  max-width: 1240px;
  margin: 0 auto;
}

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

.section-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: -0.06em;
  color: transparent;
  background: linear-gradient(90deg, var(--pink-600), var(--orange-600));
  -webkit-background-clip: text;
  background-clip: text;
}

.section-desc {
  margin: 10px 0 0;
  max-width: 720px;
  color: var(--slate-600);
  font-size: 18px;
}

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

.feature-card {
  min-height: 190px;
  padding: 30px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(253, 242, 248, 0.98), rgba(255, 247, 237, 0.98));
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:nth-child(2) {
  background: linear-gradient(135deg, rgba(254, 252, 232, 0.98), rgba(253, 242, 248, 0.98));
}

.feature-card:nth-child(3) {
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.98), rgba(254, 252, 232, 0.98));
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.14);
}

.feature-icon {
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink-400), var(--orange-500));
  box-shadow: 0 14px 28px rgba(236, 72, 153, 0.26);
}

.feature-card h2,
.feature-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
  color: var(--slate-800);
}

.feature-card p {
  margin: 0;
  color: var(--slate-600);
}

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

.category-tile {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 24px;
  border-radius: var(--radius-xl);
  color: var(--slate-800);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.16);
}

.category-tile strong {
  position: relative;
  display: block;
  margin-bottom: 10px;
  font-size: 23px;
  color: var(--slate-900);
}

.category-tile span:not(.category-glow) {
  position: relative;
  color: var(--slate-600);
  font-size: 14px;
}

.category-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  right: -42px;
  top: -42px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.24), rgba(249, 115, 22, 0.22));
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-7px) scale(1.015);
  box-shadow: 0 25px 55px rgba(15, 23, 42, 0.16);
}

.movie-card[hidden] {
  display: none !important;
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--pink-50), var(--orange-50));
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(2, 6, 23, 0.32);
  transition: opacity 0.25s ease;
}

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

.type-badge,
.rating-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 10px;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.type-badge {
  left: 10px;
  top: 10px;
  background: linear-gradient(90deg, var(--pink-500), var(--orange-500));
}

.rating-badge {
  right: 10px;
  top: 10px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
}

.rank-badge {
  left: 10px;
  bottom: 10px;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
}

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

.movie-card-body h3 {
  margin: 0 0 8px;
  color: var(--slate-900);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 900;
}

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

.movie-meta {
  margin: 0 0 8px;
  color: var(--slate-500);
  font-size: 13px;
}

.movie-desc {
  display: -webkit-box;
  min-height: 44px;
  margin: 0;
  overflow: hidden;
  color: var(--slate-600);
  font-size: 14px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 76px 112px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-row:hover {
  transform: translateX(5px);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.14);
}

.ranking-number {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: var(--white);
  font-size: 20px;
  font-weight: 950;
  background: linear-gradient(135deg, var(--pink-500), var(--orange-500));
}

.ranking-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: 16px;
}

.ranking-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ranking-info h3 {
  margin: 0 0 8px;
  color: var(--slate-900);
  font-size: 22px;
}

.ranking-info h3 a:hover {
  color: var(--pink-600);
}

.ranking-info p {
  margin: 0 0 8px;
  color: var(--slate-600);
}

.ranking-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ranking-tags span,
.tag-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--pink-600);
  background: rgba(236, 72, 153, 0.10);
  font-size: 12px;
  font-weight: 800;
}

.ranking-score {
  color: var(--orange-600);
  font-size: 20px;
  font-weight: 950;
}

.page-hero {
  padding: 72px 24px;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.26), transparent 24%),
    linear-gradient(135deg, var(--pink-500), var(--orange-500) 58%, var(--yellow-400));
}

.page-hero-shell {
  max-width: 1240px;
  margin: 0 auto;
}

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

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

.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -0.06em;
}

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

.filter-panel {
  margin-bottom: 34px;
  padding: 22px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
}

.filter-form {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(4, minmax(150px, 1fr));
  gap: 14px;
  align-items: end;
}

.filter-form label {
  display: grid;
  gap: 7px;
  color: var(--slate-700);
  font-size: 13px;
  font-weight: 900;
}

.filter-form input,
.filter-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 0 14px;
  color: var(--slate-800);
  background: var(--white);
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-form input:focus,
.filter-form select:focus {
  border-color: var(--pink-500);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.15);
}

.filter-empty {
  margin: 18px 0 0;
  color: var(--slate-500);
  font-weight: 800;
}

.detail-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 46px 24px 80px;
}

.detail-top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 420px;
  gap: 34px;
  align-items: start;
}

.player-panel,
.detail-info-card,
.content-card {
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.player-panel {
  overflow: hidden;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--slate-950);
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--slate-950);
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--white);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.player-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.24), transparent 34%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.86), rgba(2, 6, 23, 0.35));
}

.player-cover[hidden] {
  display: none;
}

.play-core {
  display: grid;
  place-items: center;
  gap: 12px;
}

.play-ring {
  width: 92px;
  height: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--pink-600);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
  font-size: 34px;
  transition: transform 0.2s ease;
}

.player-cover:hover .play-ring {
  transform: scale(1.08);
}

.play-text {
  font-size: 18px;
  font-weight: 900;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.45);
}

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

.detail-cover {
  overflow: hidden;
  margin-bottom: 22px;
  aspect-ratio: 2 / 3;
  border-radius: 22px;
  background: var(--pink-50);
}

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

.detail-info-card h1 {
  margin: 0 0 12px;
  color: var(--slate-900);
  font-size: 32px;
  line-height: 1.18;
  font-weight: 950;
}

.detail-one-line {
  margin: 0 0 18px;
  color: var(--slate-600);
  font-size: 17px;
}

.detail-meta-list {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.detail-meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--slate-100);
}

.detail-meta-list span {
  color: var(--slate-500);
}

.detail-meta-list strong {
  color: var(--slate-900);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.content-card {
  padding: 30px;
}

.content-card h2 {
  margin: 0 0 16px;
  color: var(--slate-900);
  font-size: 28px;
  font-weight: 950;
}

.content-card p {
  margin: 0;
  color: var(--slate-700);
  font-size: 17px;
  line-height: 1.9;
}

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

.site-footer {
  color: var(--white);
  background: linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.footer-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 58px 24px 34px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
}

.footer-logo {
  margin-bottom: 16px;
  font-size: 22px;
  font-weight: 950;
}

.footer-brand p,
.footer-group a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.68);
}

.footer-brand p {
  max-width: 520px;
  margin: 0;
}

.footer-group h2 {
  margin: 0 0 14px;
  color: var(--pink-400);
  font-size: 18px;
}

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

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

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1100px) {
  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 560px;
  }

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

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

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

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

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

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

  .detail-cover {
    margin-bottom: 0;
  }
}

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

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

  .nav-shell {
    height: 66px;
    padding: 0 18px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-shell {
    min-height: 0;
    padding: 52px 18px 110px;
  }

  .hero-copy p {
    font-size: 17px;
  }

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

  .hero-search input,
  .hero-search .btn {
    width: 100%;
  }

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

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

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

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

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

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

  .ranking-number {
    width: 44px;
    height: 44px;
    font-size: 16px;
    border-radius: 14px;
  }

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

  .detail-shell {
    padding: 28px 16px 58px;
  }

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

  .detail-cover {
    max-width: 260px;
  }

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

@media (max-width: 520px) {
  .brand-sub {
    display: none;
  }

  .hero h1 {
    font-size: 40px;
  }

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

  .hero-poster,
  .hero-poster img {
    min-height: 320px;
  }

  .hero-slide-copy {
    padding: 20px;
  }

  .hero-slide-copy h2 {
    font-size: 22px;
  }

  .section,
  .page-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .movie-card-body h3 {
    font-size: 15px;
  }

  .movie-desc {
    display: none;
  }
}
