:root {
  --bg-main: #0B0D1F;
  --bg-dark: #141833;
  --panel-1: #1C2145;
  --panel-2: #262C58;
  --rainbow: linear-gradient(90deg, #FF3D81, #FF8A00, #FFE14D, #2ED47A, #00C2FF, #5B5BFF, #B93DFF);
  --border-1: rgba(255,61,129,.18);
  --border-2: rgba(255,225,77,.16);
  --border-3: rgba(0,194,255,.18);
  --text-main: #FFFFFF;
  --text-sub: #A0A8C0;
  --text-dark: #0B0D1F;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 80px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.hidden-mobile { display: block; }
.mobile-only { display: none; }

/* Header */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,13,31,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-1);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 15px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo-area { display: flex; align-items: center; gap: 10px; }
.logo-area img { height: 32px; width: auto; border-radius: 4px; }
.logo-area span { font-weight: bold; font-size: 18px; background: var(--rainbow); -webkit-background-clip: text; color: transparent; background-clip: text; }
.nav-desktop { display: flex; gap: 20px; font-size: 14px; }
.nav-desktop a { color: var(--text-main); transition: color 0.3s; position: relative; padding-bottom: 4px; }
.nav-desktop a:hover { color: #00C2FF; }
.nav-desktop a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--rainbow); transition: width 0.3s; }
.nav-desktop a:hover::after { width: 100%; }
.mobile-menu-btn { display: none; background: none; border: none; color: white; font-size: 24px; cursor: pointer; }
.nav-mobile {
  display: none; flex-direction: column; gap: 10px; padding: 15px 20px;
  background: var(--panel-1); border-bottom: 1px solid var(--border-2);
}
.nav-mobile a { color: var(--text-main); font-size: 15px; padding: 8px 0; border-bottom: 1px solid var(--border-1); }
.nav-mobile a:hover { color: #FF8A00; }

/* Hero */
.hero { padding: 40px 20px; max-width: 1200px; margin: 0 auto; text-align: center; }
.hero h1 {
  font-size: 2.5rem; margin-bottom: 15px; line-height: 1.3;
  background: var(--rainbow); -webkit-background-clip: text; color: transparent; background-clip: text;
}
.hero p { color: var(--text-sub); font-size: 1.1rem; margin-bottom: 30px; max-width: 800px; margin-left: auto; margin-right: auto; }
.hero-images { display: flex; gap: 15px; justify-content: center; margin-bottom: 30px; }
.hero-images .hero-img-item { flex: 1; max-width: 320px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-3); position: relative; }
.hero-images img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.hero-downloads { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.dl-btn {
  padding: 12px 24px; border-radius: 30px; font-weight: bold; font-size: 15px;
  background: var(--rainbow); color: var(--text-dark);
  border: none; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(91,91,255,0.3);
}
.dl-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,61,129,0.4); }

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

/* Sections Common */
section { padding: 40px 20px; max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 2rem; margin-bottom: 10px; text-align: center; }
.section-desc { text-align: center; color: var(--text-sub); margin-bottom: 30px; font-size: 1rem; }

