:root {
  --brand: #f43f5e;
  --brand-dark: #be123c;
  --brand-soft: #fff1f2;
  --pink: #ec4899;
  --amber: #f59e0b;
  --purple: #8b5cf6;
  --green: #10b981;
  --blue: #3b82f6;
  --cyan: #06b6d4;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --panel: #ffffff;
  --soft: #fff7fb;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(190, 18, 60, 0.18);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #fff7fb 0%, #ffffff 45%, #fff7ed 100%);
  color: var(--text);
}

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: 80;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(244, 63, 94, 0.12);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.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, #e11d48);
  box-shadow: 0 14px 24px rgba(244, 63, 94, 0.26);
}

.brand-name {
  font-size: 24px;
  background: linear-gradient(135deg, #ec4899, #e11d48, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link,
.nav-more {
  border: 0;
  background: transparent;
  color: #374151;
  font-weight: 700;
  cursor: pointer;
  padding: 10px 0;
  position: relative;
}

.nav-link::after,
.nav-more::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.25s ease;
}

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

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

.nav-dropdown {
  position: relative;
  display: inline-flex;
}

.nav-dropdown-panel {
  position: absolute;
  top: 44px;
  right: 0;
  width: 220px;
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(244, 63, 94, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-sub-link {
  padding: 10px 12px;
  border-radius: 12px;
  color: #4b5563;
  font-weight: 700;
}

.nav-sub-link:hover {
  color: var(--brand);
  background: var(--brand-soft);
}

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

.header-search input,
.mobile-search input,
.hero-search input,
.inline-search input,
.filter-controls input,
.filter-controls select {
  border: 2px solid #e5e7eb;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  outline: none;
  transition: 0.2s ease;
}

.header-search input {
  width: 220px;
  padding: 10px 16px;
}

.header-search input:focus,
.mobile-search input:focus,
.hero-search input:focus,
.inline-search input:focus,
.filter-controls input:focus,
.filter-controls select:focus {
  border-color: #fb7185;
  box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.12);
}

.header-search button,
.mobile-search button,
.hero-search button,
.inline-search button {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #ec4899, #e11d48);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(244, 63, 94, 0.2);
}

.mobile-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 22px;
  cursor: pointer;
}

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

.mobile-nav.is-open {
  display: block;
  animation: slideDown 0.25s ease both;
}

.mobile-search {
  margin-bottom: 14px;
}

.mobile-search input {
  flex: 1;
  padding: 12px 16px;
}

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

.mobile-link {
  padding: 12px 14px;
  border-radius: 14px;
  color: #374151;
  font-weight: 800;
}

.mobile-link:hover,
.mobile-link.is-active {
  color: var(--brand);
  background: var(--brand-soft);
}

.hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  background: linear-gradient(135deg, #ffe4e6 0%, #fff1f2 35%, #fffbeb 100%);
}

.hero-inner {
  width: min(1200px, calc(100% - 32px));
  min-height: 690px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.66fr);
  align-items: center;
  gap: 56px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-copy {
  padding: 120px 0 140px;
}

.hero-pill,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 900;
  box-shadow: var(--shadow-sm);
}

.section-kicker {
  margin-bottom: 14px;
  background: #ffe4e6;
}

.section-kicker.rose {
  color: #be123c;
  background: #ffe4e6;
}

.section-kicker.amber {
  color: #92400e;
  background: #fef3c7;
}

.section-kicker.purple {
  color: #6d28d9;
  background: #ede9fe;
}

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

