:root {
    --bg-main: #121212;
    --bg-card: #1e1e1e;
    --bg-card-hover: #2a2a2a;
    --primary: #e50914;
    --primary-hover: #ff1a25;
    --text-main: #f5f5f5;
    --text-muted: #a0a0a0;
    --border-color: #333;
    --radius: 12px;
    --font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --gradient-marquee: linear-gradient(90deg, #ff007f, #7f00ff, #00d2ff, #ff007f);
  }

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

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

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

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

  /* Header Navigation */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 0 16px;
  }

  .header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
  }

  .logo-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 18px;
    color: var(--text-main);
  }

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

  .nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
  }

  .nav-links a {
    color: var(--text-muted);
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
  }

  .nav-links a:hover {
    color: var(--primary);
  }

  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
  }

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

  .mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 24px;
    cursor: pointer;
  }

  /* Hero Section */
  .hero-section {
    padding: 40px 16px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .hero-text {
    text-align: center;
  }

  .hero-text h1 {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #fff, #b3b3b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .hero-text p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Download Buttons */
  .download-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
  }

  .btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #b30000);
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
    gap: 8px;
  }

  .btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.5);
  }

  .btn-download.secondary {
    background: #333;
    box-shadow: none;
  }
  
  .btn-download.secondary:hover {
    background: #444;
  }

  /* Hero Gallery */
  .hero-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 10px;
  }

  .hero-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
  }

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

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

  @keyframes marquee {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
  }

  /* Sections Common */
  .section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 16px;
  }

  .section-title {
    font-size: 22px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .section-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 20px;
    background-color: var(--primary);
    border-radius: 2px;
  }

  /* Theme variations */
  .section-theme-1 { background-color: #181818; }
  .section-theme-2 { background-color: #1f1a17; }
  .section-theme-3 { background-color: #151b22; }
  .section-theme-4 { background-color: #1c251a; }
  .section-theme-5 { background-color: #221a25; }

  /* Card Grid (Today's Gossip) */
  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
  }

  .gossip-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 16px;
    border: 1px solid var(--border-color);
    display: flex;
    gap: 12px;
    transition: background 0.3s;
  }

  .gossip-card:hover {
    background: var(--bg-card-hover);
  }

  .gossip-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
  }

  .gossip-content h3 {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .gossip-content p {
    font-size: 13px;
    color: var(--text-muted);
  }

  /* Weekly Hot List */
  .hot-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .hot-item {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border-radius: 8px;
    padding: 12px 16px;
    border-left: 4px solid var(--primary);
  }

  .hot-rank {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary);
    width: 40px;
    flex-shrink: 0;
  }

  .hot-info {
    flex-grow: 1;
  }

  .hot-info h3 {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .hot-info p {
    font-size: 13px;
    color: var(--text-muted);
  }

  /* Campus Split Layout */
  .split-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
  }

  .split-image {
    flex: 0 0 40%;
    border-radius: var(--radius);
    overflow: hidden;
  }

  .split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3/4;
  }

  .split-content {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .campus-item {
    background: var(--bg-card);
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    border: 1px solid transparent;
    transition: border-color 0.3s;
  }

  .campus-item:hover {
    border-color: var(--primary);
  }
  
  .campus-item span {
    display: inline-block;
    background: #333;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 6px;
    color: #ccc;
  }

  /* Contrast Gallery Grid */
  .contrast-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .contrast-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .contrast-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }

  .contrast-text {
    padding: 12px;
    font-size: 14px;
  }

  /* FAQ Section */
  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .faq-item {
    background: var(--bg-card);
    border-radius: 8px;
    padding: 16px;
    border: 1px solid var(--border-color);
  }

  .faq-question {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 8px;
    color: #fff;
  }

  .faq-answer {
    font-size: 14px;
    color: var(--text-muted);
  }

  /* Privacy Policy */
  .privacy-box {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 24px;
    border-left: 4px solid #2e7d32;
  }

  .privacy-box p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
  }

  .privacy-box ul {
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 14px;
  }

  .privacy-box li {
    margin-bottom: 8px;
  }

  /* Download Section Bottom */
  .bottom-download {
    text-align: center;
    padding: 40px 16px;
    background: linear-gradient(to bottom, var(--bg-main), #0a0a0a);
  }

  .bottom-download img.app-img {
    max-width: 200px;
    margin: 0 auto 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }

  /* Floating Download Bottom */
  .floating-download {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid #444;
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
    z-index: 1000;
    width: 90%;
    max-width: 400px;
    justify-content: space-between;
  }

  .floating-download .logo-small {
    height: 30px;
    border-radius: 4px;
  }

  .floating-download .text-info {
    flex-grow: 1;
    margin-left: 8px;
  }

  .floating-download .title {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 2px;
  }

  .floating-download .size {
    font-size: 11px;
    color: var(--text-muted);
  }

  .floating-download .btn-float-dl {
    background: var(--primary);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
  }

  /* Footer */
  .site-footer {
    background: #0a0a0a;
    padding: 40px 16px 20px;
    font-size: 13px;
    color: var(--text-muted);
    border-top: 1px solid #222;
  }

  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 10px;
  }

  .footer-links a {
    color: var(--text-muted);
    transition: color 0.3s;
  }

  .footer-links a:hover {
    color: #fff;
  }

  .footer-copyright {
    line-height: 1.8;
  }

  .footer-copyright a {
    color: var(--text-muted);
    text-decoration: underline;
  }

  .update-time {
    font-size: 12px;
    margin-top: 10px;
    opacity: 0.7;
  }

  /* Popup for Baidu iOS */
  .copy-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
  }
  
  .copy-popup-overlay.active {
    display: flex;
  }

  .copy-popup {
    background: #222;
    padding: 24px;
    border-radius: 16px;
    width: 85%;
    max-width: 320px;
    text-align: center;
    border: 1px solid #444;
  }

  .copy-popup p {
    font-size: 14px;
    margin-bottom: 16px;
    color: #fff;
    line-height: 1.5;
  }

  .copy-popup input {
    width: 100%;
    padding: 10px;
    background: #111;
    border: 1px solid #444;
    color: #fff;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 12px;
    text-align: center;
  }

  .copy-popup button {
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .nav-links {
      display: none;
      position: absolute;
      top: 60px;
      left: 0;
      right: 0;
      background: rgba(18, 18, 18, 0.98);
      flex-direction: column;
      padding: 20px;
      gap: 15px;
      border-bottom: 1px solid var(--border-color);
      backdrop-filter: blur(10px);
    }

    .nav-links.show {
      display: flex;
    }

    .mobile-menu-btn {
      display: block;
    }

    .hero-text h1 {
      font-size: 22px;
    }

    .hero-gallery {
      grid-template-columns: 1fr;
    }

    .hero-gallery img {
      height: 160px;
    }

    .split-layout {
      flex-direction: column;
    }

    .split-image {
      width: 100%;
      flex: none;
    }

    .split-image img {
      aspect-ratio: 16/9;
      height: 200px;
    }

    .split-content {
      grid-template-columns: 1fr;
    }

    .contrast-grid {
      grid-template-columns: 1fr;
    }

    .contrast-card img {
      height: 200px;
    }

    .floating-download {
      width: 95%;
      bottom: 10px;
      padding: 8px 12px;
    }
  }

  @media (min-width: 769px) and (max-width: 1024px) {
    .hero-text h1 {
      font-size: 26px;
    }
    .hero-gallery img {
      height: 180px;
    }
  }