﻿/* 策驰影院 · cechiapp.cn
   票根风：纸色底 + 黑墨 + 亮黄，虚线撕口与条形码 */

:root {
  --paper: #f4f0e4;
  --paper-2: #ebe5d5;
  --card: #fffdf6;
  --ink: #151310;
  --ink-soft: #3f3a31;
  --muted: #6d6457;
  --line: #d8d0be;
  --yellow: #ffd21f;
  --rust: #c8452e;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --shell: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

p, h1, h2, h3, figure { margin: 0; }

em { font-style: normal; }

.wrap {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 32px;
}

::selection { background: var(--yellow); color: var(--ink); }

/* ---------- 顶栏 ---------- */

.bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 240, 228, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1.5px solid var(--ink);
}

.bar-in {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
}

.brand img {
  width: 38px;
  height: 33px;
  object-fit: contain;
  border-radius: 7px;
}

.brand span {
  display: flex;
  flex-direction: column;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.brand span em {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.bar-nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-soft);
}

.bar-nav a {
  position: relative;
  padding: 4px 0;
}

.bar-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--ink);
  transition: width 0.24s ease;
}

.bar-nav a:hover::after { width: 100%; }

.bar-get {
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 22px;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bar-get:not([hidden]) { display: inline-flex; }

.bar-get:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  padding: 76px 0 96px;
  background:
    radial-gradient(circle at 92% 4%, rgba(255, 210, 31, 0.5), transparent 34%),
    var(--paper);
  border-bottom: 1.5px solid var(--ink);
}

.hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 5px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink);
  background: var(--card);
}

