:root {
  --rose: #e11d48;
  --rose-soft: #fff1f2;
  --pink: #ec4899;
  --amber: #f59e0b;
  --text: #111827;
  --muted: #6b7280;
  --soft: #f9fafb;
  --line: #e5e7eb;
  --dark: #111827;
  --shadow: 0 22px 60px rgba(17, 24, 39, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: linear-gradient(135deg, #fff1f2 0%, #ffffff 45%, #fffbeb 100%);
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

main {
  min-height: 70vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 231, 235, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

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

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: linear-gradient(135deg, #fb7185, #e11d48);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(225, 29, 72, 0.28);
}

.brand-name {
  font-size: clamp(18px, 2vw, 24px);
  color: transparent;
  background: linear-gradient(135deg, #db2777, #e11d48, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  white-space: nowrap;
}

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

.nav-link {
  position: relative;
  color: #374151;
  font-weight: 700;
  transition: color 0.2s ease;
}

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

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

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

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

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

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

.header-search button,
.mobile-search button,
.hero-search button {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, #f43f5e, #ec4899);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(236, 72, 153, 0.25);
}

.header-search button {
  padding: 10px 18px;
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  color: #374151;
  background: #f3f4f6;
  border-radius: 14px;
  cursor: pointer;
}

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

.mobile-search input {
  flex: 1;
  min-width: 0;
  padding: 10px 16px;
}

.mobile-search button {
  padding: 10px 18px;
}

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

.mobile-link {
  padding: 12px 14px;
  color: #374151;
  background: #ffffff;
  border-radius: 16px;
  font-weight: 700;
}

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

.hero-shell {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 78px 0 88px;
  text-align: center;
}

.blob {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  filter: blur(44px);
  opacity: 0.28;
  animation: blob 8s infinite ease-in-out;
}

.blob-one {
  top: 30px;
  left: 6%;
  background: #fb7185;
}

.blob-two {
  top: 10px;
  right: 8%;
  background: #f9a8d4;
  animation-delay: 1.6s;
}

.blob-three {
  left: 18%;
  bottom: -80px;
  background: #fbbf24;
  animation-delay: 3.2s;
}

.hero-badge,
.eyebrow,
.section-heading span,
.story-card span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  color: #be123c;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(251, 113, 133, 0.25);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(225, 29, 72, 0.08);
}

.hero-shell h1 {
  max-width: 960px;
  margin: 22px auto 18px;
  color: transparent;
  background: linear-gradient(135deg, #be123c, #db2777, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(38px, 8vw, 82px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.hero-shell > p {
  max-width: 760px;
  margin: 0 auto 30px;
  color: #4b5563;
  font-size: clamp(17px, 2vw, 22px);
}

.hero-search {
  justify-content: center;
  max-width: 760px;
  margin: 0 auto 36px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  padding: 16px 20px;
  border: 0;
  background: transparent;
}

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

.hero-carousel {
  position: relative;
  max-width: 1050px;
  min-height: 440px;
  margin: 0 auto;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(136, 19, 55, 0.9));
  box-shadow: 0 34px 90px rgba(136, 19, 55, 0.3);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
  gap: 34px;
  align-items: center;
  padding: 42px;
  text-align: left;
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.hero-copy h2 {
  margin: 18px 0 12px;
  color: #ffffff;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.08;
}

.hero-copy p {
  max-width: 620px;
  margin: 0 0 22px;
  color: #ffe4e6;
  font-size: 17px;
}

.hero-meta,
.detail-meta,
.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.hero-meta span,
.detail-meta span,
.movie-meta span {
  padding: 5px 10px;
  color: #374151;
  background: #f3f4f6;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-meta span {
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.14);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.primary-button,
.secondary-button,
.outline-button,
.light-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, #f43f5e, #ec4899);
  box-shadow: 0 18px 38px rgba(225, 29, 72, 0.28);
}

.secondary-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.outline-button {
  color: var(--rose);
  background: #ffffff;
  border: 2px solid var(--rose);
}

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

.primary-button:hover,
.secondary-button:hover,
.outline-button:hover,
.light-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.16);
}

.hero-poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
}

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

.hero-dots {
  position: absolute;
  left: 42px;
  bottom: 26px;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

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

.category-strip,
.content-section,
.split-section,
.overview-grid,
.filter-panel,
.ranking-top,
.detail-content,
.index-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.category-strip {
  padding: 68px 0 42px;
}

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

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

.category-card:hover,
.category-overview:hover,
.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
}

.category-card strong,
.category-card em,
.category-card small {
  position: relative;
  z-index: 2;
  display: block;
}

.category-icon {
  position: relative;
  z-index: 2;
  display: block;
  margin-bottom: 12px;
  font-size: 34px;
}

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

.category-card em {
  margin-top: 4px;
  font-style: normal;
  opacity: 0.9;
}

.category-card small {
  margin-top: 12px;
  opacity: 0.82;
}

.accent-rose { background: linear-gradient(135deg, #fb7185, #e11d48); }
.accent-blue { background: linear-gradient(135deg, #60a5fa, #0891b2); }
.accent-purple { background: linear-gradient(135deg, #a78bfa, #db2777); }
.accent-red { background: linear-gradient(135deg, #f87171, #e11d48); }
.accent-pink { background: linear-gradient(135deg, #f472b6, #ec4899); }
.accent-amber { background: linear-gradient(135deg, #fbbf24, #f97316); }
.accent-cyan { background: linear-gradient(135deg, #22d3ee, #2563eb); }
.accent-green { background: linear-gradient(135deg, #34d399, #0f766e); }
.accent-indigo { background: linear-gradient(135deg, #818cf8, #4f46e5); }
.accent-violet { background: linear-gradient(135deg, #c084fc, #7c3aed); }
.accent-orange { background: linear-gradient(135deg, #fb923c, #f43f5e); }
.accent-slate { background: linear-gradient(135deg, #64748b, #0f172a); }

.content-section {
  padding: 72px 0;
}

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

.content-section.white {
  background: transparent;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading.center {
  text-align: center;
}

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

.section-heading.compact {
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 12px 0 8px;
  color: #111827;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
}

.section-heading p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
}

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

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

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

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

.movie-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #111827;
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.66));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.score-pill,
.play-pill,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
}

.score-pill {
  top: 12px;
  right: 12px;
  min-width: 48px;
  padding: 6px 10px;
  color: #ffffff;
  background: rgba(225, 29, 72, 0.92);
}

.play-pill {
  left: 50%;
  bottom: 18px;
  padding: 9px 16px;
  color: #be123c;
  background: #ffffff;
  opacity: 0;
  transform: translate(-50%, 14px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

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

.rank-badge {
  top: 12px;
  left: 12px;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #e11d48);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.18);
}

.movie-info {
  padding: 18px;
}

.card-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}

.tag {
  display: inline-flex;
  padding: 4px 9px;
  color: #be123c;
  background: #fff1f2;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.movie-info h2 {
  display: -webkit-box;
  min-height: 54px;
  margin: 0 0 9px;
  overflow: hidden;
  font-size: 20px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-info h2 a:hover {
  color: var(--rose);
}

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

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 46px;
  align-items: center;
  padding: 70px 0;
}

.split-copy {
  padding: 42px;
  background: linear-gradient(135deg, #fffbeb, #fff1f2);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.split-copy h2 {
  margin: 18px 0;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.1;
}

.split-copy p {
  color: var(--muted);
  font-size: 18px;
}

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

.compact-card {
  display: grid;
  grid-template-columns: auto 74px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.compact-card:hover {
  transform: translateX(4px);
  border-color: #fb7185;
}

.compact-card img {
  width: 74px;
  height: 98px;
  object-fit: cover;
  border-radius: 14px;
}

.compact-card span {
  min-width: 0;
}

.compact-card strong {
  display: block;
  overflow: hidden;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-card em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-style: normal;
}

.compact-rank {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #e11d48);
  border-radius: 999px;
  font-weight: 900;
}

.section-action {
  margin-top: 34px;
  text-align: center;
}

.cta-section {
  padding: 78px 16px;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(135deg, #e11d48, #ec4899);
}

.cta-section h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 48px);
}

.cta-section p {
  max-width: 680px;
  margin: 0 auto 28px;
  color: #ffe4e6;
  font-size: 18px;
}

.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 38px auto 24px;
  padding: 54px;
  color: #111827;
  background: linear-gradient(135deg, #ffffff, #fff1f2);
  border: 1px solid rgba(251, 113, 133, 0.18);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.page-hero[class*="accent-"] {
  color: #ffffff;
}

.page-hero span {
  display: inline-flex;
  padding: 7px 12px;
  color: #be123c;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  font-weight: 900;
}

.page-hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.05;
}

.page-hero p {
  max-width: 780px;
  margin: 0;
  color: inherit;
  opacity: 0.82;
  font-size: 18px;
}

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

.category-overview {
  min-height: 0;
  color: #ffffff;
}

.category-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.category-head span {
  font-size: 32px;
}

.category-head strong {
  font-size: 22px;
}

.category-head em {
  margin-left: auto;
  font-style: normal;
  opacity: 0.82;
}

.category-overview p {
  min-height: 76px;
  margin: 0 0 18px;
  opacity: 0.9;
}

.mini-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.mini-stack .compact-card {
  grid-template-columns: 54px minmax(0, 1fr);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.mini-stack .compact-card img {
  width: 54px;
  height: 72px;
}

.mini-stack .compact-card em {
  color: rgba(255, 255, 255, 0.75);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #e5e7eb;
  border-radius: 26px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.filter-input {
  width: 100%;
  padding: 14px 18px;
}

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

.filter-selects select {
  min-width: 140px;
  padding: 13px 16px;
}

.listing-section {
  padding-top: 34px;
}

.empty-state {
  margin-top: 20px;
  padding: 28px;
  color: var(--muted);
  text-align: center;
  background: #ffffff;
  border: 1px dashed #d1d5db;
  border-radius: 24px;
}

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

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

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

.detail-backdrop {
  position: absolute;
  inset: 0;
}

.detail-backdrop img {
  height: 100%;
  object-fit: cover;
  filter: blur(28px) saturate(1.15);
  opacity: 0.34;
  transform: scale(1.08);
}

.detail-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(136, 19, 55, 0.82));
}

.detail-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0;
}

.detail-poster {
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.35);
}

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

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  color: #fecdd3;
  font-size: 14px;
}

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

.detail-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.06;
}

.detail-copy .lead {
  max-width: 790px;
  margin: 0 0 24px;
  color: #ffe4e6;
  font-size: 20px;
}

.detail-meta span {
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.14);
}

.detail-tags {
  margin: 22px 0 28px;
}

.player-section {
  width: min(1080px, calc(100% - 32px));
  margin: 42px auto;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: 30px;
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.28);
}

.video-player {
  width: 100%;
  height: 100%;
  background: #000000;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  color: #ffffff;
  background: radial-gradient(circle at center, rgba(225, 29, 72, 0.18), rgba(0, 0, 0, 0.62));
  border: 0;
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  padding-left: 6px;
  color: #e11d48;
  background: #ffffff;
  border-radius: 999px;
  font-size: 34px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}

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

.detail-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 42px;
}

.story-card {
  padding: 34px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.story-card h2 {
  margin: 16px 0 12px;
  font-size: 28px;
}

.story-card p {
  margin: 0;
  color: #4b5563;
  font-size: 17px;
}

.index-section {
  display: grid;
  gap: 22px;
  padding: 24px 0 76px;
}

.index-group {
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.index-group h2 {
  margin: 0 0 16px;
  color: #be123c;
}

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

.index-links a {
  overflow: hidden;
  color: #374151;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.index-links a:hover {
  color: var(--rose);
}

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

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

.footer-brand p {
  max-width: 340px;
  color: #9ca3af;
}

.footer-logo .brand-name {
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: #ffffff;
}

.footer-column h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 17px;
}

.footer-column a {
  display: block;
  margin: 9px 0;
  color: #d1d5db;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  color: #9ca3af;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

[hidden] {
  display: none !important;
}

@keyframes blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(28px, -34px) scale(1.08); }
  66% { transform: translate(-22px, 24px) scale(0.94); }
}

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

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

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

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

  .featured-grid,
  .overview-grid,
  .ranking-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .hero-shell {
    padding: 54px 0 64px;
  }

  .hero-search,
  .filter-panel,
  .split-section,
  .detail-wrap,
  .detail-content,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-search,
  .filter-panel {
    border-radius: 26px;
  }

  .hero-search {
    display: grid;
  }

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

  .hero-carousel {
    min-height: 690px;
  }

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

  .hero-poster {
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-dots {
    left: 26px;
  }

  .category-grid,
  .movie-grid,
  .featured-grid,
  .small-grid,
  .overview-grid,
  .ranking-top,
  .ranking-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .detail-wrap {
    padding: 38px 0;
  }

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

  .section-heading.between {
    display: block;
  }

  .footer-bottom {
    display: grid;
  }
}

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

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

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

  .page-hero,
  .split-copy,
  .story-card {
    padding: 28px;
    border-radius: 26px;
  }

  .category-grid,
  .movie-grid,
  .featured-grid,
  .small-grid,
  .overview-grid,
  .ranking-top,
  .ranking-list,
  .index-links {
    grid-template-columns: 1fr;
  }

  .hero-carousel {
    min-height: 650px;
    border-radius: 26px;
  }

  .hero-slide {
    padding: 22px;
  }

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

  .mini-stack .compact-card {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .compact-card img {
    width: 64px;
    height: 86px;
  }

  .detail-copy .lead {
    font-size: 17px;
  }

  .player-shell {
    border-radius: 20px;
  }
}
