:root {
  --pink: #ec4899;
  --pink-dark: #db2777;
  --purple: #a855f7;
  --blue: #60a5fa;
  --cyan: #22d3ee;
  --orange: #f97316;
  --red: #ef4444;
  --text: #1f2937;
  --muted: #6b7280;
  --soft: #fdf2f8;
  --line: #e5e7eb;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(31, 41, 55, 0.12);
  --radius: 1.25rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(229, 231, 235, 0.86);
  box-shadow: 0 8px 22px rgba(31, 41, 55, 0.06);
  backdrop-filter: blur(16px);
}

.header-inner {
  max-width: 1280px;
  height: 4.25rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
  font-size: 1.45rem;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(236, 72, 153, 0.28);
  font-size: 0.85rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-left: auto;
}

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

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

.top-search,
.mobile-search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.top-search input,
.mobile-search input,
.search-box input,
.select-box select {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
  min-width: 12rem;
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.top-search input:focus,
.mobile-search input:focus,
.search-box input:focus,
.select-box select:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.14);
}

.top-search button,
.mobile-search button,
.primary-btn,
.ghost-btn,
.section-more,
.category-strip-title a {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.top-search button,
.mobile-search button,
.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  padding: 0.72rem 1.15rem;
  box-shadow: 0 12px 24px rgba(236, 72, 153, 0.22);
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.55rem;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-dark);
  background: rgba(255, 255, 255, 0.92);
  padding: 0.95rem 1.55rem;
  box-shadow: 0 12px 24px rgba(31, 41, 55, 0.12);
}

.top-search button:hover,
.mobile-search button:hover,
.primary-btn:hover,
.ghost-btn:hover,
.section-more:hover,
.category-strip-title a:hover {
  transform: translateY(-2px) scale(1.02);
}

.menu-button {
  display: none;
  margin-left: auto;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 0.75rem;
  background: #f9fafb;
  color: #374151;
  cursor: pointer;
}

.mobile-menu {
  border-top: 1px solid var(--line);
  padding: 1rem 1.25rem 1.25rem;
  background: #fff;
}

.mobile-link {
  display: block;
  padding: 0.8rem 0;
}

.mobile-search {
  margin-top: 0.6rem;
}

.mobile-search input {
  min-width: 0;
  width: 100%;
}

.hero-section {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: linear-gradient(135deg, #f9a8d4 0%, #ddd6fe 48%, #bfdbfe 100%);
}

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

.blob {
  position: absolute;
  width: 20rem;
  height: 20rem;
  border-radius: 999px;
  filter: blur(50px);
  mix-blend-mode: multiply;
  opacity: 0.42;
  animation: blobFloat 13s ease-in-out infinite;
}

.blob-a {
  top: 5rem;
  left: 4rem;
  background: #f472b6;
}

.blob-b {
  top: 11rem;
  right: 5rem;
  background: #a78bfa;
  animation-delay: 2.4s;
}

.blob-c {
  bottom: -4rem;
  left: 48%;
  background: #60a5fa;
  animation-delay: 4.2s;
}

@keyframes blobFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(28px, -36px) scale(1.08);
  }
  66% {
    transform: translate(-32px, 28px) scale(0.94);
  }
}

.hero-inner {
  position: relative;
  max-width: 1280px;
  min-height: 620px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
}

.hero-slide {
  position: absolute;
  inset: 0 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: 3rem;
  opacity: 0;
  transform: translateY(26px);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-copy {
  max-width: 740px;
  color: #fff;
  text-shadow: 0 8px 24px rgba(88, 28, 135, 0.16);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  color: var(--pink-dark);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 800;
  text-shadow: none;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 660px;
  margin: 1.3rem 0 0;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.94);
}

.hero-tags,
.detail-tags,
.card-tags,
.meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-tags {
  margin-top: 1.35rem;
}

.hero-tags span,
.detail-tags span,
.meta-pills span {
  border-radius: 999px;
  padding: 0.38rem 0.75rem;
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-poster {
  position: relative;
  width: min(100%, 360px);
  justify-self: center;
  aspect-ratio: 3 / 4;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 34px 80px rgba(88, 28, 135, 0.35);
  transform: rotate(2deg);
  transition: transform 0.35s ease;
}

.hero-poster:hover {
  transform: rotate(0) translateY(-6px) scale(1.02);
}

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

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.45));
}

.hero-poster span,
.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink);
  background: rgba(255, 255, 255, 0.92);
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 35px rgba(31, 41, 55, 0.24);
}

.hero-dots {
  position: absolute;
  left: 1.25rem;
  bottom: 4rem;
  display: flex;
  gap: 0.65rem;
}

.hero-dot {
  width: 0.78rem;
  height: 0.78rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

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

.content-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1.25rem;
}

.no-pad {
  padding-top: 0;
  padding-bottom: 0;
}

