:root {
  --rose: #f43f5e;
  --rose-dark: #be123c;
  --pink: #ec4899;
  --soft: #fff1f2;
  --ink: #111827;
  --muted: #6b7280;
  --line: #f1f5f9;
  --paper: #ffffff;
  --shadow: 0 18px 50px rgba(244, 63, 94, 0.13);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(244, 63, 94, 0.12), transparent 32rem),
    radial-gradient(circle at 88% 8%, rgba(236, 72, 153, 0.10), transparent 28rem),
    linear-gradient(180deg, #fff7f8 0%, #ffffff 42%, #fff8fa 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(244, 63, 94, 0.10);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

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

.navbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--rose);
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #fb7185, #e11d48 58%, #be185d);
  box-shadow: 0 12px 28px rgba(225, 29, 72, 0.26);
}

.logo-text {
  font-size: 21px;
  background: linear-gradient(90deg, #e11d48, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  position: relative;
  color: #374151;
  font-size: 15px;
  font-weight: 700;
  padding: 22px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 17px;
  width: 0;
  height: 2px;
  border-radius: 4px;
  background: var(--rose);
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--rose);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.header-search {
  display: flex;
  width: 260px;
  align-items: center;
  gap: 8px;
  padding: 7px 7px 7px 14px;
  border: 1px solid rgba(244, 63, 94, 0.16);
  border-radius: 999px;
  background: #ffffff;
}

.header-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #111827;
  background: transparent;
}

.header-search button,
.primary-btn,
.light-btn,
.ghost-btn {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button,
.primary-btn {
  color: #ffffff;
  background: linear-gradient(135deg, #fb7185, #e11d48);
  box-shadow: 0 12px 28px rgba(244, 63, 94, 0.28);
}

.header-search button {
  padding: 7px 13px;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
}

.light-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  color: var(--rose);
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  color: #be123c;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(244, 63, 94, 0.18);
}

.primary-btn:hover,
.light-btn:hover,
.ghost-btn:hover,
.header-search button:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  color: #374151;
  background: #fff1f2;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  padding: 0 0 18px;
}

.mobile-panel a {
  display: block;
  padding: 12px 16px;
  border-radius: 14px;
  color: #374151;
  font-weight: 800;
}

.mobile-panel a:hover {
  background: #fff1f2;
  color: var(--rose);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 48px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 10%, rgba(244, 63, 94, 0.20), transparent 30rem),
    radial-gradient(circle at 12% 78%, rgba(236, 72, 153, 0.13), transparent 26rem);
  pointer-events: none;
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.86fr);
  gap: 34px;
  align-items: stretch;
}

.hero-copy {
  padding: 44px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 241, 242, 0.82)),
    linear-gradient(135deg, #fff1f2, #ffffff);
  border: 1px solid rgba(244, 63, 94, 0.10);
  box-shadow: var(--shadow);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: #be123c;
  background: #ffe4e6;
  font-weight: 900;
  font-size: 13px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.gradient-text {
  background: linear-gradient(90deg, #e11d48, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 720px;
  margin: 20px 0 24px;
  color: #4b5563;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 28px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  color: #9f1239;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(244, 63, 94, 0.16);
  font-size: 13px;
  font-weight: 800;
}

.hero-carousel {
  position: relative;
  min-height: 570px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(20px) scale(0.98);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

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

.hero-poster {
  position: relative;
  height: 100%;
  min-height: 570px;
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(135deg, #ffe4e6, #fdf2f8);
  box-shadow: 0 24px 70px rgba(190, 18, 60, 0.24);
}

.hero-poster img {
  height: 100%;
  min-height: 570px;
  object-fit: cover;
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 8%, rgba(15, 23, 42, 0.12) 42%, rgba(17, 24, 39, 0.84));
}

.hero-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  color: #ffffff;
}

.hero-caption h2 {
  margin: 10px 0 10px;
  font-size: 31px;
  line-height: 1.15;
}

.hero-caption p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-meta span {
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 800;
}

.hero-dots {
  position: absolute;
  right: 22px;
  top: 22px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

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

.hero-dot.active {
  width: 26px;
  background: #ffffff;
}

.section {
  padding: 58px 0;
}

.section-soft {
  padding: 58px 0;
  background: linear-gradient(90deg, rgba(255, 241, 242, 0.78), rgba(253, 242, 248, 0.72));
}

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

.section-kicker {
  color: var(--rose);
  font-weight: 900;
  font-size: 14px;
}

.section-head h2,
.page-hero h1,
.detail-title h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.14;
  letter-spacing: -0.04em;
}

.section-head p,
.page-hero p {
  margin: 10px 0 0;
  color: var(--muted);
}

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(244, 63, 94, 0.08);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(244, 63, 94, 0.16);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4.15;
  background: linear-gradient(135deg, #ffe4e6, #fce7f3);
}

.poster-link img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.poster-badge,
.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #fb7185, #e11d48);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(225, 29, 72, 0.25);
}

.card-body {
  padding: 14px 14px 16px;
}

.card-body h3 {
  margin: 0 0 7px;
  font-size: 16px;
  line-height: 1.32;
}

.card-body h3 a:hover {
  color: var(--rose);
}

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

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.card-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff1f2;
  color: #be123c;
  font-size: 12px;
  font-weight: 800;
}

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

