:root {
  --pink: #ec4899;
  --rose: #f43f5e;
  --amber: #f59e0b;
  --purple: #8b5cf6;
  --blue: #3b82f6;
  --green: #10b981;
  --red: #ef4444;
  --ink: #111827;
  --muted: #6b7280;
  --soft: #fff7fb;
  --line: rgba(236, 72, 153, 0.16);
  --shadow: 0 24px 60px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: linear-gradient(180deg, #fff7fb 0%, #ffffff 34%, #fff9ee 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.header-inner,
.section-inner,
.footer-grid,
.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--amber));
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.28);
  font-size: 15px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--pink), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

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

.nav-link,
.mobile-nav-link {
  color: #374151;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

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

.nav-dropdown {
  position: relative;
}

.dropdown-button {
  border: 0;
  background: transparent;
  padding: 0;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: -18px;
  min-width: 180px;
  padding: 10px;
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel a {
  padding: 9px 12px;
  border-radius: 12px;
  color: #4b5563;
  font-size: 14px;
}

.dropdown-panel a:hover {
  color: var(--pink);
  background: #fff1f8;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  color: #374151;
  background: #fff1f8;
}

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

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

.mobile-nav-link {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 241, 248, 0.72);
}

.hero-carousel {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: linear-gradient(135deg, #ffe4f2, #f7edff 48%, #fff3cf);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

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

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(236, 72, 153, 0.28), transparent 26%), linear-gradient(90deg, rgba(255, 247, 251, 0.96), rgba(255, 255, 255, 0.76) 52%, rgba(255, 244, 215, 0.86));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  min-height: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 44px;
  padding: 56px 0 76px;
}

.hero-text h1,
.hero-text h2 {
  max-width: 760px;
  margin: 16px 0 18px;
  font-size: clamp(34px, 6vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  font-weight: 950;
}

.hero-text p {
  max-width: 720px;
  color: #4b5563;
  font-size: 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--pink);
  background: rgba(236, 72, 153, 0.1);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-tags,
.detail-meta,
.tag-row,
.filter-row,
.pill-row,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-tags {
  margin-top: 20px;
}

.hero-tags span,
.detail-meta span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 999px;
  color: #6b2148;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(236, 72, 153, 0.14);
  font-size: 13px;
  font-weight: 700;
}

.hero-actions {
  margin-top: 30px;
}

.primary-button,
.ghost-button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 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, var(--pink), var(--amber));
  box-shadow: 0 14px 34px rgba(236, 72, 153, 0.28);
}

.ghost-button {
  color: #9d174d;
  border: 1px solid rgba(236, 72, 153, 0.28);
  background: rgba(255, 255, 255, 0.72);
}

.primary-button:hover,
.ghost-button:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.hero-poster {
  position: relative;
  aspect-ratio: 3 / 4;
  max-width: 360px;
  width: 100%;
  justify-self: end;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(135deg, #ffe4f2, #fff7ed);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

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

.hero-poster span {
  position: absolute;
  inset: auto 24px 24px auto;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--pink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.18);
}

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

.hero-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(236, 72, 153, 0.28);
}

.hero-dot.active {
  width: 34px;
  background: var(--pink);
}

.quick-channel,
.section-block {
  padding: 78px 0;
}

.quick-channel {
  background: #ffffff;
}

.quick-inner,
.split-heading,
.two-column {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: center;
}

.quick-inner h2,
.section-heading h2,
.page-hero h1,
.detail-copy h1 {
  margin: 10px 0 8px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.quick-inner p,
.section-heading p,
.page-hero p,
.detail-copy p {
  color: var(--muted);
  font-size: 16px;
}

.pill-row a {
  padding: 10px 15px;
  border-radius: 999px;
  color: #6b2148;
  background: #fff1f8;
  border: 1px solid rgba(236, 72, 153, 0.16);
  font-weight: 800;
}

.pill-row a:hover {
  color: #ffffff;
  background: var(--pink);
}

.bg-soft {
  background: linear-gradient(180deg, #fff7fb, #ffffff);
}

.bg-warm {
  background: linear-gradient(135deg, #fff7ed, #fff1f8 48%, #f7edff);
}

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

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

.center-heading .eyebrow {
  margin: 0 auto;
}

.text-link {
  color: var(--pink);
  background: #fff1f8;
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(236, 72, 153, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

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

.poster-shell {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #ffe4f2, #fff7ed);
}

.poster-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.movie-card:hover .poster-image {
  transform: scale(1.08);
}

.poster-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(17, 24, 39, 0.62));
  opacity: 0;
  transition: opacity 0.24s ease;
}

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

.play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--pink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: 0.24s ease;
}

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

.corner-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--pink);
  font-size: 12px;
  font-weight: 800;
}

.card-body {
  padding: 16px;
}

.card-body h2 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.card-body h2 a:hover {
  color: var(--pink);
}

.card-desc {
  min-height: 44px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 800;
}

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

.compact-card .card-body h2 {
  font-size: 15px;
}

.compact-card .card-desc {
  display: none;
}

