:root {
  --bg: #fff7fb;
  --bg-soft: #fff1f7;
  --card: rgba(255, 255, 255, 0.94);
  --card-strong: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --soft: #f9a8d4;
  --pink: #ec4899;
  --purple: #a855f7;
  --blue: #60a5fa;
  --line: rgba(236, 72, 153, 0.18);
  --shadow: 0 24px 70px rgba(168, 85, 247, 0.18);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(244, 114, 182, 0.22), transparent 32rem),
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.18), transparent 34rem),
    linear-gradient(180deg, #fff7fb 0%, #ffffff 42%, #f8fbff 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(236, 72, 153, 0.12);
  box-shadow: 0 8px 30px rgba(236, 72, 153, 0.08);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--purple), var(--blue));
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.28);
}

.logo-text {
  font-size: clamp(20px, 2.4vw, 28px);
  color: transparent;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
}

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

.site-nav a {
  color: #374151;
  font-weight: 700;
  font-size: 15px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--pink);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(280px, 28vw);
  padding: 7px;
  border: 1px solid rgba(236, 72, 153, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.header-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 8px 10px;
  background: transparent;
  color: var(--text);
}

.header-search button,
.primary-btn,
.ghost-btn,
.filter-button,
.mobile-toggle {
  cursor: pointer;
}

.header-search button {
  flex: 0 0 auto;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  box-shadow: 0 10px 22px rgba(236, 72, 153, 0.24);
}

.mobile-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  color: var(--pink);
  border-radius: 14px;
  background: rgba(236, 72, 153, 0.1);
}

.main {
  overflow: hidden;
}

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

.spotlight {
  position: relative;
  min-height: 660px;
  isolation: isolate;
  overflow: hidden;
}

.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 24%, rgba(236, 72, 153, 0.25), transparent 30rem),
    radial-gradient(circle at 78% 15%, rgba(96, 165, 250, 0.23), transparent 32rem);
  z-index: -3;
}

.spotlight-track {
  position: relative;
  height: 660px;
}

.spotlight-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.75s ease, visibility 0.75s ease;
}

.spotlight-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.spotlight-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.48;
  overflow: hidden;
}

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

.spotlight-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 247, 251, 0.98) 0%, rgba(255, 247, 251, 0.88) 43%, rgba(255, 247, 251, 0.38) 100%),
    linear-gradient(0deg, rgba(255, 247, 251, 1) 0%, rgba(255, 247, 251, 0.12) 35%, rgba(255, 247, 251, 0.36) 100%);
}

.spotlight-layout {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(290px, 0.75fr);
  gap: 46px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  padding: 8px 14px;
  border: 1px solid rgba(236, 72, 153, 0.18);
  border-radius: 999px;
  color: var(--pink);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(236, 72, 153, 0.11);
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  box-shadow: 0 0 0 6px rgba(236, 72, 153, 0.1);
}

.spotlight h1,
.spotlight h2,
.page-hero h1,
.detail-title {
  margin: 18px 0 16px;
  font-weight: 950;
  line-height: 1.06;
  letter-spacing: -0.055em;
  color: #111827;
}

.spotlight h1,
.spotlight h2 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 82px);
}

.spotlight p {
  max-width: 720px;
  color: #4b5563;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.9;
}

.spotlight-actions,
.section-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

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

.primary-btn {
  color: #ffffff;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
  box-shadow: 0 18px 36px rgba(236, 72, 153, 0.25);
}

.ghost-btn {
  color: #374151;
  border: 1px solid rgba(236, 72, 153, 0.18);
  background: rgba(255, 255, 255, 0.78);
}

.primary-btn:hover,
.ghost-btn:hover,
.movie-card:hover,
.category-tile:hover,
.rank-card:hover {
  transform: translateY(-4px);
}

.spotlight-panel {
  position: relative;
  padding: 16px;
  border: 1px solid rgba(236, 72, 153, 0.16);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.spotlight-poster {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.16), rgba(96, 165, 250, 0.16));
}

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

.spotlight-card-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  color: #ffffff;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.22), rgba(17, 24, 39, 0.86));
  backdrop-filter: blur(10px);
}

.spotlight-card-caption strong {
  display: block;
  font-size: 20px;
  margin-bottom: 6px;
}

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

.spotlight-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(236, 72, 153, 0.25);
  transition: width 0.25s ease, background 0.25s ease;
}

.spotlight-dot.is-active {
  width: 34px;
  background: linear-gradient(90deg, var(--pink), var(--purple));
}

.section {
  padding: 76px 0;
}

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

.section-title {
  margin: 0 0 8px;
  color: #111827;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-desc {
  max-width: 720px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(174px, 1fr));
  gap: 22px;
}

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(236, 72, 153, 0.13);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  border-color: rgba(236, 72, 153, 0.28);
  box-shadow: 0 24px 54px rgba(236, 72, 153, 0.16);
}

.poster-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.12), rgba(96, 165, 250, 0.12));
}

.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-meta {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 850;
}

.poster-meta span {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.68);
  backdrop-filter: blur(10px);
}

.card-body {
  padding: 16px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  color: #db2777;
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(90deg, #fce7f3, #f3e8ff);
}

.movie-card h3 {
  margin: 0 0 8px;
  color: #1f2937;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.38;
}

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

.card-line {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

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

.category-tile {
  min-height: 160px;
  padding: 24px;
  border: 1px solid rgba(236, 72, 153, 0.14);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 12%, rgba(96, 165, 250, 0.24), transparent 8rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(253, 242, 248, 0.9));
  box-shadow: 0 18px 42px rgba(168, 85, 247, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--pink);
  font-weight: 950;
  font-size: 22px;
}

.category-tile p {
  margin: 0;
  color: #6b7280;
  line-height: 1.75;
}

.rank-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.rank-card {
  display: grid;
  grid-template-columns: 58px 82px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border: 1px solid rgba(236, 72, 153, 0.13);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.rank-no {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  font-weight: 950;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 10px 22px rgba(236, 72, 153, 0.22);
}

.rank-thumb {
  width: 82px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.12), rgba(96, 165, 250, 0.12));
}

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

