:root {
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --pink-500: #ec4899;
  --orange-400: #fb923c;
  --yellow-200: #fef08a;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 48px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 28px 70px rgba(244, 63, 94, 0.24);
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--gray-50);
  color: var(--gray-700);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.nav-shell,
.footer-shell,
.section-shell,
.hero-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-900);
  font-size: 22px;
  font-weight: 800;
  white-space: nowrap;
}

.brand span:last-child {
  background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
  color: var(--white);
  font-size: 14px;
  box-shadow: 0 12px 26px rgba(244, 63, 94, 0.28);
}

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

.desktop-nav a,
.mobile-nav a,
.footer-links a {
  color: var(--gray-600);
  font-size: 15px;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.footer-links a:hover {
  color: var(--rose-500);
}

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

.nav-search input,
.big-search input,
.filter-bar input,
.filter-bar select {
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  outline: none;
  background: var(--white);
  color: var(--gray-800);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input {
  width: 190px;
  padding: 10px 16px;
}

.nav-search input:focus,
.big-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--rose-500);
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.14);
}

.nav-search button,
.big-search button,
.primary-btn,
.panel-link,
.small-btn {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
  color: var(--white);
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 16px 32px rgba(244, 63, 94, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.nav-search button {
  padding: 10px 16px;
}

.nav-search button:hover,
.big-search button:hover,
.primary-btn:hover,
.panel-link:hover,
.small-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(244, 63, 94, 0.28);
}

.mobile-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--rose-50);
  color: var(--rose-500);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 16px;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

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

.hero-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose-500), var(--pink-500) 55%, var(--orange-400));
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.28;
  background: var(--white);
}

.hero-glow-one {
  top: 60px;
  left: 6%;
  width: 280px;
  height: 280px;
}

.hero-glow-two {
  right: 4%;
  bottom: 40px;
  width: 360px;
  height: 360px;
  background: var(--yellow-200);
}

.hero-shell {
  position: relative;
  min-height: 560px;
  padding: 70px 0 82px;
}

.hero-slide {
  display: none;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: 56px;
  min-height: 430px;
}

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

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--rose-600);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy .eyebrow,
.page-hero .eyebrow,
.detail-card .eyebrow {
  color: var(--yellow-200);
}

.hero-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-text {
  max-width: 720px;
  margin: 0 0 28px;
  color: var(--rose-100);
  font-size: 21px;
}

.hero-tags,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.tag-list span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  padding: 8px 13px;
  font-size: 14px;
}

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

.primary-btn,
.ghost-btn,
.panel-link,
.small-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
}

.hero-actions .primary-btn {
  background: var(--white);
  color: var(--rose-500);
}

.ghost-btn {
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: var(--white);
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  display: block;
  min-height: 360px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-visual:hover img {
  transform: scale(1.06);
}

.hero-card-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background: rgba(17, 24, 39, 0.58);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.hero-card-caption strong {
  font-size: 22px;
}

.hero-card-caption small {
  color: var(--rose-100);
}

.hero-dots {
  position: absolute;
  left: 0;
  bottom: 34px;
  display: flex;
  gap: 10px;
}

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

.hero-dot.is-active {
  width: 56px;
  background: var(--white);
}

.section-shell {
  padding: 72px 0;
}

.section-heading,
.panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
}

.section-heading h2,
.panel-heading h2,
.content-block h2,
.aside-panel h2 {
  margin: 0;
  color: var(--gray-800);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.15;
}

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

.movie-grid {
  display: grid;
  gap: 24px;
}

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

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

.movie-card {
  min-width: 0;
}

.movie-card-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card-link:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.movie-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gray-200);
}

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

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

.movie-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  max-width: calc(100% - 24px);
  overflow: hidden;
  border-radius: 999px;
  background: var(--rose-500);
  color: var(--white);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.movie-card-body {
  display: grid;
  gap: 9px;
  padding: 18px;
}

.movie-card-body strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--gray-800);
  font-size: 18px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.movie-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--gray-500);
  font-size: 12px;
}

