:root {
  --bg-main: #0B0D1F;
  --bg-dark: #141833;
  --panel-1: #1C2145;
  --panel-2: #262C58;
  --rainbow: linear-gradient(90deg, #FF3D81, #FF8A00, #FFE14D, #2ED47A, #00C2FF, #5B5BFF, #B93DFF);
  --rainbow-soft: linear-gradient(135deg, rgba(255,61,129,.15), rgba(255,138,0,.12), rgba(255,225,77,.1), rgba(46,212,122,.12), rgba(0,194,255,.15), rgba(91,91,255,.12), rgba(185,61,255,.15));
  --border-pink: rgba(255,61,129,.18);
  --border-yellow: rgba(255,225,77,.16);
  --border-cyan: rgba(0,194,255,.18);
  --text-main: #FFFFFF;
  --text-sub: #B4B9D6;
  --text-dark: #0B0D1F;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button, input { font-family: inherit; border: none; outline: none; }

/* Typography */
h1, h2, h3 { line-height: 1.3; font-weight: 700; }
.rainbow-text {
  background: var(--rainbow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-title {
  font-size: 26px;
  margin-bottom: 24px;
  text-align: center;
}
.section-title span { display: block; font-size: 14px; font-weight: 400; color: var(--text-sub); margin-top: 8px; }

/* Buttons */
.btn-rainbow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--rainbow);
  color: var(--text-dark);
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 30px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  text-align: center;
}
.btn-rainbow:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 61, 129, 0.4);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-cyan);
  padding: 10px 20px;
  border-radius: 30px;
  transition: background 0.3s, border-color 0.3s;
}
.btn-outline:hover {
  background: var(--panel-1);
  border-color: var(--border-pink);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 13, 31, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-pink);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
}
.brand img {
  height: 32px;
  width: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.nav-links {
  display: flex;
  gap: 24px;
}
.nav-links a {
  font-size: 15px;
  color: var(--text-sub);
  transition: color 0.3s, text-shadow 0.3s;
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover {
  color: #FFF;
  text-shadow: 0 0 8px rgba(255,61,129,.8), 0 0 16px rgba(0,194,255,.6);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--rainbow);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.mobile-menu-btn {
  display: none;
  background: none;
  color: #FFF;
  font-size: 24px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  padding: 60px 20px 40px;
  background: radial-gradient(circle at 50% 0%, rgba(91, 91, 255, 0.15) 0%, transparent 60%);
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}
.hero-content { flex: 1; min-width: 300px; }
.hero-content h1 {
  font-size: 42px;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 18px;
  color: var(--text-sub);
  margin-bottom: 28px;
  max-width: 540px;
}
.download-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.download-btns .btn-rainbow, .download-btns .btn-outline {
  flex: 1;
  min-width: 120px;
}
.hero-images {
  flex: 1;
  min-width: 300px;
  display: flex;
  gap: 16px;
  justify-content: center;
}
.hero-image-card {
  width: 31%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-yellow);
  transition: transform 0.4s;
  position: relative;
}
.hero-image-card:nth-child(2) { transform: translateY(-20px); }
.hero-image-card:hover { transform: scale(1.03); }
.hero-image-card:nth-child(2):hover { transform: translateY(-20px) scale(1.03); }
.hero-image-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }

