/* Generated static movie site styles. */
:root {
  --bg: #fff7ed;
  --paper: #ffffff;
  --ink: #1e293b;
  --muted: #64748b;
  --line: rgba(148, 163, 184, 0.25);
  --brand: #f59e0b;
  --brand-dark: #c2410c;
  --accent: #a855f7;
  --accent-2: #ec4899;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.24), transparent 30rem),
    radial-gradient(circle at top right, rgba(236, 72, 153, 0.16), transparent 34rem),
    #fffaf0;
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.94), rgba(255, 237, 213, 0.94));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(251, 191, 36, 0.35);
  box-shadow: 0 10px 28px rgba(180, 83, 9, 0.08);
}

.header-inner {
  width: min(1240px, calc(100% - 28px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #78350f;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent-2));
  box-shadow: 0 12px 24px rgba(236, 72, 153, 0.25);
}

.brand-text {
  font-size: 19px;
  letter-spacing: 0.02em;
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  color: #475569;
  font-weight: 650;
  transition: 0.2s ease;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
  color: #7c2d12;
  background: rgba(251, 191, 36, 0.18);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: 48px;
  right: 0;
  width: 210px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: none;
}

.nav-dropdown:hover .dropdown-panel {
  display: grid;
  gap: 4px;
}

.dropdown-panel a {
  padding: 9px 12px;
  border-radius: 12px;
  color: #475569;
}

.dropdown-panel a:hover {
  background: #fff7ed;
  color: #9a3412;
}

.quick-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(251, 191, 36, 0.4);
  box-shadow: 0 8px 24px rgba(148, 87, 8, 0.08);
}

.quick-search input {
  width: 210px;
  border: 0;
  outline: 0;
  padding: 8px 12px;
  background: transparent;
}

.quick-search button,
.big-search button,
.search-card button {
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent-2));
  cursor: pointer;
  font-weight: 800;
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(120, 53, 15, 0.10);
}

.mobile-menu-btn span {
  width: 20px;
  height: 2px;
  margin: 4px auto;
  display: block;
  background: #78350f;
}

.mobile-nav {
  display: none;
  padding: 10px 18px 18px;
  border-top: 1px solid rgba(251, 191, 36, 0.28);
}

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

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(8px) saturate(1.12);
  transform: scale(1.08);
  opacity: 0.56;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.80)),
    radial-gradient(circle at 30% 20%, rgba(236, 72, 153, 0.35), transparent 28rem);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 340px;
  align-items: center;
  gap: 56px;
  color: #fff;
}

.hero-eyebrow,
.section-kicker {
  display: inline-flex;
  color: #fbbf24;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 14px 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.hero-copy p {
  max-width: 720px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.hero-tags,
.detail-tags,
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.detail-tags span,
.card-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 11px;
  color: #7c2d12;
  background: rgba(255, 237, 213, 0.96);
  font-size: 12px;
  font-weight: 800;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 850;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent-2));
  box-shadow: 0 16px 34px rgba(236, 72, 153, 0.22);
}

.btn.ghost {
  color: #9a3412;
  border-color: rgba(251, 191, 36, 0.55);
  background: #fff7ed;
}

.btn.ghost.light {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.hero-poster {
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  transform: rotate(2deg);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

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

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

.hero-dots button.active {
  background: #fbbf24;
}

.search-panel,
.container {
  padding: 38px 0;
}

.search-card {
  display: grid;
  grid-template-columns: auto 1fr minmax(320px, 520px);
  align-items: center;
  gap: 22px;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.panel-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-size: 28px;
}

.search-card h2,
.search-card p {
  margin: 0;
}

.search-card form,
.big-search {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
}

.search-card input,
.big-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 10px 14px;
  background: transparent;
}

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

.section-title h2 {
  margin: 6px 0 4px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.15;
}

.section-title p {
  margin: 0;
  color: var(--muted);
}

.section-more {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: #9a3412;
  font-weight: 800;
}

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

.category-tile {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border-radius: 24px;
  background: #111827;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.tile-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.48;
  transition: 0.25s ease;
}

.category-tile:hover .tile-bg {
  transform: scale(1.06);
  opacity: 0.62;
}

.tile-content {
  position: relative;
  min-height: inherit;
  padding: 18px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.88));
}

.tile-content strong {
  font-size: 20px;
}

.tile-content em,
.tile-content small {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

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

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.78);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.13);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: #f1f5f9;
}

.poster-link img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.25s ease;
}

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

.score-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent-2));
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

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

