/* Static movie site styles generated from the uploaded dark / bronze visual system. */
:root {
  --stone-950: #0c0a09;
  --stone-900: #1c1917;
  --stone-850: #292524;
  --stone-800: #44403c;
  --stone-700: #57534e;
  --stone-600: #78716c;
  --stone-500: #a8a29e;
  --stone-300: #d6d3d1;
  --stone-200: #e7e5e4;
  --stone-100: #f5f5f4;
  --stone-50: #fafaf9;
  --bronze-800: #846358;
  --bronze-700: #977669;
  --bronze-600: #a18072;
  --bronze-500: #b5968a;
  --bronze-400: #d2bab0;
  --heritage-100: #e4e4e1;
  --heritage-50: #f5f3ef;
  --white: #ffffff;
  --shadow-soft: 0 18px 55px rgba(12, 10, 9, 0.16);
  --shadow-card: 0 12px 35px rgba(12, 10, 9, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  color: var(--stone-900);
  background: var(--stone-50);
  line-height: 1.65;
}

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(28, 25, 23, 0.96);
  color: var(--stone-100);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--stone-950);
  background: linear-gradient(135deg, var(--bronze-400), var(--bronze-700));
  font-weight: 900;
  box-shadow: 0 10px 25px rgba(210, 186, 176, 0.24);
}

.logo-text strong {
  display: block;
  font-size: 22px;
  letter-spacing: 0.04em;
}

.logo-text small {
  display: block;
  color: var(--stone-500);
  font-size: 12px;
  margin-top: -3px;
}

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

.nav-link {
  color: var(--stone-300);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--bronze-400);
}

.mobile-menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--stone-100);
  width: 42px;
  height: 42px;
  padding: 8px;
}

.mobile-menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: currentColor;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
}

.hero-carousel {
  position: relative;
  height: 66vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--stone-950);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s ease;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-overlay,
.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 10, 9, 0.92) 0%, rgba(12, 10, 9, 0.58) 45%, rgba(12, 10, 9, 0.15) 100%),
    linear-gradient(0deg, rgba(12, 10, 9, 0.96) 0%, rgba(12, 10, 9, 0.20) 72%);
}

.hero-content {
  position: absolute;
  left: max(32px, calc((100% - 1180px) / 2));
  bottom: 76px;
  max-width: 760px;
  color: var(--white);
  padding-right: 32px;
}

.hero-badge,
.page-hero span,
.section-kicker {
  display: inline-flex;
  align-items: center;
  color: var(--bronze-400);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 16px 0 18px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
}

.hero-content p {
  margin: 0;
  max-width: 680px;
  color: var(--stone-200);
  font-size: clamp(17px, 2vw, 22px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  padding: 10px 20px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--bronze-600);
  box-shadow: 0 14px 30px rgba(161, 128, 114, 0.32);
}

.btn-primary:hover {
  background: var(--bronze-700);
}

.btn-soft {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost {
  color: var(--bronze-800);
  background: var(--heritage-50);
  border: 1px solid rgba(132, 99, 88, 0.18);
}

.full-btn {
  width: 100%;
  margin-top: 16px;
}

.hero-control {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(12, 10, 9, 0.52);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease;
}

.hero-control:hover {
  background: rgba(12, 10, 9, 0.78);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

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

.hero-dot.is-active {
  width: 34px;
  background: var(--bronze-400);
}

.page-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 76px;
}

.home-wrap {
  display: grid;
  gap: 64px;
}

.content-section {
  display: block;
}

.highlight-section {
  margin-left: calc((100vw - min(1180px, calc(100vw - 32px))) / -2);
  margin-right: calc((100vw - min(1180px, calc(100vw - 32px))) / -2);
  padding: 52px max(16px, calc((100vw - 1180px) / 2));
  background: var(--heritage-100);
}

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

.section-head h2 {
  margin: 8px 0 0;
  color: var(--stone-900);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.1;
}

.section-head p {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--stone-600);
}

.section-more {
  color: var(--bronze-700);
  font-weight: 800;
  white-space: nowrap;
}

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

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

.movie-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(87, 83, 78, 0.10);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(12, 10, 9, 0.18);
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(210, 186, 176, 0.52), transparent 32%),
    linear-gradient(135deg, var(--stone-900), var(--bronze-800));
}

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

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

