:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Microsoft YaHei", "PingFang SC", "Segoe UI", Roboto, sans-serif;
  color: #fff4ec;
  background: #130304;
  --serif: "STKaiti", "KaiTi", "Songti SC", "Noto Serif CJK SC", serif;
  --gold: #ffda8d;
  --pink: #ff366b;
  --pink-dark: #ac0928;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; padding: 0; background: #0c0203; }
p, h1, h2, h3, ul, figure, blockquote { margin: 0; }
ul { list-style: none; padding: 0; }

.page {
  width: min(100%, 1000px);
  margin: auto;
  container-type: inline-size;
  overflow: clip;
  background: radial-gradient(ellipse at 50% 62%, #3d1013 0%, #240709 48%, #180304 100%);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.7);
  position: relative;
}

.inset { margin-inline: 2.5%; }

/* 顶部跑马灯通知条 */
.live-ticker {
  background: linear-gradient(90deg, #420d14, #731826, #420d14);
  border-bottom: 1px solid rgba(255, 218, 141, 0.25);
  padding: 6px 12px;
  font-size: clamp(0.72rem, 1.8cqw, 0.88rem);
  color: #ffe6cf;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.04em;
  overflow: hidden;
  white-space: nowrap;
}
.live-ticker .ticker-badge {
  background: #ff366b;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}
.live-ticker span.highlight {
  color: var(--gold);
  font-weight: 700;
}

/* 首屏 Hero */
.hero { position: relative; isolation: isolate; text-align: center; }
.hero-art {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: -1;
  mask-image: linear-gradient(#000 78%, transparent);
  -webkit-mask-image: linear-gradient(#000 78%, transparent);
}
.hero::after {
  content: "";
  z-index: -2;
  position: absolute;
  inset: 27cqw 0 0;
  background: radial-gradient(ellipse at center top, #68191d 0%, #32090b 47%, #190405 82%);
}
.hero-copy { margin-top: -2.4cqw; padding: 0 2% 1.8cqw; }

h1, h2, .hero-tagline { font-family: var(--serif); }

h1 {
  width: fit-content;
  margin-inline: auto;
  font-size: clamp(2.65rem, 11.5cqw, 7.2rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-style: italic;
  color: #ffda88;
  background: linear-gradient(#fff8dc 14%, #fff4d0 39%, #ffca62 72%, #fff0ba 95%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 1px #5b1908) drop-shadow(0 0 15px rgba(235, 76, 60, 0.46));
}

h1 i {
  font-style: italic;
  padding-inline: 0.08em;
  background: linear-gradient(#fff, #ffccd5);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-size: clamp(1rem, 3.25cqw, 2rem);
  font-weight: 700;
  margin-top: 0.6cqw;
  color: #fff0eb;
}
.hero-tagline span { color: #eeb79b; margin-inline: 0.2em; opacity: 0.8; }

.hero-description {
  margin: 1.2cqw auto 1.8cqw;
  font-size: clamp(0.78rem, 2.4cqw, 1.4rem);
  letter-spacing: 0.12em;
  color: #f7d5cc;
}

.lined { display: flex; align-items: center; justify-content: center; gap: 0.5em; }
.lined::before, .lined::after {
  content: "";
  width: 2.6em;
  height: 1px;
  background: linear-gradient(90deg, transparent, #f0a780);
}
.lined::after { transform: scaleX(-1); }

/* 操作按钮 */
.actions { display: flex; justify-content: center; gap: 2.6cqw; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  border-radius: 999px;
  text-decoration: none;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  color: #fff5f0;
  padding: 0.35em 1.15em;
  min-height: 44px;
  transition: filter 0.18s, transform 0.18s, box-shadow 0.18s;
  user-select: none;
}
.button:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
}
.button:active {
  transform: translateY(0);
}
.button:focus-visible { outline: 2px solid #fff1b9; outline-offset: 4px; }
.button b { font-size: 1.3em; line-height: 0.7; }

.pink {
  border: 1px solid #ff9eae;
  background: linear-gradient(#ff366b 0%, #e50d49 48%, #ac0928 78%, #f82255 100%);
  box-shadow: inset 0 1px 5px rgba(255, 214, 218, 0.55), 0 0 14px rgba(255, 23, 78, 0.45);
  text-shadow: 0 2px 2px #7b091d;
}
.gold {
  color: #ffdfa0;
  border: 2px solid #ffcd65;
  background: linear-gradient(#5c270d, #260909 64%, #623410);
  box-shadow: inset 0 0 7px rgba(255, 181, 61, 0.62), 0 0 12px rgba(255, 178, 58, 0.38);
}
.actions .button {
  font-size: clamp(0.85rem, 3.25cqw, 2rem);
  min-height: max(46px, 6.3cqw);
  padding: 0.4em 1.25em;
}

/* 平台特色 */
.highlights, .features, .posters, .reviews {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.highlights {
  border: 1px solid #b63f48;
  border-radius: 1.8cqw;
  padding: 1.1cqw 0;
  background: linear-gradient(#591d22, #27090b);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}
.highlights li, .features li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9cqw;
}
.highlights li + li { border-left: 1px solid rgba(187, 122, 113, 0.43); }

.icon {
  color: var(--gold);
  font: 700 clamp(1.45rem, 4.2cqw, 2.6rem)/1 sans-serif;
  flex: 0 0 auto;
  text-align: center;
  width: 1.1em;
}
.icon-box {
  width: 2em;
  font-size: clamp(0.72rem, 1.85cqw, 1.18rem);
  border: 2px solid;
  border-radius: 4px;
  padding-block: 0.25em;
}

strong, small { display: block; }
.highlights strong { font-size: clamp(0.82rem, 2.4cqw, 1.5rem); color: #fff3ec; }
small { margin-top: 0.15em; font-size: clamp(0.71rem, 1.6cqw, 1rem); color: #f0cdc4; }

/* 区块通用 */
.section { padding-top: 1.8cqw; }
h2 {
  text-align: center;
  color: #fff0d7;
  font-size: clamp(1.45rem, 4cqw, 2.55rem);
  font-style: italic;
  line-height: 1.22;
  text-shadow: 0 2px 0 #72181d, 0 0 14px rgba(210, 39, 65, 0.38);
}
.section h2 { margin-bottom: 1.25cqw; }
.flourish { color: var(--gold); font-size: 0.78em; margin-inline: 0.2em; }
.mirror { transform: scaleX(-1); display: inline-block; }

.posters, .features, .reviews { gap: 1.2cqw; }

/* 海报卡片 */
.poster {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  border: 1px solid #e2a463;
  border-radius: 1.5cqw;
  background: #471014;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  transition: transform 0.22s, box-shadow 0.22s;
}
.poster:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(255, 54, 107, 0.25);
}
.poster > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.3s;
}
.poster:hover > img {
  transform: scale(1.03);
}
.poster::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(transparent, #240508 85%);
  pointer-events: none;
}
.badge {
  position: absolute;
  top: 0.5rem;
  left: 0.55rem;
  padding: 0.22em 0.55em;
  background: linear-gradient(#ff437a, #cc1246);
  border-radius: 0.35em;
  font-size: clamp(0.68rem, 1.55cqw, 0.99rem);
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
  z-index: 2;
  letter-spacing: 0.02em;
}
.badge.complete {
  background: linear-gradient(#a15ab7, #69318f);
}
.poster-info {
  position: absolute;
  bottom: 3.8cqw;
  left: 0;
  right: 0;
  padding-inline: 0.6cqw;
  text-align: center;
  z-index: 2;
  pointer-events: none;
}
.poster-title {
  font-weight: 700;
  font-size: clamp(0.78rem, 1.8cqw, 1.15rem);
  color: #fff6f0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.poster-meta {
  font-size: clamp(0.65rem, 1.3cqw, 0.85rem);
  color: #ffd8bf;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  margin-top: 0.15em;
}

.watch {
  position: relative;
  z-index: 3;
  display: flex;
  width: 82%;
  margin: -1.2cqw auto 0.9cqw;
  min-height: max(36px, 3.8cqw);
  font-size: clamp(0.8rem, 1.9cqw, 1.2rem);
}

/* 核心亮点 */
.features li, .reviews figure {
  border: 1px solid #9a353d;
  border-radius: 1.6cqw;
  background: linear-gradient(150deg, #652126, #360d10 75%);
  padding: 1.25cqw 0.7cqw;
}
.features strong { font-size: clamp(0.76rem, 2cqw, 1.22rem); color: #fff; }

/* 评价 */
.reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.reviews figure {
  background: linear-gradient(145deg, #49171a, #351012);
  padding: 0.9cqw 1.7cqw 1.4cqw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
figcaption {
  display: flex;
  align-items: center;
  gap: 1.2cqw;
  font-size: clamp(0.78rem, 1.65cqw, 1rem);
  font-weight: 700;
  color: #ffeae2;
}
figcaption img {
  width: clamp(38px, 5.4cqw, 54px);
  height: clamp(38px, 5.4cqw, 54px);
  border-radius: 50%;
  border: 2px solid #dfb085;
  object-fit: cover;
  flex: 0 0 auto;
}
.stars {
  display: block;
  color: #ffcf4e;
  letter-spacing: 0.08em;
  margin-top: 0.16em;
  font-size: 0.9em;
}
blockquote {
  margin: 0.5em 0 0;
  padding-left: 1.25em;
  position: relative;
  font-weight: 600;
  font-size: clamp(0.81rem, 2.05cqw, 1.25rem);
  line-height: 1.45;
  color: #fcebe6;
}
blockquote::before {
  content: "“";
  position: absolute;
  left: 0;
  color: #ff739e;
  font: 900 2em/0.95 Georgia, serif;
}

/* 底部行动召唤 Closing */
.closing {
  margin-top: 2.2cqw;
  padding: 2.3cqw 2.5cqw 3.8cqw 22cqw;
  text-align: center;
  background: linear-gradient(90deg, transparent 13%, #451016 31%, transparent 65%),
              url("assets/closing.webp") left center / auto 100% no-repeat,
              radial-gradient(ellipse at 67% 54%, #771c2a, #240709 73%);
  border-bottom: 5px solid #631025;
  position: relative;
}
.closing h2 {
  font-size: clamp(1.35rem, 3.6cqw, 2.3rem);
}
.closing .button {
  margin-top: 1.5cqw;
  font-size: clamp(1rem, 3.7cqw, 2.1rem);
  padding: 0.42em 1.65em;
}
.offer {
  width: fit-content;
  margin: 1cqw auto 0;
  padding: 0.22em 1.2em;
  color: var(--gold);
  border: 1px solid rgba(255, 218, 141, 0.6);
  border-radius: 999px;
  font-size: clamp(0.75rem, 2cqw, 1.15rem);
  background: rgba(0, 0, 0, 0.25);
}

/* 移动端吸底浮动条 */
.mobile-float-bar {
  display: none;
}

/* 移动端适配 */
@media (max-width: 570px) {
  .page { padding-bottom: 60px; }
  .inset { margin-inline: 3.5%; }
  .hero-art { height: 51cqw; object-fit: cover; }
  .hero-copy { padding-bottom: 4cqw; }
  .hero-description { margin-block: 0.65rem 0.85rem; }
  .hero-description::before, .hero-description::after { width: 1em; }
  .highlights, .features, .posters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .highlights { padding-block: 0.45rem; }
  .highlights li { justify-content: flex-start; padding: 0.38rem 0.8rem; gap: 0.5rem; }
  .highlights li:nth-child(3) { border-left: 0; }
  .section { padding-top: 1rem; }
  .section h2 { margin-bottom: 0.65rem; }
  .posters, .features { gap: 0.6rem; }
  .poster, .features li, .reviews figure { border-radius: 10px; }
  .poster-info { bottom: 2.8rem; }
  .watch { margin: -0.25rem auto 0.45rem; min-height: 44px; width: 88%; }
  .features li { padding: 0.55rem 0.45rem; gap: 0.35rem; justify-content: flex-start; }
  .reviews { grid-template-columns: 1fr; gap: 0.6rem; }
  .reviews figure { padding: 0.7rem 0.9rem; }
  figcaption { gap: 0.6rem; }
  blockquote br { display: none; }
  .closing { padding: 1.2rem 0.8rem 1.4rem 18%; margin-top: 1.2rem; }
  .closing h2 { font-size: clamp(1.1rem, 5cqw, 1.45rem); }
  .offer { margin-top: 0.5rem; }

  /* 移动端吸底操作条展示 */
  .mobile-float-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: rgba(24, 4, 7, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 54, 107, 0.4);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.6);
  }
  .mobile-float-bar .bar-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff0d7;
    line-height: 1.2;
  }
  .mobile-float-bar .bar-desc {
    font-size: 0.68rem;
    color: #f7aab5;
  }
  .mobile-float-bar .button {
    font-size: 0.85rem;
    min-height: 38px;
    padding: 0.3em 0.95em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .poster, .poster > img { transition: none; }
}

/* ================= 滑动验证页面专属样式 ================= */
body:has(.verification) {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 50% 38%, #47111d, #160407 62%, #0d0204);
  padding: 1rem;
}
.verification {
  position: relative;
  overflow: hidden;
  width: min(calc(100% - 1.5rem), 36rem);
  padding: clamp(1.8rem, 5vw, 3rem) clamp(1rem, 4vw, 2.75rem) 1.65rem;
  border: 1px solid #9f5262;
  border-radius: 24px;
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(124, 35, 66, 0.61), transparent 69%),
              linear-gradient(155deg, #381119, #21090e);
  box-shadow: inset 0 1px rgba(255, 198, 180, 0.22), 0 24px 70px rgba(8, 1, 3, 0.66);
}
.verification::before {
  content: "";
  position: absolute;
  inset: 0 10% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ffd795, transparent);
}
.verification h1 {
  font-size: clamp(2rem, 6vw, 2.65rem);
  line-height: 1.25;
}
.verification p { margin-block: 0.85rem; color: #ffe0d8; }
.verification #slider-label {
  margin-block: 0.95rem 1.5rem;
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: #ffd8c7;
}
.verification a {
  display: inline-block;
  margin-top: 1.35rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(239, 183, 134, 0.3);
  border-radius: 999px;
  color: #f5c6ad;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s;
}
.verification a:hover {
  background: rgba(245, 198, 173, 0.12);
  color: #fff1d4;
  border-color: var(--gold);
}
.verification a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.slider-track {
  --progress: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #c86878;
  border-radius: 999px;
  background: linear-gradient(180deg, #17060b, #3d111c);
  box-shadow: inset 0 3px 12px rgba(8, 2, 5, 0.66), 0 0 26px rgba(227, 52, 95, 0.13);
}
.slider-track:focus-within { outline: 2px solid var(--gold); outline-offset: 4px; }
.slider-track::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 32%, rgba(255, 148, 167, 0.16) 50%, transparent 68%);
  animation: slider-shimmer 2.7s ease-in-out infinite;
}
.slider-track.has-progress::after { animation: none; opacity: 0; }
.slider-fill {
  position: absolute;
  z-index: -1;
  inset: 0;
  transform: scaleX(var(--progress));
  transform-origin: left;
  background: linear-gradient(90deg, #a01948, #f44a74 72%, #ffc69d);
}
.slider-direction {
  position: absolute;
  right: 1.4rem;
  top: 50%;
  display: flex;
  gap: 3px;
  transform: translateY(-50%);
  pointer-events: none;
}
.slider-direction i {
  width: 10px;
  height: 10px;
  border-top: 2px solid #ffc79d;
  border-right: 2px solid #ffc79d;
  transform: rotate(45deg);
  opacity: 0.45;
  animation: slider-chevron 2.1s ease-in-out infinite;
}
.slider-direction i:nth-child(2) { animation-delay: 0.15s; }
.slider-direction i:nth-child(3) { animation-delay: 0.3s; }
.slider-track.has-progress .slider-direction { visibility: hidden; }

.verification .slider {
  --thumb: linear-gradient(45deg, transparent 44%, #fff8eb 45% 57%, transparent 58%) center calc(50% - 5px) / 13px 10px no-repeat,
    linear-gradient(135deg, transparent 44%, #fff8eb 45% 57%, transparent 58%) center calc(50% + 5px) / 13px 10px no-repeat,
    linear-gradient(155deg, #ff977d, #ff477c 46%, #ca164a);
  display: block;
  width: 100%;
  height: 64px;
  margin: 0;
  padding: 4px;
  appearance: none;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: grab;
}
.verification .slider:focus { outline: none; }
.verification .slider:active { cursor: grabbing; }

.verification .slider::-webkit-slider-thumb {
  appearance: none;
  width: 74px;
  height: 56px;
  border: 1px solid #ffd6b6;
  border-radius: 999px;
  background: var(--thumb);
  box-shadow: inset 0 1px rgba(255, 246, 210, 0.45), 0 3px 12px rgba(48, 4, 17, 0.56);
}
.verification .slider::-moz-range-thumb {
  box-sizing: border-box;
  width: 74px;
  height: 56px;
  border: 1px solid #ffd6b6;
  border-radius: 999px;
  background: var(--thumb);
  box-shadow: inset 0 1px rgba(255, 246, 210, 0.45), 0 3px 12px rgba(48, 4, 17, 0.56);
}

.slider-track.is-complete {
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(255, 190, 109, 0.44);
}
.verification #slider-status {
  margin-block: 0.75rem 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
}
.verification #slider-status:empty { display: none; }

@keyframes slider-shimmer {
  0% { transform: translateX(-100%); }
  70%, 100% { transform: translateX(100%); }
}
@keyframes slider-chevron {
  0%, 72%, 100% { opacity: 0.45; }
  35% { opacity: 1; }
}
