:root {
  --rose: #e11d48;
  --rose-soft: #fff1f2;
  --purple: #9333ea;
  --sand: #fff7ed;
  --sand-deep: #fed7aa;
  --stone: #292524;
  --muted: #78716c;
  --line: #eaded5;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(68, 64, 60, 0.12);
  --shadow-strong: 0 24px 60px rgba(225, 29, 72, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--stone);
  background: linear-gradient(180deg, #fff7ed 0%, #fffaf4 42%, #ffffff 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 247, 237, 0.92);
  border-bottom: 1px solid rgba(234, 222, 213, 0.8);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 247, 237, 0.98);
  box-shadow: 0 14px 30px rgba(68, 64, 60, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), var(--purple));
  box-shadow: 0 12px 24px rgba(225, 29, 72, 0.24);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 23px;
  letter-spacing: -0.04em;
  color: transparent;
  background: linear-gradient(90deg, var(--rose), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
}

.brand-text small {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

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

.nav-link {
  position: relative;
  padding: 8px 0;
  font-size: 15px;
  font-weight: 650;
  color: #57534e;
  transition: color 0.2s ease;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rose), var(--purple));
  transition: width 0.22s ease;
}

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

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: #57534e;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(68, 64, 60, 0.08);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  padding: 8px 16px 18px;
  border-top: 1px solid var(--line);
  background: rgba(255, 247, 237, 0.98);
}

.mobile-nav .nav-link {
  display: block;
  padding: 12px 10px;
  border-radius: 12px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 660px;
  padding: 78px 0 86px;
  color: #ffffff;
  background:
    radial-gradient(circle at 16% 24%, rgba(255, 255, 255, 0.22), transparent 30%),
    radial-gradient(circle at 80% 12%, rgba(147, 51, 234, 0.42), transparent 34%),
    linear-gradient(135deg, #fb7185 0%, #e11d48 38%, #7e22ce 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(32px);
  opacity: 0.7;
}

.hero::before {
  width: 330px;
  height: 330px;
  left: -90px;
  top: 110px;
  background: rgba(255, 255, 255, 0.2);
}

.hero::after {
  width: 430px;
  height: 430px;
  right: -120px;
  bottom: -140px;
  background: rgba(255, 255, 255, 0.16);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  align-items: center;
  gap: 46px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  font-size: 14px;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.hero p {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.8;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: var(--rose);
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(68, 64, 60, 0.18);
}

.btn-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.hero-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 80px rgba(68, 64, 60, 0.22);
  backdrop-filter: blur(18px);
}

.hero-slider {
  position: relative;
  min-height: 420px;
}

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

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

.hero-slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-slide .cover-fallback {
  min-height: 420px;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.84) 100%);
}

.slide-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px;
}

.slide-copy h2 {
  margin: 10px 0 8px;
  font-size: 28px;
  line-height: 1.2;
}

.slide-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

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

.slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.slider-dots button.is-active {
  width: 26px;
  border-radius: 999px;
  background: #ffffff;
}

.feature-strip {
  position: relative;
  z-index: 4;
  margin-top: -54px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(2, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: 22px;
  background: #e7e5e4;
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.feature-card:first-child {
  min-height: 270px;
  grid-row: span 2;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.feature-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.feature-card:hover img {
  transform: scale(1.05);
}

.feature-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 18%, rgba(0, 0, 0, 0.86) 100%);
}

.feature-content {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  color: #ffffff;
}

.feature-content strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
}

.feature-content em {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.76);
  font-style: normal;
}

.section {
  padding: 72px 0 0;
}

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

.kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--rose);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.section-head h1,
.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.05em;
}

.section-head p {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.section-link {
  flex: 0 0 auto;
  color: var(--rose);
  font-weight: 800;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(234, 222, 213, 0.85);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 10px 28px rgba(68, 64, 60, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(225, 29, 72, 0.22);
  box-shadow: var(--shadow);
}

.card-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #fff1f2, #f3e8ff);
}

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

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

.cover-fallback {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.55), transparent 26%),
    linear-gradient(135deg, #fb7185, #9333ea);
}

.cover-fallback::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 18px;
}

.type-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--rose), var(--purple));
  font-size: 12px;
  font-weight: 800;
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--rose);
  background: rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.card-body {
  padding: 16px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--rose);
  background: var(--rose-soft);
  font-size: 12px;
  font-weight: 750;
}

