@charset "UTF-8";

/* ===== 电影猎手 · 胶片放映室主题 ===== */
:root {
  --red: #991B1B;
  --red-deep: #6B1010;
  --red-soft: #FEE2E2;
  --paper: #FEF2F2;
  --coal: #170A0A;
  --ink: #2A1212;
  --muted: #7A5555;
  --line: #EBD3D3;
  --radius: 0;
  --shell: 1190px;
  --header-height: 68px;
  --serif: "Playfair Display", Georgia, "Songti SC", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

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

a,
button {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
  font: inherit;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.page-shell {
  width: min(calc(100% - 48px), var(--shell));
  margin: 0 auto;
}

/* ---- 图标 ---- */
.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

.icon::before {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: center / contain no-repeat;
}

.icon-download::before { background-image: url("../icons/download.svg"); }
.icon-menu::before { background-image: url("../icons/menu.svg"); }
.icon-close::before { background-image: url("../icons/close.svg"); }
.icon-plus::before { background-image: url("../icons/plus.svg"); }
.icon-globe::before { background-image: url("../icons/globe.svg"); }

/* ---- 页头 ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid #3A1A1A;
  background: var(--coal);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--shell));
  min-height: var(--header-height);
  margin: 0 auto;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  gap: 9px;
  color: #FBEDED;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  gap: clamp(15px, 2.2vw, 30px);
  list-style: none;
}

.primary-nav a {
  display: inline-block;
  padding: 6px 0;
  color: #BFA0A0;
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: color 160ms ease;
}

.primary-nav a:hover {
  color: #FCA5A5;
}

.nav-download,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: background-color 160ms ease, color 160ms ease;
}

.nav-download {
  min-height: 38px;
  min-width: 122px;
  padding: 0 14px;
  border: 1px solid #C53030;
  color: #FFE4E4;
}

.nav-download .icon {
  filter: invert(68%) sepia(46%) saturate(520%) hue-rotate(314deg) brightness(104%) contrast(96%);
}

.nav-download:hover {
  color: #fff;
  background: var(--red);
}

.nav-download:hover .icon {
  filter: brightness(0) invert(1);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #4A2020;
  background: transparent;
  cursor: pointer;
}

.menu-toggle .icon {
  width: 19px;
  height: 19px;
  filter: brightness(0) invert(1);
}

/* ---- 英雄区 ---- */
.hero {
  padding: 54px 0 62px;
  background:
    linear-gradient(180deg, #FBE4E4 0%, var(--paper) 70%),
    repeating-linear-gradient(90deg, rgba(153, 27, 27, 0.05) 0 1px, transparent 1px 60px);
  scroll-margin-top: calc(var(--header-height) + 10px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(26px, 3.6vw, 50px);
}

.hero-copy {
  max-width: 440px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero h1 {
  font-size: clamp(40px, 4.8vw, 58px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.hero-title {
  margin: 14px 0 16px;
  font-size: clamp(20px, 2.3vw, 27px);
  font-weight: 600;
  line-height: 1.4;
}

.hero-summary {
  max-width: 430px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14.6px;
  line-height: 1.86;
}

.button {
  min-height: 46px;
  min-width: 166px;
  padding: 0 22px;
}

.button-primary {
  color: #FFF1F1;
  background: var(--red);
  box-shadow: 4px 4px 0 var(--coal);
}

.button-primary .icon {
  filter: brightness(0) invert(1);
}

.button-primary:hover {
  background: var(--red-deep);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--coal);
}

/* ---- 英雄组件：胶卷海报条 + 片源信息 ---- */
.filmReel {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  border: 1px solid #2A1212;
  background: var(--coal);
  box-shadow: 10px 10px 0 rgba(153, 27, 27, 0.2);
}

.frPerf {
  height: 15px;
  background:
    repeating-linear-gradient(90deg, transparent 0 9px, #3D2424 9px 19px, transparent 19px 28px),
    #170A0A;
  border-top: 1px solid #2E1515;
  border-bottom: 1px solid #2E1515;
}

.frTrack {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  padding: 8px 8px 6px;
}

.frFrame {
  position: relative;
  min-width: 0;
  margin: 0;
  border: 1px solid #3B2020;
  background: #241010;
  transition: border-color 160ms ease;
}

.frFrame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  opacity: 0.78;
  filter: saturate(0.85);
}

.frFrame.is-on {
  border-color: #E05252;
  box-shadow: 0 0 0 1px #E05252;
}

.frFrame.is-on img {
  opacity: 1;
  filter: none;
}

.frFrame figcaption {
  position: absolute;
  right: 4px;
  bottom: 3px;
  color: #F3C7C7;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9.5px;
  letter-spacing: 0.08em;
}

.frInfo {
  padding: 10px 12px 13px;
  border-top: 1px solid #3B2020;
}

.frTitle {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.frTitle b {
  color: #FBE9E9;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.02em;
}

.frTitle span {
  color: #A77F7F;
  font-size: 10.5px;
}

.frMeta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 10px 0 0;
  margin: 10px 0 0;
  border-top: 1px dashed #3B2020;
  gap: 6px;
  list-style: none;
}

.frMeta li {
  min-width: 0;
}

.frMeta span {
  display: block;
  color: #8E6A6A;
  font-size: 9.5px;
  letter-spacing: 0.04em;
}

.frMeta b {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: #FCA5A5;
  font-size: 11.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---- 核心特色 ---- */
.routes {
  padding: 64px 0 66px;
  color: #F7E9E9;
  background: #2A0F0F;
  scroll-margin-top: calc(var(--header-height) + 10px);
}

.routes .eyebrow {
  color: #F08080;
}

.routes .section-heading > p:last-child {
  color: #C19898;
}

.section-heading {
  max-width: 620px;
  margin-bottom: 32px;
}

.section-heading h2 {
  font-size: clamp(26px, 3vw, 37px);
  line-height: 1.26;
}

.section-heading > p:last-child {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 14.2px;
}

.fours {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #4D2626;
  border-bottom: 1px solid #4D2626;
}

.four {
  min-width: 0;
  padding: 24px 20px 20px;
}

.four + .four {
  border-left: 1px solid #4D2626;
}

.four .n {
  display: block;
  margin-bottom: 13px;
  color: #F08080;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
}

.four h3 {
  margin: 0 0 7px;
  color: #FFF0F0;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
}

.four p {
  margin: 0;
  color: #C4A0A0;
  font-size: 13.2px;
  line-height: 1.8;
}

/* ---- 界面展示 ---- */
.screens {
  padding: 68px 0 72px;
  background: #fff;
  scroll-margin-top: calc(var(--header-height) + 10px);
}

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

.covers figure {
  min-width: 0;
  margin: 0;
}

.covers img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--line);
  background: #F6E4E4;
}

.covers b {
  display: block;
  margin-top: 9px;
  padding-left: 8px;
  border-left: 2px solid var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.covers small {
  display: block;
  margin-top: 3px;
  padding-left: 10px;
  color: var(--muted);
  font-size: 11px;
}

/* ---- FAQ ---- */
.faq {
  padding: 64px 0 24px;
  background: #FBEAEA;
  scroll-margin-top: calc(var(--header-height) + 10px);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #E1C4C4;
}

.faq-item {
  border-bottom: 1px solid #E1C4C4;
  background: transparent;
}

.faq-item:nth-child(odd) {
  border-right: 1px solid #E1C4C4;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 18px;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

.faq-item summary .icon {
  flex: none;
  transition: transform 160ms ease;
  filter: invert(20%) sepia(58%) saturate(2400%) hue-rotate(340deg) brightness(88%) contrast(92%);
}

.faq-item[open] {
  background: #fff;
}

.faq-item[open] summary .icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 18px 16px;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 13.4px;
  line-height: 1.84;
}

/* ---- 官方入口 ---- */
.official {
  padding: 24px 0 64px;
  background: #FBEAEA;
}

.official .section-heading {
  margin-bottom: 20px;
}

.official-fold {
  border: 1px solid var(--red);
  background: #fff;
}

.official-fold summary {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  color: var(--red-deep);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  list-style: none;
}

.official-fold summary::-webkit-details-marker {
  display: none;
}

.official-fold summary::after {
  margin-left: auto;
  content: "＋";
  font-size: 15px;
}

.official-fold[open] summary::after {
  content: "－";
}

.official-link {
  padding: 0 18px 15px;
}

.official-link p {
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed #E7C7C7;
  font-size: 13.2px;
}

.official-link a {
  color: var(--red);
  font-weight: 600;
  word-break: break-all;
}

/* ---- 用户评价 ---- */
.reviews {
  padding: 66px 0 70px;
  color: #F7E9E9;
  background: var(--coal);
  scroll-margin-top: calc(var(--header-height) + 10px);
}

.reviews .eyebrow {
  color: #F08080;
}

.reviews .section-heading > p:last-child {
  color: #B08C8C;
}

.rgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #3B2020;
  border: 1px solid #3B2020;
}

.review-card {
  display: flex;
  min-width: 0;
  min-height: 182px;
  flex-direction: column;
  padding: 18px;
  background: #211010;
}

.review-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.review-card header b {
  color: #FFDCDC;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.review-card time {
  flex: none;
  color: #8E6A6A;
  font-size: 10px;
}

.review-card > p {
  margin: 11px 0 0;
  color: #D3B4B4;
  font-size: 13.2px;
  line-height: 1.86;
}

.rv-site {
  margin-top: auto;
  padding-top: 10px;
  color: #F08080;
  font-size: 10.5px;
  word-break: break-all;
}

/* ---- 下载 ---- */
.download-cta {
  padding: 60px 0 66px;
  color: #FFE9E9;
  background: linear-gradient(120deg, #991B1B 0%, #4C0808 100%);
  scroll-margin-top: calc(var(--header-height) + 10px);
}

.download-cta h2 {
  color: #fff;
}

.download-cta .eyebrow {
  color: #FCA5A5;
}

.download-cta .section-heading > p:last-child {
  color: #EBB6B6;
}

.download-cta .button-primary {
  color: var(--red-deep);
  background: #FFE9E9;
  box-shadow: 4px 4px 0 #4C0808;
}

.download-cta .button-primary .icon {
  filter: invert(16%) sepia(40%) saturate(2600%) hue-rotate(345deg) brightness(88%) contrast(94%);
}

.download-cta .button-primary:hover {
  background: #fff;
  box-shadow: 2px 2px 0 #4C0808;
}

.disclaimer {
  margin: 18px 0 0;
  color: #E2AFAF;
  font-size: 11.5px;
}

/* ---- 页脚 ---- */
.site-footer {
  padding: 26px 0 20px;
  color: #9C7B7B;
  background: #100707;
  font-size: 11.5px;
}

.site-footer .page-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #E3BDBD;
}

.site-footer a:hover {
  color: #fff;
}

/* ---- 返回顶部 ---- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 148px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--red);
  background: #FFF1F1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.to-top::before {
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--red);
  border-left: 2px solid var(--red);
  content: "";
  transform: rotate(45deg) translate(1px, 1px);
}

.to-top.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.to-top:hover {
  background: var(--red);
}

.to-top:hover::before {
  border-color: #fff;
}

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
  .fours {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .four:nth-child(3) {
    border-left: 0;
    border-top: 1px solid #4D2626;
  }

  .four:nth-child(4) {
    border-top: 1px solid #4D2626;
  }

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

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .hero-copy {
    max-width: 620px;
  }

  .filmReel {
    max-width: 100%;
    margin: 0;
  }

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

@media (max-width: 700px) {
  :root {
    --header-height: 60px;
  }

  body {
    padding-top: var(--header-height);
  }

  .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
  }

  .page-shell,
  .nav-shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .nav-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-rows: var(--header-height);
    min-height: var(--header-height);
    column-gap: 8px;
  }

  .brand {
    grid-row: 1;
    grid-column: 1;
    gap: 7px;
    font-size: 17px;
  }

  .brand img {
    width: 27px;
    height: 27px;
  }

  .primary-nav {
    display: none;
    grid-row: 2;
    grid-column: 1 / -1;
    margin: 0 -16px;
    padding: 0 16px 12px;
    background: var(--coal);
  }

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

  .primary-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 8px;
  }

  .primary-nav a {
    display: block;
    padding: 9px 11px;
    border: 1px solid #4A2020;
    font-size: 12.5px;
  }

  .nav-download {
    grid-row: 1;
    grid-column: 3;
    min-width: auto;
    min-height: 34px;
    margin-left: auto;
    padding: 0 10px;
    font-size: 11.5px;
  }

  .nav-download .icon {
    width: 14px;
    height: 14px;
  }

  .menu-toggle {
    display: inline-flex;
    grid-row: 1;
    grid-column: 4;
    width: 34px;
    height: 34px;
  }

  .hero {
    padding: 30px 0 40px;
  }

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

  .hero-title {
    font-size: 20px;
  }

  .frTrack {
    gap: 4px;
    padding: 6px 6px 5px;
  }

  .frMeta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 8px;
  }

  .routes,
  .screens,
  .reviews,
  .download-cta {
    padding: 42px 0;
  }

  .faq {
    padding: 42px 0 16px;
  }

  .official {
    padding: 16px 0 42px;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .section-heading h2 {
    font-size: 24px;
  }

  .fours {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  .four,
  .four + .four,
  .four:nth-child(3),
  .four:nth-child(4) {
    border-top: 1px solid #4D2626;
    border-left: 0;
  }

  .four:first-child {
    border-top: 0;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .faq-item:nth-child(odd) {
    border-right: 0;
  }

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

  .review-card {
    min-height: auto;
  }

  .site-footer .page-shell {
    display: block;
    text-align: center;
  }

  .site-footer p + p {
    margin-top: 6px;
  }

  .to-top {
    right: 16px;
    bottom: 132px;
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 380px) {
  .brand span {
    font-size: 15px;
  }

  .nav-download span {
    display: none;
  }

  .nav-download {
    width: 34px;
    padding: 0;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-title {
    font-size: 18px;
  }

  .primary-nav ul {
    grid-template-columns: 1fr;
  }
}
