:root {
  --bg: #0f0d15;
  --bg-soft: #17141f;
  --card: #1e1a29;
  --card-hover: #262133;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f3f0f8;
  --text-dim: #a9a2ba;
  --text-soft: #7d768e;
  --accent: #b48bff;
  --accent-2: #ff7eb6;
  --radius: 16px;
  --wrap: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 13, 21, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand img {
  height: 34px;
  width: auto;
  border-radius: 8px;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  color: var(--text-dim);
}

.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #191024;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(180, 139, 255, 0.32);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 76px 0 84px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 640px;
  background: radial-gradient(closest-side, rgba(180, 139, 255, 0.22), transparent 72%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 22px;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--accent);
  border: 1px solid rgba(180, 139, 255, 0.4);
  border-radius: 999px;
  background: rgba(180, 139, 255, 0.08);
}

.hero h1 {
  font-size: 46px;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  color: #191024;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 28px rgba(180, 139, 255, 0.28);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(180, 139, 255, 0.4);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
  border-color: rgba(180, 139, 255, 0.5);
  background: rgba(180, 139, 255, 0.08);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
  font-size: 13px;
  color: var(--text-soft);
}

.hero-meta li { display: flex; align-items: center; gap: 7px; }

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-visual figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

.hero-visual figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.hero-visual .tall { grid-row: span 2; }

/* ---------- section common ---------- */
.section { padding: 84px 0; }

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

.section-head h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.4px;
  line-height: 1.35;
}

.section-head h2 span {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head p {
  font-size: 15px;
  color: var(--text-dim);
  max-width: 460px;
  margin-top: 10px;
}

.section-more {
  flex-shrink: 0;
  font-size: 14px;
  color: var(--accent);
  border-bottom: 1px solid rgba(180, 139, 255, 0.35);
  padding-bottom: 2px;
  white-space: nowrap;
}

/* ---------- genre cards ---------- */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.genre-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}

.genre-card:hover {
  transform: translateY(-4px);
  border-color: rgba(180, 139, 255, 0.42);
  background: var(--card-hover);
}

.genre-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
  background: linear-gradient(140deg, rgba(180, 139, 255, 0.3), rgba(255, 126, 182, 0.22));
  color: var(--text);
}

.genre-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.genre-card p {
  font-size: 14.5px;
  color: var(--text-dim);
}

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

.movie-card {
  display: block;
}

.movie-thumb {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform 0.25s, box-shadow 0.25s;
}

.movie-thumb img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.movie-card:hover .movie-thumb {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.5);
}

.movie-score {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 2px 9px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  color: #191024;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
}

.movie-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-top: 12px;
  line-height: 1.5;
}

.movie-card p {
  font-size: 12.5px;
  color: var(--text-soft);
  margin-top: 2px;
}

/* ---------- weekly pick ---------- */
.weekend {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.weekend-figure {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5);
}

.weekend-figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.weekend h2 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 18px;
}

.weekend > div > p {
  font-size: 15.5px;
  color: var(--text-dim);
  margin-bottom: 16px;
  max-width: 520px;
}

.check-list {
  margin: 26px 0 32px;
  display: grid;
  gap: 14px;
}

.check-list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
}

.check-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #191024;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
}

/* ---------- AI strip ---------- */
.ai-panel {
  background: linear-gradient(150deg, #1d1930, #14111d 62%);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 48px 44px;
}

.ai-panel h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.4;
}

.ai-panel > p {
  font-size: 15.5px;
  color: var(--text-dim);
  max-width: 640px;
  margin-bottom: 32px;
}

.ai-shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ai-shots img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}

/* ---------- rail ---------- */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 72px) / 4);
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x mandatory;
}

.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: rgba(180, 139, 255, 0.35); border-radius: 99px; }
.rail::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.04); border-radius: 99px; }

.rail .movie-thumb img { aspect-ratio: 3 / 4; }
.rail .movie-card { scroll-snap-align: start; }

/* ---------- why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.why-card {
  padding: 26px 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.why-card strong {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 14px;
  color: var(--text-dim);
}

/* ---------- notes ---------- */
.notes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.note-card {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 28px;
}

.note-card time {
  font-size: 12.5px;
  color: var(--text-soft);
  letter-spacing: 0.5px;
}

.note-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 10px 0 10px;
}

.note-card p {
  font-size: 14.5px;
  color: var(--text-dim);
}

/* ---------- download ---------- */
.download {
  text-align: center;
  padding: 76px 0 84px;
}

.download h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 14px;
}

.download p {
  font-size: 15.5px;
  color: var(--text-dim);
  margin-bottom: 32px;
}

.download-note {
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--text-soft);
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 40px;
  font-size: 12.5px;
  color: var(--text-soft);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer-inner p { max-width: 640px; }

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.footer-meta a {
  color: var(--text-soft);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-meta a:hover { color: var(--accent); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 38px; }
  .hero-inner { gap: 40px; }
  .genre-grid { grid-template-columns: repeat(2, 1fr); }
  .movie-grid { grid-template-columns: repeat(4, 1fr); }
  .weekend { grid-template-columns: 1fr; gap: 32px; }
  .weekend-figure { max-width: 360px; }
  .ai-shots { grid-template-columns: repeat(2, 1fr); }
  .rail { grid-auto-columns: calc((100% - 36px) / 3); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 68px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .wrap { padding: 0 18px; }
  .nav { height: 60px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 18px 18px;
    background: #14111d;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open a { padding: 10px 0; width: 100%; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-cta { padding: 8px 16px; font-size: 13px; }

  .hero { padding: 48px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 30px; line-height: 1.36; }
  .hero-sub { font-size: 15px; margin-bottom: 26px; }
  .hero-actions { gap: 12px; }
  .btn-primary { padding: 13px 26px; font-size: 15px; }
  .btn-ghost { padding: 12px 22px; font-size: 14px; }
  .hero-meta { gap: 14px; margin-top: 26px; }
  .hero-visual { gap: 10px; }

  .section { padding: 52px 0; }
  .section-head { margin-bottom: 28px; gap: 12px; }
  .section-head h2 { font-size: 24px; }
  .section-head p { font-size: 14px; }

  .genre-grid { grid-template-columns: 1fr; gap: 16px; }
  .genre-card { padding: 24px 20px; }

  .movie-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .movie-card h3 { font-size: 14px; }

  .weekend h2 { font-size: 24px; }
  .weekend > div > p { font-size: 14.5px; }
  .weekend-figure { max-width: 100%; }

  .ai-panel { padding: 30px 20px; border-radius: 18px; }
  .ai-panel h2 { font-size: 23px; }
  .ai-panel > p { font-size: 14.5px; margin-bottom: 24px; }
  .ai-shots { gap: 10px; }

  .rail { grid-auto-columns: calc((100% - 16px) / 2); gap: 16px; }

  .why-grid { grid-template-columns: 1fr; gap: 14px; }
  .why-card { padding: 22px 20px; }

  .notes { grid-template-columns: 1fr; gap: 14px; }
  .note-card { padding: 22px 20px; }

  .download { padding: 56px 0 62px; }
  .download h2 { font-size: 24px; }
  .download p { font-size: 14.5px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-meta { gap: 12px; }
}