:root {
    --bg-main: #12141a;
    --bg-card: #1c202b;
    --bg-light: #232836;
    --text-main: #e2e6f0;
    --text-muted: #8e99b0;
    --accent: #ff4b72;
    --accent-gradient: linear-gradient(90deg, #ff4b72, #ff8a5c, #f9d423, #24c6dc, #514a9d, #ff4b72);
    --radius: 12px;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    padding-bottom: 80px;
    overflow-x: hidden;
  }

  a {
    text-decoration: none;
    color: inherit;
  }

  /* Header & Nav */
  header {
    background-color: var(--bg-card);
    border-bottom: 1px solid #2a3040;
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .header-top {
    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;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
  }

  .brand img {
    height: 32px;
    border-radius: 6px;
  }

  .nav-menu {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }
  .nav-menu::-webkit-scrollbar { display: none; }

  .nav-menu a {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-muted);
    transition: all 0.3s;
  }

  .nav-menu a:hover, .nav-menu a.active {
    background-color: var(--bg-light);
    color: var(--accent);
  }

  .mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    padding: 8px;
  }

  /* Hero Section */
  .hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 28px;
    margin-bottom: 15px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    line-height: 1.3;
  }

  .hero p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 25px;
  }

  .download-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .dl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: var(--bg-light);
    color: #fff;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: bold;
    border: 1px solid #3a4255;
    transition: all 0.3s;
  }

  .dl-btn:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
  }

  .hero-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
  }

  .hero-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    aspect-ratio: 3/4;
    transition: transform 0.4s;
  }

  .hero-gallery img:hover {
    transform: scale(1.03);
  }

  /* Marquee */
  .marquee-container {
    background-color: var(--bg-light);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid #3a4255;
    border-bottom: 1px solid #3a4255;
  }

  .marquee-content {
    display: inline-block;
    animation: scroll 15s linear infinite;
    font-weight: bold;
    font-size: 16px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  @keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* Sections */
  section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
  }

  .section-title {
    font-size: 22px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .section-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 20px;
    background-color: var(--accent);
    border-radius: 2px;
  }

  /* 今日吃瓜（卡片网格） */
  .section-chigua {
    background-color: #1a1d26;
  }
  .grid-chigua {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
  .card-chigua {
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: var(--radius);
    border-left: 3px solid var(--accent);
  }
  .card-chigua h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #fff;
  }
  .card-chigua p {
    font-size: 14px;
    color: var(--text-muted);
  }

  /* 本周热瓜（横向滚动/列表） */
  .section-regua {
    background-color: #181c28;
  }
  .list-regua {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .item-regua {
    display: flex;
    align-items: center;
    background-color: var(--bg-light);
    padding: 15px;
    border-radius: var(--radius);
    gap: 15px;
  }
  .item-regua .index {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent);
    opacity: 0.6;
    min-width: 30px;
  }
  .item-regua .content h3 {
    font-size: 15px;
    margin-bottom: 5px;
    color: #fff;
  }
  .item-regua .content p {
    font-size: 13px;
    color: var(--text-muted);
  }

  /* 校园大赛（图文交错） */
  .section-campus {
    background-color: #15202b;
  }
  .split-campus {
    display: flex;
    gap: 30px;
    align-items: stretch;
  }
  .split-campus .img-box {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
  }
  .split-campus .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
  }
  .split-campus .text-box {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .text-box-item {
    background-color: rgba(255,255,255,0.03);
    padding: 12px 15px;
    border-radius: 8px;
  }
  .text-box-item h3 {
    font-size: 15px;
    color: #fff;
    margin-bottom: 4px;
  }
  .text-box-item p {
    font-size: 13px;
    color: var(--text-muted);
  }

  /* 社会时间（时间轴样式） */
  .section-society {
    background-color: #1f1b24;
  }
  .timeline {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid #3a4255;
  }
  .timeline-item {
    position: relative;
    margin-bottom: 20px;
    padding-left: 15px;
  }
  .timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 5px;
    width: 10px;
    height: 10px;
    background-color: var(--accent);
    border-radius: 50%;
  }
  .timeline-item h3 {
    font-size: 15px;
    color: #fff;
    margin-bottom: 5px;
  }
  .timeline-item p {
    font-size: 13px;
    color: var(--text-muted);
  }

  /* 隐私安全（问答卡片） */
  .section-privacy {
    background-color: #1a231c;
  }
  .faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .faq-card {
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: var(--radius);
  }
  .faq-card h3 {
    font-size: 15px;
    color: #fff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .faq-card h3 span {
    background-color: var(--accent);
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
  }
  .faq-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
  }

  /* 意见反馈 & 常见问题 */
  .section-feedback-qa {
    background-color: #1c1d23;
  }
  .dual-col {
    display: flex;
    gap: 30px;
  }
  .col-feedback {
    flex: 1;
    background-color: var(--bg-card);
    padding: 25px;
    border-radius: var(--radius);
  }
  .col-feedback h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 15px;
  }
  .col-feedback p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
  }
  .col-feedback ul {
    list-style: none;
    padding-left: 0;
  }
  .col-feedback li {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
  }
  .col-feedback li::before {
    content: '•';
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: bold;
  }
  
  .col-qa {
    flex: 1;
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: var(--radius);
  }
  .col-qa h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 15px;
  }
  .qa-item {
    margin-bottom: 15px;
  }
  .qa-item h4 {
    font-size: 14px;
    color: #fff;
    margin-bottom: 5px;
  }
  .qa-item p {
    font-size: 13px;
    color: var(--text-muted);
  }

  /* 下载专区 */
  .section-download {
    background-color: #141820;
    text-align: center;
  }
  .section-download h2 {
    justify-content: center;
  }
  .dl-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
  }
  .dl-image {
    max-width: 300px;
    border-radius: var(--radius);
    overflow: hidden;
  }
  .dl-image img {
    width: 100%;
    display: block;
  }
  .dl-steps {
    text-align: left;
    background-color: var(--bg-card);
    padding: 25px;
    border-radius: var(--radius);
    max-width: 400px;
  }
  .dl-steps h3 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 15px;
  }
  .dl-steps ol {
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 14px;
  }
  .dl-steps ol li {
    margin-bottom: 10px;
  }

  /* Floating Download */
  .floating-dl {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(28, 32, 43, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 75, 114, 0.3);
    border-radius: 30px;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 999;
    width: max-content;
    max-width: 90vw;
  }
  .floating-dl img {
    height: 36px;
    border-radius: 8px;
  }
  .floating-dl .info {
    display: flex;
    flex-direction: column;
  }
  .floating-dl .info h4 {
    font-size: 13px;
    color: #fff;
    margin: 0;
  }
  .floating-dl .info p {
    font-size: 11px;
    color: var(--text-muted);
    margin: 0;
  }
  .floating-dl .btn {
    background-color: var(--accent);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
  }

  /* Footer */
  footer {
    background-color: #0b0d11;
    padding: 30px 20px;
    text-align: center;
    font-size: 12px;
    color: #555c6b;
    border-top: 1px solid #1c202b;
  }
  footer a {
    color: #555c6b;
    text-decoration: underline;
  }
  footer a:hover {
    color: #8e99b0;
  }
  footer .footer-links {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
  }

  /* Modal */
  .modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
  }
  .modal-overlay.show {
    display: flex;
  }
  .modal-box {
    background: var(--bg-card);
    padding: 25px;
    border-radius: var(--radius);
    width: 100%;
    max-width: 400px;
    text-align: center;
  }
  .modal-box p {
    font-size: 15px;
    color: #fff;
    margin-bottom: 15px;
  }
  .modal-box input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    background: var(--bg-light);
    border: 1px solid #3a4255;
    color: #fff;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
  }
  .modal-box button {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .nav-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background-color: var(--bg-card);
      flex-direction: column;
      padding: 15px;
      border-bottom: 1px solid #2a3040;
    }
    .nav-menu.show {
      display: flex;
    }
    .mobile-menu-btn {
      display: block;
    }
    .hero-gallery {
      grid-template-columns: 1fr 1fr;
    }
    .hero-gallery img:first-child {
      grid-column: span 2;
      aspect-ratio: 16/9;
    }
    .split-campus {
      flex-direction: column;
    }
    .faq-grid {
      grid-template-columns: 1fr;
    }
    .dual-col {
      flex-direction: column;
    }
    .floating-dl {
      width: calc(100% - 40px);
      justify-content: space-between;
    }
  }