:root {
  --pink: #ec4899;
  --pink-dark: #db2777;
  --purple: #8b5cf6;
  --blue: #3b82f6;
  --orange: #f97316;
  --green: #10b981;
  --text: #1f2937;
  --muted: #6b7280;
  --soft: #fdf2f8;
  --line: #e5e7eb;
  --shadow: 0 18px 50px rgba(31, 41, 55, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(229, 231, 235, 0.85);
  backdrop-filter: blur(18px);
}

.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.logo-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple), var(--blue));
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(236, 72, 153, 0.25);
}

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

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

.nav-link {
  color: #4b5563;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #f9fafb;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #374151;
}

.mobile-nav {
  display: none;
  padding: 8px 16px 18px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background: linear-gradient(135deg, #f9a8d4 0%, #c4b5fd 48%, #93c5fd 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.52;
}

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

.blob-one {
  top: 96px;
  left: 7%;
  background: #ec4899;
}

.blob-two {
  top: 120px;
  right: 8%;
  background: #8b5cf6;
  animation-delay: 2s;
}

.blob-three {
  bottom: -58px;
  left: 42%;
  background: #3b82f6;
  animation-delay: 4s;
}

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

  33% {
    transform: translate(22px, -28px) scale(1.08);
  }

  66% {
    transform: translate(-18px, 28px) scale(0.96);
  }
}

.hero-inner {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
}

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

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--pink-dark);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.03;
  text-shadow: 0 14px 34px rgba(31, 41, 55, 0.14);
}

.hero h1 span {
  background: linear-gradient(90deg, #be185d, #7c3aed, #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-summary {
  max-width: 660px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 20px;
  text-shadow: 0 10px 30px rgba(31, 41, 55, 0.12);
}

.hero-actions,
.center-action {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  box-shadow: 0 14px 28px rgba(236, 72, 153, 0.24);
}

.btn.ghost {
  color: var(--pink-dark);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 28px rgba(255, 255, 255, 0.24);
}

.btn.ghost-dark {
  color: var(--pink-dark);
  background: #fff;
  border: 1px solid rgba(236, 72, 153, 0.25);
}

.hero-poster {
  position: relative;
  display: block;
  padding: 16px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 20px 60px rgba(31, 41, 55, 0.2);
}

.hero-poster span {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  display: block;
  padding: 10px 14px;
  color: #fff;
  font-weight: 700;
  border-radius: 16px;
  background: rgba(17, 24, 39, 0.56);
  backdrop-filter: blur(10px);
}

.hero-controls {
  position: absolute;
  left: 0;
  bottom: 58px;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 34px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  cursor: pointer;
}

.hero-dot.active {
  background: #fff;
}

.search-band {
  margin-top: -42px;
  position: relative;
  z-index: 5;
}

.search-panel {
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.site-search,
.search-large {
  display: flex;
  gap: 12px;
}

.site-search input,
.search-large input,
.page-filter {
  flex: 1;
  min-width: 0;
  height: 54px;
  padding: 0 18px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  background: #fff;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.site-search input:focus,
.search-large input:focus,
.page-filter:focus {
  border-color: rgba(236, 72, 153, 0.6);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

.site-search button,
.search-large button {
  min-width: 110px;
  color: #fff;
  font-weight: 800;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  cursor: pointer;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.quick-links a,
.hero-mini-links a {
  padding: 8px 14px;
  color: var(--pink-dark);
  font-weight: 700;
  border-radius: 999px;
  background: #fdf2f8;
}

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

.pastel-section {
  background: linear-gradient(135deg, #fdf2f8, #f5f3ff, #eff6ff);
}

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

.section-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
}

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

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.85);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(31, 41, 55, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(31, 41, 55, 0.14);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #fdf2f8, #eef2ff);
}

.poster-link img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.play-chip {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(236, 72, 153, 0.92);
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #ef4444);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.28);
}

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

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.movie-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.28;
}

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

.movie-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.card-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-tags span,
.detail-tags span {
  padding: 5px 9px;
  color: #be185d;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  background: #fce7f3;
}

.category-zone {
  background: linear-gradient(90deg, #fdf2f8, #f5f3ff, #eff6ff);
}

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

.category-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 20px;
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.15), rgba(17, 24, 39, 0.82));
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card span,
.category-card small {
  position: relative;
  z-index: 2;
}

.category-card span {
  font-size: 24px;
  font-weight: 900;
}

.category-card small {
  color: rgba(255, 255, 255, 0.82);
}

.why-zone {
  padding: 78px 0;
}

.why-card {
  padding: clamp(32px, 5vw, 62px);
  color: #fff;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--pink), var(--purple), var(--blue));
  box-shadow: var(--shadow);
  text-align: center;
}

.why-card .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.why-card h2 {
  margin: 0 0 32px;
  font-size: clamp(30px, 5vw, 52px);
}

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

.why-grid div {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.why-grid strong,
.why-grid span {
  display: block;
}

.why-grid strong {
  margin-bottom: 8px;
  font-size: 20px;
}

.page-hero,
.detail-hero {
  padding: 72px 0;
  color: #fff;
  background: linear-gradient(135deg, #f9a8d4, #c4b5fd, #93c5fd);
}

.page-hero h1 {
  max-width: 850px;
  margin: 0 0 14px;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.1;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
}

.hero-mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

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

.overview-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(31, 41, 55, 0.08);
}

.overview-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 170px;
  overflow: hidden;
}

.overview-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overview-body {
  padding: 24px;
}

.overview-body h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.overview-body p {
  color: var(--muted);
}

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

.filter-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.filter-row .page-filter {
  max-width: 520px;
}

.search-large {
  max-width: 820px;
  margin: 0 auto 34px;
}

.search-results {
  margin-bottom: 52px;
}

.search-results .empty {
  padding: 28px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 20px;
  background: #fff;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.88);
}

.breadcrumb a:hover {
  color: #fff;
}

.detail-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.detail-poster img {
  width: 270px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(31, 41, 55, 0.2);
}

.detail-info h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
}

.detail-line {
  max-width: 820px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 20px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.detail-meta span {
  padding: 8px 12px;
  color: #fff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.detail-info .detail-tags {
  margin-bottom: 26px;
}

.player-section {
  padding: 52px 0;
  background: #111827;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

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

.player-start {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  border: 0;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.35), rgba(0, 0, 0, 0.56));
  cursor: pointer;
}

.player-shell.is-ready .player-start {
  display: none;
}

.play-circle {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  color: var(--pink-dark);
  font-size: 34px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(255, 255, 255, 0.2);
}

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

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

.story-card,
.side-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(31, 41, 55, 0.08);
}

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

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