.search-panel {
  margin: 0 0 20px;
  padding: 18px;
  border: 1px solid rgba(236, 72, 153, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
}

.search-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.search-control {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(236, 72, 153, 0.16);
  border-radius: 999px;
  background: #ffffff;
}

.search-control span {
  color: var(--pink);
  font-size: 22px;
}

.search-control input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.filter-row {
  margin: 0 0 24px;
}

.filter-button {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(236, 72, 153, 0.18);
  border-radius: 999px;
  color: #6b2148;
  background: #ffffff;
  font-weight: 800;
}

.filter-button.active,
.filter-button:hover {
  color: #ffffff;
  background: var(--pink);
}

.two-column {
  align-items: start;
}

.rank-list {
  display: grid;
  gap: 12px;
}

.rank-row {
  display: grid;
  grid-template-columns: 44px 58px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
}

.rank-number {
  color: var(--pink);
  font-size: 20px;
  font-weight: 950;
}

.rank-row img {
  width: 58px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  background: #fff1f8;
}

.rank-copy {
  display: grid;
  gap: 2px;
}

.rank-copy strong {
  line-height: 1.3;
}

.rank-copy em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.rank-play {
  padding: 7px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--amber));
  font-size: 13px;
  font-weight: 900;
}

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

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

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

.category-card {
  min-height: 156px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-radius: 24px;
  color: #ffffff;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}

.category-card::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -54px;
  top: -42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.category-card span {
  font-size: 22px;
  font-weight: 950;
}

.category-card strong {
  position: relative;
  z-index: 1;
  font-weight: 600;
}

.category-card em {
  position: relative;
  z-index: 1;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
}

.gradient-pink,
.gradient-rose {
  background: linear-gradient(135deg, #ec4899, #fb7185);
}

.gradient-amber {
  background: linear-gradient(135deg, #f59e0b, #fb7185);
}

.gradient-purple {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.gradient-blue {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

.gradient-indigo {
  background: linear-gradient(135deg, #6366f1, #a855f7);
}

.gradient-red {
  background: linear-gradient(135deg, #ef4444, #f59e0b);
}

.gradient-green {
  background: linear-gradient(135deg, #10b981, #3b82f6);
}

.page-hero {
  padding: 92px 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
}

.page-hero .eyebrow {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
}

.gradient-page,
.movies-hero {
  background: linear-gradient(135deg, #ec4899, #8b5cf6 56%, #f59e0b);
}

.rank-hero {
  background: linear-gradient(135deg, #f59e0b, #ec4899 48%, #8b5cf6);
}

.detail-hero {
  padding: 70px 0;
  background: radial-gradient(circle at 16% 20%, rgba(236, 72, 153, 0.18), transparent 34%), linear-gradient(135deg, #fff7fb, #ffffff 48%, #fff7ed);
}

.detail-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 44px;
  align-items: center;
}

.detail-poster-card {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 30px;
  background: linear-gradient(135deg, #ffe4f2, #fff7ed);
  box-shadow: var(--shadow);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

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

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

.detail-copy p {
  max-width: 780px;
  font-size: 18px;
}

.detail-meta {
  margin: 22px 0 0;
}

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

.player-section {
  padding-top: 58px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  background: #111827;
  box-shadow: var(--shadow);
}

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

.player-cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: #111827;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.46;
}

.player-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.22), rgba(17, 24, 39, 0.78));
}

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

.big-play {
  position: relative;
  z-index: 2;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--pink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  font-size: 32px;
}

.article-grid {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 24px;
}

.detail-article {
  padding: 28px;
  border: 1px solid rgba(236, 72, 153, 0.12);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.07);
}

.detail-article h2 {
  margin: 0 0 14px;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.detail-article p {
  margin: 0;
  color: #4b5563;
  white-space: pre-line;
}

.accent-article {
  background: linear-gradient(135deg, #fff7fb, #fff7ed);
}

.site-footer {
  padding: 56px 0 22px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #fff7fb, #ffe4f2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.9fr;
  gap: 32px;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: #6b7280;
  font-size: 14px;
}

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

.footer-grid ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

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

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(236, 72, 153, 0.14);
  text-align: center;
}

.is-filter-hidden,
.is-search-hidden {
  display: none !important;
}

@media (max-width: 1100px) {
  .movie-grid,
  .all-movie-grid,
  .category-movie-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .hero-content,
  .detail-layout,
  .quick-inner,
  .split-heading,
  .two-column,
  .article-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    justify-self: start;
    max-width: 260px;
  }
}

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

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

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

  .hero-carousel,
  .hero-content {
    min-height: 720px;
  }

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

  .hero-poster {
    max-width: 210px;
  }

  .quick-channel,
  .section-block {
    padding: 54px 0;
  }

  .movie-grid,
  .all-movie-grid,
  .category-movie-grid,
  .compact-grid,
  .rank-grid,
  .category-grid,
  .overview-grid,
  .mini-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .card-body {
    padding: 13px;
  }

  .card-desc,
  .tag-row {
    display: none;
  }

  .rank-row {
    grid-template-columns: 36px 50px 1fr;
  }

  .rank-play {
    display: none;
  }

  .detail-layout {
    gap: 28px;
  }

  .detail-poster-card {
    max-width: 240px;
  }

  .page-hero {
    padding: 64px 0;
  }

  .footer-grid {
    gap: 24px;
  }
}

@media (max-width: 460px) {
  .movie-grid,
  .all-movie-grid,
  .category-movie-grid,
  .compact-grid,
  .rank-grid,
  .category-grid,
  .overview-grid,
  .mini-category-grid {
    grid-template-columns: 1fr;
  }

  .hero-text h1,
  .hero-text h2 {
    font-size: 34px;
  }

  .primary-button,
  .ghost-button,
  .text-link {
    width: 100%;
  }
}
