:root {
  --site-orange: #fb923c;
  --site-orange-dark: #ea580c;
  --site-pink: #ec4899;
  --site-purple: #9333ea;
  --site-blue: #38bdf8;
  --site-ink: #111827;
  --site-muted: #64748b;
  --site-soft: #fff7ed;
  --site-line: rgba(251, 146, 60, 0.22);
  --site-shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
  --site-radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--site-ink);
  background: linear-gradient(180deg, #fff7ed 0%, #fdf2f8 28%, #ffffff 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 247, 237, 0.92), rgba(253, 242, 248, 0.92));
  border-bottom: 1px solid var(--site-line);
  backdrop-filter: blur(18px);
}

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

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--site-orange), var(--site-pink));
  box-shadow: 0 12px 28px rgba(236, 72, 153, 0.24);
}

.logo-text {
  font-size: 22px;
  background: linear-gradient(90deg, var(--site-orange-dark), var(--site-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-links a,
.mobile-panel a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 14px;
  color: #374151;
  font-weight: 700;
  transition: all 0.25s ease;
}

.nav-links a:hover,
.nav-links a.is-active,
.mobile-panel a:hover {
  color: #ffffff;
  background: linear-gradient(90deg, var(--site-orange), var(--site-pink));
  box-shadow: 0 14px 30px rgba(236, 72, 153, 0.22);
}

.menu-toggle {
  display: none;
  border: 0;
  border-radius: 14px;
  padding: 10px 12px;
  color: #374151;
  background: rgba(255, 255, 255, 0.7);
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--site-line);
  padding: 10px 16px 18px;
  background: rgba(255, 255, 255, 0.96);
}

.mobile-panel.is-open {
  display: grid;
  gap: 8px;
}

.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.32), transparent 22%),
    radial-gradient(circle at 86% 12%, rgba(255, 255, 255, 0.26), transparent 24%),
    linear-gradient(135deg, var(--site-orange) 0%, var(--site-pink) 48%, var(--site-purple) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.45;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  background: linear-gradient(0deg, #fff7ed, transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 42px;
  align-items: center;
  padding: 72px 0 92px;
}

.hero-copy {
  color: #ffffff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(12px);
  font-weight: 800;
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.hero p {
  margin: 0;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.75;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 22px;
  border: 0;
  font-weight: 900;
  transition: all 0.25s ease;
}

.btn-primary {
  color: var(--site-orange-dark);
  background: #ffffff;
  box-shadow: 0 22px 48px rgba(17, 24, 39, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  background: #fff7ed;
}

.btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(12px);
}

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

.hero-search {
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin-top: 28px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(14px);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #ffffff;
  background: transparent;
  padding: 0 14px;
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.76);
}

.hero-search button {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  color: var(--site-orange-dark);
  background: #ffffff;
  font-weight: 900;
}

.hero-frame {
  position: relative;
}

.hero-carousel {
  position: relative;
  min-height: 440px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(17, 24, 39, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(17, 24, 39, 0.16);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s ease, transform 1.1s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

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

.hero-slide-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 96px 28px 28px;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0));
}

.hero-slide-content h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
}

.hero-slide-content p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.7;
}

.hero-dots {
  position: absolute;
  left: 28px;
  top: 28px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

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

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

.floating-card {
  position: absolute;
  right: -18px;
  top: -24px;
  width: 170px;
  padding: 16px;
  border-radius: 24px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(17, 24, 39, 0.2);
}

.page-hero {
  padding: 84px 0 44px;
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.16), rgba(236, 72, 153, 0.12), rgba(147, 51, 234, 0.08));
}

.page-hero h1,
.section-title h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.page-hero p,
.section-title p {
  margin: 14px 0 0;
  max-width: 760px;
  color: var(--site-muted);
  font-size: 18px;
  line-height: 1.8;
}

.section {
  padding: 58px 0;
}

.section-tinted {
  background: linear-gradient(90deg, rgba(253, 242, 248, 0.86), rgba(255, 247, 237, 0.92));
}

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

.section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--site-orange), var(--site-pink));
  box-shadow: 0 14px 28px rgba(236, 72, 153, 0.18);
  font-weight: 900;
}

.section-link {
  color: var(--site-orange-dark);
  font-weight: 900;
}

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #fed7aa, #fbcfe8);
}

.poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 0.6s ease;
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.68), transparent 62%);
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster-shade {
  opacity: 1;
}

.badge,
.meta-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.badge {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 6px 10px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--site-orange), var(--site-pink));
  box-shadow: 0 8px 20px rgba(236, 72, 153, 0.18);
}

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

.card-body h3 {
  margin: 0 0 9px;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 900;
}

.card-body p {
  margin: 0 0 14px;
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.7;
}

.line-clamp-2,
.line-clamp-3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.line-clamp-2 {
  -webkit-line-clamp: 2;
}

.line-clamp-3 {
  -webkit-line-clamp: 3;
}

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

