
 * Static movie site generated from uploaded materials.
 */
:root {
  --bg: #020617;
  --bg-soft: #0b1120;
  --panel: rgba(15, 23, 42, 0.78);
  --panel-strong: rgba(15, 23, 42, 0.94);
  --panel-border: rgba(148, 163, 184, 0.18);
  --text: #e5e7eb;
  --muted: #94a3b8;
  --line: rgba(148, 163, 184, 0.18);
  --accent: #06b6d4;
  --accent-2: #60a5fa;
  --accent-3: #a855f7;
  --shadow: 0 18px 55px rgba(2, 6, 23, 0.55);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1480px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, PingFang SC, Hiragino Sans GB, Microsoft YaHei, system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(6, 182, 212, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.12), transparent 32%),
    linear-gradient(180deg, #020617 0%, #050b18 40%, #020617 100%);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.site-shell { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.topbar {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(22px);
  background: rgba(2, 6, 23, 0.76);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 0;
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2) 60%, var(--accent-3));
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.3);
  position: relative;
}
.brand-mark::after { content: ''; position: absolute; inset: 9px; border-radius: 11px; background: rgba(2,6,23,.45); }
.brand-text { min-width: 0; }
.brand-title { font-size: 1.05rem; font-weight: 900; letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-sub { color: var(--muted); font-size: 0.86rem; margin-top: 2px; }
.nav { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; }
.nav a {
  color: var(--text); padding: 10px 14px; border-radius: 999px;
  border: 1px solid transparent; transition: 0.2s ease;
}
.nav a:hover, .nav a.active { border-color: rgba(96, 165, 250, 0.35); background: rgba(96, 165, 250, 0.1); }
.menu-toggle { display: none; }

.hero { padding: 26px 0 6px; }
.hero-panel {
  position: relative; overflow: hidden; border-radius: 34px; min-height: 680px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(2, 6, 23, 0.58));
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: var(--shadow);
}
.hero-panel::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(6, 182, 212, 0.18), transparent 24%),
              radial-gradient(circle at 80% 10%, rgba(168, 85, 247, 0.16), transparent 18%),
              linear-gradient(135deg, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.8));
  pointer-events: none;
}
.hero-slider { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; display: grid; grid-template-columns: 0.95fr 1.05fr;
  gap: 24px; align-items: stretch; padding: 30px; opacity: 0; transform: translateY(12px);
  transition: 0.5s ease; pointer-events: none;
}
.hero-slide.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.hero-art { position: relative; overflow: hidden; border-radius: 28px; min-height: 620px; border: 1px solid rgba(255,255,255,.10); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.02); }
.hero-overlay {
  position: absolute; inset: 0; background:
    linear-gradient(90deg, rgba(2,6,23,.10), rgba(2,6,23,.55) 62%, rgba(2,6,23,.92)),
    linear-gradient(180deg, transparent 0%, rgba(2,6,23,.08) 20%, rgba(2,6,23,.88) 100%);
}
.hero-copy {
  position: relative; display: flex; flex-direction: column; justify-content: center; align-self: stretch;
  padding: 14px 8px 16px 8px;
}
.kicker {
  display: inline-flex; gap: 8px; align-items: center; width: fit-content;
  padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.08); color: #dbeafe;
  border: 1px solid rgba(255,255,255,.12); margin-bottom: 18px;
}
.hero-title { font-size: clamp(2.6rem, 5vw, 5.4rem); line-height: .98; margin: 0 0 14px; font-weight: 950; letter-spacing: -0.03em; max-width: 12ch; }
.hero-desc { color: #dbeafe; max-width: 58ch; font-size: 1.02rem; line-height: 1.75; margin: 0 0 22px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: #e2e8f0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 20px; border-radius: 16px; border: 1px solid transparent;
  transition: .2s ease; cursor: pointer; font-weight: 700;
}
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #001018; box-shadow: 0 14px 24px rgba(6,182,212,.22); }
.btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); color: #f8fafc; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.04); }
.hero-strip {
  position: absolute; left: 30px; right: 30px; bottom: 26px; display: flex; gap: 12px; align-items: center; justify-content: space-between;
}
.hero-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-thumb {
  width: 88px; height: 122px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.14);
  opacity: .62; transform: translateY(0); transition: .2s ease; background: #0b1120;
}
.hero-thumb.is-active { opacity: 1; transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0,0,0,.3); }
.hero-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-indicators { display: flex; gap: 8px; align-items: center; }
.hero-dot { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(255,255,255,.32); cursor: pointer; }
.hero-dot.is-active { background: linear-gradient(135deg, var(--accent), var(--accent-2)); width: 28px; }

