body {
  margin: 0;
  background: #fff7f8;
  color: #1f2937;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

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

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

.site-shell {
  min-height: 100vh;
  background: linear-gradient(135deg, #fff1f2 0%, #fdf2f8 46%, #fff7ed 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(251, 113, 133, 0.16);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(190, 18, 60, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: #be123c;
  white-space: nowrap;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, #e11d48, #f97316);
  box-shadow: 0 12px 24px rgba(225, 29, 72, 0.25);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: #4b5563;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: #be123c;
  background: #ffe4e6;
}

.nav-search {
  display: flex;
  align-items: center;
  min-width: 220px;
  border: 1px solid #fecdd3;
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}

.nav-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 10px 12px 10px 16px;
  background: transparent;
  color: #1f2937;
}

.nav-search button {
  border: 0;
  padding: 10px 15px;
  color: #fff;
  background: linear-gradient(135deg, #e11d48, #f97316);
  cursor: pointer;
}

.nav-toggle {
  display: none;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #be123c;
  background: #ffe4e6;
  cursor: pointer;
}

.page-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 46px 20px;
}

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

.section-title {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  color: #111827;
}

.section-text {
  max-width: 720px;
  margin: 10px 0 0;
  color: #6b7280;
  line-height: 1.8;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(120deg, #e11d48 0%, #db2777 48%, #f97316 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: radial-gradient(circle at 20% 20%, #fff 0 2px, transparent 2px), radial-gradient(circle at 80% 30%, #fff 0 2px, transparent 2px), radial-gradient(circle at 50% 80%, #fff 0 1px, transparent 1px);
  background-size: 64px 64px, 92px 92px, 48px 48px;
}

.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 20px 54px;
}

.hero-slider {
  position: relative;
}

.hero-slide {
  display: none;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: 36px;
  align-items: center;
}

.hero-slide.is-active {
  display: grid;
  animation: fadeIn 0.45s ease both;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.17);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  font-weight: 800;
}

.hero h1 {
  margin: 18px 0;
  max-width: 760px;
  font-size: clamp(36px, 5vw, 70px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-summary {
  max-width: 710px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.85;
}

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

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #e11d48, #f97316);
  box-shadow: 0 14px 30px rgba(225, 29, 72, 0.28);
}

.btn-light {
  color: #be123c;
  background: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.btn-ghost {
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

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

.hero-poster {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(88, 28, 135, 0.35);
  background: rgba(255, 255, 255, 0.18);
}

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

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

.hero-poster-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 800;
  color: #be123c;
  background: #ffe4e6;
}

.hero-poster-caption .pill {
  color: #fff;
  background: rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(10px);
}

.hero-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 30px;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  cursor: pointer;
}

.hero-dots button.is-active {
  width: 36px;
  background: #fff;
}

.quick-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: -24px auto 0;
  padding: 0 20px;
  z-index: 5;
}

.quick-card {
  padding: 20px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 45px rgba(190, 18, 60, 0.11);
}

.quick-card b {
  display: block;
  margin-bottom: 6px;
  color: #be123c;
  font-size: 18px;
}

.quick-card span {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
}

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

.movie-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(190, 18, 60, 0.18);
}

.card-cover {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffe4e6, #ffedd5);
}

.card-cover img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.card-badge,
.card-year,
.rank-badge {
  position: absolute;
  z-index: 1;
  border-radius: 999px;
  padding: 5px 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  background: rgba(225, 29, 72, 0.94);
}

.card-badge {
  top: 10px;
  right: 10px;
}

.card-year {
  left: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(10px);
}

.rank-badge {
  top: 10px;
  left: 10px;
  background: rgba(249, 115, 22, 0.94);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.card-meta {
  margin-bottom: 8px;
  color: #e11d48;
  font-size: 13px;
  font-weight: 800;
}

.card-title {
  margin: 0 0 8px;
  color: #111827;
  font-size: 17px;
  line-height: 1.35;
}

.card-desc {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #6b7280;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

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

.category-card {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #e11d48, #f97316);
  box-shadow: 0 18px 42px rgba(225, 29, 72, 0.18);
  transition: transform 0.25s ease;
}

.category-card:hover {
  transform: translateY(-6px);
}

.category-card h2,
.category-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.category-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
}

.page-hero {
  background: linear-gradient(120deg, #e11d48, #f97316);
  color: #fff;
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 58px 20px;
}

.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4vw, 54px);
}

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

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.toolbar input {
  width: min(420px, 100%);
  border: 1px solid #fecdd3;
  border-radius: 999px;
  outline: 0;
  padding: 12px 16px;
}