/* Marquee */
.marquee-wrap {
  width: 100%;
  overflow: hidden;
  background: var(--panel-1);
  border-top: 1px solid var(--border-cyan);
  border-bottom: 1px solid var(--border-cyan);
  padding: 12px 0;
  margin-top: 40px;
}
.marquee-text {
  display: inline-block;
  white-space: nowrap;
  font-size: 20px;
  font-weight: 900;
  background: var(--rainbow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: scroll-left 20s linear infinite;
}
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Sections Common */
section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.panel {
  background: var(--panel-1);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Section 1: 同城匹配 */
.city-match-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.city-img-box {
  width: 40%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-cyan);
  flex-shrink: 0;
}
.city-img-box img { width: 100%; height: 100%; object-fit: cover; }
.city-list {
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.city-item {
  background: var(--panel-2);
  border: 1px solid var(--border-pink);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: background 0.3s, transform 0.3s;
}
.city-item:hover {
  background: var(--panel-1);
  transform: translateX(6px);
}
.city-item-num {
  font-size: 20px;
  font-weight: 900;
  color: #00C2FF;
  flex-shrink: 0;
}

/* Section 2: 彩虹社区 */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.community-card {
  background: var(--panel-1);
  border: 1px solid var(--border-yellow);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.community-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 138, 0, 0.15);
}
.community-card h3 { font-size: 18px; margin-bottom: 12px; color: #FFE14D; }
.community-card p { font-size: 14px; color: var(--text-sub); }

/* Section 3: 兴趣圈子 */
.interest-layout {
  display: flex;
  gap: 40px;
  align-items: stretch;
}
.interest-img-box {
  width: 45%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-pink);
}
.interest-img-box img { width: 100%; height: 100%; object-fit: cover; }
.interest-content {
  width: 55%;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-content: center;
}
.interest-tag {
  background: rgba(0, 194, 255, 0.1);
  border: 1px solid rgba(0, 194, 255, 0.3);
  color: #00C2FF;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
  transition: all 0.3s;
}
.interest-tag:hover { background: rgba(0, 194, 255, 0.25); color: #FFF; }

/* Section 4: 搜同短剧 */
.drama-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--bg-darker) transparent;
}
.drama-scroll::-webkit-scrollbar { height: 6px; }
.drama-scroll::-webkit-scrollbar-thumb { background: var(--rainbow); border-radius: 3px; }
.drama-card {
  flex: 0 0 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-pink);
  transition: transform 0.3s;
}
.drama-card:hover { transform: translateY(-10px); }
.drama-card img { width: 100%; height: 280px; object-fit: cover; }
.drama-info { background: var(--panel-2); padding: 12px; }
.drama-info h3 { font-size: 15px; margin-bottom: 6px; color: #FF3D81; }
.drama-info p { font-size: 12px; color: var(--text-sub); }

/* Section 5: 隐私安全 (Q&A) */
.qa-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}
.qa-item {
  background: var(--panel-1);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.qa-q { font-weight: 700; color: #2ED47A; margin-bottom: 8px; font-size: 16px; }
.qa-a { color: var(--text-sub); font-size: 14px; }

/* Section 6: 意见反馈 & 常见问题 */
.feedback-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.feedback-box, .faq-box {
  background: var(--panel-1);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.feedback-box h2, .faq-box h2 { font-size: 22px; margin-bottom: 20px; }
.list-item {
  border-bottom: 1px dashed var(--border-yellow);
  padding: 12px 0;
  display: flex;
  gap: 12px;
}
.list-item:last-child { border-bottom: none; }
.list-item span { color: #FF8A00; font-weight: 700; }
.list-item p { color: var(--text-sub); font-size: 14px; }

/* Section 7: 下载专区 */
.download-section {
  background: radial-gradient(circle at 50% 50%, rgba(255, 61, 129, 0.1) 0%, transparent 70%);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
}
.download-section h2 { font-size: 32px; margin-bottom: 16px; }
.download-section .desc { color: var(--text-sub); margin-bottom: 32px; }
.install-steps {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.step {
  background: var(--panel-2);
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 225, 77, 0.3);
  font-size: 14px;
  min-width: 160px;
}
.step strong { display: block; font-size: 20px; color: #FFE14D; margin-bottom: 6px; }
.big-download-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.big-download-btns .btn-rainbow, .big-download-btns .btn-outline {
  padding: 16px 36px;
  font-size: 18px;
}

/* Section 8: 用户评论 */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--panel-1);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review-header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-yellow);
  object-fit: cover;
}
.review-name { font-size: 14px; font-weight: 700; }
.review-text { font-size: 14px; color: var(--text-sub); }

/* Floating Download */
.floating-download {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  background: rgba(28, 33, 69, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-cyan);
  border-radius: 50px;
  padding: 8px 16px 8px 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s;
}
.floating-download:hover { transform: translateX(-50%) translateY(-2px); }
.floating-download img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.floating-info { font-size: 12px; line-height: 1.4; }
.floating-info strong { color: #FFF; display: block; font-size: 14px; }
.floating-info span { color: var(--text-sub); }
.floating-btn {
  background: var(--rainbow);
  color: var(--text-dark);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-yellow);
  padding: 40px 20px;
  font-size: 13px;
  color: var(--text-sub);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.footer-links a {
  color: var(--text-sub);
  transition: color 0.3s;
}
.footer-links a:hover { color: #FFF; }
.footer-copy {
  text-align: center;
  line-height: 1.8;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 20px;
  font-size: 12px;
}
.footer-copy a { color: var(--text-sub); }
.footer-about {
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
}
.footer-about summary {
  cursor: pointer;
  display: inline-block;
  color: var(--text-sub);
  font-size: 12px;
}
.footer-about-content {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.footer-about-content a {
  color: var(--text-sub);
  text-decoration: underline;
}

/* Alert Modal */
.copy-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.copy-modal.show { display: flex; }
.modal-content {
  background: var(--panel-2);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 30px;
  max-width: 400px;
  width: 100%;
  text-align: center;
}
.modal-content p { margin-bottom: 20px; font-size: 15px; }
.modal-content input {
  width: 100%;
  padding: 12px;
  background: var(--bg-main);
  color: #FFF;
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  text-align: center;
}
.modal-content button {
  background: var(--rainbow);
  color: var(--text-dark);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 700;
  width: 100%;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 34px; }
  .city-match-layout, .interest-layout { flex-direction: column; }
  .city-img-box, .interest-img-box { width: 100%; }
  .city-list, .interest-content { width: 100%; }
  .feedback-faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--panel-1);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border-pink);
    gap: 16px;
  }
  .nav-links.active { display: flex; }
  .mobile-menu-btn { display: block; }
  
  .hero { padding: 40px 20px 20px; }
  .hero-content h1 { font-size: 28px; }
  .hero-subtitle { font-size: 16px; }
  .hero-inner { flex-direction: column; }
  .hero-images { width: 100%; gap: 10px; }
  .hero-image-card { width: 32%; }
  
  .download-btns { flex-direction: column; }
  .download-btns .btn-rainbow, .download-btns .btn-outline { width: 100%; }
  
  section { padding: 40px 20px; }
  .section-title { font-size: 22px; }
  
  .install-steps { flex-direction: column; align-items: center; }
  .big-download-btns { flex-direction: column; }
  
  .floating-download { width: 90%; padding: 8px 12px; justify-content: space-between; }
  .floating-info strong { font-size: 13px; }
  .floating-info span { font-size: 11px; }
  
  .footer-links { flex-direction: column; align-items: center; }
}