.movie-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #a16207;
  font-size: 12px;
  font-weight: 800;
}

.movie-card h3 {
  margin: 8px 0 6px;
  font-size: 17px;
  line-height: 1.28;
}

.movie-card p {
  min-height: 3.2em;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-tags span {
  font-size: 11px;
  padding: 4px 8px;
}

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

.hot-board,
.rank-list {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 900;
}

.board-head a {
  color: #c2410c;
  font-size: 13px;
}

.rank-row {
  display: grid;
  grid-template-columns: 40px 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 16px;
  transition: 0.2s ease;
}

.rank-row:hover {
  background: #fff7ed;
}

.rank-num {
  color: #f97316;
  font-weight: 950;
}

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

.rank-info {
  min-width: 0;
}

.rank-info strong,
.rank-info em {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.rank-score {
  color: #9a3412;
  font-weight: 950;
}

.page-main {
  min-height: 72vh;
}

.page-hero {
  margin-top: 24px;
  padding: 46px;
  border-radius: 32px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(88, 28, 135, 0.80)),
    radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.28), transparent 24rem);
  box-shadow: var(--shadow);
}

.page-hero.slim {
  max-width: min(1180px, calc(100% - 32px));
}

.page-hero h1 {
  margin: 8px 0 10px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.06;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
  color: #92400e;
  font-weight: 750;
}

.breadcrumb.light {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 0;
  margin-bottom: 18px;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 180px 180px;
  gap: 12px;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.92);
  outline: 0;
}

.category-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--line);
}

.overview-cover img {
  width: 160px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 18px;
}

.overview-count {
  color: #c2410c;
  font-weight: 900;
  font-size: 13px;
}

.category-overview-card h2 {
  margin: 6px 0 8px;
}

.category-overview-card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-list a {
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 12px;
  font-weight: 800;
}

.all-rank-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 16px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #111827;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(8px) saturate(1.1);
  transform: scale(1.08);
  opacity: 0.45;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.70));
}

.detail-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 38px;
  align-items: center;
  min-height: 520px;
}

.detail-poster img {
  width: 260px;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.detail-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 6vw, 66px);
  line-height: 1.06;
}

.one-line {
  max-width: 800px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.player-section {
  margin-top: -32px;
  position: relative;
  z-index: 4;
}

.player-card {
  overflow: hidden;
  border-radius: 28px;
  background: #020617;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.movie-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
}

.player-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.75);
}

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

.content-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--line);
}

.content-card h2 {
  margin: 0 0 12px;
}

.content-card p {
  margin: 0;
  color: #475569;
}

.facts-card dl {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px 12px;
  margin: 0;
}

.facts-card dt {
  color: var(--muted);
}

.facts-card dd {
  margin: 0;
  font-weight: 850;
}

.big-search {
  max-width: 720px;
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.96);
}

.result-title {
  margin-bottom: 18px;
  color: #78350f;
  font-weight: 950;
  font-size: 22px;
}

.site-footer {
  margin-top: 60px;
  background: #0f172a;
  color: #e2e8f0;
}

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

.footer-inner p {
  margin: 8px 0 0;
  color: #94a3b8;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 9px;
  color: #fcd34d;
}

.is-hidden {
  display: none !important;
}

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

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

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

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

  .hot-board {
    order: -1;
  }
}

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

  .mobile-menu-btn {
    display: block;
    margin-left: auto;
  }

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

  .hero-carousel,
  .hero-content {
    min-height: 720px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 22px;
  }

  .hero-poster {
    width: min(240px, 68vw);
    transform: none;
  }

  .search-card,
  .footer-inner,
  .category-overview-grid,
  .all-rank-list {
    grid-template-columns: 1fr;
  }

  .category-overview-card {
    grid-template-columns: 120px 1fr;
  }

  .overview-cover img {
    width: 120px;
  }

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

  .detail-wrap {
    grid-template-columns: 1fr;
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .detail-poster img {
    width: min(240px, 70vw);
  }
}

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

  .brand-text {
    font-size: 16px;
  }

  .hero-copy h1,
  .detail-copy h1 {
    font-size: 36px;
  }

  .movie-grid,
  .movie-grid.compact {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

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

  .section-title {
    display: block;
  }

  .section-more {
    margin-top: 12px;
  }

  .page-hero {
    padding: 28px;
  }

  .player-tools {
    align-items: start;
    flex-direction: column;
  }

  .rank-row {
    grid-template-columns: 34px 46px minmax(0, 1fr) auto;
  }

  .rank-row img {
    width: 46px;
    height: 64px;
  }
}
