body {
  min-height: 100vh;
  margin: 0;
  color: #1f2937;
  background:
    radial-gradient(circle at top left, rgba(255, 228, 230, 0.95), transparent 34rem),
    linear-gradient(180deg, #fff7f8 0%, #fff 38%, #fff7f8 100%);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(254, 205, 211, 0.78);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 76px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #1f2937;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #fb7185, #f43f5e 44%, #f9a8d4);
  box-shadow: 0 18px 38px rgba(244, 63, 94, 0.28);
}

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

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.nav-link {
  position: relative;
  color: #4b5563;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #e11d48;
}

.nav-link.is-active::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fb7185, #f43f5e);
  content: "";
}

.top-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid #fecdd3;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.top-search input {
  width: 190px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #1f2937;
  font-size: 14px;
}

.top-search button,
.primary-button,
.secondary-button,
.card-actions a,
.player-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #fb7185, #e11d48);
  box-shadow: 0 14px 28px rgba(225, 29, 72, 0.22);
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.top-search button {
  padding: 8px 14px;
}

.primary-button,
.secondary-button,
.player-button {
  min-height: 46px;
  padding: 0 22px;
}

.secondary-button {
  color: #e11d48;
  border: 1px solid rgba(225, 29, 72, 0.2);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: none;
}

.primary-button:hover,
.secondary-button:hover,
.card-actions a:hover,
.player-button:hover,
.top-search button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(225, 29, 72, 0.26);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 0;
  border-radius: 14px;
  background: #fff1f2;
}

.mobile-menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: #e11d48;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 46px 0 36px;
}

.hero::before {
  position: absolute;
  inset: 24px auto auto 50%;
  width: 880px;
  height: 460px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(251, 113, 133, 0.24), transparent 68%);
  transform: translateX(-50%);
  content: "";
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: stretch;
}

.hero-copy,
.hero-showcase,
.feature-panel,
.section-block,
.detail-hero,
.player-shell,
.plain-page {
  border: 1px solid rgba(254, 205, 211, 0.86);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 28px 70px rgba(136, 19, 55, 0.12);
  backdrop-filter: blur(14px);
}

.hero-copy {
  padding: 46px;
}

.eyebrow,
.section-heading span,
.detail-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #be123c;
  background: #ffe4e6;
  font-size: 13px;
  font-weight: 900;
}

.hero-copy h1,
.page-title h1,
.detail-title {
  margin: 18px 0 16px;
  color: #111827;
  font-size: clamp(36px, 6vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-copy p,
.page-title p,
.detail-intro {
  max-width: 720px;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions,
.detail-actions,
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.category-pills a {
  padding: 10px 15px;
  border: 1px solid #fecdd3;
  border-radius: 999px;
  color: #be123c;
  background: rgba(255, 241, 242, 0.72);
  font-weight: 800;
}

.hero-showcase {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background: linear-gradient(135deg, #111827, #881337 48%, #fb7185);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  opacity: 0.8;
}

.hero-slide-content {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 24px;
  border-radius: 24px;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.76));
}

.hero-slide-content h2 {
  margin: 10px 0;
  font-size: 28px;
  line-height: 1.12;
}

.hero-slide-content p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.hero-dots {
  position: absolute;
  right: 24px;
  top: 24px;
  display: flex;
  gap: 8px;
}

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

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

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px auto 0;
}

.feature-panel {
  padding: 22px;
}

.feature-panel strong {
  display: block;
  color: #111827;
  font-size: 26px;
}

.feature-panel span {
  color: #6b7280;
  font-size: 14px;
}

.main-content {
  padding: 28px 0 56px;
}

.section-block {
  margin-top: 28px;
  padding: 28px;
}

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

.section-heading h2 {
  margin: 10px 0 0;
  color: #111827;
  font-size: clamp(26px, 4vw, 42px);
  letter-spacing: -0.04em;
}

.section-heading a {
  color: #e11d48;
  font-weight: 900;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid #ffe4e6;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(136, 19, 55, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 58px rgba(136, 19, 55, 0.15);
}

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

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

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

.poster-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(225, 29, 72, 0.9);
  font-size: 13px;
  font-weight: 900;
}

.movie-card-body {
  padding: 18px;
}

.movie-meta {
  min-height: 21px;
  color: #e11d48;
  font-size: 13px;
  font-weight: 900;
}

.movie-card h2 {
  margin: 8px 0 10px;
  color: #111827;
  font-size: 20px;
  line-height: 1.25;
}

.movie-card p {
  min-height: 72px;
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.7;
}

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

.tag-row span,
.info-tag {
  padding: 5px 9px;
  border-radius: 999px;
  color: #be123c;
  background: #fff1f2;
  font-size: 12px;
  font-weight: 800;
}