.side-card dl,
.side-card dd {
  margin: 0;
}

.side-card div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.side-card div:last-child {
  border-bottom: 0;
}

.side-card dt {
  color: var(--muted);
  font-size: 13px;
}

.side-card dd {
  font-weight: 800;
}

.site-footer {
  background: linear-gradient(135deg, #fdf2f8, #f5f3ff, #eff6ff);
  border-top: 1px solid rgba(229, 231, 235, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
  padding: 48px 0;
}

.footer-grid p {
  max-width: 420px;
  color: var(--muted);
}

.footer-grid h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  padding: 7px 12px;
  color: #4b5563;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
}

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

.footer-bottom {
  padding: 18px 0 28px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid rgba(229, 231, 235, 0.8);
}

.hidden-card {
  display: none !important;
}

@media (max-width: 1000px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

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

  .hero-slide,
  .detail-layout,
  .detail-columns,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-controls {
    bottom: 24px;
  }

  .feature-grid,
  .latest-grid,
  .rank-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .detail-poster img {
    width: min(270px, 100%);
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 22px, 1180px);
  }

  .logo-text {
    font-size: 20px;
  }

  .hero,
  .hero-inner {
    min-height: 780px;
  }

  .hero-slide {
    align-content: center;
    gap: 26px;
  }

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

  .hero-summary,
  .detail-line {
    font-size: 17px;
  }

  .site-search,
  .search-large,
  .filter-row {
    flex-direction: column;
    align-items: stretch;
  }

  .site-search button,
  .search-large button {
    height: 52px;
  }

  .feature-grid,
  .latest-grid,
  .rank-grid,
  .category-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .content-section,
  .why-zone {
    padding: 54px 0;
  }

  .page-hero,
  .detail-hero {
    padding: 52px 0;
  }

  .overview-thumbs {
    height: 135px;
  }

  .story-card,
  .side-card {
    padding: 22px;
  }
}