.section { padding: 26px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 16px; }
.section-title { margin: 0; font-size: clamp(1.35rem, 2vw, 2rem); font-weight: 900; }
.section-sub { margin: 6px 0 0; color: var(--muted); line-height: 1.7; }
.section-link { color: #bfdbfe; white-space: nowrap; }
.searchbar {
  margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; padding: 18px; border-radius: 24px;
  background: rgba(15, 23, 42, 0.86); border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: var(--shadow);
}
.searchbar input {
  flex: 1 1 320px; min-width: 220px; padding: 16px 18px; border-radius: 16px; color: var(--text);
  background: rgba(2,6,23,.55); border: 1px solid rgba(148,163,184,.18); outline: none;
}
.searchbar .search-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chip {
  padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(148,163,184,.14);
  color: #dbeafe; font-size: .93rem; cursor: pointer;
}
.chip.active { background: rgba(6,182,212,.16); border-color: rgba(6,182,212,.4); }

.grid { display: grid; gap: 16px; }
.grid.movies { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid.categories { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid.ranks { grid-template-columns: 1fr; }
.movie-card, .category-card, .rank-card, .info-card, .detail-box {
  background: var(--panel); border: 1px solid var(--panel-border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.movie-card { transition: transform .18s ease, border-color .18s ease; }
.movie-card:hover { transform: translateY(-4px); border-color: rgba(96, 165, 250, 0.35); }
.movie-poster { aspect-ratio: 2 / 3; position: relative; overflow: hidden; background: #0b1120; }
.movie-poster img { width: 100%; height: 100%; object-fit: cover; }
.movie-poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(2,6,23,.82)); }
.movie-meta { padding: 14px 14px 16px; }
.movie-title { margin: 0 0 8px; font-size: 1rem; line-height: 1.4; font-weight: 800; min-height: 2.8em; }
.movie-sub { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; min-height: 2.8em; }
.movie-tagrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.movie-tag { font-size: .76rem; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.06); color: #dbeafe; border: 1px solid rgba(148,163,184,.12); }
.card-link { display: block; color: inherit; }

.category-card { padding: 20px; position: relative; min-height: 172px; }
.category-name { margin: 0 0 8px; font-size: 1.25rem; font-weight: 900; }
.category-desc { color: var(--muted); line-height: 1.7; margin: 0 0 16px; }
.category-count { font-size: 2.1rem; font-weight: 950; margin: 0; background: linear-gradient(135deg, #fff, #93c5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.category-badge { position: absolute; right: 20px; top: 20px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.08); color: #dbeafe; font-size: .82rem; }

.rank-card { padding: 18px; display: grid; gap: 14px; }
.rank-item { display: grid; grid-template-columns: 42px 66px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid rgba(148,163,184,.12); }
.rank-item:first-child { border-top: 0; padding-top: 0; }
.rank-num { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(6,182,212,.14), rgba(96,165,250,.18)); font-weight: 900; }
.rank-thumb { width: 66px; height: 92px; border-radius: 14px; overflow: hidden; }
.rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rank-title { margin: 0 0 5px; font-weight: 800; }
.rank-sub { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }

.page-hero {
  margin-top: 26px; padding: 28px; border-radius: 30px; background: linear-gradient(135deg, rgba(15,23,42,.92), rgba(2,6,23,.74));
  border: 1px solid rgba(148,163,184,.16); box-shadow: var(--shadow);
}
.page-hero h1 { margin: 0 0 10px; font-size: clamp(2rem, 3vw, 3.5rem); line-height: 1.05; }
.page-hero p { margin: 0; color: #cbd5e1; line-height: 1.75; max-width: 75ch; }

.breadcrumb { display: flex; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.breadcrumb a { color: #bfdbfe; }
.detail-grid { display: grid; grid-template-columns: 340px 1fr; gap: 22px; align-items: start; }
.detail-poster { position: sticky; top: 92px; }
.detail-poster .movie-poster { border-radius: 28px; box-shadow: var(--shadow); border: 1px solid rgba(148,163,184,.16); }
.detail-panel {
  padding: 24px; border-radius: 28px; background: var(--panel-strong); border: 1px solid rgba(148,163,184,.16);
  box-shadow: var(--shadow);
}
.detail-title { margin: 0 0 12px; font-size: clamp(2rem, 3vw, 3.5rem); line-height: 1.06; font-weight: 950; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.detail-summary { color: #dbeafe; line-height: 1.8; font-size: 1.02rem; margin: 0 0 18px; }
.detail-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 20px 0; }
.info-card { padding: 18px; }
.info-card h3 { margin: 0 0 10px; font-size: 1.05rem; }
.info-card p { margin: 0; color: var(--muted); line-height: 1.75; }
.player-box { padding: 18px; border-radius: 28px; background: rgba(15,23,42,.9); border: 1px solid rgba(148,163,184,.16); box-shadow: var(--shadow); }
.player-stage { position: relative; border-radius: 24px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.player-stage video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.player-overlay { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(2,6,23,.26)); }
.player-badge { padding: 12px 18px; border-radius: 999px; background: rgba(2,6,23,.68); border: 1px solid rgba(255,255,255,.16); color: #fff; font-weight: 800; }
.related-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.footer { padding: 34px 0 52px; color: var(--muted); }
.footer-line { height: 1px; background: rgba(148,163,184,.16); margin-bottom: 20px; }
.footer small { line-height: 1.8; display: block; }
.hidden { display: none !important; }

@media (max-width: 1280px) {
  .grid.movies, .related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid.categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-slide { grid-template-columns: 1fr; }
  .hero-art { min-height: 420px; }
  .hero-title { max-width: 15ch; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-poster { position: static; }
}
@media (max-width: 860px) {
  .topbar-inner { flex-wrap: wrap; }
  .nav { display: none; width: 100%; justify-content: flex-start; }
  .nav.is-open { display: flex; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .hero-panel { min-height: 720px; }
  .hero-slide { padding: 18px; }
  .hero-strip { left: 18px; right: 18px; bottom: 18px; flex-direction: column; align-items: flex-start; }
  .grid.movies, .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.categories { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .detail-grid2 { grid-template-columns: 1fr; }
  .searchbar { padding: 14px; }
}
@media (max-width: 540px) {
  .site-shell { width: min(var(--container), calc(100% - 20px)); }
  .hero-panel { border-radius: 24px; min-height: 760px; }
  .hero-art { min-height: 360px; }
  .hero-thumb { width: 74px; height: 104px; }
  .grid.movies, .related-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.25rem; }
  .page-hero, .detail-panel, .player-box { padding: 18px; border-radius: 22px; }
  .detail-title { font-size: 2rem; }
}
