:root {
  --bg: #fff7fb;
  --bg-soft: #fff1f7;
  --card: rgba(255, 255, 255, 0.82);
  --card-strong: rgba(255, 255, 255, 0.95);
  --text: #25202a;
  --muted: #6f6675;
  --line: rgba(244, 114, 182, 0.22);
  --pink: #ec4899;
  --rose: #fb7185;
  --violet: #8b5cf6;
  --shadow: 0 24px 60px rgba(236, 72, 153, 0.16);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 18% 8%, rgba(251, 113, 133, 0.28), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(139, 92, 246, 0.18), transparent 26%),
    linear-gradient(180deg, #fff7fb 0%, #fff 45%, #fff7fb 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(236, 72, 153, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236, 72, 153, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
  z-index: -2;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 35px rgba(236, 72, 153, 0.08);
}

.nav-shell {
  max-width: 1320px;
  height: 72px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.brand-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--pink), var(--rose));
  box-shadow: 0 12px 28px rgba(236, 72, 153, 0.36);
}

.brand-name,
.footer-logo {
  font-size: 24px;
  background: linear-gradient(135deg, var(--pink), var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 auto;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.nav-link {
  color: #514858;
  font-weight: 650;
  transition: color 0.2s ease, transform 0.2s ease;
}

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

.nav-link:hover {
  transform: translateY(-1px);
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.nav-search input,
.filter-controls input,
.filter-controls select {
  border: 2px solid rgba(236, 72, 153, 0.22);
  border-radius: 999px;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.86);
  outline: none;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input:focus,
.filter-controls input:focus,
.filter-controls select:focus {
  border-color: rgba(236, 72, 153, 0.62);
  box-shadow: 0 0 0 5px rgba(236, 72, 153, 0.10);
}

.nav-search button,
.primary-btn,
.ghost-btn,
.player-start,
.mobile-toggle {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.nav-search button,
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 20px;
  color: white;
  font-weight: 800;
  background: linear-gradient(135deg, var(--pink), var(--rose));
  box-shadow: 0 16px 32px rgba(236, 72, 153, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-search button:hover,
.primary-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 42px rgba(236, 72, 153, 0.34);
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 20px;
  color: var(--pink);
  font-weight: 800;
  border: 1px solid rgba(236, 72, 153, 0.28);
  background: rgba(255, 255, 255, 0.75);
}

.mobile-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(236, 72, 153, 0.10);
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--pink);
}

.hero-section {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 48px 22px 28px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.7;
}

.hero-glow-one {
  width: 280px;
  height: 280px;
  left: 4%;
  top: 8%;
  background: rgba(236, 72, 153, 0.22);
}

.hero-glow-two {
  width: 320px;
  height: 320px;
  right: 10%;
  top: 24%;
  background: rgba(139, 92, 246, 0.18);
}

.hero-shell {
  position: relative;
  min-height: 570px;
  border-radius: 38px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 232, 244, 0.72)),
    radial-gradient(circle at 80% 12%, rgba(236, 72, 153, 0.25), transparent 42%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 28px;
  padding: clamp(30px, 6vw, 76px);
  opacity: 0;
  transform: translateX(30px);
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.eyebrow {
  margin: 0 0 10px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1,
.page-title h1,
.detail-copy h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-summary,
.lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: #584f60;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  color: #7c2d54;
  background: rgba(236, 72, 153, 0.10);
  border: 1px solid rgba(236, 72, 153, 0.18);
  font-size: 13px;
  font-weight: 700;
}

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

.hero-poster {
  position: relative;
  width: min(430px, 100%);
  aspect-ratio: 3 / 4;
  justify-self: center;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.24), rgba(139, 92, 246, 0.18));
  box-shadow: 0 30px 70px rgba(53, 25, 45, 0.22);
  transform: rotate(2deg);
}

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

.hero-poster::after,
.poster-frame::after,
.category-cover::after,
.detail-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.poster-missing::before,
.hero-poster.poster-missing::before,
.category-cover.poster-missing::before,
.detail-poster.poster-missing::before {
  content: attr(data-title);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: white;
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink), var(--violet));
}

.hero-play,
.play-hover {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  color: var(--pink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  z-index: 3;
}

.hero-dots {
  position: absolute;
  left: clamp(30px, 6vw, 76px);
  bottom: 34px;
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(236, 72, 153, 0.24);
  cursor: pointer;
}

.hero-dot.is-active {
  width: 34px;
  background: linear-gradient(135deg, var(--pink), var(--rose));
}

.stat-strip,
.section-shell,
.detail-layout {
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px 22px;
}

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

.stat-strip div,
.filter-panel,
.content-card,
.category-card-wide,
.site-footer,
.soft-panel,
.detail-hero,
.player-section {
  background: var(--card);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-strip div {
  padding: 22px;
  text-align: center;
}

.stat-strip strong {
  display: block;
  color: var(--pink);
  font-size: 32px;
  line-height: 1;
}

.stat-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

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

.section-heading h2,
.filter-panel h2,
.content-card h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 42px);
  letter-spacing: -0.04em;
}

.section-heading p,
.page-title p,
.content-card p,
.category-card-wide p,
.site-footer p {
  color: var(--muted);
  line-height: 1.8;
}

.with-action {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

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

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

.category-tile {
  min-height: 180px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 231, 243, 0.78));
  border: 1px solid rgba(236, 72, 153, 0.14);
  box-shadow: 0 14px 38px rgba(236, 72, 153, 0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover,
.movie-card:hover,
.category-card-wide:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 58px rgba(236, 72, 153, 0.20);
}

