/* 果果 AI 短剧 落地页专属沉浸样式 */
:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Microsoft YaHei", "PingFang SC", "Segoe UI", Roboto, sans-serif;
  color: #fff4fa;
  background: #0a050d;
  --serif: "STKaiti", "KaiTi", "Songti SC", "Noto Serif CJK SC", serif;
  --primary: #ff1f7d;
  --primary-dark: #b30b50;
  --gold: #ffd269;
  --neon-cyan: #00f0ff;
  --card-bg: linear-gradient(150deg, rgba(58, 16, 50, 0.72), rgba(20, 6, 18, 0.9));
  --card-border: 1px solid rgba(255, 31, 125, 0.4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; padding: 0; background: #0a050d; }
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% 60%, #351030 0%, #170716 48%, #0a050d 100%);
  box-shadow: 0 0 90px rgba(0, 0, 0, 0.88);
  position: relative;
}

.inset { margin-inline: 2.5%; }

/* 顶部跑马灯通知条 */
.live-ticker {
  background: linear-gradient(90deg, #2b0820, #63104a, #2b0820);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 12px;
  font-size: clamp(0.72rem, 1.8cqw, 0.88rem);
  color: #ffe6ee;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.04em;
  overflow: hidden;
  white-space: nowrap;
}
.live-ticker .ticker-badge {
  background: #ff1f7d;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 4px;
}
.live-ticker .highlight { color: #ffd269; font-weight: 700; }

/* 首屏区域 */
.hero { position: relative; text-align: center; }
.hero-art {
  width: 100%;
  height: auto;
  aspect-ratio: 1376 / 768;
  display: block;
  object-fit: cover;
  mask-image: linear-gradient(180deg, #000 65%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 65%, transparent 100%);
}
.hero::after {
  content: "";
  z-index: -2;
  position: absolute;
  inset: 27cqw 0 0;
  background: radial-gradient(ellipse at center top, #7e1660 0%, #380a2b 48%, #140310 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;
  background: linear-gradient(180deg, #ffffff 15%, #ffd2eb 45%, #ff1f7d 85%, #9013fe 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 2px #440932, 0 0 22px rgba(255, 31, 125, 0.7));
}

h1 i {
  font-style: italic;
  padding-inline: 0.08em;
  background: linear-gradient(#fff, #ebd0df);
  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: #fff4fa;
}
.hero-tagline span { color: #ffd269; margin-inline: 0.2em; opacity: 0.85; }

.hero-description {
  margin: 1.2cqw auto 1.8cqw;
  font-size: clamp(0.78rem, 2.4cqw, 1.4rem);
  letter-spacing: 0.12em;
  color: #ebd0df;
}

.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, #ffd269);
}
.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;
  padding: 0.72em 1.7em;
  font-size: clamp(0.92rem, 2.85cqw, 1.75rem);
  border: none;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.button:active { transform: scale(0.97); }
.button.pink {
  background: linear-gradient(135deg, #ff1f7d 0%, #d4146a 50%, #9013fe 100%);
  color: #fff;
  box-shadow: 0 0 18px rgba(255, 31, 125, 0.65), inset 0 1px 4px rgba(255, 255, 255, 0.5);
}
.button.gold {
  background: linear-gradient(135deg, #2a0e24, #120410 64%, #3d1033);
  color: #ffd269;
  border: 2px solid #ffd269;
  box-shadow: 0 0 14px rgba(255, 210, 105, 0.45), inset 0 0 8px rgba(255, 210, 105, 0.25);
}
.button b { font-family: -apple-system, sans-serif; font-size: 1.15em; font-weight: 900; }

/* 核心特色卡片栏 */
.highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8cqw;
  padding: 2cqw;
  margin-top: 1.8cqw;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.highlights li { display: flex; align-items: center; gap: 1cqw; }
.highlights .icon {
  font-size: clamp(1.4rem, 4cqw, 2.5rem);
  color: #ff1f7d;
}
.highlights .icon-box {
  font-family: monospace;
  font-weight: 900;
  border: 1.5px solid #ffd269;
  color: #ffd269;
  border-radius: 4px;
  padding: 0 4px;
  font-size: clamp(0.75rem, 2cqw, 1.2rem);
}
.highlights strong { display: block; font-size: clamp(0.75rem, 2.2cqw, 1.25rem); color: #fff; }
.highlights small { font-size: clamp(0.65rem, 1.7cqw, 0.95rem); color: #ebd0df; opacity: 0.8; }

/* 爆款短剧专区 */
.featured-dramas { margin-top: 3.5cqw; text-align: center; }
.section-title {
  font-size: clamp(1.4rem, 4.5cqw, 2.8rem);
  margin-bottom: 2.5cqw;
  color: #ffd269;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
}
.section-title::before, .section-title::after {
  content: "❧";
  font-size: 0.8em;
  opacity: 0.7;
}
.section-title::after { transform: scaleX(-1); }

.drama-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2cqw;
}
@media (max-width: 680px) {
  .drama-grid { grid-template-columns: repeat(2, 1fr); gap: 3cqw; }
}

.drama-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(58, 16, 50, 0.72), rgba(20, 6, 18, 0.9));
  border: 1px solid rgba(255, 31, 125, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
}
.drama-card .badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-size: clamp(0.65rem, 1.6cqw, 0.82rem);
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff1f7d, #b30b50);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.drama-card .badge.complete {
  background: linear-gradient(135deg, #7928ca, #4338ca);
}
.drama-card .poster-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.drama-card .poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.drama-card:hover .poster { transform: scale(1.04); }
.drama-card .watch-action {
  padding: 1.6cqw 1cqw 2cqw;
  background: rgba(10, 4, 12, 0.95);
  display: flex;
  justify-content: center;
}
.drama-card .button.watch {
  width: 90%;
  font-size: clamp(0.75rem, 2.2cqw, 1.15rem);
  padding: 0.5em 0.8em;
}

/* 为什么越看越上头 */
.why-addicted {
  margin-top: 4cqw;
  padding: 3cqw;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}
.features-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2cqw;
  margin-top: 2.2cqw;
}
@media (max-width: 680px) {
  .features-list { grid-template-columns: repeat(2, 1fr); }
}
.feature-item {
  padding: 1.8cqw;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.feature-item .f-icon { font-size: 2rem; color: #ffd269; margin-bottom: 0.4em; }
.feature-item h3 { font-size: clamp(0.85rem, 2.2cqw, 1.25rem); color: #fff; margin-bottom: 0.3em; }
.feature-item p { font-size: clamp(0.7rem, 1.8cqw, 0.95rem); color: #ebd0df; opacity: 0.8; }

/* 用户评价板块 */
.testimonials { margin-top: 4cqw; text-align: center; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2cqw;
  margin-top: 2cqw;
}
@media (max-width: 680px) {
  .reviews-grid { grid-template-columns: 1fr; }
}
.review-card {
  padding: 2.5cqw;
  background: rgba(255, 255, 255, 0.035);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}
.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.reviewer img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffd269;
}
.reviewer .name { font-weight: 700; color: #fff; font-size: 0.95rem; }
.reviewer .stars { color: #ffd269; font-size: 0.85rem; letter-spacing: 2px; }
.review-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #ebd0df;
  font-style: italic;
}
.review-text::before { content: "“"; font-size: 1.4em; color: #ff1f7d; line-height: 0; vertical-align: -0.2em; margin-right: 2px; }

/* 底部收尾横幅与CTA */
.closing-section {
  position: relative;
  margin-top: 4cqw;
  text-align: center;
  border-radius: 16px;
  overflow: hidden;
}
.closing-art {
  width: 100%;
  height: auto;
  aspect-ratio: 1376 / 768;
  display: block;
  object-fit: cover;
}
.closing-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 4, 10, 0.95) 15%, rgba(8, 4, 10, 0.6) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 5cqw;
}
.closing-overlay h2 {
  font-size: clamp(1.4rem, 4.5cqw, 2.8rem);
  color: #fff;
  margin-bottom: 2cqw;
}
.closing-overlay .subtext {
  font-size: clamp(0.75rem, 2.2cqw, 1.15rem);
  color: #ffd269;
  margin-top: 1.5cqw;
}

/* 移动端吸底悬浮条 */
.mobile-sticky-bar {
  display: none;
}
@media (max-width: 680px) {
  .mobile-sticky-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: rgba(10, 5, 12, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 16px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.7);
  }
  .mobile-sticky-bar .info strong { display: block; font-size: 0.95rem; color: #fff; }
  .mobile-sticky-bar .info small { font-size: 0.75rem; color: #ffd269; }
  .mobile-sticky-bar .button { font-size: 0.92rem; padding: 0.55em 1.2em; }
  body { padding-bottom: 70px; }
}

/* 滑动确认弹窗与全屏验证组件 */
.verification {
  max-width: 440px;
  margin: 10vh auto;
  padding: 2.2rem 1.8rem;
  border-radius: 20px;
  background: #0a050d;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.85);
  text-align: center;
}
.verification h1 {
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  background: linear-gradient(180deg, #ffffff 15%, #ffd2eb 45%, #ff1f7d 85%, #9013fe 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.verification #slider-label {
  margin-block: 1rem 1.4rem;
  font-size: 1rem;
  color: #ebd0df;
}
.slider-track {
  --progress: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
}
.slider-track.is-complete { border-color: #ffd269; }
.slider-track .slider-fill {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: calc(var(--progress) * 100%);
  background: linear-gradient(90deg, #9013fe, #ff1f7d 70%, #ffd269);
  border-radius: 999px;
  pointer-events: none;
}
.slider-track .slider-direction {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  pointer-events: none;
}
.verification .slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
}
.verification #slider-status {
  margin-block: 0.85rem 0;
  color: #ffd269;
  font-weight: 700;
  font-size: 0.95rem;
}
.verification a {
  display: inline-block;
  margin-top: 1.4rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: #ebd0df;
  font-size: 0.88rem;
  text-decoration: none;
}

/* Cloudflare Pages 静态弹窗组件 */
.slider-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.slider-modal-backdrop.is-open {
  display: flex;
  opacity: 1;
}
.slider-modal {
  width: min(100%, 420px);
  padding: 2.2rem 1.8rem;
  border-radius: 20px;
  background: #0d0612;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 31, 125, 0.25);
  text-align: center;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}
.slider-modal-backdrop.is-open .slider-modal {
  transform: translateY(0);
}
.slider-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}
.slider-modal-close:hover { color: #fff; }
.slider-modal h1 {
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  background: linear-gradient(180deg, #ffffff 15%, #ffd2eb 45%, #ff1f7d 85%, #9013fe 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}
.slider-modal #slider-label {
  margin-block: 0.8rem 1.4rem;
  font-size: 0.95rem;
  color: #ebd0df;
}
.slider-modal .slider-track {
  --progress: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
}
.slider-modal .slider-track.is-complete {
  border-color: #ffd269;
  box-shadow: 0 0 20px rgba(255, 210, 105, 0.4);
}
.slider-modal .slider-track .slider-fill {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: calc(var(--progress) * 100%);
  background: linear-gradient(90deg, #9013fe, #ff1f7d 70%, #ffd269);
  border-radius: 999px;
  pointer-events: none;
}
.slider-modal .slider-track .slider-direction {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  pointer-events: none;
}
.slider-modal .slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
}
.slider-modal #slider-status {
  margin-block: 0.85rem 0;
  color: #ffd269;
  font-weight: 700;
  font-size: 0.95rem;
}
