:root {
--bg-main: #121214;
--bg-card: #1c1c1f;
--bg-card-alt: #242428;
--text-main: #f2f2f5;
--text-sub: #a3a3ab;
--accent: #e8335c;
--accent-grad: linear-gradient(90deg, #ff4b6b, #ff8a5c, #ffd05c);
--radius: 14px;
--gap: 20px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background-color: var(--bg-main); color: var(--text-main); line-height: 1.6; padding-bottom: 80px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; border-radius: var(--radius); }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; background-color: var(--bg-card); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.logo-area { display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 1.2rem; }
.logo-area img { height: 32px; width: auto; border-radius: 6px; }
.nav-desktop { display: none; }
@media (min-width: 1024px) {
.nav-desktop { display: flex; gap: 20px; font-size: 0.95rem; color: var(--text-sub); }
.nav-desktop a { transition: color 0.3s; }
.nav-desktop a:hover { color: var(--accent); }
}
.mobile-menu-btn { display: block; background: none; border: none; color: var(--text-main); font-size: 1.2rem; cursor: pointer; }
@media (min-width: 1024px) { .mobile-menu-btn { display: none; } }

/* Mobile Nav */
.mobile-nav { display: none; background-color: var(--bg-card-alt); padding: 10px 20px; flex-direction: column; gap: 10px; border-bottom: 1px solid #333; }
.mobile-nav.active { display: flex; }
.mobile-nav a { padding: 10px 0; border-bottom: 1px solid #333; color: var(--text-sub); }
.mobile-nav a:hover { color: var(--accent); }

/* Marquee */
.marquee-wrap { background: var(--bg-card-alt); padding: 10px 0; overflow: hidden; white-space: nowrap; border-bottom: 1px solid #2a2a2e; }
.marquee-text { display: inline-block; animation: scroll 15s linear infinite; font-weight: bold; background: var(--accent-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; padding-left: 100%; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* Main Section */
.section-title { font-size: 1.5rem; margin-bottom: 15px; color: var(--text-main); display: flex; align-items: center; gap: 10px; }
.section-title::before { content: ''; display: block; width: 4px; height: 18px; background: var(--accent); border-radius: 2px; }
.section-wrap { padding: 30px 20px; max-width: 1200px; margin: 0 auto; }
@media (min-width: 768px) { .section-wrap { padding: 40px 20px; } }

/* Hero */
.hero-section { background-color: #1a1b22; padding: 30px 20px; position: relative; overflow: hidden; }
.hero-inner { max-width: 1200px; margin: 0 auto; }
.hero-text { margin-bottom: 25px; }
.hero-text h1 { font-size: 1.8rem; line-height: 1.4; margin-bottom: 15px; background: var(--accent-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-text p { color: var(--text-sub); font-size: 1rem; margin-bottom: 20px; }
.hero-images { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.hero-images::-webkit-scrollbar { display: none; }
.hero-images img { height: 160px; width: auto; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.hero-downloads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 25px; }
@media (min-width: 768px) { .hero-downloads { display: flex; flex-wrap: wrap; gap: 15px; } }
.btn-download { display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; padding: 12px 20px; border-radius: 30px; font-weight: bold; transition: transform 0.2s, opacity 0.2s; text-align: center; font-size: 0.95rem; }
.btn-download:hover { transform: translateY(-2px); opacity: 0.9; }

/* Sections Styles */
.bg-alt { background-color: #18171d; }
.bg-alt2 { background-color: #161a1d; }
.bg-alt3 { background-color: #1d1819; }

/* Section 1: 今日吃瓜 (Left-Right text + vertical img) */
.split-layout { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 768px) { .split-layout { flex-direction: row; align-items: flex-start; } .split-layout .content-side { flex: 1; } .split-layout .img-side { flex: 0 0 300px; } }
.list-item { background: var(--bg-card); padding: 15px; border-radius: 10px; margin-bottom: 10px; border-left: 3px solid var(--accent); }
.list-item h3 { font-size: 1.1rem; margin-bottom: 5px; color: #fff; }
.list-item p { font-size: 0.9rem; color: var(--text-sub); }
.img-side img { width: 100%; height: 100%; object-fit: cover; min-height: 400px; }

/* Section 2: 本周热瓜 (Grid Card style) */
.grid-cards { display: grid; grid-template-columns: 1fr; gap: 15px; }
@media (min-width: 768px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-cards { grid-template-columns: repeat(3, 1fr); } }
.card-item { background: var(--bg-card-alt); padding: 15px; border-radius: var(--radius); border: 1px solid #333; }
.card-item h3 { font-size: 1.05rem; margin-bottom: 8px; color: #ffd05c; }
.card-item p { font-size: 0.9rem; color: var(--text-sub); }

/* Section 3: 校园大赛 (Q&A Style) with Logo Avatar */
.qa-list { display: flex; flex-direction: column; gap: 15px; }
.qa-item { display: flex; gap: 15px; background: var(--bg-card); padding: 15px; border-radius: 12px; }
.qa-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; background-color: #333; }
.qa-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: contain; }
.qa-content h3 { font-size: 1rem; margin-bottom: 5px; color: var(--text-main); }
.qa-content p { font-size: 0.9rem; color: var(--text-sub); }

/* Section 4: 社会时间 (Horizontal Scroll Style) */
.scroll-row { display: flex; gap: 15px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.scroll-row::-webkit-scrollbar { display: none; }
.scroll-card { flex: 0 0 250px; background: var(--bg-card); padding: 15px; border-radius: 12px; }
.scroll-card h3 { font-size: 1rem; margin-bottom: 5px; color: #fff; }
.scroll-card p { font-size: 0.85rem; color: var(--text-sub); }

/* Section 5: 隐私安全 (List block) */
.list-block { background: var(--bg-card); border-radius: 12px; padding: 20px; }
.list-block ul { list-style: none; }
.list-block li { padding: 10px 0; border-bottom: 1px solid #333; font-size: 0.95rem; color: var(--text-main); display: flex; align-items: flex-start; gap: 10px; }
.list-block li::before { content: '•'; color: var(--accent); font-weight: bold; }
.list-block li:last-child { border-bottom: none; }

/* Section 6: 意见反馈 (Interactive Cards) */
.feedback-cards { display: grid; grid-template-columns: 1fr; gap: 15px; }
@media (min-width: 768px) { .feedback-cards { grid-template-columns: repeat(2, 1fr); } }
.feedback-card { background: #2a2123; padding: 15px; border-radius: 10px; border-left: 3px solid #ff8a5c; }
.feedback-card h3 { font-size: 1rem; margin-bottom: 5px; color: #ff8a5c; }
.feedback-card p { font-size: 0.9rem; color: var(--text-sub); }

/* Section 7: 常见问题 (Accordion like style) */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--bg-card-alt); border-radius: 10px; padding: 15px; }
.faq-item h3 { font-size: 1rem; margin-bottom: 5px; color: #ffd05c; }
.faq-item p { font-size: 0.9rem; color: var(--text-sub); }

/* Downloads & Steps Section */
.download-area { background: linear-gradient(135deg, #1f1a24, #2a1f2e); padding: 30px 20px; border-radius: 20px; margin: 20px auto; max-width: 1200px; display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 768px) { .download-area { flex-direction: row; align-items: center; } }
.download-text { flex: 1; }
.download-text h2 { font-size: 1.5rem; margin-bottom: 15px; color: #fff; }
.step-item { margin-bottom: 10px; display: flex; gap: 10px; align-items: flex-start; }
.step-num { background: var(--accent); color: #fff; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: bold; flex-shrink: 0; margin-top: 2px; }
.step-text { font-size: 0.95rem; color: var(--text-sub); }
.download-img { flex: 0 0 200px; display: flex; justify-content: center; }
.download-img img { width: 100%; max-width: 200px; object-fit: cover; border-radius: 12px; }
.download-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* Floating Download */
.floating-bar { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: rgba(26, 26, 30, 0.95); backdrop-filter: blur(10px); padding: 10px 20px; border-radius: 40px; display: flex; align-items: center; gap: 15px; box-shadow: 0 4px 20px rgba(0,0,0,0.5); border: 1px solid #333; z-index: 1000; width: 90%; max-width: 400px; justify-content: space-between; }
.floating-bar img { height: 32px; border-radius: 8px; }
.floating-info { flex: 1; }
.floating-info h4 { font-size: 0.9rem; margin: 0; color: #fff; }
.floating-info p { font-size: 0.75rem; margin: 0; color: var(--text-sub); }
.floating-btn { background: var(--accent); color: #fff; padding: 8px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: bold; white-space: nowrap; }

/* Footer */
.site-footer { background-color: #111; padding: 30px 20px 20px; text-align: center; color: var(--text-sub); font-size: 0.85rem; margin-top: 40px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-bottom: 15px; }
.footer-nav a:hover { color: var(--accent); }
.footer-copy { margin-bottom: 10px; }
.footer-time { margin-bottom: 15px; font-size: 0.75rem; color: #666; }

/* Baidu Copy Modal */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 2000; align-items: center; justify-content: center; }
.modal-content { background: #fff; color: #333; padding: 25px; border-radius: 15px; width: 80%; max-width: 320px; text-align: center; }
.modal-content p { margin-bottom: 15px; font-size: 0.95rem; }
.modal-btn { background: var(--accent); color: #fff; border: none; padding: 10px 20px; border-radius: 20px; font-size: 1rem; cursor: pointer; width: 100%; }