.rank-info h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 900;
}

.rank-info p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.rank-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #be185d;
  font-size: 13px;
  font-weight: 800;
}

.page-hero {
  padding: 74px 0 46px;
  background:
    radial-gradient(circle at 20% 20%, rgba(236, 72, 153, 0.18), transparent 28rem),
    radial-gradient(circle at 80% 10%, rgba(96, 165, 250, 0.18), transparent 30rem);
}

.page-hero h1 {
  font-size: clamp(38px, 5vw, 64px);
}

.page-hero p {
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #9d174d;
  font-weight: 800;
  margin-bottom: 18px;
}

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

.filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 0 0 28px;
  padding: 16px;
  border: 1px solid rgba(236, 72, 153, 0.14);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 40px rgba(168, 85, 247, 0.11);
}

.page-search {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-search input,
.filter-panel select {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(236, 72, 153, 0.17);
  border-radius: 999px;
  outline: 0;
  padding: 0 18px;
  background: #ffffff;
  color: var(--text);
}

.filter-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-panel select {
  min-width: 136px;
}

.filter-button {
  height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 850;
  background: linear-gradient(90deg, var(--pink), var(--purple));
}

.detail-wrap {
  padding: 54px 0 84px;
}

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

.detail-cover {
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.12), rgba(96, 165, 250, 0.12));
}

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

.detail-title {
  font-size: clamp(34px, 5vw, 62px);
}

.detail-lead {
  max-width: 820px;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.9;
}

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

.meta-pill {
  display: inline-flex;
  padding: 9px 13px;
  color: #be185d;
  border: 1px solid rgba(236, 72, 153, 0.14);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.86);
}

.content-card {
  margin-top: 28px;
  padding: 26px;
  border: 1px solid rgba(236, 72, 153, 0.13);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.content-card h2 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 26px;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.content-card p {
  margin: 0;
  color: #4b5563;
  line-height: 1.95;
  font-size: 16px;
}

.player-shell {
  margin-top: 38px;
  border: 1px solid rgba(236, 72, 153, 0.13);
  border-radius: 32px;
  background: #111827;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
  overflow: hidden;
}

.video-box {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111827;
}

.video-box video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #111827;
}

.video-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #ffffff;
  background: rgba(17, 24, 39, 0.68);
}

.video-cover img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(1px) saturate(1.08);
  transform: scale(1.04);
}

.video-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at center, rgba(236, 72, 153, 0.24), rgba(17, 24, 39, 0.7)),
    linear-gradient(180deg, rgba(17, 24, 39, 0.12), rgba(17, 24, 39, 0.82));
}

.play-stack {
  display: grid;
  justify-items: center;
  gap: 16px;
  font-size: 18px;
  font-weight: 950;
}

.play-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  font-size: 32px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 20px 45px rgba(236, 72, 153, 0.35);
}

.player-shell.is-playing .video-cover {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.related-grid {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.no-result {
  display: none;
  padding: 28px;
  border: 1px dashed rgba(236, 72, 153, 0.28);
  border-radius: 24px;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
}

.no-result.is-visible {
  display: block;
}

.site-footer {
  padding: 46px 0;
  color: #6b7280;
  background: linear-gradient(135deg, #fff1f7, #f3e8ff, #eff6ff);
  border-top: 1px solid rgba(236, 72, 153, 0.13);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 800;
}

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

@media (max-width: 920px) {
  .nav-shell {
    min-height: 66px;
  }

  .site-nav,
  .header-search {
    display: none;
  }

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

  .site-header.is-open .site-nav {
    position: absolute;
    top: 66px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    padding: 14px;
    border: 1px solid rgba(236, 72, 153, 0.14);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
  }

  .site-header.is-open .site-nav a {
    padding: 12px 10px;
  }

  .spotlight,
  .spotlight-track {
    min-height: 760px;
    height: 760px;
  }

  .spotlight-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 46px 0 82px;
  }

  .spotlight-panel {
    width: min(360px, 100%);
  }

  .section-head,
  .filter-panel,
  .footer-grid {
    grid-template-columns: 1fr;
    display: grid;
    align-items: start;
  }

  .filter-tools,
  .page-search {
    width: 100%;
    flex-wrap: wrap;
  }

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

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

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

  .rank-card .primary-btn {
    grid-column: 1 / -1;
  }

  .rank-thumb {
    width: 64px;
  }
}

@media (max-width: 560px) {
  .container,
  .nav-shell,
  .spotlight-layout {
    width: min(100% - 24px, 1180px);
  }

  .spotlight h1,
.spotlight h2 {
    font-size: 38px;
  }

  .spotlight p,
  .page-hero p,
  .detail-lead {
    font-size: 16px;
  }

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

  .card-body {
    padding: 12px;
  }

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

  .rank-info p,
  .card-line {
    font-size: 12px;
  }

  .content-card {
    padding: 20px;
  }

  .play-icon {
    width: 64px;
    height: 64px;
    font-size: 26px;
  }
}

.site-footer p {
  margin: 10px 0 0;
  line-height: 1.7;
}

.spotlight h2 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 82px);
}

@media (max-width: 560px) {
  .spotlight h2 {
    font-size: 38px;
  }
}
