:root {
  --bg-main: #0d0d12;
  --bg-dark: #16161f;
  --bg-card: #1e1e2a;
  --bg-light: #f4f0ea;
  --text-main: #e8e6e3;
  --text-muted: #9a98a0;
  --text-dark: #222;
  --accent: #ff2a5f;
  --accent-glow: #ff6b8a;
  --gold: #d4af37;
  --cyan: #00e5ff;
  --purple: #9c27b0;
  --radius: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font); background: var(--bg-main); color: var(--text-main); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* Header */
header { position: sticky; top: 0; z-index: 100; background: rgba(13, 13, 18, 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.05); }
.top-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; max-width: 1200px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 34px; width: auto; border-radius: 6px; }
.brand-name { font-size: 18px; font-weight: 700; background: linear-gradient(90deg, #fff, #ffb3c6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; white-space: nowrap; }
.mobile-menu-btn { display: none; background: none; border: 1px solid var(--text-muted); color: var(--text-main); padding: 6px 12px; border-radius: 6px; font-size: 14px; cursor: pointer; }
nav { max-width: 1200px; margin: 0 auto; padding: 0 20px 10px; }
.nav-list { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.nav-list a { position: relative; padding: 6px 12px; font-size: 14px; color: var(--text-muted); border-radius: 6px; transition: all 0.25s ease; white-space: nowrap; }
.nav-list a:hover { color: #fff; background: rgba(255, 42, 95, 0.15); }
.nav-list a::after { content: ''; position: absolute; bottom: 2px; left: 50%; width: 0; height: 2px; background: var(--accent); transition: all 0.25s ease; transform: translateX(-50%); }
.nav-list a:hover::after { width: 60%; }

/* Hero */
.hero { position: relative; padding: 60px 20px 40px; overflow: hidden; background: radial-gradient(circle at 20% 30%, rgba(255,42,95,0.15) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(156,39,176,0.15) 0%, transparent 50%); }
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-content h1 { font-size: 42px; line-height: 1.2; margin-bottom: 16px; font-weight: 800; }
.hero-content h1 span { background: linear-gradient(90deg, var(--accent), var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { font-size: 16px; color: var(--text-muted); margin-bottom: 28px; max-width: 90%; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.hero-badges span { font-size: 12px; padding: 4px 10px; border-radius: 20px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); color: #ccc; }
.download-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 8px; font-size: 15px; font-weight: 600; transition: all 0.3s ease; cursor: pointer; border: none; }
.btn-primary { background: linear-gradient(135deg, var(--accent), #ff6b3d); color: #fff; box-shadow: 0 4px 15px rgba(255,42,95,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,42,95,0.5); }
.btn-secondary { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.btn-secondary:hover { background: rgba(255,255,255,0.15); }

/* Hero Gallery */
.hero-gallery { position: relative; }
.carousel-track { display: flex; gap: 12px; transition: transform 0.5s ease; }
.carousel-track img { width: calc(50% - 6px); border-radius: var(--radius); object-fit: cover; aspect-ratio: 3/4; flex-shrink: 0; box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.carousel-container { overflow: hidden; border-radius: var(--radius); }

/* Marquee */
.marquee-wrap { margin-top: 30px; padding: 12px 0; background: rgba(0,0,0,0.4); border-radius: 8px; overflow: hidden; white-space: nowrap; position: relative; }
.marquee-track { display: inline-block; animation: marquee 25s linear infinite; }
.marquee-track span { display: inline-block; padding: 0 24px; font-size: 15px; font-weight: 700; background: linear-gradient(90deg, #ff2a5f, #ffb347, #00e5ff, #9c27b0); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Sections */
section { padding: 60px 20px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 32px; font-weight: 800; margin-bottom: 10px; text-align: center; }
.section-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 40px; font-size: 15px; }

/* Real People Short Drama */
.section-real { background: var(--bg-dark); }
.drama-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.drama-card { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.drama-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.5); }
.drama-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.drama-info { padding: 14px; }
.drama-info h3 { font-size: 16px; margin-bottom: 6px; }
.drama-info p { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.drama-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.drama-tags span { font-size: 11px; padding: 2px 8px; border-radius: 4px; background: rgba(255,42,95,0.15); color: var(--accent-glow); }
.drama-meta { display: flex; justify-content: space-between; font-size: 12px; color: #777; }

/* Completed Modified Drama */
.section-completed { background: var(--bg-main); }
.completed-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.completed-item { display: flex; gap: 16px; background: var(--bg-card); padding: 14px; border-radius: var(--radius); transition: background 0.3s; }
.completed-item:hover { background: #252536; }
.completed-item img { width: 80px; height: 106px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.completed-text h3 { font-size: 16px; margin-bottom: 4px; }
.completed-text p { font-size: 13px; color: var(--text-muted); line-height: 1.4; margin-bottom: 6px; }
.completed-text .date { font-size: 12px; color: #666; }

/* Hot Ranking */
.section-ranking { background: linear-gradient(180deg, #1a1020, var(--bg-main)); }
.rank-list { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin: 0 auto; }
.rank-item { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,0.04); padding: 14px 20px; border-radius: var(--radius); border-left: 4px solid transparent; transition: all 0.3s; }
.rank-item:hover { background: rgba(255,255,255,0.08); border-left-color: var(--accent); }
.rank-num { font-size: 20px; font-weight: 800; color: var(--accent); width: 30px; text-align: center; }
.rank-item:nth-child(2) .rank-num { color: var(--gold); }
.rank-item:nth-child(3) .rank-num { color: #c0c0c0; }
.rank-info { flex: 1; }
.rank-info h3 { font-size: 16px; margin-bottom: 2px; }
.rank-info p { font-size: 13px; color: var(--text-muted); }
.rank-score { font-size: 14px; font-weight: 700; color: var(--gold); }

/* Hot Reviews */
.section-reviews { background: var(--bg-dark); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.review-card { background: var(--bg-card); padding: 18px; border-radius: var(--radius); position: relative; }
.review-card::before { content: '"'; position: absolute; top: 10px; right: 16px; font-size: 48px; color: rgba(255,42,95,0.15); font-weight: 800; line-height: 1; }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-header img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.review-header .name { font-size: 14px; font-weight: 600; }
.review-header .name span { font-weight: 400; font-size: 12px; color: var(--text-muted); display: block; }
.review-card p { font-size: 14px; color: #ccc; line-height: 1.5; }

/* Membership */
.section-member { background: linear-gradient(180deg, var(--bg-main), #121820); }
.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.member-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); padding: 24px; border-radius: var(--radius); text-align: center; }
.member-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--cyan); }
.member-card p { font-size: 14px; color: var(--text-muted); }

/* Privacy */
.section-privacy { background: #f4f0ea; color: var(--text-dark); }
.section-privacy .section-title { color: var(--text-dark); }
.section-privacy .section-subtitle { color: #666; }
.privacy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.privacy-item { background: #fff; padding: 20px; border-radius: var(--radius); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.privacy-item h3 { font-size: 16px; margin-bottom: 8px; color: #333; }
.privacy-item p { font-size: 14px; color: #555; }

/* Feedback */
.section-feedback { background: var(--bg-dark); }
.feedback-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.feedback-item { border-left: 3px solid var(--premium-purple, #9c27b0); padding-left: 16px; }
.feedback-item h3 { font-size: 16px; margin-bottom: 6px; }
.feedback-item p { font-size: 14px; color: var(--text-muted); }

/* FAQ */
.section-faq { background: var(--bg-main); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; }
.faq-q { padding: 16px 20px; font-size: 16px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-q::after { content: '+'; font-size: 20px; color: var(--accent); transition: transform 0.3s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { padding: 0 20px 16px; font-size: 14px; color: var(--text-muted); display: none; }
.faq-item.open .faq-a { display: block; }

/* Minor Protection */
.section-minor { background: #121820; }
.minor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.minor-item { background: rgba(0,229,255,0.05); border: 1px solid rgba(0,229,255,0.1); padding: 20px; border-radius: var(--radius); }
.minor-item h3 { font-size: 16px; margin-bottom: 8px; color: var(--cyan); }
.minor-item p { font-size: 14px; color: var(--text-muted); }

/* Download Section */
.section-download { background: linear-gradient(135deg, #1a1020, #0d0d12); text-align: center; }
.download-box { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 40px 20px; max-width: 800px; margin: 0 auto; }
.download-box h2 { font-size: 28px; margin-bottom: 12px; }
.download-box p { font-size: 15px; color: var(--text-muted); margin-bottom: 24px; }
.download-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 30px; }
.step { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #ccc; }
.step span { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; }

/* Footer */
footer { padding: 40px 20px 80px; text-align: center; border-top: 1px solid rgba(255,255,255,0.05); font-size: 12px; color: #666; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 16px; }
.footer-nav a { color: #888; transition: color 0.3s; }
.footer-nav a:hover { color: #fff; }
footer p { margin-bottom: 8px; }
footer a[href*="beian"] { color: #666; }
footer a[href*="beian"]:hover { color: #999; }
footer time { color: #555; }

/* Floating Download */
.floating-download { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 99; background: linear-gradient(135deg, var(--accent), #ff6b3d); border-radius: 50px; padding: 12px 24px; display: flex; align-items: center; gap: 10px; box-shadow: 0 6px 24px rgba(255,42,95,0.5); cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; white-space: nowrap; }
.floating-download:hover { transform: translateX(-50%) translateY(-3px); box-shadow: 0 8px 30px rgba(255,42,95,0.7); }
.floating-download img { height: 24px; width: 24px; border-radius: 4px; }
.floating-download span { font-size: 14px; font-weight: 600; color: #fff; }

/* Download Modal */
.download-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 999; align-items: center; justify-content: center; padding: 20px; }
.download-modal.show { display: flex; }
.modal-content { background: var(--bg-card); padding: 30px 24px; border-radius: var(--radius); max-width: 400px; width: 100%; text-align: center; }
.modal-content h3 { font-size: 18px; margin-bottom: 12px; color: #fff; }
.modal-content p { font-size: 15px; color: var(--text-muted); margin-bottom: 16px; }
.modal-content input { width: 100%; padding: 10px 12px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.15); background: rgba(0,0,0,0.3); color: #fff; font-size: 14px; margin-bottom: 16px; }
.modal-content .close-btn { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); padding: 8px 20px; border-radius: 6px; cursor: pointer; font-size: 14px; }

/* Mobile Responsive */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-content h1 { font-size: 34px; }
  .hero-content { text-align: center; }
  .hero-desc { max-width: 100%; }
  .hero-badges { justify-content: center; }
  .download-buttons { justify-content: center; }
  .nav-list { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 5px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .nav-list::-webkit-scrollbar { display: none; }
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }
  .nav-list { display: none; flex-direction: column; gap: 2px; padding: 10px 0; }
  .nav-list.active { display: flex; }
  .nav-list a { padding: 10px 16px; border-radius: 6px; font-size: 15px; }
  .hero-content h1 { font-size: 26px; }
  .hero-desc { font-size: 14px; }
  .btn { padding: 10px 18px; font-size: 13px; }
  .carousel-track img { width: 100%; }
  .section-title { font-size: 24px; }
  .drama-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .completed-list { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .member-grid { grid-template-columns: 1fr; }
  .privacy-grid { grid-template-columns: 1fr; }
  .feedback-grid { grid-template-columns: 1fr; }
  .minor-grid { grid-template-columns: 1fr; }
  .download-steps { flex-direction: column; align-items: center; }
  .floating-download { padding: 10px 18px; bottom: 15px; }
  .floating-download span { font-size: 12px; }
  .floating-download img { height: 20px; width: 20px; }
}