.card-body h3 {
  margin: 10px 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

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

.card-body p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 14px;
  overflow: hidden;
  color: #66615c;
  font-size: 14px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.card-meta span {
  overflow: hidden;
  max-width: 48%;
  padding: 5px 8px;
  border-radius: 8px;
  background: #f5f5f4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-meta em {
  overflow: hidden;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.category-tile {
  min-height: 150px;
  padding: 22px;
  border-radius: 22px;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(135deg, var(--rose), var(--purple));
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

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

.category-tile span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.6;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 56px 112px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(234, 222, 213, 0.9);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(68, 64, 60, 0.07);
}

.rank-num {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), var(--purple));
  font-weight: 900;
}

.rank-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff1f2, #f3e8ff);
}

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

.rank-info strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

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

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

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 190px 170px;
  gap: 12px;
  margin-bottom: 28px;
  padding: 14px;
  border: 1px solid rgba(234, 222, 213, 0.95);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 34px rgba(68, 64, 60, 0.08);
  backdrop-filter: blur(12px);
}

.filter-panel label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  padding: 0 13px;
  color: var(--stone);
  background: #ffffff;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: rgba(225, 29, 72, 0.48);
  box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.08);
}

.detail-hero {
  padding: 44px 0 70px;
  background:
    radial-gradient(circle at 80% 10%, rgba(147, 51, 234, 0.2), transparent 30%),
    linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
}

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

.breadcrumb a {
  color: var(--rose);
  font-weight: 750;
}

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

.player-card {
  overflow: hidden;
  border-radius: 28px;
  background: #0c0a09;
  box-shadow: 0 32px 90px rgba(68, 64, 60, 0.24);
}

.video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.62)),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.12), transparent 40%);
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.video-wrap.is-playing .player-overlay {
  opacity: 0;
  visibility: hidden;
}

.big-play {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  color: var(--rose);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  font-size: 30px;
}

.player-note {
  padding: 14px 18px;
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.detail-copy {
  padding: 28px;
  border: 1px solid rgba(234, 222, 213, 0.95);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.detail-copy h1 {
  margin: 12px 0 16px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.06em;
}

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

.detail-meta span {
  padding: 7px 10px;
  border-radius: 10px;
  color: #57534e;
  background: #f5f5f4;
  font-size: 13px;
  font-weight: 760;
}

.detail-copy p {
  color: #57534e;
  line-height: 1.85;
}

.content-block {
  padding: 28px;
  border: 1px solid rgba(234, 222, 213, 0.95);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(68, 64, 60, 0.06);
}

.content-block h2 {
  margin: 0 0 14px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.content-block p {
  margin: 0;
  color: #57534e;
  line-height: 1.9;
}

.content-stack {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.site-footer {
  margin-top: 90px;
  color: #d6d3d1;
  background: #1c1917;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.7fr;
  gap: 40px;
  padding: 54px 0;
}

.footer-logo .brand-text strong {
  color: #ffffff;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.footer-brand p {
  max-width: 520px;
  color: #a8a29e;
  line-height: 1.8;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 15px;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 10px;
}

.site-footer a {
  color: #a8a29e;
  font-size: 14px;
}

.site-footer a:hover {
  color: #fb7185;
}

.footer-bottom {
  padding: 20px 16px;
  color: #78716c;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 13px;
}

.empty-state {
  display: none;
  padding: 40px;
  border: 1px dashed var(--line);
  border-radius: 22px;
  color: var(--muted);
  background: #ffffff;
  text-align: center;
}

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

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

  .rank-list {
    grid-template-columns: 1fr;
  }

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

  .search-box {
    grid-column: 1 / -1;
  }
}

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

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

  .mobile-nav.is-open {
    display: block;
  }

  .brand-text strong {
    font-size: 19px;
  }

  .brand-text small {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 52px 0 78px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-panel {
    border-radius: 22px;
  }

  .hero-slide img,
  .hero-slide .cover-fallback,
  .hero-slider {
    min-height: 330px;
    height: 330px;
  }

  .feature-strip {
    margin-top: 28px;
  }

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

  .feature-card:first-child {
    grid-row: auto;
  }

  .section-head {
    display: block;
  }

  .section-link {
    display: inline-flex;
    margin-top: 12px;
  }

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

  .rank-item {
    grid-template-columns: 46px 94px 1fr;
    gap: 10px;
  }

  .detail-copy,
  .content-block {
    padding: 20px;
  }
}
