:root {
    --bg-1: #0a1e3d;
    --bg-2: #1a3a6b;
    --bg-3: #0d47a1;
    --text-main: #ffffff;
    --text-sub: #e0f2ff;
    --text-muted: #b8d9ff;
    --accent: #4fc3ff;
    --accent-bright: #00d4ff;
    --pink: #ff6ec7;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: #4fc3ff55;
    --glass-shadow: 0 8px 32px 0 rgba(0, 212, 255, 0.15);
  }

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

  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(145deg, var(--bg-1), var(--bg-2), var(--bg-3));
    color: var(--text-sub);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
  }

  /* 光晕背景 */
  body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 0%, #4fc3ff33 0%, transparent 60%),
                radial-gradient(circle at 80% 80%, #4fc3ff22 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
  }

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

  h1, h2, h3 {
    color: var(--text-main);
    font-weight: 700;
    text-shadow: 0 0 12px rgba(79, 195, 255, 0.4);
  }

  /* 导航 */
  header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 30, 61, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
    padding: 0 5%;
  }

  .nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
  }

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

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

  .logo-text {
    display: flex;
    flex-direction: column;
  }

  .logo-text .name {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-main);
    letter-spacing: 1px;
  }

  .logo-text .sub {
    font-size: 0.75rem;
    color: var(--accent);
    letter-spacing: 2px;
  }

  .nav-links {
    display: flex;
    gap: 24px;
  }

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

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

  .nav-links a:hover { color: var(--accent); }
  .nav-links a:hover::after { width: 100%; }

  /* 通用区块 */
  section {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .section-title::before {
    content: '';
    display: block;
    width: 6px;
    height: 32px;
    background: linear-gradient(to bottom, var(--accent-bright), var(--accent));
    border-radius: 3px;
    box-shadow: 0 0 15px var(--accent);
  }

  /* 英雄区 */
  .hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 140px;
    padding-bottom: 100px;
    gap: 40px;
  }

  .hero-content {
    flex: 1;
    max-width: 600px;
  }

  .hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(to right, #ffffff, #e0f2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(79, 195, 255, 0.5);
  }

  .hero p {
    font-size: 1.1rem;
    color: var(--text-sub);
    margin-bottom: 40px;
  }

  .hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .btn-primary {
    background: linear-gradient(120deg, #00d4ff, #4fc3ff);
    color: #fff;
    border: none;
    box-shadow: 0 0 20px #00d4ff88;
  }

  .btn-primary:hover {
    box-shadow: 0 0 30px #00d4ffcc;
    transform: translateY(-2px);
  }

  .btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 2px solid rgba(255, 255, 255, 0.5);
  }

  .btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 15px rgba(79, 195, 255, 0.3);
  }

  .hero-tags {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }

  .hero-tags span {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
  }

  .hero-visual img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
  }

  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
  }

  /* 卡片网格 */
  .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .card-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .card-glass:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.25);
  }

  .card-img-wrap {
    width: 100%;
    height: 240px;
    overflow: hidden;
  }

  .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .card-glass:hover .card-img-wrap img {
    transform: scale(1.05);
  }

  .card-info {
    padding: 20px;
  }

  .card-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .card-info .author {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
  }

  .card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  .card-tags span {
    background: rgba(79, 195, 255, 0.15);
    color: var(--accent);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
  }

  /* 排行榜 & 特色小卡 */
  .small-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .small-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
  }

  .small-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
  }

  .center-btn {
    text-align: center;
    margin-top: 40px;
  }

  /* FAQ */
  .faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
  }

  .faq-q {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: var(--text-main);
    transition: background 0.3s;
  }

  .faq-q:hover { background: rgba(255,255,255,0.05); }

  .faq-q::after {
    content: '▼';
    font-size: 0.8rem;
    color: var(--accent);
    transition: transform 0.3s;
  }

  .faq-item.active .faq-q::after {
    transform: rotate(180deg);
  }

  .faq-a {
    max-height: 0;
    padding: 0 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .faq-item.active .faq-a {
    max-height: 200px;
    padding: 0 20px 20px 20px;
  }

  /* 下载区 */
  .download-section {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
  }

  .download-box {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    border-radius: 20px;
  }

  .download-box h3 { margin-bottom: 20px; font-size: 1.5rem; }
  
  .download-box ul {
    list-style: none;
    margin-bottom: 30px;
  }
  .download-box li {
    margin-bottom: 10px;
    color: var(--text-muted);
  }
  .download-box li::before {
    content: '•';
    color: var(--accent);
    margin-right: 8px;
  }

  /* 编辑精选 */
  .editor-pick {
    display: flex;
    gap: 20px;
    padding: 20px;
    align-items: center;
  }
  .editor-pick img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
  }
  .editor-pick-text {
    flex: 1;
  }
  .editor-pick-text h3 { font-size: 1.1rem; margin-bottom: 5px; }
  .editor-pick-text p { color: var(--text-muted); font-size: 0.9rem; }

  /* 悬浮按钮 */
  .float-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: linear-gradient(120deg, #00d4ff, #4fc3ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.6);
    z-index: 99;
    animation: pulse 2s infinite;
  }
  .float-btn::after {
    content: '↓';
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
  }

  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 212, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0); }
  }

  /* 页脚 */
  footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 5%;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
  }

  footer a {
    color: var(--text-muted);
    transition: color 0.3s;
  }
  footer a:hover { color: var(--accent); }
  .footer-info {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  /* 响应式 */
  @media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 2.8rem; }
    .hero { flex-direction: column; text-align: center; padding-top: 120px; }
    .hero-content { margin-bottom: 40px; }
    .hero-btns, .hero-tags { justify-content: center; }
  }

  @media (max-width: 768px) {
    .grid-3 { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hero h1 { font-size: 2.2rem; }
    .download-section { flex-direction: column; }
    .section-title { font-size: 1.6rem; }
    .editor-pick { flex-direction: column; text-align: center; }
  }