:root {
  --bg-main: #0B0D1F;
  --bg-dark: #141833;
  --panel-1: #1C2145;
  --panel-2: #262C58;
  --border-pink: rgba(255, 61, 129, .18);
  --border-yellow: rgba(255, 225, 77, .16);
  --border-cyan: rgba(0, 194, 255, .18);
  --rainbow: linear-gradient(90deg, #FF3D81, #FF8A00, #FFE14D, #2ED47A, #00C2FF, #5B5BFF, #B93DFF);
  --rainbow-soft: linear-gradient(135deg, rgba(255,61,129,.8), rgba(255,138,0,.8), rgba(255,225,77,.8), rgba(46,212,122,.8), rgba(0,194,255,.8), rgba(91,91,255,.8), rgba(185,61,255,.8));
  --text-main: #F0F2FF;
  --text-sub: #9FA8D7;
  --text-dark: #0B0D1F;
  --radius-lg: 20px;
  --radius-md: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--bg-main);
  background-image: radial-gradient(circle at 10% 10%, rgba(255,61,129,.05), transparent 30%),
                    radial-gradient(circle at 90% 20%, rgba(0,194,255,.05), transparent 30%),
                    radial-gradient(circle at 80% 80%, rgba(185,61,255,.05), transparent 40%);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 80px;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 13, 31, 0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-pink);
}
.nav-wrap { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: bold; }
.brand img { height: 32px; width: auto; border-radius: 8px; }
.nav-menu { display: flex; gap: 24px; align-items: center; }
.nav-menu > li > a { font-size: 0.95rem; color: var(--text-sub); transition: color 0.3s; position: relative; padding: 8px 0; }
.nav-menu > li > a:hover { color: #FFE14D; }
.nav-menu > li > a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--rainbow); transition: width 0.3s; border-radius: 2px; }
.nav-menu > li > a:hover::after { width: 100%; }
.mobile-toggle { display: none; background: transparent; border: 1px solid var(--border-cyan); color: var(--text-main); padding: 6px 12px; border-radius: 8px; cursor: pointer; font-size: 0.9rem; }
.mobile-nav { display: none; flex-direction: column; background: var(--bg-dark); border-bottom: 1px solid var(--border-pink); }
.mobile-nav.active { display: flex; }
.mobile-nav a { padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.95rem; color: var(--text-sub); }
.mobile-nav a:hover { color: #FFE14D; background: var(--panel-1); }

/* Hero */
.hero { padding: 60px 0 20px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 { font-size: 2.6rem; font-weight: 800; line-height: 1.3; margin-bottom: 20px; background: var(--rainbow); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; max-width: 900px; }
.hero p { font-size: 1.1rem; color: var(--text-sub); max-width: 700px; margin-bottom: 30px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; margin-bottom: 40px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; border-radius: 30px; font-weight: bold; font-size: 1rem; color: var(--text-dark); background: var(--rainbow); transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 4px 15px rgba(255, 61, 129, 0.3); border: none; cursor: pointer; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 61, 129, 0.5); }
.btn.outline { background: transparent; border: 1px solid rgba(255, 255, 255, 0.2); color: var(--text-main); box-shadow: none; }
.btn.outline:hover { border-color: #00C2FF; background: rgba(0, 194, 255, 0.1); }

/* Hero Showcase */
.hero-showcase { display: flex; justify-content: center; gap: 20px; width: 100%; margin-top: 20px; }
.showcase-item { border-radius: var(--radius-md); overflow: hidden; width: 30%; max-width: 280px; aspect-ratio: 3/4; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.5); border: 1px solid var(--border-pink); transition: transform 0.3s; }
.showcase-item:nth-child(2) { transform: translateY(20px); border-color: var(--border-cyan); }
.showcase-item:nth-child(3) { border-color: var(--border-yellow); }
.showcase-item img { width: 100%; height: 100%; object-fit: cover; }
.showcase-item:hover { transform: translateY(-5px) scale(1.02); z-index: 2; }
.showcase-item:nth-child(2):hover { transform: translateY(15px) scale(1.02); }

/* Marquee */
.marquee-wrap { width: 100%; overflow: hidden; background: rgba(28, 33, 69, 0.8); padding: 12px 0; margin-top: 40px; border-top: 1px solid var(--border-yellow); border-bottom: 1px solid var(--border-yellow); }
.marquee { display: flex; white-space: nowrap; animation: scroll 20s linear infinite; }
.marquee span { display: inline-block; padding: 0 30px; font-size: 1rem; font-weight: bold; background: var(--rainbow); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Common Section */
section { padding: 60px 0; }
.sec-title { font-size: 2rem; font-weight: bold; text-align: center; margin-bottom: 15px; background: var(--rainbow); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.sec-desc { text-align: center; color: var(--text-sub); margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* City Match - Left Image Right List */
.match-layout { display: flex; gap: 40px; align-items: stretch; }
.match-img-box { flex: 0 0 40%; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-cyan); position: relative; }
.match-img-box img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.match-content { flex: 1; display: flex; flex-direction: column; gap: 15px; }
.match-item { background: var(--panel-1); padding: 16px 20px; border-radius: var(--radius-md); border-left: 3px solid #FF3D81; border-right: 1px solid var(--border-pink); border-top: 1px solid var(--border-pink); border-bottom: 1px solid var(--border-pink); transition: background 0.3s; }
.match-item:hover { background: var(--panel-2); }
.match-item h3 { font-size: 1.1rem; color: #FFE14D; margin-bottom: 4px; font-weight: 600; }
.match-item p { font-size: 0.9rem; color: var(--text-sub); }

/* Rainbow Community - Grid */
.comm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.comm-card { background: var(--panel-1); border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--border-yellow); display: flex; flex-direction: column; gap: 10px; transition: transform 0.3s; }
.comm-card:hover { transform: translateY(-5px); border-color: #2ED47A; }
.comm-card h3 { font-size: 1.2rem; color: #00C2FF; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.comm-card h3::before { content: ''; display: inline-block; width: 8px; height: 8px; background: #00C2FF; border-radius: 50%; box-shadow: 0 0 8px #00C2FF; }
.comm-card p { font-size: 0.95rem; color: var(--text-sub); line-height: 1.7; }

/* Interest Circle - Horizontal Scroll */
.circle-scroll { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 20px; scrollbar-width: none; }
.circle-scroll::-webkit-scrollbar { display: none; }
.circle-card { flex: 0 0 280px; background: var(--panel-2); border-radius: var(--radius-lg); padding: 20px; border: 1px solid var(--border-pink); display: flex; flex-direction: column; gap: 12px; }
.circle-card h3 { font-size: 1.1rem; color: #FF8A00; }
.circle-card p { font-size: 0.9rem; color: var(--text-sub); }

/* Short Drama - Staggered */
.drama-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.drama-item { text-align: center; }
.drama-item img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius-md); border: 1px solid var(--border-cyan); margin-bottom: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.3); transition: transform 0.3s; }
.drama-item img:hover { transform: scale(1.03); }
.drama-item h3 { font-size: 1rem; color: var(--text-main); font-weight: 500; margin-bottom: 4px; }
.drama-item p { font-size: 0.85rem; color: var(--text-sub); }

/* Privacy - Q&A */
.privacy-list { display: flex; flex-direction: column; gap: 15px; max-width: 800px; margin: 0 auto; }
.privacy-item { background: var(--panel-1); border-radius: var(--radius-md); padding: 20px; border: 1px solid var(--border-yellow); border-left: 4px solid #B93DFF; }
.privacy-item h3 { font-size: 1.1rem; color: #FFE14D; margin-bottom: 8px; font-weight: 600; }
.privacy-item p { font-size: 0.95rem; color: var(--text-sub); }

/* Feedback - Form Style */
.feedback-layout { display: flex; gap: 30px; background: var(--panel-1); border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--border-cyan); }
.feedback-text { flex: 1; }
.feedback-text h3 { font-size: 1.3rem; color: #2ED47A; margin-bottom: 15px; }
.feedback-text ul { display: flex; flex-direction: column; gap: 10px; }
.feedback-text li { font-size: 0.95rem; color: var(--text-sub); display: flex; align-items: flex-start; gap: 8px; }
.feedback-text li::before { content: '✓'; color: #2ED47A; font-weight: bold; }
.feedback-img { flex: 0 0 200px; display: flex; align-items: center; justify-content: center; }
.feedback-img img { width: 100%; border-radius: var(--radius-md); border: 1px solid var(--border-pink); }

/* FAQ - Accordion */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
details.faq-item { background: var(--panel-1); border-radius: var(--radius-md); border: 1px solid var(--border-pink); overflow: hidden; }
details.faq-item summary { padding: 18px 20px; font-size: 1.05rem; font-weight: 600; color: #5B5BFF; cursor: pointer; list-style: none; position: relative; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: #5B5BFF; font-size: 1.2rem; transition: transform 0.3s; }
details.faq-item[open] summary::after { content: '-'; transform: translateY(-50%) rotate(180deg); }
details.faq-item .faq-ans { padding: 0 20px 18px; font-size: 0.95rem; color: var(--text-sub); border-top: 1px solid rgba(255,255,255,0.05); margin-top: 4px; padding-top: 12px; }

/* Download Section */
.download-sec { background: var(--bg-dark); border-top: 1px solid var(--border-yellow); border-bottom: 1px solid var(--border-yellow); }
.download-wrap { display: flex; gap: 40px; align-items: center; }
.download-info { flex: 1; }
.download-info h2 { text-align: left; margin-bottom: 20px; }
.download-info p { color: var(--text-sub); margin-bottom: 20px; font-size: 1.05rem; }
.dl-steps { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.dl-steps li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--text-main); }
.step-num { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--rainbow); color: var(--text-dark); font-size: 0.85rem; font-weight: bold; flex-shrink: 0; }
.download-btns { display: flex; flex-wrap: wrap; gap: 15px; }
.download-img { flex: 0 0 280px; }
.download-img img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--border-cyan); }

/* Footer */
footer { background: var(--bg-dark); padding: 40px 0 20px; font-size: 0.85rem; color: var(--text-sub); border-top: 1px solid var(--border-pink); }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-bottom: 30px; }
.footer-brand { max-width: 300px; }
.footer-brand p { margin-top: 10px; line-height: 1.6; }
.footer-nav { display: flex; gap: 50px; }
.footer-nav-col h4 { color: var(--text-main); margin-bottom: 12px; font-size: 0.95rem; }
.footer-nav-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-nav-col a { transition: color 0.2s; }
.footer-nav-col a:hover { color: #FFE14D; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; align-items: center; }
.footer-bottom a { color: var(--text-sub); }
.footer-bottom a:hover { color: #00C2FF; }
.about-details { margin-top: 15px; font-size: 0.8rem; }
.about-details summary { cursor: pointer; color: var(--text-sub); outline: none; }
.about-details summary:hover { color: #FFE14D; }
.about-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.about-links a { color: #5B5BFF; }

/* Floating Download */
.floating-dl { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--panel-1); border: 1px solid var(--border-yellow); border-radius: 40px; padding: 8px 20px 8px 12px; display: flex; align-items: center; gap: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.6); z-index: 99; transition: transform 0.2s; }
.floating-dl:hover { transform: translateX(-50%) translateY(-3px); }
.floating-dl img { width: 36px; height: 36px; border-radius: 8px; }
.floating-dl-info { display: flex; flex-direction: column; }
.floating-dl-info span { font-size: 0.85rem; font-weight: bold; color: var(--text-main); }
.floating-dl-info small { font-size: 0.7rem; color: var(--text-sub); }
.floating-dl a { background: var(--rainbow); color: var(--text-dark); padding: 6px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: bold; }

/* Copy Modal (For Baidu) */
.copy-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 999; display: none; align-items: center; justify-content: center; padding: 20px; }
.copy-modal.show { display: flex; }
.copy-modal-content { background: var(--panel-1); border: 1px solid var(--border-cyan); border-radius: var(--radius-lg); padding: 30px; max-width: 400px; width: 100%; text-align: center; }
.copy-modal-content p { margin-bottom: 20px; font-size: 1rem; color: var(--text-main); line-height: 1.5; }
.copy-input { width: 100%; padding: 12px; background: var(--bg-dark); border: 1px solid var(--border-pink); border-radius: 8px; color: #FFE14D; font-size: 0.9rem; margin-bottom: 20px; text-align: center; }
.copy-btn { width: 100%; padding: 12px; background: var(--rainbow); color: var(--text-dark); border: none; border-radius: 8px; font-weight: bold; cursor: pointer; }

@media (max-width: 1024px) {
  .hero h1 { font-size: 2rem; }
  .match-layout { flex-direction: column; }
  .match-img-box { flex: 0 0 300px; }
  .drama-grid { grid-template-columns: repeat(2, 1fr); }
  .download-wrap { flex-direction: column; }
  .download-img { flex: 0 0 auto; width: 100%; max-width: 400px; }
  .download-info h2 { text-align: center; }
  .dl-steps { align-items: center; }
  .download-btns { justify-content: center; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .mobile-toggle { display: block; }
  .hero { padding: 40px 0 10px; }
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: 0.95rem; }
  .hero-showcase { gap: 10px; }
  .showcase-item { width: 32%; border-radius: 8px; }
  .showcase-item:nth-child(2) { transform: translateY(10px); }
  .showcase-item:nth-child(2):hover { transform: translateY(5px) scale(1.02); }
  .comm-grid { grid-template-columns: 1fr; }
  .feedback-layout { flex-direction: column; }
  .feedback-img { flex: 0 0 auto; width: 100%; max-width: 250px; margin: 0 auto; }
  .footer-top { flex-direction: column; gap: 20px; }
  .footer-nav { flex-direction: column; gap: 20px; }
  .floating-dl { width: calc(100% - 40px); padding: 8px 15px 8px 10px; bottom: 15px; justify-content: space-between; }
  .floating-dl-info span { font-size: 0.8rem; }
  .floating-dl a { padding: 6px 12px; font-size: 0.8rem; }
  
  /* Mobile Collapsible Sections */
  .mobile-collapse-btn { display: flex; justify-content: center; align-items: center; width: 100%; background: var(--panel-1); border: 1px solid var(--border-pink); border-radius: 8px; padding: 12px; color: var(--text-main); font-size: 1rem; margin-bottom: 15px; cursor: pointer; }
  .mobile-collapse-content { display: none; }
  .mobile-collapse-content.active { display: block; }
  .sec-title { font-size: 1.5rem; }
}