:root {
    --bg: #0B0A08;
    --bg-dark: #0F0D0A;
    --panel: #1E1A14;
    --panel-light: #2E2619;
    --text: #FFF8E7;
    --text-muted: #B5A382;
    --gold-light: #FFEFC4;
    --gold: #E8B94F;
    --gold-dark: #C08E30;
    --border: rgba(214,178,94,.10);
    --border-light: rgba(214,178,94,.20);
    --wine: #4A1015;
    --gradient-gold: linear-gradient(135deg, #FFEFC4, #E8B94F, #C08E30);
    --glow: radial-gradient(circle at 50% 0%, rgba(232,185,79,0.15) 0%, rgba(11,10,8,0) 60%);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg);
    background-image: var(--glow);
    background-repeat: no-repeat;
    background-size: 100% 800px;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-bottom: 90px; /* 留出底部悬浮窗空间 */
  }

  a { text-decoration: none; color: inherit; }
  ul { list-style: none; }
  img { max-width: 100%; display: block; border-radius: 8px; }

  /* 导航栏 */
  header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 10, 8, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
  }
  .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
  }
  .logo-link { display: flex; align-items: center; gap: 8px; }
  .logo-link img { height: 32px; width: auto; border-radius: 4px; }
  .logo-text { font-size: 18px; font-weight: 700; color: var(--gold); display: none; }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    flex-direction: column;
    gap: 12px;
  }
  .nav-menu.active { display: flex; }
  .nav-menu a {
    color: var(--text-muted);
    font-size: 15px;
    transition: color 0.3s;
    padding: 6px 0;
  }
  .nav-menu a:hover { color: var(--gold); }
  
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
  }
  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--gold);
    transition: 0.3s;
  }

  /* 首屏 */
  .hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }
  .hero-content { width: 100%; text-align: center; }
  .hero h1 {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 16px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
  }
  .hero p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
  }
  
  /* 通用按钮 */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    color: var(--wine);
    font-weight: 700;
    font-size: 15px;
    padding: 12px 24px;
    border-radius: 50px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(232,185,79,0.3);
  }
  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232,185,79,0.5);
  }
  .btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    box-shadow: none;
  }
  .btn-outline:hover {
    background: rgba(232,185,79,0.1);
    box-shadow: 0 4px 15px rgba(232,185,79,0.2);
  }

  /* 首屏三图轮播 */
  .hero-carousel {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
  }
  .hero-carousel img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border: 1px solid var(--border-light);
  }

  /* 跑马灯 */
  .marquee-wrapper {
    width: 100%;
    overflow: hidden;
    background: var(--panel);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    position: relative;
    margin-top: 10px;
  }
  .marquee-content {
    display: flex;
    white-space: nowrap;
    animation: scroll-left 20s linear infinite;
    font-size: 14px;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    gap: 40px;
  }
  @keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* 区块通用 */
  section {
    padding: 48px 16px;
    max-width: 1200px;
    margin: 0 auto;
  }
  .section-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 24px;
    text-align: center;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  .section-title::before, .section-title::after {
    content: "";
    display: block;
    width: 30px;
    height: 1px;
    background: var(--gold-dark);
  }
  h3 { font-size: 18px; color: var(--text); margin-bottom: 12px; }

  /* 通用卡片样式 */
  .card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.3s, border-color 0.3s;
  }
  .card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
  }

  /* 关于每日大赛 */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .about-grid .card {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .about-grid .card h3 { color: var(--gold); font-size: 16px; }
  .about-grid .card p { font-size: 14px; color: var(--text-muted); }

  /* 今日大赛 */
  .today-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .today-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--panel-light);
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 3px solid var(--gold);
  }
  .today-item .num {
    font-size: 20px;
    font-weight: 900;
    color: var(--gold-dark);
    opacity: 0.6;
    font-style: italic;
    min-width: 30px;
  }
  .today-item .txt { font-size: 14px; color: var(--text); }

  /* 主题反差 */
  .theme-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .theme-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border);
  }
  .theme-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .theme-list li {
    padding: 12px;
    background: var(--panel);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-muted);
    border: 1px solid transparent;
    transition: border-color 0.3s;
  }
  .theme-list li:hover { border-color: var(--border-light); }
  .theme-list li strong { color: var(--gold); margin-right: 8px; }

  /* 反差大赛（Q&A折叠） */
  .qa-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  details {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
  }
  details summary {
    padding: 16px;
    font-weight: 600;
    font-size: 15px;
    color: var(--gold);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  details summary::-webkit-details-marker { display: none; }
  details summary::after {
    content: "+";
    font-size: 18px;
    color: var(--text-muted);
  }
  details[open] summary::after { content: "-"; }
  details p {
    padding: 0 16px 16px;
    font-size: 14px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    padding-top: 12px;
  }

  /* 隐私安全（横向滑动卡片） */
  .privacy-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-dark) var(--panel);
  }
  .privacy-scroll::-webkit-scrollbar { height: 6px; }
  .privacy-scroll::-webkit-scrollbar-track { background: var(--panel); border-radius: 3px; }
  .privacy-scroll::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }
  .privacy-card {
    min-width: 240px;
    flex: 1;
    background: var(--panel-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .privacy-card h3 { font-size: 15px; color: var(--gold); }
  .privacy-card p { font-size: 13px; color: var(--text-muted); }

  /* 意见反馈 */
  .feedback-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .feedback-item {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
  }
  .feedback-item h3 { font-size: 14px; color: var(--gold); margin-bottom: 6px; }
  .feedback-item p { font-size: 13px; color: var(--text-muted); }

  /* 常见问题 */
  .faq-img-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    background: var(--panel);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--border);
  }
  .faq-img-row img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
  }
  .faq-img-row p {
    font-size: 14px;
    color: var(--text-muted);
    flex: 1;
  }

  /* 下载专区（结尾） */
  .download-section {
    background: var(--panel-light);
    border-radius: 16px;
    padding: 32px 16px;
    text-align: center;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
  }
  .download-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(232,185,79,0.08) 0%, transparent 70%);
    pointer-events: none;
  }
  .download-section h2 { font-size: 22px; color: var(--gold); margin-bottom: 12px; }
  .download-section p { font-size: 15px; color: var(--text-muted); margin-bottom: 24px; }
  .download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
  }
  .install-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
  }
  .install-step {
    display: flex;
    gap: 12px;
    background: var(--panel);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
  }
  .install-step .step-num {
    font-weight: 800;
    color: var(--gold);
    font-size: 18px;
    min-width: 20px;
  }
  .install-step p { font-size: 14px; color: var(--text-muted); margin: 0; }

  /* 用户评论区 */
  .comments-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .comment-card {
    display: flex;
    gap: 12px;
    background: var(--panel);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
  }
  .comment-card img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border-light);
  }
  .comment-body { flex: 1; }
  .comment-body .name { font-size: 14px; color: var(--gold); font-weight: 600; margin-bottom: 4px; }
  .comment-body .text { font-size: 14px; color: var(--text-muted); }

  /* 底部浮动下载窗 */
  .floating-download {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 26, 20, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    padding: 8px 16px 8px 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.6);
    z-index: 999;
    width: max-content;
    max-width: 90vw;
  }
  .floating-download img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
  }
  .floating-info { display: flex; flex-direction: column; }
  .floating-info .title { font-size: 14px; font-weight: 700; color: var(--text); }
  .floating-info .desc { font-size: 11px; color: var(--text-muted); }
  .floating-download .btn {
    padding: 8px 16px;
    font-size: 13px;
    min-width: 80px;
  }

  /* 页脚 */
  footer {
    border-top: 1px solid var(--border);
    padding: 32px 16px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-dark);
  }
  .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .footer-links a { color: var(--text-muted); transition: color 0.2s; }
  .footer-links a:hover { color: var(--gold); }
  
  details.site-about {
    width: 100%;
    max-width: 800px;
    text-align: left;
    background: transparent;
    border: none;
    border-top: 1px solid var(--border);
    padding-top: 16px;
  }
  details.site-about summary {
    display: inline-block;
    cursor: pointer;
    font-size: 12px;
    color: var(--text-muted);
    padding: 4px 0;
    list-style: none;
    transition: color 0.2s;
  }
  details.site-about summary:hover { color: var(--gold); }
  details.site-about summary::-webkit-details-marker { display: none; }
  details.site-about summary::after { content: none; }
  details.site-about .about-content {
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.8;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  details.site-about .about-content a {
    color: var(--text-muted);
    transition: color 0.2s;
  }
  details.site-about .about-content a:hover { color: var(--gold); }

  .footer-copy { font-size: 12px; color: rgba(181, 163, 130, 0.6); }
  .footer-copy a { color: rgba(181, 163, 130, 0.6); }
  .footer-copy a:hover { color: var(--gold); }

  /* 弹窗遮罩（针对 iOS 百度 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: 10000;
    align-items: center;
    justify-content: center;
  }
  .copy-modal-overlay.active { display: flex; }
  .copy-modal {
    background: var(--panel);
    border: 1px solid var(--gold);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    max-width: 320px;
    width: 90%;
  }
  .copy-modal p {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 16px;
  }
  .copy-modal .link-box {
    background: var(--bg-dark);
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--gold);
    word-break: break-all;
    margin-bottom: 16px;
    border: 1px dashed var(--border-light);
  }
  .copy-modal .btn-close {
    background: var(--gradient-gold);
    color: var(--wine);
    border: none;
    padding: 8px 24px;
    border-radius: 20px;
    font-weight: 700;
    cursor: pointer;
  }

  /* 响应式 768px */
  @media (min-width: 768px) {
    .nav-menu {
      display: flex;
      position: static;
      flex-direction: row;
      background: transparent;
      border: none;
      padding: 0;
      gap: 20px;
      width: auto;
    }
    .menu-toggle { display: none; }
    .logo-text { display: block; }
    .hero { padding: 60px 24px 30px; }
    .hero h1 { font-size: 36px; }
    .hero-carousel img { height: 200px; }
    .hero-carousel { gap: 16px; }
    .about-grid { grid-template-columns: 1fr 1fr; }
    .today-list { grid-template-columns: 1fr 1fr; }
    .qa-wrap { grid-template-columns: 1fr 1fr; }
    .feedback-grid { grid-template-columns: 1fr 1fr 1fr; }
    .comments-section { grid-template-columns: 1fr 1fr; }
    .install-steps { grid-template-columns: 1fr 1fr; }
  }

  /* 响应式 1024px */
  @media (min-width: 1024px) {
    .hero { flex-direction: row; text-align: left; gap: 48px; }
    .hero-content { text-align: left; width: 50%; }
    .hero h1 { font-size: 42px; }
    .hero p { margin-left: 0; margin-right: 0; }
    .hero-buttons { justify-content: flex-start; }
    .hero-carousel { width: 50%; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 0; }
    .hero-carousel img { height: 180px; }
    .hero-carousel img:first-child { grid-column: span 2; height: 240px; }
    
    .about-grid { grid-template-columns: repeat(3, 1fr); }
    .today-list { grid-template-columns: 1fr 1fr 1fr; }
    .theme-layout { grid-template-columns: 1fr 1fr; align-items: stretch; }
    .theme-img { height: 100%; min-height: 400px; }
    .theme-list { display: grid; grid-template-columns: 1fr 1fr; align-content: start; }
    .privacy-scroll { display: grid; grid-template-columns: repeat(4, 1fr); overflow-x: visible; }
    .privacy-card { min-width: 0; }
    .feedback-grid { grid-template-columns: repeat(5, 1fr); }
    .comments-section { grid-template-columns: repeat(3, 1fr); }
    
    .download-section { padding: 48px; }
    .install-steps { grid-template-columns: 1fr 1fr; max-width: 1000px; }
  }