.category-band {
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

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

.category-tile {
  display: grid;
  gap: 12px;
  min-height: 150px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-tile span {
  color: var(--gray-800);
  font-size: 20px;
  font-weight: 800;
}

.category-tile small {
  color: var(--gray-600);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: start;
}

.ranking-panel,
.aside-panel,
.detail-card,
.category-overview-card {
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.ranking-panel {
  position: sticky;
  top: 96px;
  padding: 24px;
}

.rank-row {
  display: grid;
  grid-template-columns: 44px 86px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--gray-100);
}

.rank-row img {
  width: 86px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
}

.rank-num,
.ranking-index {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, #facc15, var(--orange-400));
  color: var(--white);
  font-weight: 900;
}

.rank-info,
.ranking-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.rank-info strong,
.ranking-copy strong {
  overflow: hidden;
  color: var(--gray-800);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-info small,
.ranking-copy small,
.ranking-copy em {
  display: -webkit-box;
  overflow: hidden;
  color: var(--gray-500);
  font-size: 13px;
  font-style: normal;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.rank-score,
.ranking-heat {
  color: var(--rose-500);
  font-weight: 800;
}

.panel-link {
  width: 100%;
  margin-top: 18px;
}

.site-footer {
  background: var(--gray-900);
  color: #cbd5e1;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 40px;
  padding: 46px 0;
}

.footer-brand span:last-child {
  color: var(--white);
}

.site-footer p {
  max-width: 560px;
  margin: 18px 0 0;
  color: #94a3b8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-content: start;
}

.page-hero,
.detail-hero {
  background: linear-gradient(135deg, var(--rose-500), var(--pink-500) 60%, var(--orange-400));
  color: var(--white);
}

.page-hero .section-shell {
  padding: 62px 0;
}

.page-hero h1 {
  max-width: 880px;
  margin: 0 0 16px;
  font-size: clamp(38px, 6vw, 58px);
  line-height: 1.08;
}

.page-hero p {
  max-width: 820px;
  margin: 0;
  color: var(--rose-100);
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

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

.category-overview {
  display: grid;
  gap: 24px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 28px;
  padding: 28px;
}

.category-overview-copy p {
  color: var(--gray-600);
}

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

.compact-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: var(--gray-50);
  transition: background 0.2s ease, transform 0.2s ease;
}

.compact-card:hover {
  background: var(--rose-50);
  transform: translateX(4px);
}

.compact-card img {
  width: 112px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
}

.compact-card strong,
.compact-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-card strong {
  color: var(--gray-800);
}

.compact-card small {
  color: var(--gray-500);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: end;
  margin-bottom: 28px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.filter-bar label {
  display: grid;
  gap: 8px;
  min-width: 220px;
  color: var(--gray-600);
  font-size: 14px;
  font-weight: 700;
}

.filter-bar input,
.filter-bar select {
  min-height: 44px;
  padding: 0 16px;
}

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

.ranking-list-row {
  display: grid;
  grid-template-columns: 54px 150px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-list-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.ranking-list-row img {
  width: 150px;
  height: 92px;
  border-radius: 14px;
  object-fit: cover;
}

.detail-hero {
  min-height: calc(100vh - 72px);
  padding: 42px 0 70px;
}

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

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

.player-stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #000000;
  box-shadow: 0 34px 80px rgba(17, 24, 39, 0.32);
  aspect-ratio: 16 / 9;
}

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

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 0;
  background: #000000;
  cursor: pointer;
}

.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
}

.player-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.18), rgba(17, 24, 39, 0.66));
}

.play-circle {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--rose-500);
  font-size: 32px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.26);
  padding-left: 5px;
}

.player-stage.is-playing .player-cover {
  display: none;
}

.detail-card {
  padding: 30px;
  color: var(--gray-700);
}

.detail-card .eyebrow {
  color: var(--rose-500);
}

.detail-card h1 {
  margin: 0 0 16px;
  color: var(--gray-900);
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.08;
}

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

.detail-meta a,
.detail-meta span {
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--gray-600);
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
}

.detail-meta a {
  background: var(--rose-50);
  color: var(--rose-600);
}

.lead-text {
  margin: 0 0 20px;
  color: var(--gray-700);
  font-size: 18px;
}

.detail-card .tag-list span {
  background: var(--gray-100);
  color: var(--gray-600);
}

.content-block {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.content-block h2 {
  margin-bottom: 12px;
  font-size: 24px;
}

.content-block p {
  margin: 0;
  color: var(--gray-700);
  font-size: 16px;
}

.review-block {
  padding: 24px;
  border: 0;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--rose-50), #fdf2f8);
}

.detail-aside {
  position: sticky;
  top: 96px;
}

.aside-panel {
  padding: 22px;
  color: var(--gray-700);
}

.aside-panel h2 {
  margin-bottom: 18px;
  font-size: 24px;
}

.big-search {
  display: flex;
  gap: 12px;
  width: min(720px, 100%);
  margin-top: 28px;
}

.big-search input {
  flex: 1;
  min-height: 54px;
  padding: 0 20px;
}

.big-search button {
  padding: 0 26px;
}

.search-status {
  margin-bottom: 22px;
  color: var(--gray-600);
  font-weight: 700;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 48px;
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--gray-600);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

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

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

  .nav-search {
    margin-left: auto;
  }

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

  .ranking-panel,
  .detail-aside {
    position: static;
  }

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

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

@media (max-width: 760px) {
  .nav-shell,
  .footer-shell,
  .section-shell,
  .hero-shell {
    width: min(100% - 24px, 1200px);
  }

  .nav-shell {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
  }

  .brand {
    font-size: 19px;
  }

  .nav-search {
    order: 3;
    width: 100%;
  }

  .nav-search input {
    flex: 1;
    width: auto;
  }

  .hero-shell {
    min-height: auto;
    padding: 46px 0 74px;
  }

  .hero-slide {
    gap: 28px;
  }

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

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

  .hero-visual,
  .hero-visual img {
    min-height: 280px;
  }

  .hero-dots {
    bottom: 26px;
  }

  .section-shell {
    padding: 48px 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .category-grid,
  .movie-grid-three,
  .movie-grid-four {
    grid-template-columns: 1fr;
  }

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

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

  .compact-card img {
    width: 96px;
    height: 64px;
  }

  .ranking-list-row {
    grid-template-columns: 46px 92px minmax(0, 1fr);
  }

  .ranking-list-row img {
    width: 92px;
    height: 62px;
  }

  .ranking-heat {
    display: none;
  }

  .detail-card,
  .aside-panel,
  .ranking-panel {
    padding: 20px;
  }

  .big-search {
    flex-direction: column;
  }
}
