:root {
    --bg-deep: #0a0a0c;
    --bg-charcoal: #141418;
    --bg-card: #1a1a20;
    --red: #e0122b;
    --red-glow: rgba(224, 18, 43, 0.45);
    --cyan: #16e0e0;
    --white: #f2f3f5;
    --grey: #9a9ca6;
    --line: rgba(255, 255, 255, 0.08);
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    background-color: var(--bg-deep);
    color: var(--white);
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }
  ul { list-style: none; }

  /* ===== 通用 ===== */
  .wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
  .section-title { font-size: 1.6rem; letter-spacing: 1px; margin-bottom: 8px; }
  .section-title span { color: var(--red); }
  .section-sub { color: var(--grey); font-size: 0.92rem; margin-bottom: 26px; }
  .tag-red {
    display: inline-block; font-size: 0.72rem; letter-spacing: 1px;
    background: var(--red); color: #000; padding: 2px 10px; font-weight: 700;
    clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  }

  /* ===== 吸顶导航 ===== */
  .nav-top {
    position: sticky; top: 0; z-index: 100;
    background: rgba(10, 10, 12, 0.92);
    border-bottom: 1px solid var(--red);
    backdrop-filter: blur(8px);
  }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; }
  .brand img { height: 32px; width: auto; border-radius: 6px; }
  .nav-links { display: none; }
  .nav-dl {
    background: var(--red); color: #000; font-weight: 700; font-size: 0.85rem;
    padding: 8px 16px; border-radius: 4px; box-shadow: 0 0 14px var(--red-glow);
  }

  /* ===== Hero ===== */
  .hero {
    padding: 40px 0 60px;
    background:
      linear-gradient(rgba(10,10,12,0.82), rgba(10,10,12,0.95)),
      repeating-linear-gradient(0deg, transparent 0 39px, rgba(22,224,224,0.06) 39px 40px),
      repeating-linear-gradient(90deg, transparent 0 39px, rgba(22,224,224,0.06) 39px 40px);
    background-color: #0d0d10;
  }
  .hero-box {
    border-radius: 22px; padding: 40px 24px;
    background: linear-gradient(135deg, rgba(26,26,32,0.9), rgba(10,10,12,0.95));
    border: 1px solid rgba(224,18,43,0.35);
    box-shadow: 0 0 60px rgba(224,18,43,0.12) inset;
    position: relative; overflow: hidden;
  }
  .hero-box::after {
    content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(224,18,43,0.35), transparent 70%);
    pointer-events: none;
  }
  .hero-eyebrow { color: var(--cyan); font-size: 0.8rem; letter-spacing: 3px; margin-bottom: 14px; }
  .hero h1 {
    font-size: 2rem; line-height: 1.3; letter-spacing: 1px; margin-bottom: 8px;
    text-shadow: 2px 2px 0 rgba(224,18,43,0.55), -1px -1px 0 rgba(22,224,224,0.35);
  }
  .hero-slogan { color: var(--red); font-weight: 700; letter-spacing: 2px; margin-bottom: 18px; font-size: 0.95rem; }
  .hero-text { color: var(--grey); max-width: 620px; margin-bottom: 26px; font-size: 0.95rem; }
  .btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
  .btn {
    display: inline-block; padding: 12px 26px; font-size: 0.92rem; font-weight: 700;
    border-radius: 6px; letter-spacing: 1px; transition: transform .18s, box-shadow .18s;
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  }
  .btn-red { background: var(--red); color: #000; box-shadow: 0 0 22px var(--red-glow); }
  .btn-cyan { background: transparent; color: var(--cyan); border: 1px solid var(--cyan); }
  .btn:hover { transform: translateY(-2px); }

  /* ===== 通用区块 ===== */
  section { padding: 48px 0; }
  .section-dark { background: var(--bg-charcoal); }

  /* ===== 夜间发车表 ===== */
  .strip-scroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 12px; }
  .strip-scroll::-webkit-scrollbar { height: 6px; }
  .strip-scroll::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }
  .day-card {
    flex: 0 0 150px; background: var(--bg-card); border: 1px solid var(--line);
    border-radius: 10px; padding: 16px; text-align: center;
  }
  .day-card.today { border-color: var(--red); box-shadow: 0 0 18px var(--red-glow); }
  .day-card b { display: block; font-size: 1.05rem; margin-bottom: 6px; }
  .day-card.today b { color: var(--red); }
  .day-card small { color: var(--grey); font-size: 0.75rem; }

  /* ===== 排行榜 ===== */
  .rank-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .rank-main { position: relative; border-radius: 14px; overflow: hidden; }
  .rank-main img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
  .rank-side { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .rank-item { position: relative; border-radius: 12px; overflow: hidden; }
  .rank-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
  .rank-cap {
    position: absolute; left: 0; bottom: 0; width: 100%; padding: 22px 12px 10px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9)); font-size: 0.82rem;
  }
  .rank-no { position: absolute; top: 8px; left: 8px; background: var(--red); color: #000; font-weight: 800; font-size: 0.75rem; padding: 1px 8px; border-radius: 3px; }

  /* ===== 深渊速递 ===== */
  .news-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
  .news-card { background: var(--bg-card); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
  .news-media { position: relative; }
  .news-media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; filter: brightness(0.82) contrast(1.1) saturate(1.1); }
  .news-badge {
    position: absolute; top: 0; left: 0; background: var(--red); color: #000;
    font-size: 0.72rem; font-weight: 800; padding: 4px 14px;
    clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
  }
  .news-body { padding: 16px; }
  .news-body h3 { font-size: 1rem; margin-bottom: 8px; }
  .news-body p { color: var(--grey); font-size: 0.85rem; }

  /* ===== 分类库 ===== */
  .cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-item {
    border: 1px solid rgba(22,224,224,0.3); border-radius: 10px; padding: 16px;
    background: rgba(22,224,224,0.04);
  }
  .cat-item b { color: var(--cyan); display: block; margin-bottom: 4px; font-size: 0.95rem; }
  .cat-item small { color: var(--grey); font-size: 0.78rem; }

  /* ===== 编辑推荐 ===== */
  .editor-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
  .editor-card { background: var(--bg-card); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
  .editor-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
  .editor-body { padding: 18px; }
  .editor-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
  .editor-body p { color: var(--grey); font-size: 0.86rem; margin-bottom: 10px; }
  .editor-quote { color: var(--red); font-size: 0.85rem; border-left: 2px solid var(--red); padding-left: 10px; }

  /* ===== 截图墙 ===== */
  .shot-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .shot-wall img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 6px; }

  /* ===== 弹幕茶话会 ===== */
  .talk-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .talk-card { background: var(--bg-card); border-left: 3px solid var(--red); border-radius: 6px; padding: 14px 16px; font-size: 0.88rem; color: var(--grey); }
  .talk-card b { color: var(--red); }

  /* ===== 年度神作 ===== */
  .master-card {
    background: linear-gradient(135deg, #2a0810, #0a0a0c);
    border: 1px solid rgba(224,18,43,0.4); border-radius: 16px; padding: 26px;
  }
  .master-card h2 { color: var(--white); margin-bottom: 10px; font-size: 1.4rem; }
  .master-card p { color: var(--grey); font-size: 0.9rem; }

  /* ===== 深度专栏 ===== */
  .article-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
  .article-card { display: flex; gap: 14px; background: var(--bg-card); border-radius: 10px; overflow: hidden; }
  .article-card img { width: 120px; height: 120px; object-fit: cover; flex-shrink: 0; }
  .article-body { padding: 12px 12px 12px 0; }
  .article-body h3 { font-size: 0.95rem; margin-bottom: 6px; }
  .article-body p { color: var(--grey); font-size: 0.8rem; }

  /* ===== 下载区 ===== */
  .download { background: #000; padding: 60px 0; position: relative; overflow: hidden; }
  .download::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(224,18,43,0.25), transparent 45%),
                radial-gradient(circle at 85% 70%, rgba(22,224,224,0.12), transparent 40%);
    pointer-events: none;
  }
  .dl-inner { position: relative; display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
  .phone-mock { transform: perspective(900px) rotateY(-12deg) rotateX(4deg); border-radius: 22px; overflow: hidden; box-shadow: 0 0 50px var(--red-glow); border: 2px solid rgba(224,18,43,0.5); max-width: 300px; margin: 0 auto; }
  .phone-mock img { width: 100%; }
  .dl-text h2 { font-size: 1.6rem; margin-bottom: 12px; }
  .dl-text > p { color: var(--grey); margin-bottom: 18px; font-size: 0.92rem; }
  .feature-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
  .feature-list li { font-size: 0.82rem; padding: 5px 12px; border: 1px solid rgba(22,224,224,0.4); border-radius: 20px; color: var(--cyan); }
  .faq details { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .faq summary { cursor: pointer; font-size: 0.9rem; color: var(--white); }
  .faq p { color: var(--grey); font-size: 0.82rem; padding-top: 8px; }

  /* ===== 页脚 ===== */
  footer { background: #060608; padding: 30px 0; border-top: 1px solid var(--line); }
  .foot-inner { text-align: center; color: var(--grey); font-size: 0.75rem; }
  .foot-inner p { margin-bottom: 6px; }
  .foot-inner a { color: var(--grey); }
  .foot-inner time { color: #6b6d75; }

  /* ===== 悬浮按钮 ===== */
  .float-btn {
    position: fixed; right: 16px; bottom: 20px; z-index: 200;
    background: linear-gradient(135deg, var(--red) 0 50%, #000 50% 100%);
    color: #fff; font-weight: 700; font-size: 0.82rem; padding: 12px 16px;
    border-radius: 10px; border: 1px solid var(--red);
    box-shadow: 0 0 20px var(--red-glow);
    animation: breathe 2.2s ease-in-out infinite;
  }
  @keyframes breathe { 0%,100% { box-shadow: 0 0 12px var(--red-glow);} 50% { box-shadow: 0 0 28px rgba(224,18,43,0.8);} }

  /* ===== 响应式 768 ===== */
  @media (min-width: 768px) {
    .nav-links { display: flex; gap: 22px; font-size: 0.85rem; color: var(--grey); }
    .hero { padding: 60px 0 80px; }
    .hero-box { padding: 56px 48px; }
    .hero h1 { font-size: 2.6rem; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
    .editor-grid { grid-template-columns: 1fr 1fr; }
    .talk-grid { grid-template-columns: 1fr 1fr; }
    .rank-grid { grid-template-columns: 1.1fr 1fr; }
    .article-grid { grid-template-columns: 1fr 1fr; }
    .dl-inner { grid-template-columns: 300px 1fr; }
  }

  /* ===== 响应式 1024 ===== */
  @media (min-width: 1024px) {
    .section-title { font-size: 1.9rem; }
    .hero h1 { font-size: 3rem; }
    .news-grid { grid-template-columns: repeat(3, 1fr); }
    .cat-grid { grid-template-columns: repeat(4, 1fr); }
    .talk-grid { grid-template-columns: repeat(3, 1fr); }
    .shot-wall { gap: 12px; }
    .article-grid { grid-template-columns: repeat(3, 1fr); }
    .article-card { flex-direction: column; }
    .article-card img { width: 100%; height: auto; aspect-ratio: 16/10; }
    .article-body { padding: 12px; }
    .dl-text h2 { font-size: 2rem; }
  }