.view-buttons {
  display: flex;
  gap: 8px;
}

.view-buttons button {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  color: #be123c;
  background: #ffe4e6;
  font-weight: 800;
  cursor: pointer;
}

.view-buttons button.is-active {
  color: #fff;
  background: linear-gradient(135deg, #e11d48, #f97316);
}

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

.movie-grid.is-list .movie-card {
  flex-direction: row;
}

.movie-grid.is-list .card-cover {
  width: 260px;
  flex-shrink: 0;
}

.movie-grid.is-list .card-cover img {
  height: 100%;
  aspect-ratio: auto;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
}

.player-card,
.detail-card,
.side-card {
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.player-area {
  position: relative;
  overflow: hidden;
  border-radius: 28px 28px 0 0;
  background: #111827;
}

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

.play-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.28), rgba(15, 23, 42, 0.72));
  cursor: pointer;
}

.play-layer.is-hidden {
  display: none;
}

.play-icon {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e11d48, #f97316);
  box-shadow: 0 18px 50px rgba(225, 29, 72, 0.34);
  font-size: 36px;
}

.detail-content {
  padding: 24px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #6b7280;
  font-size: 14px;
}

.breadcrumbs a {
  color: #be123c;
  font-weight: 800;
}

.detail-title {
  margin: 0 0 14px;
  color: #111827;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.16;
}

.detail-subtitle {
  margin: 0 0 20px;
  color: #6b7280;
  font-size: 18px;
  line-height: 1.75;
}

.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.meta-list span {
  border-radius: 999px;
  padding: 8px 12px;
  color: #be123c;
  background: #ffe4e6;
  font-weight: 800;
}

.article-block {
  margin-top: 24px;
}

.article-block h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.article-block p {
  margin: 0;
  color: #4b5563;
  line-height: 2;
}

.side-card {
  padding: 20px;
}

.side-card h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

.side-movie {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}

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

.side-movie img {
  width: 96px;
  height: 70px;
  border-radius: 12px;
  object-fit: cover;
}

.side-movie b {
  display: block;
  margin-bottom: 6px;
  color: #111827;
  line-height: 1.35;
}

.side-movie span {
  color: #6b7280;
  font-size: 13px;
}

.search-panel {
  max-width: 840px;
  margin: 0 auto 34px;
  padding: 22px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.search-panel form {
  display: flex;
  gap: 12px;
}

.search-panel input {
  flex: 1;
  min-width: 0;
  border: 1px solid #fecdd3;
  border-radius: 999px;
  padding: 14px 18px;
  outline: 0;
}

.empty-state {
  padding: 44px;
  border-radius: 24px;
  color: #6b7280;
  background: #fff;
  text-align: center;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.site-footer {
  margin-top: 40px;
  color: #f9fafb;
  background: #111827;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 42px 20px;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 12px;
}

.site-footer p,
.site-footer a {
  color: #d1d5db;
  line-height: 1.8;
}

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

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 20px;
  color: #9ca3af;
  text-align: center;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .main-nav,
  .nav-search {
    display: none;
  }

  .site-header.is-open .main-nav,
  .site-header.is-open .nav-search {
    display: flex;
  }

  .site-header.is-open .nav-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .site-header.is-open .main-nav {
    flex-wrap: wrap;
  }

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

  .hero-poster img {
    height: 360px;
  }

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

@media (max-width: 640px) {
  .nav-inner,
  .page-section,
  .hero-inner,
  .page-hero-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-inner {
    padding-top: 46px;
  }

  .hero-actions,
  .toolbar,
  .section-head,
  .search-panel form {
    align-items: stretch;
    flex-direction: column;
  }

  .quick-strip,
  .category-grid,
  .movie-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .movie-grid.is-list .movie-card {
    flex-direction: column;
  }

  .movie-grid.is-list .card-cover {
    width: auto;
  }

  .hero-poster img {
    height: 280px;
  }

  .side-movie {
    grid-template-columns: 88px 1fr;
  }
}