/* Daily Gossip (Style 1: Timeline/List) */
.gossip-list { display: flex; flex-direction: column; gap: 15px; }
.gossip-item {
  background: var(--panel-1); border: 1px solid var(--border-2); border-radius: 12px;
  padding: 15px; display: flex; gap: 15px; align-items: flex-start;
  transition: border-color 0.3s;
}
.gossip-item:hover { border-color: #FFE14D; }
.gossip-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; border: 1px solid var(--border-3); }
.gossip-content h3 { font-size: 1.1rem; color: #FFE14D; margin-bottom: 5px; }
.gossip-content p { color: var(--text-sub); font-size: 0.95rem; }

/* Today's Hot Gua (Style 2: Grid cards) */
.hot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.hot-card {
  background: var(--panel-2); border: 1px solid var(--border-3); border-radius: 12px;
  padding: 20px; transition: transform 0.3s;
}
.hot-card:hover { transform: translateY(-5px); }
.hot-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: #00C2FF; }
.hot-card p { color: var(--text-sub); font-size: 0.95rem; }

/* Campus Contrast (Style 3: Split vertical image + text) */
.campus-split { display: flex; gap: 30px; align-items: stretch; }
.campus-left { flex: 1; max-width: 350px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-1); }
.campus-left img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.campus-right { flex: 2; display: flex; flex-direction: column; justify-content: space-between; }
.campus-right h3 { font-size: 1.5rem; margin-bottom: 15px; color: #FF8A00; }
.campus-texts { display: flex; flex-direction: column; gap: 15px; }
.campus-text-item { background: var(--panel-1); padding: 15px; border-radius: 8px; border-left: 3px solid #FF3D81; }
.campus-text-item h4 { color: #FF3D81; margin-bottom: 5px; }
.campus-text-item p { color: var(--text-sub); font-size: 0.95rem; }

/* Daily Competition (Style 4: FAQ Accordion style) */
.faq-container { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--panel-2); border: 1px solid var(--border-1); border-radius: 8px; overflow: hidden; }
.faq-q { padding: 15px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: bold; color: #2ED47A; transition: background 0.3s; }
.faq-q:hover { background: rgba(255,255,255,0.05); }
.faq-a { padding: 0 20px 15px; color: var(--text-sub); font-size: 0.95rem; display: block; }

/* Privacy & Feedback (Style 5: Flex badges) */
.privacy-flex { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
.privacy-badge { background: var(--panel-1); border: 1px solid var(--border-2); padding: 15px 25px; border-radius: 30px; display: flex; align-items: center; gap: 10px; }
.privacy-badge h3 { font-size: 1rem; color: #B93DFF; margin: 0; }
.privacy-badge p { font-size: 0.9rem; color: var(--text-sub); margin: 0; }

/* Download Area */
.download-section { background: var(--bg-dark); padding: 60px 20px; border-top: 1px solid var(--border-3); border-bottom: 1px solid var(--border-3); text-align: center; }
.download-content { max-width: 600px; margin: 0 auto; }
.download-content h2 { font-size: 2rem; background: var(--rainbow); -webkit-background-clip: text; color: transparent; background-clip: text; margin-bottom: 20px; }
.steps-list { text-align: left; margin-bottom: 30px; background: var(--panel-2); padding: 20px; border-radius: 12px; border: 1px solid var(--border-1); }
.steps-list li { margin-bottom: 10px; color: var(--text-sub); font-size: 1rem; }
.steps-list strong { color: var(--text-main); }
.download-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* Floating Download */
.floating-dl {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: rgba(28,33,69,0.95); backdrop-filter: blur(5px);
  border: 1px solid #FF3D81; border-radius: 40px; padding: 10px 20px;
  display: flex; align-items: center; gap: 15px; z-index: 999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5); transition: transform 0.3s;
}
.floating-dl:hover { transform: translateX(-50%) translateY(-3px); }
.floating-dl img { height: 28px; width: auto; }
.floating-info { display: flex; flex-direction: column; }
.floating-info span:first-child { font-size: 14px; font-weight: bold; color: #FFE14D; }
.floating-info span:last-child { font-size: 12px; color: var(--text-sub); }
.floating-btn {
  background: var(--rainbow); color: var(--text-dark); font-weight: bold; border: none;
  padding: 8px 16px; border-radius: 20px; cursor: pointer; font-size: 14px;
}

/* Footer */
footer {
  background: var(--bg-main); padding: 30px 20px; text-align: center;
  font-size: 12px; color: var(--text-sub); border-top: 1px solid var(--border-2);
}
.footer-brand { margin-bottom: 10px; }
.footer-links { margin-bottom: 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.footer-links a { color: var(--text-sub); }
.footer-links a:hover { color: #FF8A00; }
.footer-beian { margin-bottom: 10px; }
.footer-beian a { color: var(--text-sub); }
.footer-beian a:hover { color: #00C2FF; }
.footer-time { margin-bottom: 15px; font-size: 11px; }
.about-us-details { margin-top: 15px; text-align: left; max-width: 800px; margin-left: auto; margin-right: auto; }
.about-us-details summary { list-style: none; cursor: pointer; display: inline-block; font-size: 12px; color: var(--text-sub); border-bottom: 1px dashed var(--border-1); padding-bottom: 2px; }
.about-us-details summary::-webkit-details-marker { display: none; }
.about-us-details summary:focus { outline: 1px solid #00C2FF; outline-offset: 2px; }
.about-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 15px; padding: 15px; background: var(--panel-1); border-radius: 8px; border: 1px solid var(--border-2); font-size: 12px; }
.about-links a { color: var(--text-sub); }
.about-links a:hover { color: #FFE14D; }

/* Responsive */
@media (max-width: 1023px) {
  .hero h1 { font-size: 2rem; }
  .hero-images { flex-wrap: wrap; }
  .hero-images .hero-img-item { max-width: 45%; }
  .campus-split { flex-direction: column; align-items: center; }
  .campus-left { max-width: 100%; width: 100%; }
  .campus-left img { aspect-ratio: 16/9; }
  .campus-right { width: 100%; }
}

@media (max-width: 767px) {
  .nav-desktop { display: none; }
  .mobile-menu-btn { display: block; }
  .hero { padding: 20px 15px; }
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: 0.95rem; }
  .hero-images .hero-img-item { max-width: 100%; }
  .hero-downloads { gap: 8px; }
  .dl-btn { width: 100%; text-align: center; padding: 10px 15px; }
  .section-title { font-size: 1.5rem; }
  .hot-grid { grid-template-columns: 1fr; }
  .floating-dl { width: 90%; padding: 8px 15px; justify-content: space-between; }
  .floating-info span:last-child { display: none; }
  .floating-btn { padding: 6px 12px; font-size: 13px; }
  .footer-links { gap: 10px; }
}