.soft-section,
.category-home {
  background: linear-gradient(135deg, #fdf2f8, #f5f3ff 54%, #eff6ff);
  padding: 5rem 0;
}

.section-head,
.category-strip-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.section-head h2,
.category-strip-title h3,
.text-panel h2,
.player-caption h2 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.section-head p,
.category-strip-title p,
.page-hero p,
.player-caption p,
.text-panel p,
.site-footer p {
  color: var(--muted);
}

.section-more,
.category-strip-title a {
  color: var(--pink-dark);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.movie-grid {
  display: grid;
  gap: 1.4rem;
}

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

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

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

.movie-card {
  position: relative;
  min-width: 0;
}

.card-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(31, 41, 55, 0.10);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.poster-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #fdf2f8, #eff6ff);
}

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

.card-link:hover img {
  transform: scale(1.08);
}

.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.card-link:hover .poster-wrap::after {
  opacity: 1;
}

.poster-play {
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.poster-wrap figcaption {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 3rem 0.8rem 0.75rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
}

.poster-wrap figcaption span:last-child {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  padding: 0.1rem 0.45rem;
}

.card-body {
  padding: 1rem;
}

.card-tags {
  margin-bottom: 0.7rem;
}

.card-tags span {
  display: inline-flex;
  color: var(--pink-dark);
  background: linear-gradient(135deg, #fce7f3, #f3e8ff);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.76rem;
  font-weight: 800;
}

.card-body h3 {
  min-height: 3.1rem;
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 800;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

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

.card-body p {
  min-height: 2.8rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.compact-card .card-body h3 {
  min-height: auto;
}

.rank-badge {
  position: absolute;
  z-index: 4;
  top: -0.7rem;
  left: -0.65rem;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange), var(--red));
  box-shadow: 0 12px 22px rgba(249, 115, 22, 0.28);
}

.category-strip {
  margin-top: 3rem;
}

.category-strip:first-of-type {
  margin-top: 0;
}

.page-hero,
.detail-hero {
  position: relative;
  background: linear-gradient(135deg, #f9a8d4, #ddd6fe 52%, #bfdbfe);
  overflow: hidden;
}

.compact-hero {
  padding: 5rem 1.25rem;
}

.page-hero-inner,
.detail-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}

.page-hero h1 {
  color: #fff;
  text-shadow: 0 8px 28px rgba(88, 28, 135, 0.18);
}

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

.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  box-shadow: 0 10px 28px rgba(31, 41, 55, 0.08);
}

.search-box,
.select-box {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: var(--muted);
  font-weight: 700;
}

.search-box input,
.select-box select {
  width: 100%;
  border-radius: 0.9rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0;
}

.filter-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #374151;
  background: #fff;
  padding: 0.55rem 0.95rem;
  cursor: pointer;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-chip.active,
.filter-chip:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--pink), var(--purple));
}

.filter-grid {
  margin-top: 2rem;
}

.empty-state {
  margin: 2rem 0;
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(31, 41, 55, 0.08);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.category-tile {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 1.4rem;
  min-height: 220px;
  padding: 1.2rem;
  border-radius: 1.5rem;
  overflow: hidden;
  background: linear-gradient(135deg, #fff, #fdf2f8);
  box-shadow: 0 12px 30px rgba(31, 41, 55, 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.tile-covers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  align-self: stretch;
}

.tile-covers img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  border-radius: 1rem;
}

.category-tile h2 {
  margin: 0.4rem 0 0.55rem;
  font-size: 1.6rem;
  font-weight: 900;
}

.category-tile p {
  color: var(--muted);
}

.category-tile span {
  color: var(--pink-dark);
  font-weight: 900;
}

.detail-hero {
  padding: 2rem 1.25rem 4rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 1.6rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

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

.detail-grid {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: center;
}

.detail-poster {
  margin: 0;
  border-radius: 1.6rem;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 30px 70px rgba(88, 28, 135, 0.35);
}

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

.detail-copy {
  color: #fff;
}

.detail-copy h1 {
  color: #fff;
  text-shadow: 0 8px 28px rgba(88, 28, 135, 0.22);
}

.lead-text {
  max-width: 820px;
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.93);
}

.meta-pills {
  margin: 1.2rem 0;
}

.detail-tags {
  margin-bottom: 1.7rem;
}

.player-card,
.text-panel {
  overflow: hidden;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: var(--shadow);
}

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

.movie-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050505;
  display: block;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.18), rgba(17, 24, 39, 0.68));
}

.play-overlay[hidden] {
  display: none;
}

.play-overlay span {
  width: 5.3rem;
  height: 5.3rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink);
  background: rgba(255, 255, 255, 0.94);
  font-size: 1.55rem;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.34);
  transition: transform 0.2s ease;
}

.play-overlay:hover span {
  transform: scale(1.06);
}

.player-caption {
  padding: 1.25rem 1.4rem;
}

.player-caption h2 {
  font-size: 1.7rem;
}

.player-caption p {
  margin-bottom: 0;
}

.detail-content {
  display: grid;
  gap: 1.5rem;
}

.text-panel {
  padding: 1.5rem;
}

.text-panel h2 {
  font-size: 1.75rem;
}

.text-panel p {
  font-size: 1.02rem;
}

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

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.footer-brand {
  margin-bottom: 0.8rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: 800;
}

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

.copyright {
  margin: 0;
  padding: 0 1.25rem 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 1180px) {
  .top-search {
    display: none;
  }

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

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

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

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

  .hero-slide {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 1.6rem;
    text-align: left;
  }

  .hero-poster {
    width: min(62vw, 300px);
    justify-self: start;
  }

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

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

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

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

@media (max-width: 720px) {
  .header-inner {
    height: 4rem;
  }

  .brand {
    font-size: 1.15rem;
  }

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

  .hero-slide {
    inset: 0 1rem;
  }

  .hero-copy h1,
  .page-hero h1,
  .detail-copy h1 {
    font-size: clamp(2.15rem, 12vw, 3.8rem);
  }

  .hero-copy p {
    font-size: 1.04rem;
  }

  .hero-poster {
    width: min(78vw, 260px);
  }

  .hero-dots {
    bottom: 2rem;
  }

  .content-section {
    padding: 3.2rem 1rem;
  }

  .soft-section,
  .category-home {
    padding: 3.2rem 0;
  }

  .section-head,
  .category-strip-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .three-grid,
  .four-grid,
  .five-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

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

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

  .tile-covers {
    height: 190px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .three-grid,
  .four-grid,
  .five-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-btn,
  .ghost-btn {
    width: 100%;
  }
}
