:root {
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --pink-500: #ec4899;
  --amber-500: #f59e0b;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.10);
  --shadow-strong: 0 28px 75px rgba(244, 63, 94, 0.22);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-900);
  background: linear-gradient(135deg, var(--rose-50), #ffffff 38%, #fffbeb);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 25px rgba(17, 24, 39, 0.08);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #fb7185, var(--rose-600));
  box-shadow: 0 12px 25px rgba(244, 63, 94, 0.28);
}

.brand-name {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1;
  background: linear-gradient(90deg, var(--rose-500), var(--rose-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

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

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--rose-500);
  transition: width 0.25s ease;
}

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

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.header-search {
  display: flex;
  align-items: center;
  width: 260px;
  border: 2px solid var(--gray-200);
  border-radius: 999px;
  overflow: hidden;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search:focus-within {
  border-color: #fb7185;
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.10);
}

.header-search input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 9px 14px;
  min-width: 0;
}

.header-search button {
  border: 0;
  color: #ffffff;
  background: var(--rose-500);
  padding: 9px 14px;
}

.watch-now,
.primary-action,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
  box-shadow: 0 14px 30px rgba(244, 63, 94, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.watch-now:hover,
.primary-action:hover,
.cta-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-strong);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  background: var(--gray-100);
  padding: 10px 12px;
}

.mobile-nav {
  display: none;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 0 0 18px;
}

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

.mobile-nav nav {
  display: grid;
  gap: 8px;
}

.mobile-nav .nav-link {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  background: #ffffff;
}

.mobile-search {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.mobile-search input {
  flex: 1;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 11px 14px;
}

.mobile-search button {
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: var(--rose-500);
  padding: 0 18px;
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  background: linear-gradient(135deg, #ffe4e6 0%, #fff7ed 42%, #ffffff 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 80px 0 130px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  align-items: center;
  gap: 48px;
}

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

.hero-kicker,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rose-600);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(244, 63, 94, 0.12);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(244, 63, 94, 0.08);
}