.hero-copy h1,
.hero-copy h2 {
  margin: 18px 0 0;
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.hero-copy h1 {
  max-width: 780px;
  font-size: clamp(42px, 7vw, 78px);
  background: linear-gradient(135deg, #be123c, #ec4899, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy h2 {
  font-size: clamp(30px, 5vw, 56px);
  color: #111827;
}

.hero-copy p {
  max-width: 720px;
  color: #4b5563;
  font-size: 20px;
  line-height: 1.9;
  margin: 24px 0 0;
}

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

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

.btn.primary {
  color: #ffffff;
  background: linear-gradient(135deg, #f43f5e, #ec4899);
  box-shadow: 0 16px 30px rgba(244, 63, 94, 0.24);
}

.btn.ghost {
  color: #be123c;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(244, 63, 94, 0.18);
}

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

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-tags a,
.hero-tags span,
.tag-row span {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.75);
  color: #9f1239;
  font-size: 13px;
  font-weight: 800;
}

.hero-poster {
  position: relative;
  display: block;
  width: min(390px, 100%);
  aspect-ratio: 2 / 3;
  justify-self: center;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(135deg, #fda4af, #f0abfc, #fde68a);
  box-shadow: 0 38px 80px rgba(159, 18, 57, 0.26);
  transform: rotate(2deg);
  transition: 0.3s ease;
}

.hero-poster:hover {
  transform: rotate(0deg) translateY(-6px);
}

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

.hero-play,
.poster-play {
  position: absolute;
  inset: auto 18px 18px auto;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(225, 29, 72, 0.92);
  box-shadow: 0 14px 32px rgba(244, 63, 94, 0.4);
}

.hero-dots {
  position: absolute;
  left: 0;
  bottom: 82px;
  display: flex;
  gap: 10px;
  z-index: 4;
}

.hero-dot {
  width: 42px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(190, 18, 60, 0.18);
  cursor: pointer;
  transition: 0.2s ease;
}

.hero-dot.is-active {
  width: 68px;
  background: #e11d48;
}

.hero-blob {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  opacity: 0.25;
  filter: blur(64px);
  mix-blend-mode: multiply;
  animation: blob 8s infinite;
}

.hero-blob.one {
  top: 70px;
  left: 8%;
  background: #fb7185;
}

.hero-blob.two {
  top: 30px;
  right: 9%;
  background: #f472b6;
  animation-delay: 2s;
}

.hero-blob.three {
  bottom: 40px;
  left: 22%;
  background: #fbbf24;
  animation-delay: 4s;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 110px;
  background: radial-gradient(120% 120px at 50% 120px, #ffffff 62%, transparent 63%);
}

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

.section.soft {
  width: 100%;
  padding-left: max(16px, calc((100% - 1200px) / 2));
  padding-right: max(16px, calc((100% - 1200px) / 2));
  background: linear-gradient(135deg, #fff7fb, #fff1f2, #fffbeb);
}

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

.section-heading.centered {
  display: grid;
  justify-items: center;
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2,
.split-copy h2,
.detail-content h2,
.detail-more h2,
.filter-panel h2,
.channel-title h3,
.category-side-list h2 {
  margin: 0;
  color: #111827;
  letter-spacing: -0.04em;
}

.section-heading h2,
.split-copy h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.section-heading p,
.split-copy p,
.category-tile em,
.category-overview-main p,
.filter-panel p {
  color: var(--muted);
  line-height: 1.8;
}

.text-link {
  color: var(--brand-dark);
  font-weight: 900;
}

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

.category-tile,
.category-overview-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 24px;
  border-radius: var(--radius-lg);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: 0.28s ease;
}

.category-tile:hover,
.category-overview-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

.category-tile::before,
.category-overview-card::before,
.category-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.92;
  background: linear-gradient(135deg, #f43f5e, #ec4899);
}

.from-purple::before { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.from-rose::before { background: linear-gradient(135deg, #fb7185, #e11d48); }
.from-blue::before { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.from-red::before { background: linear-gradient(135deg, #ef4444, #f43f5e); }
.from-cyan::before { background: linear-gradient(135deg, #06b6d4, #6366f1); }
.from-pink::before { background: linear-gradient(135deg, #ec4899, #f472b6); }
.from-indigo::before { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.from-amber::before { background: linear-gradient(135deg, #f59e0b, #fb7185); }
.from-green::before { background: linear-gradient(135deg, #10b981, #14b8a6); }
.from-orange::before { background: linear-gradient(135deg, #f97316, #f43f5e); }

.category-tile > *,
.category-overview-card > *,
.category-hero > * {
  position: relative;
  z-index: 1;
}

.category-icon,
.category-hero-icon {
  display: block;
  font-size: 42px;
  margin-bottom: 16px;
}

.category-tile strong {
  display: block;
  font-size: 21px;
  margin-bottom: 10px;
}

.category-tile em {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
  font-size: 14px;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(244, 63, 94, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  border-color: rgba(244, 63, 94, 0.35);
  box-shadow: var(--shadow-lg);
}

.poster-link,
.poster-frame {
  display: block;
}

.poster-frame {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #ffe4e6, #fce7f3, #fef3c7);
}

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

.movie-card:hover .poster-frame img {
  transform: scale(1.06);
}

.poster-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(15, 23, 42, 0.58));
}

.poster-play {
  width: 48px;
  height: 48px;
  font-size: 16px;
  transform: translateY(18px);
  opacity: 0;
  transition: 0.25s ease;
}

.movie-card:hover .poster-play {
  transform: translateY(0);
  opacity: 1;
}

.rank-badge {
  position: absolute;
  z-index: 3;
  left: 14px;
  top: 14px;
  min-width: 42px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #e11d48);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(190, 18, 60, 0.28);
}

.card-body {
  padding: 18px;
}

.movie-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.movie-meta span,
.detail-meta span {
  padding: 5px 9px;
  border-radius: 999px;
  color: #9f1239;
  background: #ffe4e6;
  font-size: 12px;
  font-weight: 900;
}

.movie-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

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

.movie-card p {
  min-height: 72px;
  margin: 0 0 14px;
  color: #4b5563;
  line-height: 1.7;
  font-size: 14px;
}

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

.tag-row span {
  background: #fff1f2;
  box-shadow: none;
}

.tag-row.large span {
  font-size: 14px;
  padding: 9px 13px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  align-items: center;
  gap: 48px;
}

.split-section.reverse {
  grid-template-columns: minmax(320px, 1fr) minmax(0, 0.82fr);
}

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

.ranking-panel,
.channel-preview,
.detail-more,
.player-card,
.detail-aside,
.detail-content,
.filter-panel,
.category-side-list {
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(244, 63, 94, 0.12);
  box-shadow: var(--shadow-sm);
}

.ranking-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.ranking-panel.dense {
  max-height: none;
}

.mini-card {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 18px;
  transition: 0.2s ease;
}

.mini-card:hover {
  background: #fff1f2;
  transform: translateX(4px);
}

.mini-poster {
  position: relative;
  width: 66px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffe4e6, #fef3c7);
}

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

.mini-rank {
  position: absolute;
  left: 6px;
  top: 6px;
  display: inline-flex;
  min-width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e11d48;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.mini-info strong,
.mini-info em {
  display: block;
}

.mini-info strong {
  overflow: hidden;
  color: #111827;
  font-size: 15px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

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

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

.channel-preview {
  padding: 22px;
}

.channel-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.channel-title span {
  font-size: 28px;
}

.channel-title a {
  margin-left: auto;
  color: var(--brand);
  font-weight: 900;
}

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

.sub-hero,
.ranking-hero,
.category-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 76px max(16px, calc((100% - 1200px) / 2));
  background: linear-gradient(135deg, #fff1f2, #ffffff, #fffbeb);
}

.sub-hero-inner {
  max-width: 860px;
}

.sub-hero h1,
.ranking-hero h1,
.category-hero h1,
.detail-aside h1 {
  margin: 12px 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.sub-hero p,
.ranking-hero p,
.category-hero p,
.detail-aside p {
  max-width: 760px;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.85;
}

.hero-search {
  max-width: 660px;
  margin-top: 28px;
}

.hero-search input {
  flex: 1;
  padding: 15px 20px;
}

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

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

.category-overview-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.7fr);
  gap: 18px;
  color: #ffffff;
}

.category-overview-main span {
  font-size: 38px;
}

.category-overview-main h2 {
  margin: 12px 0;
  font-size: 30px;
}

.category-overview-main p {
  color: rgba(255, 255, 255, 0.9);
}

.category-samples {
  display: grid;
  align-content: center;
  gap: 10px;
}

.category-samples a {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

.category-samples a:hover {
  background: rgba(255, 255, 255, 0.28);
}

.category-hero {
  color: #ffffff;
  background: #e11d48;
}

.category-hero h1,
.category-hero p,
.category-hero a,
.category-hero strong,
.category-hero .breadcrumb,
.category-hero .category-side-list h2 {
  color: #ffffff;
}

.category-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 40px;
  align-items: center;
}

.category-side-list {
  padding: 20px;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.24);
}

.category-side-list .mini-card:hover {
  background: rgba(255, 255, 255, 0.15);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

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

.filter-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px;
  margin-bottom: 26px;
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-controls input,
.filter-controls select {
  min-height: 46px;
  padding: 0 16px;
}

.category-list .movie-card.is-hidden {
  display: none;
}

.ranking-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 42px;
  align-items: center;
}

.ranking-champion {
  display: grid;
  overflow: hidden;
  border-radius: 32px;
  background: #ffffff;
  box-shadow: var(--shadow-lg);
}

.ranking-champion img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: linear-gradient(135deg, #ffe4e6, #fef3c7);
}

.ranking-champion span,
.ranking-champion strong,
.ranking-champion em {
  margin-left: 22px;
  margin-right: 22px;
}

.ranking-champion span {
  margin-top: 18px;
  color: var(--brand);
  font-weight: 900;
}

.ranking-champion strong {
  margin-top: 8px;
  font-size: 26px;
}

.ranking-champion em {
  margin-top: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-style: normal;
}

.detail-hero {
  padding-top: 34px;
}

.detail-breadcrumb {
  width: min(1200px, 100%);
  margin: 0 auto 24px;
}

.detail-grid {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: stretch;
}

.player-card {
  overflow: hidden;
  background: #0f172a;
}

.video-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at center, #334155, #020617 70%);
}

.video-shell video {
  width: 100%;
  height: 100%;
  display: block;
  background: #020617;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.22), rgba(2, 6, 23, 0.72));
  cursor: pointer;
}

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

.play-circle {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #f43f5e, #ec4899);
  box-shadow: 0 18px 42px rgba(244, 63, 94, 0.42);
  font-size: 26px;
}

.player-cover strong {
  font-size: 20px;
}

.detail-aside {
  overflow: hidden;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
}

.detail-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #ffe4e6, #fef3c7);
}

.detail-aside-content {
  padding: 22px;
}

.detail-aside h1 {
  font-size: 32px;
}

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

.detail-content {
  padding: 30px;
}

.detail-content h2 {
  margin-top: 10px;
  font-size: 30px;
}

.detail-content p {
  color: #374151;
  line-height: 2;
  font-size: 17px;
  margin-bottom: 28px;
}

.detail-more {
  padding: 22px;
  position: sticky;
  top: 96px;
}

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

.site-footer {
  margin-top: 30px;
  background: #111827;
  color: #d1d5db;
}

.footer-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.9fr) minmax(220px, 0.65fr);
  gap: 36px;
  padding: 48px 0;
}

.brand-footer .brand-name {
  color: #ffffff;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
}

.footer-brand p {
  color: #9ca3af;
  line-height: 1.8;
}

.footer-links h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 18px;
}

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

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

.footer-link-grid a {
  color: #9ca3af;
}

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

.footer-bottom {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #9ca3af;
  font-size: 14px;
  text-align: center;
}

@keyframes blob {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.1); }
  66% { transform: translate(-22px, 20px) scale(0.92); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-slide,
  .detail-grid,
  .detail-content-section,
  .ranking-hero,
  .category-hero-inner,
  .split-section,
  .split-section.reverse {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: 900px;
  }

  .hero-slide {
    gap: 24px;
  }

  .hero-copy {
    padding: 82px 0 0;
  }

  .hero-poster {
    width: min(300px, 82vw);
    justify-self: start;
    margin-bottom: 120px;
  }

  .hero-dots {
    bottom: 54px;
  }

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

  .category-overview-grid,
  .channel-grid {
    grid-template-columns: 1fr;
  }

  .detail-aside {
    grid-template-columns: 130px minmax(0, 1fr);
  }
}

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

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

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

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

  .hero-inner {
    min-height: 800px;
  }

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

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

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

  .section {
    padding: 54px 0;
  }

  .section-heading,
  .filter-panel {
    display: grid;
    align-items: start;
  }

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

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

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

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

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

  .detail-poster {
    max-height: 420px;
  }

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

@media (max-width: 520px) {
  .category-grid,
  .movie-grid,
  .featured-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .hero-search,
  .inline-search,
  .filter-controls {
    display: grid;
    width: 100%;
  }

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