.poster-shade {
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(0deg, rgba(12, 10, 9, 0.86), transparent);
}

.poster-meta,
.rank-badge,
.play-mini {
  position: absolute;
  z-index: 2;
}

.poster-meta {
  left: 14px;
  right: 14px;
  bottom: 12px;
  color: var(--stone-100);
  font-size: 13px;
}

.rank-badge {
  left: 12px;
  top: 12px;
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--stone-950);
  background: var(--bronze-400);
  font-size: 12px;
  font-weight: 900;
}

.play-mini {
  right: 12px;
  top: 12px;
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--white);
  background: rgba(12, 10, 9, 0.62);
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-mini {
  opacity: 1;
  transform: translateY(0);
}

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

.movie-card-body h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.movie-card-body h3 a:hover {
  color: var(--bronze-700);
}

.movie-card-body p {
  display: -webkit-box;
  min-height: 3.3em;
  margin: 9px 0 12px;
  overflow: hidden;
  color: var(--stone-600);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.tag-row span {
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--bronze-800);
  background: var(--heritage-50);
  font-size: 12px;
  font-weight: 700;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: var(--stone-500);
  font-size: 12px;
}

.card-foot span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-foot strong {
  color: var(--stone-700);
  white-space: nowrap;
}

.horizontal-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-snap-type: x mandatory;
}

.horizontal-scroll .movie-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

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

.category-card,
.category-overview-card,
.detail-info-card,
.detail-poster-card,
.player-section {
  border: 1px solid rgba(87, 83, 78, 0.10);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.category-card {
  padding: 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-card strong {
  display: block;
  color: var(--stone-900);
  font-size: 22px;
}

.category-card p {
  min-height: 4.8em;
  margin: 9px 0 12px;
  color: var(--stone-600);
}

.category-card small,
.category-count {
  color: var(--bronze-700);
  font-weight: 900;
}

.category-preview {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  color: var(--stone-500);
  font-size: 13px;
}

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

.region-panel h3 {
  margin: 0 0 16px;
  font-size: 24px;
}

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

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

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

.movie-card-compact .movie-card-body p,
.movie-card-compact .tag-row,
.movie-card-compact .card-foot {
  display: none;
}

.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 340px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 20%, rgba(210, 186, 176, 0.28), transparent 30%),
    linear-gradient(135deg, var(--stone-950), var(--stone-850));
}

.page-hero > div {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0;
}

.page-hero h1 {
  max-width: 820px;
  margin: 12px 0;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.08;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--stone-300);
  font-size: 18px;
}

.compact-actions {
  margin-top: 22px;
}

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

.category-overview-card {
  padding: 24px;
}

.category-overview-title {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.category-overview-title > span {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--stone-950);
  background: var(--bronze-400);
  font-weight: 900;
}

.category-overview-title h2 {
  margin: 0 0 5px;
}

.category-overview-title p {
  margin: 0;
  color: var(--stone-600);
}

.filter-bar {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 12px;
  margin: 0 0 28px;
  padding: 16px;
  border: 1px solid rgba(87, 83, 78, 0.10);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.filter-bar label {
  display: grid;
  gap: 6px;
  color: var(--stone-600);
  font-size: 13px;
  font-weight: 800;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  height: 44px;
  border: 1px solid rgba(87, 83, 78, 0.18);
  border-radius: 12px;
  padding: 0 12px;
  color: var(--stone-900);
  background: var(--stone-50);
  outline: none;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--bronze-600);
  box-shadow: 0 0 0 3px rgba(161, 128, 114, 0.16);
}

.filter-bar .btn {
  align-self: end;
  height: 44px;
}

.filter-empty {
  margin: -10px 0 24px;
  color: var(--bronze-800);
  font-weight: 800;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 52px 88px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(87, 83, 78, 0.10);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.rank-number {
  color: var(--bronze-700);
  font-size: 24px;
  font-weight: 900;
  text-align: center;
}

.rank-thumb {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: var(--stone-900);
}

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

.rank-row h3 {
  margin: 0;
}

.rank-row p {
  display: -webkit-box;
  margin: 5px 0 4px;
  overflow: hidden;
  color: var(--stone-600);
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.rank-row small {
  color: var(--stone-500);
}

.detail-hero {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  color: var(--white);
  background: var(--stone-950);
}

.detail-hero > img {
  width: 100%;
  height: 470px;
  object-fit: cover;
  filter: blur(2px) saturate(1.05);
  transform: scale(1.02);
}

.detail-hero-content {
  position: absolute;
  left: max(32px, calc((100% - 1180px) / 2));
  right: max(32px, calc((100% - 1180px) / 2));
  bottom: 58px;
  max-width: 900px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--bronze-400);
  font-weight: 800;
}

.detail-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.detail-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--stone-200);
  font-size: 18px;
}

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