.category-tile strong {
  display: block;
  margin-top: 14px;
  font-size: 22px;
}

.category-tile p,
.category-tile em {
  display: block;
  color: var(--muted);
  line-height: 1.7;
  font-style: normal;
}

.category-count {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 10px;
  color: white;
  font-size: 12px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink), var(--rose));
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--card-strong);
  border: 1px solid rgba(236, 72, 153, 0.12);
  box-shadow: 0 14px 34px rgba(78, 35, 61, 0.10);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.movie-card-large {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  min-height: 320px;
}

.poster-frame,
.category-cover,
.detail-poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.28), rgba(139, 92, 246, 0.20));
}

.poster-frame {
  aspect-ratio: 2 / 3;
}

.movie-card-large .poster-frame {
  height: 100%;
  aspect-ratio: auto;
}

.poster-frame img {
  transition: transform 0.35s ease;
}

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

.type-pill,
.duration-pill,
.rank-mark {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: white;
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.type-pill {
  left: 10px;
  top: 10px;
  padding: 6px 9px;
  background: rgba(236, 72, 153, 0.90);
}

.duration-pill {
  right: 10px;
  bottom: 10px;
  padding: 5px 8px;
  background: rgba(0, 0, 0, 0.68);
}

.rank-mark {
  right: 10px;
  top: 10px;
  padding: 6px 9px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.play-hover {
  width: 52px;
  height: 52px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.movie-info {
  padding: 16px;
}

.movie-info h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
}

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

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

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #8a7f8f;
  font-size: 13px;
  font-weight: 700;
}

.meta-row span:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: rgba(236, 72, 153, 0.7);
}

.tag-row {
  margin-top: 12px;
}

.tag-row span {
  padding: 5px 8px;
  font-size: 12px;
}

.soft-panel {
  padding: 34px 22px;
}

.page-top {
  padding-top: 48px;
}

.page-title {
  max-width: 920px;
  margin-bottom: 28px;
}

.page-title h1 {
  font-size: clamp(42px, 6vw, 68px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-weight: 700;
}

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

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

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.filter-count {
  min-width: 120px;
  color: var(--pink);
  font-weight: 900;
  text-align: right;
}

.category-list {
  display: grid;
  gap: 18px;
}

.category-card-wide {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  padding: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-cover {
  min-height: 260px;
  border-radius: 22px;
}

.category-card-wide h2 {
  margin: 10px 0;
  font-size: 30px;
}

.muted {
  color: var(--muted);
}

.top-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.detail-layout {
  max-width: 1240px;
}

.detail-hero {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 34px;
  padding: 28px;
  align-items: center;
}

.detail-poster {
  border-radius: 28px;
  aspect-ratio: 2 / 3;
}

.detail-copy h1 {
  font-size: clamp(38px, 6vw, 66px);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.detail-meta span {
  border-radius: 14px;
  padding: 10px 12px;
  color: #5f5264;
  background: rgba(236, 72, 153, 0.08);
  border: 1px solid rgba(236, 72, 153, 0.14);
  font-weight: 750;
}

.detail-tags {
  margin-bottom: 28px;
}

.player-section,
.content-card {
  margin-top: 24px;
  padding: 26px;
}

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #111;
  aspect-ratio: 16 / 9;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

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

.player-start {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  padding: 16px 24px;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink), var(--rose));
  box-shadow: 0 20px 50px rgba(236, 72, 153, 0.35);
}

.player-box.is-playing .player-start {
  display: none;
}

.content-card p {
  margin: 0;
  font-size: 17px;
}

.inner-section {
  padding-left: 0;
  padding-right: 0;
}

.site-footer {
  max-width: 1320px;
  margin: 60px auto 24px;
  padding: 34px 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 26px;
}

.site-footer h3 {
  margin: 0 0 12px;
}

.site-footer a {
  display: block;
  margin: 7px 0;
  color: var(--muted);
}

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

@media (max-width: 1180px) {
  .movie-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .nav-search {
    display: none;
  }
}

@media (max-width: 860px) {
  .nav-shell {
    height: auto;
    min-height: 66px;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .mobile-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 0;
    white-space: normal;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(236, 72, 153, 0.08);
  }

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

  .hero-slide {
    grid-template-columns: 1fr;
    align-content: center;
    padding: 28px;
  }

  .hero-poster {
    width: min(330px, 86%);
  }

  .stat-strip,
  .top-three,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .filter-panel,
  .with-action,
  .detail-hero {
    display: block;
  }

  .filter-controls {
    justify-content: flex-start;
    margin-top: 16px;
  }

  .filter-count {
    text-align: left;
  }

  .detail-poster {
    max-width: 310px;
    margin-bottom: 22px;
  }

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

@media (max-width: 620px) {
  .hero-section,
  .section-shell,
  .stat-strip,
  .detail-layout {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-shell {
    border-radius: 26px;
    min-height: 780px;
  }

  .hero-copy h1,
  .page-title h1,
  .detail-copy h1 {
    letter-spacing: -0.04em;
  }

  .stat-strip,
  .category-grid,
  .movie-grid,
  .top-three,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .movie-info {
    padding: 12px;
  }

  .movie-desc {
    display: none;
  }

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

  .movie-card-large {
    display: block;
  }

  .filter-controls input,
  .filter-controls select {
    width: 100%;
  }
}