.horizontal-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(244, 63, 94, 0.08);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.horizontal-card .poster-link {
  border-radius: 18px;
}

.horizontal-card h3 {
  margin: 2px 0 8px;
  font-size: 20px;
}

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

.category-tile {
  display: block;
  min-height: 180px;
  padding: 24px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(244, 63, 94, 0.10);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(244, 63, 94, 0.16);
}

.category-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #e11d48;
  background: linear-gradient(135deg, #ffe4e6, #fce7f3);
  font-weight: 900;
}

.category-tile h2,
.category-tile h3 {
  margin: 0 0 9px;
  font-size: 20px;
}

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

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

.page-panel {
  padding: 34px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 241, 242, 0.82)),
    #ffffff;
  border: 1px solid rgba(244, 63, 94, 0.10);
  box-shadow: var(--shadow);
}

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

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

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 150px 150px 150px;
  gap: 12px;
  margin: 24px 0;
  padding: 14px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(244, 63, 94, 0.10);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  outline: 0;
  border: 1px solid rgba(244, 63, 94, 0.15);
  border-radius: 16px;
  padding: 11px 13px;
  color: #111827;
  background: #fffafa;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 76px 112px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(244, 63, 94, 0.08);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.rank-num {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #fb7185, #e11d48);
  font-weight: 900;
  font-size: 20px;
}

.rank-thumb {
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #ffe4e6, #fce7f3);
}

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

.rank-copy h2,
.rank-copy h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.rank-copy p {
  margin: 0;
  color: var(--muted);
}

.detail-hero {
  padding: 42px 0 24px;
}

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

.detail-cover {
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(135deg, #ffe4e6, #fce7f3);
  box-shadow: 0 24px 60px rgba(190, 18, 60, 0.20);
}

.detail-cover img {
  aspect-ratio: 3 / 4.15;
  object-fit: cover;
}

.detail-title {
  padding: 10px 0;
}

.detail-title p {
  color: #4b5563;
  font-size: 18px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 20px 0;
}

.detail-tags span {
  padding: 7px 12px;
  border-radius: 999px;
  color: #be123c;
  background: #ffe4e6;
  font-weight: 800;
  font-size: 13px;
}

.player-card,
.content-card {
  border-radius: 30px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid rgba(244, 63, 94, 0.10);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

.player-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 16 / 9;
  background: #111827;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.30), rgba(17, 24, 39, 0.72));
  cursor: pointer;
  transition: opacity 0.2s ease;
}

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

.play-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fb7185, #e11d48);
  box-shadow: 0 18px 34px rgba(225, 29, 72, 0.34);
  font-weight: 900;
}

.play-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #e11d48;
  background: #ffffff;
}

.article {
  display: grid;
  gap: 20px;
}

.article h2 {
  margin: 0 0 8px;
  font-size: 25px;
}

.article p {
  margin: 0;
  color: #374151;
}

.detail-main {
  display: grid;
  gap: 24px;
}

.footer {
  margin-top: 56px;
  padding: 42px 0;
  color: #6b7280;
  background: linear-gradient(180deg, #fff7f8, #f3f4f6);
  border-top: 1px solid rgba(244, 63, 94, 0.10);
}

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

.footer h2,
.footer h3 {
  margin: 0 0 10px;
  color: #111827;
}

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

.footer-links {
  display: grid;
  gap: 8px;
}

.copyline {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  font-size: 14px;
}

.hide {
  display: none !important;
}

@media (max-width: 1040px) {
  .hero-shell,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-carousel,
  .hero-poster,
  .hero-poster img {
    min-height: 520px;
  }

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

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

  .header-search {
    display: none;
  }
}

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

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

  .mobile-panel.open {
    display: block;
  }

  .hero {
    padding: 34px 0 30px;
  }

  .hero-copy,
  .page-panel {
    padding: 26px;
    border-radius: 26px;
  }

  .hero-carousel,
  .hero-poster,
  .hero-poster img {
    min-height: 460px;
  }

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

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

  .horizontal-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }

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

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

  .rank-item {
    grid-template-columns: 52px 82px minmax(0, 1fr);
  }

  .rank-item .primary-btn {
    grid-column: 1 / -1;
    justify-content: center;
  }

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

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

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

  .hero-caption {
    left: 16px;
    right: 16px;
    bottom: 18px;
  }

  .hero-caption h2 {
    font-size: 25px;
  }

  .card-body {
    padding: 12px;
  }
}
