:root {
  color-scheme: light;
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --rose-700: #be123c;
  --orange-50: #fff7ed;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --shadow-soft: 0 18px 45px rgba(225, 29, 72, 0.14);
  --shadow-card: 0 16px 40px rgba(17, 24, 39, 0.10);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--gray-900);
  background: linear-gradient(135deg, var(--orange-50), #fff7fb 42%, var(--rose-50));
}

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

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

button,
input {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(225, 29, 72, 0.08);
}

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

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--rose-600), var(--orange-600));
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(225, 29, 72, 0.26);
  font-size: 14px;
}

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

.desktop-nav a,
.mobile-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--gray-600);
  font-weight: 700;
  transition: 0.22s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-nav a:hover {
  color: var(--rose-600);
  background: var(--rose-50);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--rose-50);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--rose-600);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  width: min(100% - 32px, var(--container));
  margin: 0 auto 14px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--rose-100);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

.mobile-nav.is-open {
  display: grid;
  gap: 6px;
}

.hero {
  position: relative;
  height: 620px;
  min-height: 540px;
  overflow: hidden;
  background: #250514;
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

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

.hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 24%, rgba(249, 115, 22, 0.36), transparent 28%),
    linear-gradient(90deg, rgba(159, 18, 57, 0.94), rgba(225, 29, 72, 0.76) 45%, rgba(234, 88, 12, 0.68)),
    linear-gradient(0deg, rgba(17, 24, 39, 0.60), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 690px;
  color: #fff;
  padding-top: 22px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rose-600);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy .eyebrow,
.page-hero .eyebrow,
.detail-panel .eyebrow {
  color: #ffe4e6;
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-copy h3 {
  margin: 18px 0 0;
  font-size: clamp(24px, 4vw, 40px);
  color: #ffe4e6;
}

.hero-copy p {
  margin: 22px 0 0;
  max-width: 620px;
  color: #fff1f2;
  font-size: 20px;
  line-height: 1.75;
}

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

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: 0.22s ease;
}

.primary-button {
  color: var(--rose-600);
  background: #fff;
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.18);
}

.primary-button:hover {
  transform: translateY(-2px) scale(1.02);
  background: var(--rose-50);
}

.ghost-button {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.72);
}

.ghost-button:hover {
  background: rgba(255, 255, 255, 0.13);
}

.hero-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 28px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

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

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

.section {
  padding: 70px 0;
}

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

.section-heading.centered {
  display: block;
  text-align: center;
}

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

.section-heading a {
  color: var(--rose-600);
  font-weight: 900;
}

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

.movie-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(225, 29, 72, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 58px rgba(225, 29, 72, 0.18);
}

.movie-card figure {
  position: relative;
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--rose-100), var(--orange-50));
}

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

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

.card-badge,
.play-mini {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
}

.card-badge {
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  color: #fff;
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(8px);
}

.play-mini {
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  color: var(--rose-600);
  background: #fff;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.18);
}

.card-body {
  padding: 18px;
}

.card-meta {
  margin: 0 0 8px;
  color: var(--rose-600);
  font-size: 13px;
  font-weight: 900;
}

.movie-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.card-desc {
  margin: 0;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.tag-row span {
  padding: 6px 10px;
  color: var(--rose-600);
  background: var(--rose-50);
  border: 1px solid var(--rose-100);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
}

.category-band {
  background: linear-gradient(135deg, #fff, var(--rose-50));
}

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

.category-card,
.category-overview-card {
  padding: 26px;
  background: #fff;
  border: 1px solid rgba(225, 29, 72, 0.10);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: 0.24s ease;
}

.category-card:hover,
.category-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.category-card span,
.category-title {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--rose-600);
  font-size: 20px;
  font-weight: 900;
}

.category-card p,
.category-overview-card p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.8;
}

.sample-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.sample-links a {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--rose-50);
  color: var(--rose-600);
  font-size: 13px;
  font-weight: 800;
}

.library-tools {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(225, 29, 72, 0.10);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 28px rgba(225, 29, 72, 0.08);
}

.search-box {
  display: grid;
  gap: 8px;
  color: var(--gray-700);
  font-weight: 900;
}

.search-box input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--rose-100);
  border-radius: 16px;
  outline: none;
  background: #fff;
}

.search-box input:focus {
  border-color: var(--rose-500);
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.12);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-row button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--rose-100);
  border-radius: 999px;
  color: var(--gray-700);
  background: #fff;
  cursor: pointer;
  font-weight: 800;
}

