@charset "UTF-8";

:root {
  --blue: #D81D1D;
  --blue-deep: #8A1E1E;
  --blue-soft: #FEF2F2;
  --line: #FEDBE1;
  --ink: #450F10;
  --body: #7A4A4E;
  --paper: #FFFFFF;
  --radius: 20px;
  --radius-sm: 13px;
  --shell: 1190px;
  --header-height: 76px;
  --shadow: 0 20px 44px rgba(216, 29, 29, 0.16);
}

* {
  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", "HarmonyOS Sans SC", "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;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue);
  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"); }

/* ===== header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.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: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: contain;
  background: var(--blue-soft);
}

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

.primary-nav a {
  display: inline-block;
  padding: 7px 0;
  color: var(--body);
  font-size: 13.5px;
  font-weight: 600;
  border-bottom: 2px solid transparent;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.nav-download,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: 8px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.nav-download {
  min-width: 130px;
  padding: 0 20px;
  background: var(--blue);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(216, 29, 29, 0.24);
}

.nav-download:hover {
  background: var(--blue-deep);
}

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

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle .icon {
  width: 20px;
  height: 20px;
}

/* ===== hero ===== */
.hero {
  padding: 58px 0 64px;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 8%, #FEDBE1 0%, transparent 45%),
    radial-gradient(circle at 6% 88%, #FFE1E0 0%, transparent 40%),
    var(--blue-soft);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  align-items: center;
  gap: 44px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.2px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.hero-title {
  margin: 13px 0 16px;
  color: var(--blue);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  line-height: 1.32;
}

.hero-summary {
  margin: 0 0 28px;
  color: var(--body);
  font-size: 15px;
}

.button {
  min-width: 170px;
  padding: 0 26px;
}

.button-primary {
  background: var(--blue);
  color: #FFFFFF;
  box-shadow: 0 14px 28px rgba(216, 29, 29, 0.26);
}

.button-primary:hover {
  background: var(--blue-deep);
}

/* 英雄区：同步观影房间 + 好友头像排 */
.roomPanel {
  min-width: 0;
  padding: 16px;
  border-radius: 26px;
  background: #FFFFFF;
  box-shadow: var(--shadow);
}

.roomHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 4px 12px;
}

.roomHead b {
  font-size: 14px;
  font-weight: 800;
}

.roomCode {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

.roomStage {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #360B0D;
}

.roomStage img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  opacity: 0.92;
}

.roomPlay {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%);
}

.roomPlay i {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid var(--blue);
}

.roomSync {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(69, 15, 16, 0.72);
  color: #FEBFCA;
  font-size: 9.5px;
}

.roomBar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 4px 2px;
}

.roomBar i {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue) 0 28%, #E2E8F0 28% 100%);
}

.roomBar span {
  color: #B48489;
  font-size: 9.5px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.roomFriends {
  display: flex;
  align-items: center;
  padding: 10px 4px 6px;
}

.roomFriends .fr {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-right: -8px;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  background: #FFE1E0;
}

.roomFriends .fr b {
  color: var(--blue-deep);
  font-size: 11px;
  font-weight: 700;
}

.roomFriends .fr i {
  position: absolute;
  right: -1px;
  bottom: 0;
  width: 8px;
  height: 8px;
  border: 1.5px solid #FFFFFF;
  border-radius: 50%;
  background: #8922C5;
}

.roomFriends .fr.more {
  background: var(--blue);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
}

.roomFriends p {
  margin: 0 0 0 18px;
  color: #A97A80;
  font-size: 10.5px;
  line-height: 1.4;
}

.roomFoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 9px 12px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: #8B646A;
  font-size: 10.5px;
}

.roomFoot b {
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--blue);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
}