.card-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.card-actions a {
  flex: 1;
  min-height: 36px;
  font-size: 13px;
}

.card-actions a:first-child {
  color: #be123c;
  border: 1px solid #fecdd3;
  background: #ffffff;
  box-shadow: none;
}

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

.category-card {
  min-height: 150px;
  padding: 20px;
  border: 1px solid #fecdd3;
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff, #fff1f2);
}

.category-card h2 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 22px;
}

.category-card p {
  margin: 0 0 16px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.7;
}

.category-card span {
  color: #e11d48;
  font-weight: 900;
}

.rank-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.compact-card {
  display: grid;
  grid-template-columns: 42px 72px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid #ffe4e6;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.compact-card:hover {
  border-color: #fb7185;
  transform: translateX(4px);
}

.compact-card img {
  width: 72px;
  height: 96px;
  border-radius: 14px;
  object-fit: cover;
  background: #ffe4e6;
}

.rank-number {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #fb7185, #e11d48);
  font-weight: 900;
}

.compact-card strong,
.compact-card em {
  display: block;
}

.compact-card strong {
  color: #111827;
  font-size: 16px;
}

.compact-card em {
  margin-top: 6px;
  color: #6b7280;
  font-size: 13px;
  font-style: normal;
  line-height: 1.5;
}

.page-title,
.detail-hero {
  padding: 42px 0 12px;
}

.page-title-card {
  padding: 36px;
  border: 1px solid rgba(254, 205, 211, 0.9);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 241, 242, 0.9));
  box-shadow: 0 22px 58px rgba(136, 19, 55, 0.1);
}

.filter-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-bottom: 22px;
}

.filter-bar input,
.filter-bar select {
  min-height: 46px;
  border: 1px solid #fecdd3;
  border-radius: 999px;
  outline: 0;
  background: #ffffff;
  padding: 0 18px;
  color: #1f2937;
  font-size: 14px;
}

.detail-hero {
  margin-top: 28px;
  padding: 28px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 30px;
}

.detail-poster {
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(135deg, #ffe4e6, #fecdd3);
  box-shadow: 0 20px 48px rgba(136, 19, 55, 0.16);
}

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

.detail-title {
  font-size: clamp(34px, 5vw, 58px);
}

.detail-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 10px;
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

.article-box,
.side-box {
  padding: 26px;
  border: 1px solid #ffe4e6;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
}

.article-box h2,
.side-box h2,
.player-shell h1,
.plain-page h1 {
  margin: 0 0 14px;
  color: #111827;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.article-box p,
.plain-page p {
  color: #4b5563;
  font-size: 16px;
  line-height: 2;
}

.side-box {
  position: sticky;
  top: 96px;
}

.side-box .compact-card {
  grid-template-columns: 36px 58px 1fr;
  margin-bottom: 10px;
  padding: 10px;
}

.side-box .compact-card img {
  width: 58px;
  height: 78px;
}

.player-shell {
  margin-top: 28px;
  padding: 28px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #030712;
  box-shadow: 0 24px 70px rgba(3, 7, 18, 0.28);
}

.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #030712;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(3, 7, 18, 0.12), rgba(3, 7, 18, 0.62));
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.video-frame.is-playing .video-overlay {
  opacity: 0;
}

.video-overlay .player-button {
  pointer-events: auto;
}

.player-meta {
  margin-top: 18px;
  color: #4b5563;
  line-height: 1.8;
}

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

.plain-page {
  margin: 30px auto 60px;
  padding: 36px;
}

.site-footer {
  margin-top: 36px;
  padding: 42px 0;
  border-top: 1px solid #fecdd3;
  background: rgba(255, 241, 242, 0.72);
}

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

.site-footer h2 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 16px;
}

.site-footer p,
.site-footer a {
  display: block;
  margin: 8px 0;
  color: #6b7280;
  line-height: 1.7;
}

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

.empty-state {
  display: none;
  padding: 40px;
  text-align: center;
  color: #6b7280;
}

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: auto auto;
  }

  .mobile-menu-button {
    display: block;
    justify-self: end;
  }

  .site-nav,
  .top-search {
    display: none;
  }

  .site-nav.is-open {
    display: flex;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-bottom: 16px;
  }

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

  .side-box {
    position: static;
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .hero-copy,
  .section-block,
  .detail-hero,
  .player-shell,
  .plain-page,
  .page-title-card {
    padding: 22px;
    border-radius: 22px;
  }

  .hero-layout {
    gap: 16px;
  }

  .hero-showcase {
    min-height: 430px;
  }

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

  .detail-poster img {
    min-height: 380px;
  }

  .section-heading,
  .filter-bar {
    display: block;
  }

  .filter-bar input,
  .filter-bar select {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 12px;
  }
}