.hero-copy h1 {
  margin: 22px 0 18px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.hero-copy h1 span {
  display: block;
  background: linear-gradient(90deg, var(--rose-600), var(--pink-500), var(--amber-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy h1 strong {
  display: block;
  color: var(--gray-900);
}

.hero-copy p {
  max-width: 690px;
  margin: 0 0 30px;
  color: var(--gray-700);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-search {
  display: flex;
  align-items: center;
  max-width: 650px;
  padding: 8px;
  border: 1px solid rgba(244, 63, 94, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.hero-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 14px 18px;
  min-width: 0;
}

.hero-search button {
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
}

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

.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 22px;
  color: var(--gray-700);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.08);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.hero-stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  border-radius: 18px;
  padding: 12px 16px;
  color: var(--gray-700);
  background: rgba(255, 255, 255, 0.70);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
}

.hero-stats strong {
  color: var(--rose-600);
  font-size: 22px;
}

.hero-showcase {
  position: relative;
}

.hero-slider {
  position: relative;
  min-height: 455px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 35px 80px rgba(136, 19, 55, 0.28);
  background: linear-gradient(135deg, #fb7185, #f97316);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  background-size: cover;
  background-position: center;
  transition: opacity 0.6s ease, transform 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide a,
.hero-slide-mask,
.hero-slide-content {
  position: absolute;
  inset: 0;
}

.hero-slide-mask {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.08), rgba(17, 24, 39, 0.82));
}

.hero-slide-content {
  top: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 34px;
  color: #ffffff;
}

.hero-slide-content small,
.hero-slide-content em {
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
}

.hero-slide-content strong {
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.12;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.25);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 32px;
  background: var(--rose-500);
}

.hero-blobs {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  pointer-events: none;
}

.blob {
  position: absolute;
  width: 290px;
  height: 290px;
  border-radius: 999px;
  filter: blur(70px);
  mix-blend-mode: multiply;
  animation: blobMove 11s ease-in-out infinite;
}

.blob-rose {
  top: 55px;
  left: 7%;
  background: #fda4af;
}

.blob-pink {
  top: 0;
  right: 10%;
  background: #f9a8d4;
  animation-delay: 2s;
}

.blob-amber {
  bottom: 10%;
  left: 26%;
  background: #fcd34d;
  animation-delay: 4s;
}

@keyframes blobMove {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(24px, -18px) scale(1.06);
  }

  66% {
    transform: translate(-16px, 22px) scale(0.96);
  }
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
}

.category-strip,
.section {
  padding: 72px 0;
}

.category-strip {
  background: #ffffff;
}

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

.category-tile,
.category-overview-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: #ffffff;
  background: linear-gradient(135deg, #fb7185, #e11d48);
  box-shadow: var(--shadow-soft);
}

.category-tile {
  min-height: 155px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 24px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-strong);
}

.category-icon {
  font-size: 38px;
  line-height: 1;
}

.large-icon {
  display: inline-flex;
  margin-bottom: 12px;
  font-size: 58px;
}

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

.category-tile small {
  opacity: 0.88;
}

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

.category-rose {
  background: linear-gradient(135deg, #fb7185, #ec4899);
}

.category-purple {
  background: linear-gradient(135deg, #a78bfa, #d946ef);
}

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

.category-cyan {
  background: linear-gradient(135deg, #22d3ee, #2563eb);
}

.category-green {
  background: linear-gradient(135deg, #4ade80, #14b8a6);
}

.category-orange {
  background: linear-gradient(135deg, #fb923c, #ef4444);
}

.category-red {
  background: linear-gradient(135deg, #ef4444, #be123c);
}

.white-section {
  background: #ffffff;
}

.soft-section {
  background: linear-gradient(135deg, var(--gray-50), var(--rose-50));
}

.warm-section {
  background: linear-gradient(135deg, #fffbeb, var(--rose-50), #fdf2f8);
}

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

.section-heading h2,
.split-copy h2,
.cta-inner h2,
.detail-content h1,
.page-hero h1 {
  margin: 12px 0 0;
  color: var(--gray-900);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.section-heading p,
.split-copy p,
.page-hero p {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--gray-500);
}

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

.movie-grid {
  display: grid;
  gap: 24px;
}

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

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 55px rgba(17, 24, 39, 0.14);
}

.poster-link,
.poster-panel,
.rank-thumb {
  position: relative;
  overflow: hidden;
  display: block;
  background: linear-gradient(135deg, #fb7185, #f97316);
}

.poster-link {
  aspect-ratio: 4 / 3;
}

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

.movie-card-gradient .poster-link {
  aspect-ratio: 3 / 4;
}

.movie-card-glass .poster-link {
  aspect-ratio: 4 / 3;
}

.poster-link img,
.poster-panel img,
.rank-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

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

.poster-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 22px;
  font-weight: 900;
  text-align: center;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.24), transparent 32%), linear-gradient(135deg, #f43f5e, #f97316);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(17, 24, 39, 0.62));
  opacity: 0.72;
}

.region-badge,
.score-badge,
.detail-badges span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}

.region-badge,
.score-badge {
  position: absolute;
  top: 12px;
  z-index: 2;
}

.region-badge {
  right: 12px;
}

.score-badge {
  left: 12px;
  color: #ffffff;
  background: rgba(17, 24, 39, 0.78);
}

.badge-blue {
  color: #1d4ed8;
  background: #dbeafe;
}

.badge-purple {
  color: #7e22ce;
  background: #f3e8ff;
}

.badge-green {
  color: #047857;
  background: #d1fae5;
}

.badge-gray {
  color: #374151;
  background: #f3f4f6;
}

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

.movie-card h3,
.rank-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.25;
}

.movie-card h3 a:hover,
.rank-card h3 a:hover {
  color: var(--rose-600);
}

.movie-card p,
.rank-card p {
  margin: 0 0 14px;
  color: var(--gray-500);
  font-size: 14px;
}

.movie-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--gray-500);
  font-size: 13px;
}

.movie-meta-row span {
  display: inline-flex;
  align-items: center;
}

.tag-row {
  min-height: 21px;
  margin-top: 12px;
  color: var(--rose-600);
  font-size: 12px;
  word-break: keep-all;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 46px;
  align-items: center;
}

.split-copy p {
  margin-bottom: 24px;
  font-size: 18px;
}

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

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

.rank-card {
  display: grid;
  grid-template-columns: auto 104px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
}

.rank-num {
  width: 42px;
  color: var(--rose-600);
  font-size: 24px;
  font-weight: 900;
  text-align: center;
}

.rank-thumb {
  width: 104px;
  height: 82px;
  border-radius: 15px;
}

.cta-section {
  padding: 82px 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose-600), var(--pink-500));
}

.cta-inner {
  text-align: center;
}

.cta-inner h2 {
  color: #ffffff;
}

.cta-inner p {
  max-width: 760px;
  margin: 16px auto 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.cta-button {
  color: var(--rose-600);
  background: #ffffff;
}

.page-hero {
  padding: 54px 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose-600), var(--pink-500));
}

.small-hero h1,
.category-page-hero h1 {
  color: #ffffff;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.filter-bar {
  position: sticky;
  top: 76px;
  z-index: 20;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-100);
}

.filter-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(150px, auto));
  gap: 12px;
  align-items: center;
}

.filter-inner input,
.filter-inner select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  background: #ffffff;
  padding: 0 14px;
  outline: 0;
}

.filter-inner input:focus,
.filter-inner select:focus {
  border-color: var(--rose-500);
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.10);
}

.result-pill {
  justify-self: end;
  color: var(--gray-700);
  background: var(--rose-50);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
}