.filter-row button.active,
.filter-row button:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--rose-600), var(--orange-600));
}

.page-hero {
  padding: 76px 0;
  color: #fff;
  background:
    radial-gradient(circle at 80% 15%, rgba(249, 115, 22, 0.42), transparent 30%),
    linear-gradient(135deg, var(--rose-700), var(--orange-600));
}

.compact-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(38px, 5vw, 60px);
  letter-spacing: -0.06em;
}

.compact-hero p:not(.eyebrow) {
  max-width: 760px;
  color: #fff1f2;
  font-size: 18px;
  line-height: 1.8;
}

.breadcrumb {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

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

.detail-page {
  padding: 42px 0 30px;
  background: linear-gradient(180deg, #3f061a 0, var(--rose-50) 52%, transparent 100%);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: stretch;
}

.player-card,
.detail-panel,
.article-card,
.side-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.player-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

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

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

.player-cover {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: #050505;
}

.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  filter: blur(0.2px) saturate(1.04);
}

.player-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(159, 18, 57, 0.55), rgba(17, 24, 39, 0.52));
}

.player-cover-hidden {
  display: none;
}

.play-circle {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  color: var(--rose-600);
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.32);
  font-size: 30px;
}

.detail-panel {
  padding: 28px;
  color: var(--gray-900);
}

.detail-panel .eyebrow {
  color: var(--rose-600);
}

.detail-panel h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.lead {
  color: var(--gray-600);
  font-size: 17px;
  line-height: 1.8;
}

.detail-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0;
}

.detail-stats span {
  padding: 12px 10px;
  text-align: center;
  color: var(--rose-600);
  background: var(--rose-50);
  border: 1px solid var(--rose-100);
  border-radius: 14px;
  font-weight: 900;
}

.block-button {
  width: 100%;
  margin-top: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--rose-600), var(--orange-600));
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 28px;
  margin-top: 28px;
}

.article-card,
.side-card {
  padding: 28px;
}

.article-card h2,
.side-card h2 {
  margin: 0 0 16px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.article-card p {
  margin: 0 0 24px;
  color: var(--gray-700);
  line-height: 1.95;
  white-space: pre-line;
}

.side-card dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.side-card dl div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
}

.side-card dt {
  color: var(--gray-500);
  font-weight: 900;
}

.side-card dd {
  margin: 0;
  color: var(--gray-900);
  font-weight: 800;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 64px 86px 1fr 74px;
  gap: 18px;
  align-items: center;
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(225, 29, 72, 0.08);
  border-radius: 24px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
  transition: 0.22s ease;
}

.rank-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.rank-number {
  color: var(--rose-600);
  font-size: 26px;
  font-weight: 900;
  text-align: center;
}

.rank-item img {
  width: 86px;
  height: 112px;
  object-fit: cover;
  border-radius: 16px;
  background: var(--rose-50);
}

.rank-info p {
  margin: 0 0 6px;
  color: var(--rose-600);
  font-weight: 900;
}

.rank-info h3 {
  margin: 0;
  font-size: 20px;
}

.rank-item strong {
  color: #b45309;
  font-size: 22px;
  text-align: center;
}

.site-footer {
  margin-top: 30px;
  color: #fff;
  background: linear-gradient(135deg, #881337, #9a3412);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 30px;
  padding: 54px 0;
}

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

.site-footer h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

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

.footer-bottom {
  padding: 18px;
  text-align: center;
  color: #ffe4e6;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

[hidden] {
  display: none !important;
}

@media (max-width: 1100px) {
  .feature-grid,
  .movie-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

  .menu-button {
    display: block;
  }

  .hero {
    height: 680px;
  }

  .hero-content {
    align-items: end;
    padding-bottom: 72px;
  }

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

  .section-heading {
    display: block;
  }

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

  .card-body {
    padding: 14px;
  }

  .movie-card h3 {
    font-size: 16px;
  }

  .detail-panel,
  .article-card,
  .side-card {
    padding: 20px;
  }

  .rank-item {
    grid-template-columns: 44px 70px 1fr;
  }

  .rank-item strong {
    display: none;
  }

  .rank-item img {
    width: 70px;
    height: 92px;
  }
}

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

  .logo {
    font-size: 18px;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 42px;
  }

  .hero-actions {
    display: grid;
  }

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

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

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