/* style.css —— 基映短剧 轻盈浅色主题 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&family=Noto+Serif+SC:wght@500;700;900&display=swap');

:root {
  --bg-base: #F9F9FB;
  --bg-card: #FFFFFF;
  --text-main: #1C1C21;
  --text-soft: #666675;
  --text-light: #9999A8;
  --accent-mint: #00D2AA;
  --accent-peach: #FF7A90;
  --gradient: linear-gradient(90deg, #00D2AA, #FF7A90);
  --border: #EBEBEF;
  --font-title: 'Noto Serif SC', serif;
  --font-body: 'Inter', sans-serif;
  --radius: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; object-fit: cover; background: var(--border); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 10; }

/* 通用标题 */
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head .en { font-size: 13px; color: var(--accent-mint); font-weight: 800; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; display: block; }
.sec-head h2 { font-family: var(--font-title); font-size: clamp(28px, 4vw, 42px); font-weight: 900; }
.sec-head p { color: var(--text-soft); font-size: 16px; margin-top: 12px; }

/* 导航 */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 999;
  background: rgba(249, 249, 251, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent; transition: .3s;
}
.navbar.scrolled { border-bottom-color: var(--border); box-shadow: 0 4px 20px rgba(0,0,0,0.02); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: 76px; }
.logo-box { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 900; letter-spacing: 0.5px; color: var(--text-main); }
.logo-box img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: flex; gap: 32px; font-size: 15px; font-weight: 600; color: var(--text-soft); }
.nav-links a { transition: .2s; }
.nav-links a:hover { color: var(--text-main); }
.nav-btn {
  font-size: 14px; font-weight: 700; color: #FFF; background: var(--text-main);
  padding: 10px 24px; border-radius: 40px; transition: .3s;
}
.nav-btn:hover { background: var(--accent-peach); transform: translateY(-2px); }
@media (max-width: 900px) { .nav-links { display: none; } }

/* 1. 首屏 */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-bg-shape {
  position: absolute;
  top: 0; right: 0; width: 50%; height: 100%;
  background: radial-gradient(circle at 100% 0%, rgba(0, 210, 170, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 80% 50%, rgba(255, 122, 144, 0.08) 0%, transparent 60%);
  z-index: 0; pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--accent-mint);
  margin-bottom: 20px; text-transform: uppercase;
}
.hero-title {
  font-family: var(--font-title); font-size: clamp(40px, 6vw, 64px);
  font-weight: 900; line-height: 1.15; margin-bottom: 24px; letter-spacing: -1px;
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 17px; color: var(--text-soft); margin-bottom: 40px; max-width: 480px;
}
.hero-desc b { color: var(--text-main); font-weight: 700; }
.hero-metrics {
  display: flex; gap: 40px;
}
.metric { display: flex; flex-direction: column; }
.metric strong { font-size: 28px; font-weight: 800; color: var(--text-main); line-height: 1.2; }
.metric span { font-size: 13px; color: var(--text-light); font-weight: 500; }

.hero-dl-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
  position: relative;
  z-index: 2;
}
.dl-card-header { margin-bottom: 28px; }
.dl-card-header .badge {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent-peach);
  background: rgba(255, 122, 144, 0.1); padding: 4px 12px; border-radius: 6px; margin-bottom: 12px;
}
.dl-card-header h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.dl-card-header p { font-size: 14px; color: var(--text-soft); }