.no-results {
  padding: 56px 20px;
  color: var(--gray-500);
  text-align: center;
  font-size: 18px;
}

.overview-stack {
  display: grid;
  gap: 24px;
}

.category-overview-card {
  padding: 24px;
}

.category-overview-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}

.category-overview-head h2 {
  margin: 0;
  font-size: 28px;
}

.category-overview-head p {
  margin: 6px 0;
  color: rgba(255, 255, 255, 0.86);
}

.category-overview-head a {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.20);
  padding: 10px 16px;
  font-weight: 800;
}

.mini-grid .movie-card {
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.14);
}

.detail-shell {
  padding: 34px 0 70px;
  background: linear-gradient(135deg, var(--gray-50), #ffffff);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--gray-500);
  font-size: 14px;
}

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

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

.detail-main,
.detail-side,
.detail-content,
.info-panel {
  min-width: 0;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #050505;
  box-shadow: 0 28px 65px rgba(17, 24, 39, 0.28);
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle at center, rgba(244, 63, 94, 0.22), rgba(0, 0, 0, 0.62));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.play-icon {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--rose-600);
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  font-size: 30px;
}

.play-overlay strong {
  font-size: 22px;
}

.play-overlay small,
.player-status {
  color: rgba(255, 255, 255, 0.78);
}

.player-status {
  position: absolute;
  left: 18px;
  bottom: 12px;
  z-index: 2;
  margin: 0;
  font-size: 13px;
}

.detail-content,
.info-panel {
  margin-top: 22px;
  padding: 26px;
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.detail-badges span:not(.region-badge) {
  color: var(--rose-600);
  background: var(--rose-50);
}

.detail-badges .region-badge {
  position: static;
}

.detail-content h1 {
  margin-top: 0;
}

.one-line {
  color: var(--gray-700);
  font-size: 18px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--gray-100);
}

.detail-actions button,
.detail-actions a {
  border: 0;
  border-radius: 999px;
  color: var(--rose-600);
  background: var(--rose-50);
  padding: 10px 15px;
  font-weight: 800;
}

.detail-content section {
  margin-top: 24px;
}

.detail-content h2,
.info-panel h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.detail-content p {
  margin: 0;
  color: var(--gray-700);
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.detail-tags span {
  border-radius: 999px;
  color: var(--gray-700);
  background: var(--gray-100);
  padding: 8px 12px;
  font-size: 13px;
}

.poster-panel {
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.info-panel dl {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 11px 14px;
  margin: 0;
}

.info-panel dt {
  color: var(--gray-500);
}

.info-panel dd {
  margin: 0;
  color: var(--gray-900);
  font-weight: 700;
  word-break: break-word;
}

.info-panel a {
  color: var(--rose-600);
}

.site-footer {
  color: #d1d5db;
  background: linear-gradient(135deg, #111827, #1f2937 55%, #111827);
}

.footer-grid {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 52px 0 34px;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 34px;
}

.footer-brand {
  color: #ffffff;
  font-size: 20px;
}

.site-footer p,
.site-footer li,
.footer-bottom {
  color: #9ca3af;
  font-size: 14px;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #ffffff;
}

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

.site-footer li {
  margin: 8px 0;
}

.site-footer a:hover {
  color: #fb7185;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-row span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #374151;
}

.footer-bottom {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.is-hidden-by-filter {
  display: none !important;
}

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

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

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

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

  .hero-copy p,
  .hero-search {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-stats {
    justify-content: center;
  }

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

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

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

@media (max-width: 820px) {
  .header-inner {
    height: 66px;
  }

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

  .hero-section {
    min-height: auto;
  }

  .hero-inner {
    padding: 54px 0 96px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

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

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

  .hero-slider {
    min-height: 360px;
    border-radius: 26px;
  }

  .section-heading,
  .footer-bottom,
  .category-overview-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-overview-head {
    display: flex;
  }

  .featured-grid,
  .three-col,
  .four-col,
  .two-col,
  .category-grid,
  .compact-rank-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-bar {
    position: static;
  }

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

  .result-pill {
    justify-self: stretch;
    text-align: center;
  }

  .rank-card {
    grid-template-columns: auto 86px minmax(0, 1fr);
  }

  .rank-thumb {
    width: 86px;
    height: 74px;
  }

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

@media (max-width: 560px) {
  .container,
  .header-inner,
  .mobile-nav,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 22px, var(--container));
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-copy p,
  .page-hero p,
  .one-line {
    font-size: 16px;
  }

  .hero-actions a,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .hero-stats span {
    flex: 1 1 100%;
    justify-content: center;
  }

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

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

  .featured-grid,
  .three-col,
  .four-col,
  .two-col,
  .category-grid,
  .compact-rank-list {
    grid-template-columns: 1fr;
  }

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

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

  .rank-num {
    text-align: left;
  }

  .rank-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .detail-content,
  .info-panel {
    padding: 20px;
  }

  .play-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
}
