:root {
  --orange: #ff8a3d;
  --pink: #ff7eb3;
  --blue: #5ec8ff;
  --purple: #a56bff;
  --bg: #fff9f5;
  --text: #2d2340;
  --muted: #6f6480;
  --card: #ffffff;
  --shadow: 0 12px 30px rgba(165, 107, 255, 0.12);
  --radius: 20px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* 顶部导航 */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 249, 245, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(165, 107, 255, 0.12);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.brand img { height: 32px; width: auto; border-radius: 8px; }
.nav-links { display: flex; gap: 22px; font-size: 14px; font-weight: 600; color: var(--muted); }
.nav-links a { transition: color .25s; }
.nav-links a:hover { color: var(--purple); }

/* 悬浮下载按钮 */
.float-download {
  position: fixed;
  right: 22px; bottom: 26px;
  z-index: 200;
  background: linear-gradient(135deg, var(--orange), var(--pink), var(--purple));
  color: #fff;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 10px 24px rgba(255, 126, 179, 0.4);
  animation: bounce 2.2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Toast */
.toast {
  position: fixed;
  top: 78px; left: 50%;
  transform: translateX(-50%) translateY(-16px);
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 300;
  box-shadow: 0 8px 20px rgba(255, 138, 61, 0.35);
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 20px 90px;
  overflow: hidden;
  background: linear-gradient(150deg, #ffe8d6 0%, #ffd6e7 40%, #d9e9ff 75%, #ead9ff 100%);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 15% 25%, rgba(255,255,255,.7) 0 2px, transparent 2px),
                    radial-gradient(circle at 75% 15%, rgba(255,255,255,.6) 0 3px, transparent 3px),
                    radial-gradient(circle at 85% 70%, rgba(255,255,255,.5) 0 2px, transparent 2px),
                    radial-gradient(circle at 25% 85%, rgba(255,255,255,.6) 0 2px, transparent 2px);
  background-size: 260px 260px;
  opacity: .8;
}
.hero-inner { position: relative; z-index: 2; max-width: 820px; }
.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,.75);
  color: var(--purple);
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 22px;
  box-shadow: 0 6px 16px rgba(165,107,255,.15);
}
.hero h1 {
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.2;
  letter-spacing: 1px;
  background: linear-gradient(120deg, #ff8a3d, #ff7eb3 45%, #a56bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: #5a4d70;
  max-width: 620px;
  margin: 0 auto 34px;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 126, 179, .4);
}
.btn-ghost {
  background: rgba(255,255,255,.7);
  color: var(--purple);
  border: 2px solid rgba(165,107,255,.3);
}

/* 通用区块 */
section { padding: 80px 20px; }
.section-inner { max-width: 1180px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(24px, 4vw, 36px);
  margin-bottom: 12px;
  background: linear-gradient(120deg, #ff8a3d, #ff7eb3, #a56bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-head p { color: var(--muted); font-size: 15px; max-width: 620px; margin: 0 auto; }

/* 卡片网格 */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.anime-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform .3s, box-shadow .3s;
}
.anime-card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(165,107,255,.22); }
.poster-wrap { position: relative; overflow: hidden; aspect-ratio: 3 / 4; }
.poster-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.anime-card:hover .poster-wrap img { transform: scale(1.08); }
.badge {
  position: absolute; top: 12px; left: 12px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(165,107,255,.35);
}
.badge.update { background: linear-gradient(135deg, var(--blue), var(--purple)); }
.rank-badge {
  position: absolute; top: 10px; left: 10px;
  width: 46px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 900;
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
}
.rank-1 { background: linear-gradient(160deg, #ffe27a, #d4a017); }
.rank-2 { background: linear-gradient(160deg, #e6e6e6, #9aa0a6); }
.rank-3 { background: linear-gradient(160deg, #f0b27a, #a0522d); }
.poster-download {
  position: absolute;
  right: 12px; bottom: 12px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s;
  box-shadow: 0 6px 16px rgba(165,107,255,.45);
}
.anime-card:hover .poster-download { opacity: 1; transform: translateY(0); }
.card-body { padding: 16px 18px 20px; }
.card-body h3 { font-size: 17px; margin-bottom: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tag {
  font-size: 12px;
  color: var(--purple);
  background: rgba(165,107,255,.1);
  padding: 2px 10px;
  border-radius: 999px;
}
.card-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* 口碑 */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,126,179,.12);
}
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px;
  flex-shrink: 0;
}
.review-name { font-size: 14px; font-weight: 700; }
.stars { color: #ffb400; font-size: 13px; letter-spacing: 2px; }
.review-text {
  font-size: 14px;
  color: #4b3f5e;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 84px;
}
.review-tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--pink);
  background: rgba(255,126,179,.1);
  padding: 3px 12px;
  border-radius: 999px;
}

/* 下载专区 */
.download-section {
  background: #1a1428;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.download-section::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(165,107,255,.25), transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(94,200,255,.18), transparent 50%);
  pointer-events: none;
}
.download-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.download-left h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  margin-bottom: 18px;
  background: linear-gradient(120deg, #ffb36b, #ff7eb3, #a56bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.download-left > p { color: #c7bddb; font-size: 15px; margin-bottom: 24px; }

/* 跑马灯 */
.marquee {
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 12px 0;
  margin-bottom: 30px;
  white-space: nowrap;
}
.marquee-track {
  display: inline-block;
  animation: marquee 18s linear infinite;
}
.marquee-track span {
  display: inline-block;
  padding: 0 26px;
  font-size: 13px;
  color: #ffd1e8;
  font-weight: 600;
}
.marquee-track span::before { content: "✦"; margin-right: 8px; color: var(--purple); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 34px; }
.feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 14px 16px;
}
.feature-icon { font-size: 22px; line-height: 1.2; }
.feature-item h3 { font-size: 15px; margin-bottom: 4px; color: #fff; }
.feature-item p { font-size: 12.5px; color: #b3a8c7; margin: 0; line-height: 1.5; }

.download-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-android {
  background: linear-gradient(135deg, #3ddc84, #1fa86a);
  color: #fff;
  box-shadow: 0 8px 22px rgba(61,220,132,.3);
}
.btn-ios {
  background: linear-gradient(135deg, #a56bff, #6f3bd4);
  color: #fff;
  box-shadow: 0 8px 22px rgba(165,107,255,.35);
}

/* 3D 手机模型 */
.phone-mockup {
  width: 260px;
  height: 520px;
  margin: 0 auto;
  background: #0f0b19;
  border-radius: 38px;
  border: 8px solid #2a2140;
  box-shadow: 0 30px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.05);
  position: relative;
  transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
  animation: floatPhone 5s ease-in-out infinite;
  overflow: hidden;
}
@keyframes floatPhone {
  0%, 100% { transform: perspective(1000px) rotateY(-8deg) rotateX(4deg) translateY(0); }
  50% { transform: perspective(1000px) rotateY(-8deg) rotateX(4deg) translateY(-16px); }
}
.phone-screen {
  width: 100%; height: 100%;
  background: linear-gradient(170deg, #241a3d, #0e0a17);
  display: flex; flex-direction: column;
  padding: 18px 14px;
  gap: 12px;
}
.phone-notch {
  width: 100px; height: 22px;
  background: #0f0b19;
  border-radius: 999px;
  margin: 0 auto 6px;
}
.phone-banner {
  height: 150px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff8a3d, #ff7eb3, #a56bff);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
  text-align: center; padding: 10px;
}
.phone-row { display: flex; gap: 10px; }
.phone-thumb {
  flex: 1;
  height: 76px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #b7accc;
}
.phone-thumb.thumb-a { background: linear-gradient(135deg, rgba(255,138,61,.35), rgba(255,126,179,.25)); }
.phone-thumb.thumb-b { background: linear-gradient(135deg, rgba(94,200,255,.3), rgba(165,107,255,.25)); }
.phone-thumb.thumb-c { background: linear-gradient(135deg, rgba(165,107,255,.35), rgba(255,126,179,.2)); }
.phone-bar {
  height: 36px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #cbbfe0; letter-spacing: 1px;
}

/* FAQ */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(165,107,255,.08);
  border: 1px solid rgba(165,107,255,.1);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
}
.faq-q .arrow { color: var(--purple); transition: transform .3s; font-size: 14px; }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 24px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}
.faq-item.open .faq-a { max-height: 260px; padding: 0 24px 22px; }

/* 页脚 */
.site-footer {
  background: #f6eef9;
  padding: 40px 20px 30px;
  text-align: center;
  color: #8a7f99;
  font-size: 12.5px;
  line-height: 2;
}
.site-footer a { color: #8a7f99; }
.site-footer a:hover { color: var(--purple); }
.footer-time { font-size: 12px; color: #a397b3; }

/* 响应式 */
@media (max-width: 1024px) {
  .grid-3, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .download-grid { grid-template-columns: 1fr; gap: 50px; }
  .phone-mockup { transform: none; animation: none; }
  .nav-links { gap: 16px; font-size: 13px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .grid-3, .review-grid { grid-template-columns: 1fr; }
  section { padding: 60px 16px; }
  .hero { padding: 120px 16px 70px; min-height: 80vh; }
  .feature-list { grid-template-columns: 1fr; }
  .float-download { right: 14px; bottom: 18px; padding: 11px 18px; font-size: 14px; }
  .poster-download { opacity: 1; transform: translateY(0); }
}