.btn-android {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #3DDC84; color: #06210f; width: 100%; padding: 16px;
  border-radius: 12px; font-weight: 700; font-size: 16px;
  transition: .2s; border: none; cursor: pointer; margin-bottom: 14px;
}
.btn-android:hover { background: #2bb96c; transform: translateY(-2px); }
.ios-copy-box {
  display: flex; background: var(--bg-base); border: 1px solid var(--border);
  border-radius: 12px; padding: 6px 6px 6px 16px; justify-content: space-between; align-items: center; margin-bottom: 12px;
}
.ios-copy-box span { font-size: 13px; color: var(--text-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 8px; }
.ios-copy-box button {
  background: var(--accent-peach); color: #FFF; border: none; border-radius: 8px;
  padding: 10px 18px; font-weight: 700; font-size: 13px; cursor: pointer; transition: .2s; white-space: nowrap;
}
.ios-copy-box button:hover { background: #E86B82; }
.dl-hint { font-size: 12px; color: var(--text-light); text-align: center; margin-bottom: 20px; }
.dl-card-footer {
  display: flex; justify-content: space-between; font-size: 12px; color: var(--text-light);
  border-top: 1px dashed var(--border); padding-top: 16px;
}

/* 2. 剧集推荐 */
.sec-posters { padding: 80px 0; background: var(--bg-base); }
.branch-nav { display: flex; justify-content: center; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }
.branch-tab {
  padding: 10px 28px; border-radius: 40px; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: .3s; color: var(--text-soft);
  background: var(--bg-card); border: 1px solid var(--border);
}
.branch-tab:hover { border-color: var(--accent-mint); color: var(--text-main); }
.branch-tab.active {
  background: var(--text-main); color: #FFF; border-color: var(--text-main);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.branch-panel { display: none; }
.branch-panel.active { display: block; animation: fadeUp .4s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.poster-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.poster-card {
  position: relative; border-radius: 16px; overflow: hidden; display: block;
  cursor: pointer; background: var(--border); aspect-ratio: 3/4;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03); transition: .3s;
}
.poster-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.poster-card img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.poster-card:hover img { transform: scale(1.05); }
.poster-info {
  position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px 16px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); pointer-events: none;
}
.poster-info h4 { font-family: var(--font-title); font-size: 16px; font-weight: 700; color: #FFF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.poster-info p { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 2px; }
.poster-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent-mint); color: #FFF; font-size: 11px; font-weight: 800; padding: 4px 10px;
  border-radius: 20px; letter-spacing: .5px; z-index: 2;
}
@media (max-width: 900px) { .poster-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) {
  .poster-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .poster-info h4 { font-size: 14px; }
}

/* 3. 高能台词 */
.sec-quotes { padding: 60px 0; overflow: hidden; background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.quote-marquee {
  display: flex; white-space: nowrap; gap: 40px; font-family: var(--font-title);
  font-size: 36px; font-weight: 900; color: var(--text-light); animation: marquee 24s linear infinite;
}
.quote-marquee span { color: var(--accent-peach); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 768px) { .quote-marquee { font-size: 22px; } }

/* 4. 热门标签 */
.sec-tags { padding: 60px 0; background: var(--bg-base); }
.tags-wrap { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; max-width: 800px; margin: 0 auto; }
.tag-item {
  padding: 10px 24px; border-radius: 30px; background: var(--bg-card);
  border: 1px solid var(--border); color: var(--text-soft); font-size: 15px; font-weight: 600;
  cursor: pointer; transition: .3s;
}
.tag-item:hover { border-color: var(--accent-mint); color: var(--text-main); transform: translateY(-2px); }
.tag-item.active { background: var(--text-main); border-color: var(--text-main); color: #FFF; }

/* 5. 为什么选择基映 */
.sec-features { padding: 100px 0; background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature-wall { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg-base); }
.feature-cell {
  padding: 48px 40px; position: relative; transition: .3s;
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.feature-cell:nth-child(2n) { border-right: none; }
.feature-cell:nth-child(n+3) { border-bottom: none; }
.feature-cell:hover { background: #FFF; }
.feature-cell .num {
  font-family: var(--font-title); font-size: 64px; font-weight: 900; line-height: 1;
  color: var(--border); position: absolute; top: 24px; right: 32px; pointer-events: none; transition: .3s;
}
.feature-cell:hover .num { color: rgba(0, 210, 170, 0.15); }
.feature-cell h3 { font-family: var(--font-title); font-size: 24px; font-weight: 900; margin-bottom: 12px; color: var(--text-main); position: relative; z-index: 2; }
.feature-cell h3 em { font-style: normal; color: var(--accent-peach); }
.feature-cell p { color: var(--text-soft); font-size: 15px; line-height: 1.8; position: relative; z-index: 2; max-width: 340px; }
@media (max-width: 768px) {
  .feature-wall { grid-template-columns: 1fr; }
  .feature-cell { border-right: none; border-bottom: 1px solid var(--border); padding: 36px 24px; }
  .feature-cell:last-child { border-bottom: none; }
  .feature-cell .num { font-size: 48px; }
}

/* 6. APP预览 */
.sec-app-preview { padding: 100px 0; background: var(--bg-base); }
.app-showcase { display: flex; flex-direction: column; gap: 80px; }
.app-row { display: flex; align-items: center; gap: 60px; }
.app-row:nth-child(even) { flex-direction: row-reverse; }
.app-text { flex: 1; }
.app-text .step { color: var(--accent-mint); font-weight: 800; font-size: 13px; letter-spacing: 2px; margin-bottom: 12px; display: block; }
.app-text h3 { font-family: var(--font-title); font-size: 32px; font-weight: 900; margin-bottom: 16px; }
.app-text p { color: var(--text-soft); font-size: 16px; line-height: 1.8; }
.app-img {
  flex: 1.2; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06); position: relative; aspect-ratio: 16/9; transition: .3s;
}
.app-img:hover { transform: translateY(-4px); }
.app-img img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.app-img:hover img { transform: scale(1.03); }
@media (max-width: 860px) {
  .app-row, .app-row:nth-child(even) { flex-direction: column; gap: 24px; text-align: center; }
  .app-img { width: 100%; flex: none; }
  .app-text h3 { font-size: 26px; }
}

/* 7. 姐妹弹幕墙 */
.sec-danmaku { padding: 80px 0; background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.player-shell {
  max-width: 900px; margin: 0 auto; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 20px 60px rgba(0,0,0,0.08); background: #000;
}
.player-screen { position: relative; height: 440px; background: #000; overflow: hidden; }
.player-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0.8; }
.player-screen::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 40%, rgba(0,0,0,0.7) 100%); pointer-events: none;
}
.player-topbar {
  position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px; z-index: 5; background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
  font-size: 13px; color: rgba(255,255,255,0.9); font-weight: 600; letter-spacing: 1px;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent-peach);
  display: inline-block; margin-right: 8px; box-shadow: 0 0 10px var(--accent-peach); animation: pulse 1.4s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.danmaku-layer { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.danmaku-row {
  position: absolute; white-space: nowrap; font-size: 18px; font-weight: 600;
  color: #FFF; text-shadow: 0 2px 6px rgba(0,0,0,0.8); will-change: transform; animation: flyAcross linear infinite;
}
.danmaku-row .nick { color: var(--accent-mint); margin-right: 6px; font-weight: 800; }
@keyframes flyAcross { from { transform: translateX(100vw); } to { transform: translateX(-120%); } }

.player-bottombar {
  display: flex; align-items: center; gap: 12px; padding: 16px 20px;
  background: #1A1A1F; border-top: 1px solid rgba(255,255,255,0.1);
}
.danmaku-input {
  flex: 1; height: 44px; border-radius: 22px; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15); color: #FFF; font-size: 14px; padding: 0 20px; outline: none; transition: .3s;
}
.danmaku-input::placeholder { color: #7A7A8A; }
.danmaku-input:focus { border-color: var(--accent-mint); background: rgba(0, 210, 170, 0.08); }
.danmaku-send {
  height: 44px; padding: 0 28px; border-radius: 22px; border: none; cursor: pointer;
  background: var(--text-main); color: #FFF; font-weight: 700; font-size: 14px; transition: .2s;
}
.danmaku-send:hover { background: var(--accent-peach); }
.danmaku-emoji { font-size: 22px; cursor: pointer; opacity: .8; transition: .2s; }
.danmaku-emoji:hover { opacity: 1; transform: scale(1.1); }
@media (max-width: 600px) { .player-screen { height: 300px; } .danmaku-row { font-size: 14px; } .danmaku-send { padding: 0 18px; } }

/* 8. FAQ */
.sec-faq { padding: 100px 0; background: var(--bg-base); }
.faq-list { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border); padding: 28px 8px; display: grid;
  grid-template-columns: 56px 1fr; gap: 24px; align-items: start; transition: .3s; cursor: default;
}
.faq-item:hover { background: var(--bg-card); border-radius: 12px; padding-left: 16px; padding-right: 16px; }
.faq-index { font-family: var(--font-title); font-size: 36px; font-weight: 900; line-height: 1; color: var(--border); transition: .3s; }
.faq-item:hover .faq-index { color: var(--accent-mint); }
.faq-body h4 { font-family: var(--font-title); font-size: 18px; font-weight: 800; color: var(--text-main); margin-bottom: 8px; }
.faq-body p { color: var(--text-soft); font-size: 15px; line-height: 1.8; }
.faq-body p b { color: var(--accent-peach); font-weight: 700; }
@media (max-width: 600px) {
  .faq-item { grid-template-columns: 40px 1fr; gap: 16px; padding: 20px 4px; }
  .faq-index { font-size: 28px; }
  .faq-body h4 { font-size: 16px; }
}

/* 9. 底部下载 */
.sec-download { padding: 80px 0 120px; background: var(--bg-base); }
.dl-card {
  background: var(--bg-card); border-radius: 32px; padding: 60px;
  border: 1px solid var(--border); box-shadow: 0 20px 60px rgba(0,0,0,0.04);
}
.dl-header { text-align: center; margin-bottom: 48px; }
.dl-header .en { font-size: 13px; font-weight: 800; letter-spacing: 3px; color: var(--accent-mint); display: block; margin-bottom: 12px; }
.dl-header h2 { font-family: var(--font-title); font-size: clamp(28px, 3.5vw, 40px); font-weight: 900; margin-bottom: 12px; }
.dl-header p { color: var(--text-soft); font-size: 16px; max-width: 600px; margin: 0 auto; }
.dl-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; border-top: 1px solid var(--border); padding-top: 48px; }
.dl-left { display: flex; flex-direction: column; gap: 24px; }
.dl-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.dl-btn { flex: 1; min-width: 200px; padding: 16px 24px; border-radius: 12px; font-weight: 700; font-size: 16px; text-align: center; transition: .2s; }
.btn-android.dl-btn { margin-bottom: 0; }
.dl-btn-outline {
  background: var(--bg-base); border: 1px solid var(--border); color: var(--text-main);
  display: flex; align-items: center; justify-content: space-between; padding: 6px 6px 6px 20px;
}
.dl-btn-outline span { font-size: 13px; color: var(--text-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 8px; }
.dl-btn-outline button {
  background: var(--text-main); color: #FFF; border: none; border-radius: 8px;
  padding: 10px 18px; font-weight: 700; font-size: 13px; cursor: pointer; transition: .2s; white-space: nowrap;
}
.dl-btn-outline button:hover { background: var(--accent-peach); }
.dl-info-table { width: 100%; border-collapse: collapse; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.dl-info-table tr { border-bottom: 1px solid var(--border); }
.dl-info-table tr:last-child { border-bottom: none; }
.dl-info-table td { padding: 14px 20px; font-size: 14px; }
.dl-info-table td:first-child { width: 100px; color: var(--text-light); background: var(--bg-base); }
.dl-info-table td:last-child { color: var(--text-main); font-weight: 600; }
.dl-info-note { font-size: 13px; color: var(--text-light); text-align: center; }
.dl-right { display: flex; flex-direction: column; gap: 24px; }
.step-item { display: flex; gap: 20px; align-items: flex-start; }
.step-circle {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; color: var(--text-main); flex-shrink: 0; background: var(--bg-base);
}
.step-text h4 { font-size: 16px; font-weight: 800; color: var(--text-main); margin-bottom: 4px; }
.step-text p { font-size: 14px; color: var(--text-soft); line-height: 1.6; }
@media (max-width: 768px) {
  .dl-card { padding: 32px 20px; border-radius: 24px; }
  .dl-content { grid-template-columns: 1fr; gap: 40px; }
  .dl-btns { flex-direction: column; }
}

/* 10. 页脚 */
footer { background: var(--bg-card); border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.foot-brand .logo-box { margin-bottom: 16px; }
.foot-brand p { color: var(--text-soft); font-size: 14px; line-height: 1.8; max-width: 320px; margin-bottom: 20px; }
.foot-tagline { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 2px; color: var(--accent-mint); border: 1px solid rgba(0, 210, 170, 0.3); padding: 6px 14px; border-radius: 20px; }
.foot-hot-searches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; max-width: 320px; }
.hot-tag { font-size: 12px; color: var(--text-light); background: var(--bg-base); border: 1px solid var(--border); padding: 4px 12px; border-radius: 14px; transition: .2s; }
.hot-tag:hover { color: var(--accent-peach); border-color: rgba(255, 122, 144, 0.3); }
.foot-links h5 { font-size: 15px; font-weight: 800; color: var(--text-main); margin-bottom: 20px; letter-spacing: 1px; }
.foot-links ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.foot-links ul li a { color: var(--text-soft); font-size: 14px; transition: .2s; }
.foot-links ul li a:hover { color: var(--accent-mint); }
.foot-qr { text-align: center; }
.foot-qr .qr-box { display: inline-block; padding: 8px; background: #FFF; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.foot-qr img { width: 100px; height: 100px; border-radius: 6px; }
.foot-qr p { color: var(--text-light); font-size: 13px; margin-top: 12px; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--text-light);
}
.footer-bottom b { color: var(--text-soft); font-weight: 600; }
@media (max-width: 900px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .footer-main { grid-template-columns: 1fr; text-align: center; }
  .foot-brand p { margin: 0 auto 20px; }
  .foot-hot-searches { justify-content: center; }
  .foot-qr { text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* Toast */
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--text-main); color: #FFF; padding: 12px 28px; border-radius: 40px;
  font-size: 14px; opacity: 0; transition: all 0.3s ease; pointer-events: none; z-index: 999;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2); white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }