:root {
  --bg: #fff7ed;
  --paper: #ffffff;
  --paper-soft: #fffaf0;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #fed7aa;
  --orange: #f97316;
  --orange-dark: #c2410c;
  --amber: #f59e0b;
  --yellow: #facc15;
  --rose: #f43f5e;
  --shadow: 0 18px 45px rgba(124, 45, 18, 0.12);
  --shadow-strong: 0 25px 70px rgba(124, 45, 18, 0.24);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(90deg, #ea580c, #f59e0b, #eab308);
  box-shadow: 0 10px 30px rgba(194, 65, 12, 0.22);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: var(--orange);
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(124, 45, 18, 0.18);
}

.brand-text,
.footer-brand div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong,
.footer-brand strong {
  color: #ffffff;
  font-size: 22px;
  letter-spacing: 0.02em;
}

.brand-text small,
.footer-brand small {
  color: #ffedd5;
  font-size: 12px;
}

.header-search {
  flex: 1;
  max-width: 440px;
  display: flex;
  background: rgba(255, 255, 255, 0.92);
  padding: 4px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.58);
}

.header-search input,
.mobile-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #374151;
  padding: 10px 14px;
  min-width: 0;
}

.header-search button,
.mobile-search button {
  border: 0;
  color: #ffffff;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  font-weight: 700;
}

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

.nav-link,
.mobile-link {
  color: #ffffff;
  font-weight: 700;
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: #fff7ed;
  transform: translateY(-1px);
}

.menu-button {
  width: 44px;
  height: 44px;
  display: none;
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-button span {
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  padding: 0 16px 16px;
}

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

.mobile-search {
  display: flex;
  padding: 4px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 18px;
}

.hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.2), transparent 32%), linear-gradient(120deg, #ea580c, #f59e0b 54%, #facc15);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(120, 53, 15, 0.25));
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(16px);
  animation: pulseOrb 7s ease-in-out infinite;
}

.hero-orb-one {
  left: -90px;
  top: -120px;
}

.hero-orb-two {
  right: -120px;
  bottom: -140px;
  animation-delay: 1.4s;
}

.hero-shell {
  position: relative;
  z-index: 2;
  min-height: 650px;
  display: flex;
  align-items: center;
  padding: 64px 0;
}

.hero-slider {
  width: 100%;
  position: relative;
}

.hero-slide {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 48px;
  align-items: center;
}

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

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff7ed;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--orange-dark);
  background: #ffedd5;
}

.hero-copy h1 {
  margin: 22px 0 18px;
  font-size: clamp(44px, 8vw, 78px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.hero-summary {
  max-width: 720px;
  margin: 0 0 22px;
  color: #fff7ed;
  font-size: clamp(18px, 2.6vw, 25px);
  line-height: 1.65;
}

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

.hero-tags span,
.tag-list span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  color: #9a3412;
  background: #ffedd5;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.button-light {
  background: #ffffff;
  color: var(--orange-dark);
}

.button-ghost {
  background: rgba(154, 52, 18, 0.45);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.button-main {
  background: linear-gradient(90deg, var(--orange), var(--amber));
  color: #ffffff;
}

.hero-poster {
  position: relative;
  display: block;
  padding: 12px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-strong);
  transform: rotate(2deg);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-poster span {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 10px 12px;
  border-radius: 16px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  font-weight: 800;
}

.hero-control-row {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-control,
.hero-dot {
  border: 0;
  cursor: pointer;
}

.hero-control {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 28px;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
}

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

.section {
  padding: 72px 0;
}

.section-white {
  background: #ffffff;
}

.section-soft {
  background: linear-gradient(135deg, #fff7ed, #fef3c7);
}

.section-heading {
  text-align: center;
  margin-bottom: 34px;
}

.section-heading h2,
.page-hero h1,
.detail-heading h1 {
  color: #111827;
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.08;
  margin: 12px 0;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.section-heading p,
.page-hero p,
.detail-heading p {
  margin: 0 auto;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 17px;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  text-align: left;
}

.split-heading p {
  margin-left: 0;
}

.left-heading {
  text-align: left;
}

.left-heading p {
  margin-left: 0;
}

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

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(254, 215, 170, 0.82);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.poster-link,
.poster-frame {
  display: block;
  position: relative;
}

.poster-frame {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #fed7aa, #fef3c7);
}

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

.movie-card:hover .poster-frame img {
  transform: scale(1.06);
}

.poster-glow {
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.45), transparent);
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), var(--orange));
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(244, 63, 94, 0.35);
}

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

.movie-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.movie-meta span,
.detail-meta span {
  border-radius: 999px;
  background: #fff7ed;
  padding: 5px 9px;
}

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

.movie-card p {
  min-height: 58px;
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card-compact h2 {
  font-size: 17px;
}

.movie-card-compact p {
  min-height: 0;
  -webkit-line-clamp: 1;
}

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

.category-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(254, 215, 170, 0.8);
  box-shadow: var(--shadow);
}

.category-card > a {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
}

.category-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  color: #ffffff;
  font-weight: 900;
  font-size: 22px;
}

.category-card strong {
  color: #111827;
  font-size: 20px;
  font-weight: 900;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.category-samples {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 22px 22px;
}

.category-samples a {
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 800;
}

.ranking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 34px;
  align-items: start;
}

.rank-list {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.rank-row {
  display: grid;
  grid-template-columns: auto 64px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(124, 45, 18, 0.08);
}

.row-rank {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffedd5;
  color: var(--orange-dark);
  font-weight: 900;
}

.rank-row img {
  width: 64px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  background: #ffedd5;
}

.rank-row strong,
.rank-row em {
  display: block;
}

.rank-row strong {
  color: #111827;
  font-weight: 900;
  margin-bottom: 4px;
}

.rank-row em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.spotlight-card {
  overflow: hidden;
  border-radius: 32px;
  background: #111827;
  color: #ffffff;
  box-shadow: var(--shadow-strong);
}

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

.spotlight-card div {
  padding: 28px;
}

.spotlight-card span {
  color: #fdba74;
  font-weight: 900;
}

.spotlight-card h2 {
  margin: 10px 0;
  font-size: 28px;
  font-weight: 900;
}

.spotlight-card p {
  color: #d1d5db;
  line-height: 1.7;
}

.spotlight-card a {
  display: inline-flex;
  margin-top: 8px;
  color: #fed7aa;
  font-weight: 900;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0;
  background: linear-gradient(120deg, #fff7ed, #fef3c7);
}

.page-hero::before,
.detail-hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -140px;
  top: -180px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.16);
  filter: blur(6px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 18px;
  color: #9a3412;
  font-weight: 800;
}

.breadcrumb span {
  color: #fb923c;
}

.page-hero-grid,
.detail-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  gap: 42px;
}

.page-hero-poster,
.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow-strong);
}

.page-hero-poster img,
.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.page-hero-poster span {
  display: block;
  padding: 14px 16px;
  color: #111827;
  font-weight: 900;
}

.filter-panel {
  position: sticky;
  top: 78px;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid #fed7aa;
  backdrop-filter: blur(16px);
}

.filter-inner {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
}

.filter-search input,
.filter-selects select {
  width: 100%;
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid #fed7aa;
  background: #fff7ed;
  outline: 0;
  color: #374151;
  padding: 0 14px;
}

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

.filter-selects select {
  min-width: 130px;
}

.empty-state {
  display: none;
  width: min(640px, calc(100% - 32px));
  margin: 0 auto 72px;
  border-radius: 24px;
  background: #fff7ed;
  color: #9a3412;
  font-weight: 900;
  text-align: center;
  padding: 28px;
}

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

.detail-hero-grid {
  grid-template-columns: 330px minmax(0, 1fr);
}

.detail-heading {
  position: relative;
  z-index: 2;
}

.detail-meta {
  margin: 24px 0 14px;
}

.detail-tags {
  margin-bottom: 26px;
}

.player-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.player-box {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 30px;
  background: #111827;
  box-shadow: var(--shadow-strong);
}

.movie-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000000;
  cursor: pointer;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.68));
  cursor: pointer;
  text-align: center;
}

.play-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.play-circle {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  box-shadow: 0 18px 45px rgba(249, 115, 22, 0.32);
  font-size: 34px;
  padding-left: 5px;
}

.play-overlay strong {
  max-width: min(520px, calc(100% - 48px));
  font-size: clamp(22px, 4vw, 36px);
  line-height: 1.2;
}

.player-side {
  border-radius: 26px;
  background: linear-gradient(135deg, #fff7ed, #fef3c7);
  border: 1px solid #fed7aa;
  padding: 22px;
  box-shadow: var(--shadow);
}

.player-side h2 {
  margin: 0 0 16px;
  color: #111827;
  font-size: 22px;
  font-weight: 900;
}

.related-links {
  display: grid;
  gap: 10px;
}

.related-links a {
  display: block;
  border-radius: 14px;
  background: #ffffff;
  color: #9a3412;
  font-weight: 800;
  padding: 12px 14px;
}

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

.detail-content article {
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 30px;
}

.detail-content h2 {
  margin: 0 0 16px;
  color: #111827;
  font-size: 26px;
  font-weight: 900;
}

.detail-content p {
  margin: 0;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.9;
}

.site-footer {
  background: #111827;
  color: #d1d5db;
  padding: 58px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 36px;
}

.footer-brand .brand-icon {
  box-shadow: none;
}

.site-footer p {
  color: #9ca3af;
  line-height: 1.8;
  margin: 18px 0 0;
}

.site-footer h2 {
  color: #ffffff;
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 900;
}

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

.footer-links a {
  color: #d1d5db;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fdba74;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid #374151;
  color: #9ca3af;
  text-align: center;
}

@keyframes pulseOrb {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.58;
  }

  50% {
    transform: scale(1.15);
    opacity: 0.86;
  }
}

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

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

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

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

@media (max-width: 900px) {
  .desktop-nav,
  .header-search {
    display: none;
  }

  .menu-button {
    display: inline-flex;
    margin-left: auto;
  }

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

  .brand-text small {
    display: none;
  }

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

  .hero-slide,
  .page-hero-grid,
  .detail-hero-grid,
  .player-layout,
  .ranking-layout,
  .detail-content,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    max-width: 360px;
    margin: 0 auto;
  }

  .split-heading,
  .filter-inner {
    grid-template-columns: 1fr;
    display: grid;
    align-items: start;
  }

  .filter-panel {
    position: static;
  }

  .page-hero-poster,
  .detail-poster {
    max-width: 320px;
  }
}

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

  .section {
    padding: 48px 0;
  }

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

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

  .movie-card h2 {
    font-size: 17px;
  }

  .movie-card p {
    font-size: 14px;
  }

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

  .hero-actions,
  .filter-selects {
    flex-direction: column;
  }

  .button,
  .filter-selects select {
    width: 100%;
  }

  .play-circle {
    width: 68px;
    height: 68px;
    font-size: 28px;
  }
}

@media (max-width: 430px) {
  .movie-grid,
  .movie-grid-featured,
  .compact-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .brand-text strong {
    font-size: 18px;
  }
}
