:root {
    --bg-dark: #0d0f17;
    --panel-bg: #161a26;
    --card-bg: #1e2333;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --accent-glow: #6366f1;
    --accent-cyan: #06b6d4;
    --accent-pink: #ec4899;
    --border-radius: 16px;
    --gradient-text: linear-gradient(90deg, #06b6d4, #6366f1, #ec4899);
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 80px;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }

  /* 顶部导航 */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 15, 23, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
  }
  
  .logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
  }
  
  .logo-area img {
    height: 32px;
    border-radius: 8px;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
  }
  
  .nav-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.3s, text-shadow 0.3s;
  }
  
  .nav-links a:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
  }
  
  .mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
  }
  
  .mobile-nav {
    display: none;
    flex-direction: column;
    background-color: var(--panel-bg);
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .mobile-nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
  }
  
  .mobile-nav a:last-child {
    border-bottom: none;
  }

  /* 首屏英雄区 */
  .hero-section {
    padding: 40px 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
  }
  
  .hero-section h1 {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 16px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
  }
  
  .hero-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .device-downloads {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
  }
  
  .download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    color: var(--text-main);
  }
  
  .download-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: var(--accent-cyan);
  }
  
  .download-btn.primary {
    background: linear-gradient(90deg, #6366f1, #06b6d4);
    border: none;
    color: #fff;
  }
  
  .download-btn.primary:hover {
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
  }

  /* 首屏轮播图片展示 */
  .hero-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .hero-carousel::-webkit-scrollbar {
    display: none;
  }
  
  .carousel-item {
    flex: 0 0 85%;
    scroll-snap-align: center;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }
  
  .carousel-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
  }

  /* 跑马灯 */
  .marquee-wrapper {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 0;
    border-radius: 8px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
  }
  
  .marquee-text {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(90deg, #ff3366, #ff9933, #33ccff, #ff3366);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: marquee 10s linear infinite;
    padding-left: 100%;
  }

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

  /* 内容板块通用样式 */
  .content-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .section-header {
    margin-bottom: 24px;
    text-align: center;
  }

  .section-header h2 {
    font-size: 22px;
    margin-bottom: 8px;
    color: #fff;
    display: inline-block;
    position: relative;
  }

  .section-header h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--accent-cyan);
    margin: 8px auto 0;
    border-radius: 2px;
  }

  .section-header p {
    color: var(--text-muted);
    font-size: 14px;
  }

  /* 今日吃瓜 - 砖块瀑布流 */
  .section-chigua {
    background-color: #131620;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
  }

  .chigua-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .chigua-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
  }

  .chigua-card:hover {
    transform: translateY(-5px);
  }

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

  .chigua-content {
    padding: 16px;
  }

  .chigua-content h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--accent-pink);
  }

  .chigua-content p {
    font-size: 13px;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* 本周热瓜 - 紧凑列表 */
  .section-reggua {
    background-color: #1a1a2e;
  }

  .reggua-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .reggua-item {
    display: flex;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    padding: 16px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-glow);
  }

  .reggua-item img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
  }

  .reggua-info h3 {
    font-size: 15px;
    margin-bottom: 6px;
    color: #fff;
  }

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

  /* 校园大赛 - 图文交错 */
  .section-xiaoyuan {
    background-color: #0d0f17;
  }

  .xiaoyuan-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

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

  .xiaoyuan-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .xiaoyuan-text {
    padding: 20px;
  }

  .xiaoyuan-text h3 {
    font-size: 18px;
    color: var(--accent-cyan);
    margin-bottom: 10px;
  }

  .xiaoyuan-text p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
  }

  /* 反差大赛 - 左边图文 */
  .section-fancha {
    background-color: #141e28;
  }

  .fancha-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .fancha-item {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    overflow: hidden;
    align-items: stretch;
  }

  .fancha-item img {
    width: 120px;
    object-fit: cover;
  }

  .fancha-text {
    padding: 16px;
    flex: 1;
  }

  .fancha-text h3 {
    font-size: 15px;
    margin-bottom: 6px;
    color: var(--accent-pink);
  }

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

  /* 隐私安全 & 意见反馈 & FAQ - 问答卡片网格 */
  .section-mixed {
    background-color: #1c1929;
  }

  .faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .faq-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
  }

  .faq-card h3 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .faq-card h3::before {
    content: 'Q';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--accent-glow);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
  }

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

  /* 下载专区与安装步骤 */
  .section-download {
    background-color: #0d0f17;
    padding-bottom: 60px;
  }

  .install-box {
    background: linear-gradient(180deg, #1e2333, #0d0f17);
    border-radius: var(--border-radius);
    padding: 24px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    text-align: center;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.1);
  }

  .install-box img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 20px;
  }

  .install-steps {
    text-align: left;
    margin-bottom: 24px;
  }

  .install-steps h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--accent-cyan);
  }

  .install-steps ol {
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 14px;
  }

  .install-steps li {
    margin-bottom: 8px;
  }

  .install-steps li strong {
    color: #fff;
  }

  /* 浮动下载窗口 */
  .floating-download {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #1e2333, #2a2f45);
    border: 1px solid rgba(6, 182, 212, 0.4);
    border-radius: 50px;
    padding: 8px 16px 8px 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    z-index: 1000;
    width: calc(100% - 40px);
    max-width: 400px;
    backdrop-filter: blur(10px);
  }

  .floating-download img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .floating-info {
    flex: 1;
    overflow: hidden;
  }

  .floating-info h4 {
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .floating-info p {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .floating-btn {
    background: var(--accent-cyan);
    color: #000;
    border: none;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
    cursor: pointer;
  }

  /* 复制弹窗 */
  .copy-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
  }

  .copy-modal.show {
    display: flex;
  }

  .copy-content {
    background: var(--card-bg);
    padding: 24px;
    border-radius: 16px;
    width: 90%;
    max-width: 320px;
    text-align: center;
  }

  .copy-content p {
    font-size: 14px;
    margin-bottom: 16px;
    color: var(--text-main);
  }

  .copy-content input {
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--accent-cyan);
    margin-bottom: 16px;
    font-size: 12px;
    text-align: center;
  }

  .copy-content button {
    width: 100%;
    background: var(--accent-glow);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
  }

  /* 页脚 */
  .site-footer {
    background: var(--bg-dark);
    padding: 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
  }

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

  .footer-nav a {
    color: var(--text-muted);
  }

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

  .footer-info p {
    margin-bottom: 8px;
  }

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

  /* 响应式 */
  @media (min-width: 768px) {
    .desktop-nav { display: block; }
    .mobile-menu-btn { display: none; }
    .hero-section h1 { font-size: 38px; }
    .hero-desc { font-size: 16px; }
    .hero-carousel .carousel-item { flex: 0 0 45%; }
    .chigua-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-grid { grid-template-columns: repeat(2, 1fr); }
    .xiaoyuan-item { flex-direction: row; align-items: center; }
    .xiaoyuan-item img { width: 40%; height: 100%; min-height: 200px; }
    .xiaoyuan-item:nth-child(even) { flex-direction: row-reverse; }
    .xiaoyuan-text { padding: 30px; }
    .install-steps { padding: 0 20px; }
  }

  @media (min-width: 1024px) {
    .hero-section h1 { font-size: 48px; }
    .hero-carousel .carousel-item { flex: 0 0 32%; }
    .chigua-grid { grid-template-columns: repeat(3, 1fr); }
    .faq-grid { grid-template-columns: repeat(3, 1fr); }
    .download-btn { padding: 12px 28px; font-size: 16px; }
  }