:root {
    --bg-cold: #f2f5f8;
    --bg-card: #ffffff;
    --accent-red: #a64b3c;
    --accent-red-hover: #8b3a2d;
    --accent-pink: #f7d4d4;
    --dark-night: #1e2228;
    --text-main: #3b3532;
    --text-muted: #7a736f;
    --border-wavy: 2px solid #a64b3c;
    --radius-face: 24px;
    --font-kai: "KaiTi", "STKaiti", "Microsoft YaHei", sans-serif;
    --font-main: "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  }

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

  body {
    background-color: var(--bg-cold);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

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

  /* 容器 */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  /* 导航 */
  .navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(242, 245, 248, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(166, 75, 60, 0.15);
    padding: 12px 0;
  }

  .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 20px;
    color: var(--accent-red);
  }

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

  .nav-links {
    display: flex;
    gap: 24px;
    font-size: 15px;
    color: var(--text-main);
  }

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

  .btn-primary {
    background-color: var(--accent-red);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    border: none;
    cursor: pointer;
  }

  .btn-primary:hover {
    background-color: var(--accent-red-hover);
    transform: scale(1.05);
  }

  /* Hero 首屏 */
  .hero {
    background: linear-gradient(135deg, #e4ebf1, #f8f9fa);
    border-radius: var(--radius-face);
    margin: 40px auto;
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    border: var(--border-wavy);
    border-style: dashed;
  }

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

  .hero-text h1 {
    font-size: 42px;
    line-height: 1.3;
    color: var(--accent-red);
    margin-bottom: 20px;
    font-family: var(--font-kai);
  }

  .hero-text p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 30px;
  }

  .hero-actions {
    display: flex;
    gap: 15px;
  }

  .btn-outline {
    background-color: transparent;
    color: var(--dark-night);
    border: 2px solid var(--dark-night);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    transition: all 0.3s;
  }

  .btn-outline:hover {
    background-color: var(--dark-night);
    color: #fff;
    transform: scale(1.05);
  }

  .hero-img {
    flex: 1;
    text-align: right;
  }

  .hero-img img {
    max-width: 300px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: rotate(3deg);
    transition: transform 0.3s;
  }
  
  .hero-img img:hover {
    transform: rotate(0deg) scale(1.02);
  }

  /* 通用区块 */
  section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 28px;
    color: var(--text-main);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .section-title::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 24px;
    background-color: var(--accent-red);
    border-radius: 3px;
  }

  .section-desc {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 30px;
  }

  /* 每日更新 */
  .capsule-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
  }
  .capsule-scroll::-webkit-scrollbar { display: none; }

  .capsule {
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px 20px;
    border-radius: 30px;
    white-space: nowrap;
    font-size: 14px;
    transition: transform 0.2s;
  }
  .capsule:hover { transform: scale(1.05); }
  .capsule.active {
    background: var(--accent-red);
    color: #fff;
    border-color: var(--accent-red);
  }

  /* 宝藏排行榜 */
  .ranking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .rank-item {
    display: flex;
    background: #fff;
    border-radius: var(--radius-face);
    overflow: hidden;
    transition: transform 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  }
  .rank-item:hover { transform: translateY(-5px); }

  .rank-item img {
    width: 140px;
    height: 200px;
    object-fit: cover;
  }

  .rank-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .rank-badge {
    background: var(--accent-red);
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    align-self: flex-start;
    margin-bottom: 10px;
  }

  .rank-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
  }

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

  /* 新番速递 */
  .timeline {
    border-left: 2px dashed var(--accent-pink);
    padding-left: 20px;
    margin-left: 10px;
  }
  .timeline-item {
    position: relative;
    margin-bottom: 30px;
  }
  .timeline-item::before {
    content: "";
    position: absolute;
    left: -27px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--accent-red);
    border-radius: 50%;
  }
  .timeline-date {
    font-weight: bold;
    color: var(--accent-red);
    margin-bottom: 5px;
  }

  /* 分类 */
  .tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .tag {
    background: #fff;
    padding: 6px 16px;
    border-radius: 15px;
    font-size: 14px;
    color: var(--text-main);
    border: 1px solid var(--accent-pink);
    transition: background 0.3s;
  }
  .tag:hover { background: var(--accent-pink); }

  /* 编辑推荐 */
  .recommend-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .rec-card {
    background: #fff;
    border-radius: var(--radius-face);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .rec-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
  }
  .rec-body {
    padding: 20px;
  }
  .rec-body h3 {
    margin-bottom: 10px;
    color: var(--accent-red);
  }
  .rec-body p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
  }
  .rec-comment {
    background: var(--bg-cold);
    padding: 10px;
    border-radius: 10px;
    font-size: 13px;
    font-style: italic;
    color: var(--accent-red);
  }

  /* 夸夸墙 */
  .wall-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  .bubble-card {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    font-size: 14px;
  }
  .bubble-card:nth-child(even) {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 4px;
  }

  /* 截图墙 */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  .gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
  }
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
  }
  .gallery-item:hover img { transform: scale(1.05); }
  .gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    padding: 20px 10px 10px;
    font-size: 13px;
  }

  /* 同好萌点 */
  .moe-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
  }
  .moe-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 15px;
  }
  .moe-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 10px;
  }
  .moe-card h4 { font-size: 15px; margin-bottom: 5px; }
  .moe-card p { font-size: 12px; color: var(--text-muted); padding: 0 10px; }

  /* 放映室 */
  .theater {
    display: flex;
    gap: 20px;
    background: #fff;
    border-radius: var(--radius-face);
    padding: 20px;
    align-items: stretch;
  }
  .theater-img { flex: 6; border-radius: 12px; overflow: hidden; }
  .theater-img img { width: 100%; height: 100%; object-fit: cover; }
  .theater-danmaku {
    flex: 4;
    background: var(--bg-cold);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
  }
  .danmaku-item { background: #fff; padding: 8px 12px; border-radius: 8px; }

  /* 年度神作 */
  .masterpiece {
    background: var(--dark-night);
    color: #fff;
    border-radius: var(--radius-face);
    padding: 40px;
    display: flex;
    gap: 30px;
    align-items: center;
  }
  .masterpiece img {
    width: 200px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  }
  .masterpiece-text h3 { color: var(--accent-pink); font-size: 24px; margin-bottom: 15px; }
  .masterpiece-text p { font-size: 14px; color: #ccc; line-height: 1.8; }

  /* 深度专栏 */
  .magazine-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .mag-item {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-red);
  }
  .mag-item h4 { margin-bottom: 10px; font-size: 16px; }

  /* 下载区 */
  .download-section {
    background: var(--dark-night);
    color: #fff;
    padding: 60px 0;
    margin-top: 40px;
  }
  .download-inner {
    display: flex;
    align-items: center;
    gap: 40px;
  }
  .download-mockup { flex: 1; text-align: center; }
  .download-mockup img {
    max-width: 280px;
    border-radius: 24px;
    transform: perspective(1000px) rotateY(-10deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  }
  .download-text { flex: 1; }
  .download-text h2 { font-size: 32px; margin-bottom: 15px; color: #fff; }
  .download-text p { color: #aaa; margin-bottom: 20px; font-size: 15px; }
  .feature-list { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 30px; }
  .feature-item { display: flex; align-items: center; gap: 5px; font-size: 14px; }
  .faq-item { margin-bottom: 10px; font-size: 14px; color: #aaa; border-bottom: 1px solid #333; padding-bottom: 5px;}
  .faq-item strong { color: #fff; }
  .download-btns { display: flex; gap: 15px; margin-top: 20px; }
  .download-btns a {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 24px;
    font-weight: bold;
    text-align: center;
    transition: transform 0.3s;
  }
  .btn-ios { background: var(--accent-red); color: #fff; }
  .btn-ios:hover { transform: scale(1.05); background: var(--accent-red-hover); }
  .btn-android { background: #fff; color: var(--dark-night); }
  .btn-android:hover { transform: scale(1.05); }

  /* 页脚 */
  footer {
    text-align: center;
    padding: 30px 20px;
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-cold);
    border-top: 1px solid #ddd;
  }
  footer a { color: var(--text-muted); text-decoration: underline; }
  footer a:hover { color: var(--accent-red); }

  /* 响应式 */
  @media (max-width: 1024px) {
    .hero-text h1 { font-size: 32px; }
    .recommend-grid { grid-template-columns: 1fr; }
    .masterpiece { flex-direction: column; text-align: center; }
    .masterpiece img { width: 150px; }
    .download-inner { flex-direction: column; text-align: center; }
    .feature-list, .download-btns { justify-content: center; }
  }

  @media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { flex-direction: column; text-align: center; gap: 30px; padding: 40px 20px; }
    .hero-actions { justify-content: center; }
    .ranking-grid { grid-template-columns: 1fr; }
    .wall-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .moe-grid { grid-template-columns: 1fr 1fr; }
    .theater { flex-direction: column; }
    .magazine-grid { grid-template-columns: 1fr; }
    .download-btns { flex-direction: column; }
  }