.detail-meta-line span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.10);
}

.detail-wrap {
  padding-top: 36px;
}

.player-section {
  padding: 14px;
  margin-bottom: 28px;
  background: var(--stone-900);
}

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #000000;
  aspect-ratio: 16 / 9;
}

.movie-player {
  width: 100%;
  height: 100%;
  background: #000000;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 10px;
  border: 0;
  color: var(--white);
  background:
    radial-gradient(circle at center, rgba(161, 128, 114, 0.32), transparent 32%),
    rgba(0, 0, 0, 0.46);
  cursor: pointer;
  text-align: center;
}

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

.player-play-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--stone-950);
  background: var(--bronze-400);
  font-size: 28px;
  box-shadow: 0 16px 35px rgba(210, 186, 176, 0.28);
}

.player-cover strong {
  font-size: 22px;
}

.player-cover small {
  color: var(--stone-300);
}

.player-message {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  margin: 0;
  color: var(--bronze-400);
  font-weight: 800;
  text-align: center;
}

.detail-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 58px;
}

.detail-poster-card,
.detail-info-card {
  padding: 20px;
}

.detail-poster-card img {
  width: 100%;
  border-radius: 18px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: var(--stone-900);
}

.detail-info-card h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.detail-info-card h2:not(:first-child) {
  margin-top: 28px;
}

.detail-info-card p {
  margin: 0;
  color: var(--stone-700);
  font-size: 17px;
}

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

.info-list div {
  padding: 12px;
  border-radius: 14px;
  background: var(--stone-50);
}

.info-list dt {
  color: var(--stone-500);
  font-size: 12px;
  font-weight: 800;
}

.info-list dd {
  margin: 4px 0 0;
  color: var(--stone-900);
  font-weight: 800;
}

.info-list a {
  color: var(--bronze-700);
}

.detail-tags {
  margin: 14px 0 0;
}

.site-footer {
  color: var(--stone-300);
  background: var(--stone-900);
}

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
  padding: 48px 0;
}

.footer-grid h3,
.footer-logo strong {
  margin: 0 0 12px;
  color: var(--stone-100);
}

.footer-grid p {
  margin: 10px 0 0;
  color: var(--stone-400, #a8a29e);
}

.footer-grid a {
  display: block;
  margin: 8px 0;
  color: var(--stone-300);
}

.footer-grid a:hover {
  color: var(--bronze-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
  color: var(--stone-500);
  text-align: center;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1024px) {
  .movie-grid,
  .movie-grid-three,
  .category-grid,
  .region-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .filter-bar .search-box {
    grid-column: 1 / -1;
  }

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

  .detail-poster-card {
    max-width: 360px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    height: 64px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

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

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

  .logo-text small {
    display: none;
  }

  .hero-carousel {
    height: 72vh;
    min-height: 520px;
  }

  .hero-content {
    left: 20px;
    right: 20px;
    bottom: 74px;
    padding-right: 0;
  }

  .hero-control {
    top: auto;
    bottom: 22px;
    width: 42px;
    height: 42px;
    font-size: 28px;
  }

  .hero-prev {
    left: 18px;
  }

  .hero-next {
    right: 18px;
  }

  .movie-grid,
  .movie-grid-three,
  .category-grid,
  .region-grid,
  .mini-grid,
  .mini-grid-four,
  .footer-grid,
  .info-list {
    grid-template-columns: 1fr;
  }

  .section-head,
  .category-overview-title {
    display: block;
  }

  .category-overview-title .btn {
    margin-top: 14px;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: 42px 74px 1fr;
  }

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

  .detail-hero > img {
    height: 520px;
  }

  .detail-hero-content {
    left: 20px;
    right: 20px;
    bottom: 36px;
  }
}