.hero-copy h1 {
  margin-top: 26px;
  font-size: clamp(46px, 6.6vw, 82px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero-copy h1 span {
  display: inline-block;
  margin-top: 10px;
  padding: 2px 12px 6px;
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-1.2deg);
}

.lead {
  max-width: 30em;
  margin-top: 28px;
  font-size: 15.5px;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn-ink,
.btn-ghost {
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 28px;
  border: 1.5px solid var(--ink);
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-ink:not([hidden]) { display: inline-flex; }

.btn-ink {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 5px 5px 0 var(--yellow);
}

.btn-ink:hover {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--yellow);
}

.btn-ghost {
  display: inline-flex;
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover { background: var(--card); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.hero-meta li::before {
  content: "＋";
  margin-right: 6px;
  color: var(--rust);
}

/* ---------- 票根 ---------- */

.ticket {
  position: relative;
  padding: 14px 14px 16px;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  background: var(--card);
  box-shadow: 7px 7px 0 var(--ink);
}

.ticket img {
  width: 100%;
  border-radius: 7px;
  background: var(--paper-2);
}

.ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
}

.ticket-head span:last-child {
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--ink);
  color: var(--yellow);
}

.ticket-stub {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1.5px dashed var(--ink-soft);
}

.barcode {
  flex: 1;
  height: 24px;
  background: repeating-linear-gradient(
    90deg,
    var(--ink) 0 2px,
    transparent 2px 5px,
    var(--ink) 5px 6px,
    transparent 6px 10px
  );
}

.stub-no {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.ticket-hero {
  max-width: 348px;
  margin-left: auto;
  transform: rotate(1.4deg);
}

.ticket-hero::before {
  content: "今日热映";
  position: absolute;
  top: -16px;
  left: -16px;
  padding: 6px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  background: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  transform: rotate(-5deg);
  box-shadow: 3px 3px 0 var(--ink);
}

.shot-cap {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- 通用标题 ---------- */

.bands { padding: 92px 0 84px; }

.sec-head {
  max-width: 660px;
}

.sec-no {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--rust);
  margin-bottom: 14px;
}

.sec-head h2,
.play-copy h2,
.sound-copy h2,
.get-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.sec-note {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- 排片表 ---------- */

.schedule {
  margin-top: 48px;
  border-top: 1.5px solid var(--ink);
}

.sch {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 110px;
  gap: 22px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px dashed var(--line);
  transition: background 0.26s ease, padding-left 0.26s ease;
}

.sch:hover {
  background: var(--card);
  padding-left: 14px;
}

.sch-cat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  border: 1.5px solid var(--ink);
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  background: var(--card);
}

.sch:hover .sch-cat { background: var(--yellow); }

.sch-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.sch-name em {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.sch-mark {
  justify-self: end;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

/* ---------- 播放 ---------- */

.play {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 64px;
  align-items: center;
  padding-bottom: 96px;
}

.play-shot .ticket {
  max-width: 360px;
  transform: rotate(-1.2deg);
}

.play-copy p:not(.sec-no) {
  margin-top: 16px;
  font-size: 15px;
  color: var(--ink-soft);
}

.notes {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1.5px solid var(--ink);
}

.notes li {
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  color: var(--muted);
}

.notes strong {
  display: inline-block;
  min-width: 88px;
  color: var(--ink);
  font-size: 14.5px;
}

.play-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.pf {
  padding: 12px 10px;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  background: var(--yellow);
}

.pf:nth-child(even) { background: var(--card); }

.pf strong {
  display: block;
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: -0.02em;
}

.pf span {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  color: var(--ink-soft);
}

/* ---------- 原声 ---------- */

.sound {
  padding: 88px 0;
  background: var(--ink);
  color: var(--paper);
}

.sound-in {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 60px;
  align-items: center;
}

.sound .sec-no { color: var(--yellow); }

.sound-copy p:not(.sec-no) {
  max-width: 32em;
  margin-top: 16px;
  font-size: 14.5px;
  color: rgba(244, 240, 228, 0.72);
}

.sound-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.sound-tags li {
  padding: 7px 15px;
  border: 1px solid rgba(244, 240, 228, 0.34);
  border-radius: 999px;
  font-size: 12.5px;
  color: rgba(244, 240, 228, 0.82);
}

.sound-tags li:first-child {
  border-color: var(--yellow);
  color: var(--yellow);
}

.sound-shot .ticket {
  max-width: 330px;
  margin-left: auto;
  border-color: var(--paper);
  background: #201d18;
  box-shadow: 7px 7px 0 var(--yellow);
  transform: rotate(1.4deg);
}

.sound-shot .ticket-head { color: rgba(244, 240, 228, 0.66); }

.sound-shot .ticket-head span:last-child {
  background: var(--yellow);
  color: var(--ink);
}

.sound-shot .shot-cap {
  color: rgba(244, 240, 228, 0.6);
  border-color: rgba(244, 240, 228, 0.2);
}

/* ---------- 常问 ---------- */

.ask {
  padding: 92px 32px 88px;
}

.ask-list {
  max-width: 860px;
  margin-top: 44px;
  border-top: 1.5px solid var(--ink);
}

.qa { border-bottom: 1px dashed var(--line); }

.qa summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.qa summary::-webkit-details-marker { display: none; }

.qa-no {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.qa summary::after {
  content: "＋";
  margin-left: auto;
  font-size: 17px;
  font-weight: 400;
  color: var(--rust);
}

.qa[open] summary::after { content: "－"; }

.qa p {
  padding: 0 40px 22px 44px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- 下载 ---------- */

.get {
  padding: 88px 0 96px;
  background: var(--yellow);
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}

.get-head p:last-child {
  margin-top: 12px;
  font-size: 14.5px;
  color: rgba(21, 19, 16, 0.68);
}

.stub-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.dl-stub {
  align-items: center;
  gap: 16px;
  padding: 22px 22px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: var(--card);
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.dl-stub:not([hidden]) { display: flex; }

.dl-stub:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--ink);
}

.stub-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-right: auto;
}

.stub-body strong {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.stub-body em {
  font-size: 11.5px;
  color: var(--muted);
}

.dl-stub:hover .stub-body em { color: rgba(244, 240, 228, 0.62); }

.stub-code {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 12px;
}

/* ---------- 页脚 ---------- */

.foot { padding: 30px 0 42px; }

.foot-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 32px;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.foot-brand img {
  width: 30px;
  height: 26px;
  object-fit: contain;
}

.foot-brand span {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.foot-brand span em {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

.foot-nav a:hover { text-decoration: underline; }

.foot-copy {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

/* ---------- 出现动画 ---------- */

.step {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.66s ease, transform 0.66s cubic-bezier(0.22, 0.68, 0.28, 1);
}

.step.on { opacity: 1; transform: none; }

/* ---------- 404 ---------- */

.off {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 56px 28px;
}

.off-ticket {
  width: 100%;
  max-width: 480px;
  padding: 40px 34px 34px;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  background: var(--card);
  box-shadow: 8px 8px 0 var(--ink);
  text-align: center;
}

.off-ticket img {
  width: 66px;
  height: 58px;
  object-fit: contain;
  margin: 0 auto 22px;
}

.off-code {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.24em;
  color: var(--rust);
}

.off-ticket h1 {
  margin-top: 14px;
  font-size: clamp(25px, 4.4vw, 34px);
  font-weight: 900;
  line-height: 1.32;
}

.off-ticket p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.off-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  margin-top: 28px;
  padding: 0 26px;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  background: var(--yellow);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 4px 4px 0 var(--ink);
}

.off-link:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }

/* ---------- 响应式 ---------- */

@media (max-width: 1040px) {
  .hero-in { gap: 36px; }
  .play { gap: 44px; }
  .sound-in { gap: 40px; }
  .sch { grid-template-columns: 76px minmax(0, 1fr) 92px; }
}

@media (max-width: 900px) {
  .bar-nav { display: none; }

  .hero { padding: 52px 0 72px; }

  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 44px; }

  .hero-copy h1 { font-size: clamp(42px, 8vw, 62px); }

  .ticket-hero { margin: 0 auto; }

  .bands { padding: 68px 0 60px; }

  .play { grid-template-columns: minmax(0, 1fr); padding-bottom: 72px; }

  .play-shot .ticket { margin: 0 auto; }

  .sound { padding: 68px 0; }

  .sound-in { grid-template-columns: minmax(0, 1fr); }

  .sound-shot .ticket { margin: 0 auto; }

  .ask { padding: 68px 32px 64px; }

  .stub-row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

@media (max-width: 660px) {
  .wrap { padding: 0 20px; }

  .bar-in { height: 64px; gap: 12px; }

  .brand span { font-size: 15px; }

  .bar-get { height: 36px; padding: 0 16px; font-size: 12.5px; }

  .hero-copy h1 { font-size: clamp(38px, 11vw, 52px); }

  .hero-actions a { flex: 1 1 auto; }

  .ticket-hero { max-width: 320px; }

  .sch {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 2px;
  }

  .sch-mark { display: none; }

  .sch-name { font-size: 15.5px; }

  .play-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .ask { padding: 60px 20px 56px; }

  .qa p { padding: 0 12px 20px 0; }

  .get { padding: 64px 0 72px; }

  .dl-stub { padding: 18px 18px; }

  .foot-in { gap: 14px; }

  .foot-nav { gap: 16px; }
}