.meta-pill {
  padding: 6px 9px;
  color: #9a3412;
  background: #fff7ed;
}

.tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  border-radius: 999px;
  padding: 6px 9px;
  color: #db2777;
  background: #fdf2f8;
  font-size: 12px;
  font-weight: 800;
}

.large-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 30px;
  align-items: stretch;
  overflow: hidden;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: var(--site-shadow);
}

.large-feature .feature-poster {
  position: relative;
  min-height: 360px;
  background: linear-gradient(135deg, #fed7aa, #fbcfe8);
}

.feature-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-copy {
  padding: 36px 34px;
}

.feature-copy h2 {
  margin: 12px 0 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.feature-copy p {
  color: var(--site-muted);
  line-height: 1.85;
}

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

.category-card {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border-radius: 24px;
  padding: 22px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--site-orange), var(--site-pink) 52%, var(--site-purple));
  box-shadow: 0 18px 40px rgba(236, 72, 153, 0.18);
}

.category-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -40px;
  top: -40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.category-card h2,
.category-card h3 {
  position: relative;
  margin: 0 0 10px;
  font-size: 23px;
  font-weight: 900;
}

.category-card p {
  position: relative;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
  font-size: 14px;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(251, 146, 60, 0.18);
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.06);
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 48px;
  border: 2px solid #fed7aa;
  border-radius: 16px;
  outline: 0;
  padding: 0 16px;
  color: #111827;
  background: #ffffff;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--site-pink);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.filter-chip {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  color: #7c2d12;
  background: #ffedd5;
  font-weight: 800;
  transition: all 0.22s ease;
}

.filter-chip.is-active,
.filter-chip:hover {
  color: #ffffff;
  background: linear-gradient(90deg, var(--site-orange), var(--site-pink));
}

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

.rank-item {
  display: grid;
  grid-template-columns: 68px 160px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.07);
}

.rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--site-orange), var(--site-pink));
  font-weight: 900;
  font-size: 20px;
}

.rank-poster {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 18px;
  background: #fed7aa;
}

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

.rank-copy h2,
.rank-copy h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 900;
}

.rank-copy p {
  margin: 0;
  color: var(--site-muted);
  line-height: 1.65;
}

.detail-hero {
  padding: 44px 0 60px;
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.18), rgba(236, 72, 153, 0.14), rgba(147, 51, 234, 0.08));
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  color: #9a3412;
  font-size: 14px;
  font-weight: 800;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: start;
}

.detail-poster {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--site-shadow);
  background: #fed7aa;
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.detail-copy p {
  color: var(--site-muted);
  line-height: 1.9;
  font-size: 17px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.info-box {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(251, 146, 60, 0.18);
}

.info-box span {
  display: block;
  margin-bottom: 4px;
  color: #9a3412;
  font-size: 12px;
  font-weight: 900;
}

.info-box strong {
  font-size: 15px;
}

.player-section {
  padding: 54px 0;
  background: #0f172a;
}

.player-card {
  overflow: hidden;
  border-radius: 30px;
  background: #020617;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.player-stage {
  position: relative;
  background: #020617;
}

.player-stage video {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 76vh;
  background: #000000;
  object-fit: contain;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.12));
}

.player-overlay.is-hidden {
  display: none;
}

.play-orb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--site-orange), var(--site-pink));
  box-shadow: 0 22px 60px rgba(236, 72, 153, 0.46);
  font-size: 34px;
  transform: translateX(3px);
}

.player-title {
  padding: 22px 26px 26px;
  color: #ffffff;
}

.player-title h2 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 900;
}

.player-title p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.75;
}

.content-card {
  padding: 28px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.07);
}

.content-card h2 {
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: 900;
}

.content-card p {
  margin: 0 0 16px;
  color: #475569;
  line-height: 1.9;
}

.site-footer {
  color: #cbd5e1;
  background: linear-gradient(135deg, #111827, #1f2937 52%, #111827);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.8fr));
  gap: 28px;
}

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

.footer-inner p,
.footer-inner a {
  color: #94a3b8;
  line-height: 1.8;
  font-size: 14px;
}

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

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding: 18px 0;
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
}

.hidden-by-filter {
  display: none !important;
}

.empty-state {
  display: none;
  padding: 52px;
  text-align: center;
  color: var(--site-muted);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
}

.empty-state.is-visible {
  display: block;
}

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

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

  .floating-card {
    right: 18px;
  }

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

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

  .menu-toggle {
    display: inline-flex;
  }

  .header-inner {
    min-height: 66px;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    padding: 48px 0 82px;
  }

  .hero-search,
  .filter-bar {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

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

  .hero-search input {
    min-height: 44px;
  }

  .hero-carousel,
  .hero-slide img {
    min-height: 360px;
  }

  .movie-grid,
  .movie-grid.compact,
  .category-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

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

  .rank-item {
    grid-template-columns: 52px 112px minmax(0, 1fr);
  }

  .rank-item .btn {
    grid-column: 1 / -1;
  }

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