:root {
    --bg-main: #121212;
    --bg-card: #1e1e24;
    --text-main: #e0e0e0;
    --text-muted: #888;
    --accent: #ff2a55;
    --accent-grad: linear-gradient(90deg, #ff2a55, #ff7a00, #ff2a55);
    --border-color: #333;
    --nav-bg: rgba(30, 30, 36, 0.95);
  }

  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    padding-bottom: 80px; /* Space for floating window */
  }

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

  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* Header */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
  }

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

  .logo-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
  }

  .nav-menu {
    display: flex;
    gap: 20px;
  }

  .nav-menu a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.3s;
    position: relative;
  }

  .nav-menu a:hover {
    color: var(--accent);
  }

  .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-grad);
    transition: width 0.3s;
  }

  .nav-menu a:hover::after {
    width: 100%;
  }

  .mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
  }

  /* Hero Section */
  .hero {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.3;
  }

  .hero p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 30px auto;
  }

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

  .hero-gallery img {
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 4/5;
    border: 1px solid var(--border-color);
  }

  .download-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.2s, opacity 0.2s;
  }

  .btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
  }

  .btn-primary {
    background: var(--accent-grad);
    color: #fff;
  }

  .btn-secondary {
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border-color);
  }

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

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

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

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

  .section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
  }

  .section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: var(--accent-grad);
    margin: 10px auto 0;
    border-radius: 2px;
  }

  /* Section Specific Backgrounds */
  #daily-gossip { background-color: #1a1a1a; max-width: 100%; border-radius: 0; }
  #weekly-hot { background-color: #141414; max-width: 100%; border-radius: 0; }
  #campus-events { background-color: #1c1c1c; max-width: 100%; border-radius: 0; }
  #social-events { background-color: #111; max-width: 100%; border-radius: 0; }
  #privacy { background-color: #1b1b1b; max-width: 100%; border-radius: 0; }
  #feedback { background-color: #121212; max-width: 100%; border-radius: 0; }
  #faq { background-color: #1e1e24; max-width: 100%; border-radius: 0; }

  /* 今日吃瓜 - Grid Layout */
  .gossip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }.gossip-card {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s;
  }
  .gossip-card:hover {
    border-color: var(--accent);
  }
  .gossip-card h3 {
    color: var(--accent);
    margin-bottom: 10px;
    font-size: 1.1rem;
  }
  .gossip-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
  }

  /* 本周热瓜 - Left-Right Layout */
  .weekly-layout {
    display: flex;
    gap: 30px;
    align-items: center;
  }
  .weekly-img {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
  }
  .weekly-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .weekly-list {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .weekly-item {
    background: #1e1e24;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
  }

  /* 校园大赛 - Tag layout */
  .campus-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
  }
  .campus-tag {
    background: #2a2a35;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid #444;
    transition: background 0.3s;
  }
  .campus-tag:hover {
    background: var(--accent);
  }

  /* 社会时间 - Timeline */
  .timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
  }
  .timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
  }
  .timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
  }
  .timeline-item.left { left: 0; text-align: right; }
  .timeline-item.right { left: 50%; text-align: left; }
  .timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--bg-main);
    border: 4px solid var(--accent);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
  }
  .timeline-item.right::after { left: -8px; }
  .timeline-content {
    padding: 15px;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border-color);
  }

  /* 隐私安全 & 意见反馈 - Two Column */
  .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .col-box {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
  }
  .col-box h3 {
    margin-bottom: 15px;
    color: #fff;
  }
  .col-box ul {
    list-style: none;
  }
  .col-box li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding-left: 15px;
    position: relative;
  }
  .col-box li::before {
    content: '•';
    color: var(--accent);
    position: absolute;
    left: 0;
  }

  /* FAQ - Accordion Style */
  .faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .faq-item {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
  }
  .faq-q {
    padding: 15px 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .faq-a {
    padding: 0 20px 15px 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: block; /* Default visible for no-JS */
  }

  /* Download Section */
  .download-area {
    text-align: center;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    max-width: 800px;
    margin: 0 auto;
  }
  .download-area img {
    max-width: 200px;
    margin: 0 auto 20px;
    border-radius: 12px;
  }
  .steps {
    text-align: left;
    max-width: 400px;
    margin: 0 auto 30px;
  }
  .steps ol {
    padding-left: 20px;
  }
  .steps li {
    margin-bottom: 10px;
    color: var(--text-muted);
  }

  /* Floating Window */
  .floating-download {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 30, 36, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 99;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  }
  .floating-download img {
    height: 30px;
    border-radius: 6px;
  }
  .floating-download .info {
    display: flex;
    flex-direction: column;
  }
  .floating-download .title {
    font-size: 0.9rem;
    font-weight: bold;
  }
  .floating-download .desc {
    font-size: 0.7rem;
    color: var(--text-muted);
  }
  .floating-download .btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  /* Footer */
  footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 40px;
  }
  footer p {
    margin-bottom: 10px;
  }

  /* Modal for Baidu App */
  .copy-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 999;
    align-items: center;
    justify-content: center;
  }
  .copy-modal {
    background: #222;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    max-width: 90%;
    width: 320px;
    border: 1px solid #444;
  }
  .copy-modal p {
    margin-bottom: 20px;
    font-size: 0.95rem;
  }
  .copy-modal .link-box {
    background: #111;
    padding: 10px;
    border-radius: 6px;
    word-break: break-all;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--accent);
    border: 1px solid var(--border-color);
  }

  /* Responsive */
  @media (max-width: 768px) {
    .nav-menu {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--bg-card);
      padding: 20px;
      border-bottom: 1px solid var(--border-color);
    }
    .nav-menu.active {
      display: flex;
    }
    .mobile-toggle {
      display: block;
    }
    .hero h1 {
      font-size: 1.8rem;
    }
    .hero-gallery {
      grid-template-columns: 1fr;
    }
    .weekly-layout, .two-col {
      flex-direction: column;
      grid-template-columns: 1fr;
    }
    .timeline::after {
      left: 31px;
    }
    .timeline-item {
      width: 100%;
      padding-left: 70px;
      padding-right: 25px;
      text-align: left;
    }
    .timeline-item.right {
      left: 0%;
    }
    .timeline-item::after, .timeline-item.right::after {
      left: 22px;
    }
    .floating-download {
      width: 90%;
      justify-content: space-between;
    }
  }