/* ===== routes ===== */
.routes {
  padding: 78px 0 82px;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.section-heading {
  max-width: 650px;
  margin-bottom: 38px;
}

.section-heading-centered {
  max-width: 640px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.26;
}

.section-heading > p:last-child {
  margin: 12px 0 0;
  color: var(--body);
  font-size: 14.5px;
}

.fours {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.four {
  min-width: 0;
  padding: 28px 28px 26px;
  border-radius: var(--radius);
  background: var(--blue-soft);
}

.four:nth-child(2),
.four:nth-child(4) {
  background: #F5F8FF;
}

.four .n {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--blue);
  font-size: 11.5px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(216, 29, 29, 0.1);
}

.four h3 {
  margin: 14px 0 7px;
  font-size: 19px;
  font-weight: 800;
}

.four p {
  margin: 0;
  color: var(--body);
  font-size: 14px;
}

/* ===== screens ===== */
.screens {
  padding: 78px 0 84px;
  background: #F8FAFF;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

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

.covers figure {
  min-width: 0;
  margin: 0;
  padding: 10px;
  border-radius: var(--radius);
  background: #FFFFFF;
  box-shadow: 0 10px 26px rgba(216, 29, 29, 0.09);
}

.covers img {
  width: 100%;
  aspect-ratio: 3 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
}

.covers b {
  display: block;
  margin: 11px 2px 0;
  font-size: 13px;
  font-weight: 800;
}

.covers small {
  display: block;
  margin: 2px 2px 4px;
  color: #A97A80;
  font-size: 11.5px;
}

/* ===== faq ===== */
.faq {
  padding: 78px 0 16px;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
}

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

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

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

.faq-item summary .icon {
  flex: none;
  width: 16px;
  height: 16px;
  filter: invert(27%) sepia(90%) saturate(2600%) hue-rotate(217deg) brightness(88%) contrast(97%);
  transition: transform 180ms ease;
}

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

.faq-answer {
  padding: 0 20px 17px;
}

.faq-answer p {
  margin: 0;
  color: var(--body);
  font-size: 13.8px;
}

/* ===== official ===== */
.official {
  padding: 30px 0 78px;
}

.official .page-shell {
  max-width: 860px;
}

.official-fold {
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
  border: 1px solid var(--line);
}

.official-fold summary {
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 700;
}

.official-fold summary::after {
  margin-left: auto;
  color: var(--blue);
  font-size: 18px;
  font-weight: 800;
  content: "+";
}

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

.official-fold .official-link {
  padding: 10px 20px 17px;
}

.official-link a {
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  word-break: break-all;
}

/* ===== reviews ===== */
.reviews {
  padding: 80px 0 84px;
  background: var(--blue-soft);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.rgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.review-card {
  display: flex;
  min-height: 208px;
  flex-direction: column;
  padding: 22px;
  border-radius: 18px 18px 18px 4px;
  background: #FFFFFF;
}

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

.review-card .who {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-card .who::before {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FEDBE1;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  content: "看";
}

.review-card .who b {
  font-size: 13px;
  font-weight: 700;
}

.review-card time {
  flex: none;
  color: #C29A9F;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.review-card > p {
  margin: 13px 0 0;
  color: var(--body);
  font-size: 13px;
  line-height: 1.85;
}

.rv-site {
  margin-top: auto;
  padding-top: 13px;
  color: var(--blue);
  font-size: 11px;
  overflow-wrap: anywhere;
}

/* ===== download ===== */
.download-cta {
  padding: 76px 0 80px;
  background: var(--blue);
  color: #FFFFFF;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

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

.download-cta .section-heading {
  margin-bottom: 26px;
}

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

.download-cta .button-primary {
  background: #FFFFFF;
  color: var(--blue-deep);
  box-shadow: 0 14px 30px rgba(68, 8, 9, 0.28);
}

.download-cta .button-primary .icon {
  filter: invert(21%) sepia(62%) saturate(2800%) hue-rotate(220deg) brightness(84%) contrast(96%);
}

.download-cta .button-primary:hover {
  background: #450F10;
  color: #FFFFFF;
}

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

.disclaimer {
  margin: 20px 0 0;
  color: #FFC9CC;
  font-size: 12px;
}

/* ===== footer ===== */
.site-footer {
  padding: 34px 0 22px;
  background: #450F10;
  color: #E0A9AC;
  font-size: 12px;
}

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

.site-footer p {
  margin: 0;
}

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

/* ===== to-top ===== */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 152px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(216, 29, 29, 0.32);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}

.to-top::before {
  width: 9px;
  height: 9px;
  border-top: 2px solid #FFFFFF;
  border-left: 2px solid #FFFFFF;
  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(--blue-deep);
}

/* ===== responsive ===== */
@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 1fr);
    gap: 30px;
  }

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

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

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

  .roomPanel {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .covers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

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

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

  .site-header {
    position: fixed;
    right: 0;
    left: 0;
    width: 100%;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
  }

  .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: 10px;
    row-gap: 0;
  }

  .brand {
    grid-row: 1;
    grid-column: 1;
    font-size: 16px;
  }

  .brand img {
    width: 31px;
    height: 31px;
    border-radius: 9px;
  }

  .primary-nav {
    display: none;
    grid-row: 2;
    grid-column: 1 / -1;
    margin: 0 -16px;
    padding: 0 16px 14px;
    border-top: 1px solid var(--line);
    background: #FFFFFF;
  }

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

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

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

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

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

  .primary-nav a {
    display: block;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--blue-soft);
    font-size: 13px;
  }

  .hero {
    padding: 42px 0 48px;
  }

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

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

  .hero-summary {
    font-size: 14px;
  }

  .routes,
  .screens,
  .reviews {
    padding: 54px 0;
  }

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

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

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

  .faq {
    padding: 54px 0 14px;
  }

  .official {
    padding: 22px 0 54px;
  }

  .download-cta {
    padding: 56px 0 58px;
  }

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

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

  .to-top {
    right: 16px;
    bottom: 136px;
    width: 40px;
    height: 40px;
  }
}

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

  .nav-download span {
    display: none;
  }

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

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

  .roomFriends p {
    font-size: 9.5px;
    margin-left: 14px;
  }
}
