:root {
    --deep-blue: #1E2336;
    --orange: #FF7E36;
    --bg-light: #F8F9FB;
    --text-sub: #6B7280;
    --card-bg: #FFFFFF;
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--deep-blue);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  h1, h2, h3, h4 {
    font-family: "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
    font-weight: 800;
    color: var(--deep-blue);
    line-height: 1.3;
    letter-spacing: 0.5px;
  }
  a { text-decoration: none; color: inherit; }
  img { display: block; max-width: 100%; object-fit: cover; }
  .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
  .text-orange { color: var(--orange); }
  .text-sub { color: var(--text-sub); }

  /* 波浪边缘辅助类 */
  .wave-bottom { position: relative; }
  .wave-bottom::after {
    content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 40px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 40" preserveAspectRatio="none"><path d="M0,20 C200,40 400,0 600,20 C800,40 1000,0 1200,20 L1200,40 L0,40 Z" fill="%23F8F9FB"/></svg>') no-repeat bottom center;
    background-size: cover; z-index: 1;
  }

  /* 顶部导航 */
  header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(248, 249, 251, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(30, 35, 54, 0.05);
  }
  .nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
  }
  .brand { display: flex; align-items: center; gap: 10px; }
  .brand img { height: 34px; width: auto; border-radius: 8px; }
  .brand span { font-weight: 800; font-size: 1.25rem; color: var(--deep-blue); }
  .nav-actions { display: flex; align-items: center; gap: 16px; }
  .search-box {
    display: flex; align-items: center; background: #fff; border-radius: 50px;
    padding: 8px 16px; box-shadow: 0 2px 10px rgba(30,35,54,0.04); border: 1px solid #E5E7EB;
  }
  .search-box input {
    border: none; outline: none; background: transparent; font-size: 0.9rem;
    width: 140px; color: var(--deep-blue);
  }
  .search-box input::placeholder { color: #9CA3AF; }
  .search-box svg { width: 18px; height: 18px; stroke: var(--text-sub); }
  .btn-checkin {
    background: var(--orange); color: #fff; font-weight: 700; font-size: 0.95rem;
    padding: 10px 22px; border-radius: 50px; transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(255,126,54,0.3); display: inline-block;
  }
  .btn-checkin:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255,126,54,0.4); }

  /* Hero 首屏 */
  .hero {
    background: var(--deep-blue);
    color: #fff; padding: 80px 0 100px; position: relative; overflow: hidden;
  }
  .hero .container {
    display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; z-index: 2;
  }
  .hero-text { max-width: 560px; }
  .hero-tag {
    display: inline-block; background: rgba(255,126,54,0.15); color: var(--orange);
    font-weight: 700; font-size: 0.9rem; padding: 6px 16px; border-radius: 50px; margin-bottom: 24px;
    border: 1px solid rgba(255,126,54,0.3);
  }
  .hero h1 { font-size: 3.2rem; margin-bottom: 20px; color: #fff; letter-spacing: 2px; }
  .hero p { font-size: 1.1rem; color: #B0B7C9; margin-bottom: 40px; line-height: 1.8; }
  .hero-btns { display: flex; gap: 16px; }
  .btn-primary {
    background: var(--orange); color: #fff; font-weight: 800; font-size: 1.1rem;
    padding: 16px 36px; border-radius: 50px; transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 20px rgba(255,126,54,0.4); display: inline-block;
  }
  .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(255,126,54,0.5); }
  .btn-outline {
    background: transparent; color: #fff; font-weight: 700; font-size: 1.1rem;
    padding: 16px 36px; border-radius: 50px; border: 2px solid rgba(255,255,255,0.3);
    transition: background 0.2s, border-color 0.2s;
  }
  .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
  .hero-visual { position: relative; flex-shrink: 0; }
  .hero-visual .main-img {
    width: 380px; height: 480px; object-fit: cover;
    border-radius: var(--radius-lg); box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: float 6s ease-in-out infinite;
  }
  .hero-visual .sub-img {
    position: absolute; bottom: -30px; left: -50px;
    width: 180px; height: 240px; object-fit: cover; border-radius: var(--radius-md);
    border: 4px solid #fff; box-shadow: 0 12px 24px rgba(0,0,0,0.3);
    animation: float 5s ease-in-out infinite reverse;
  }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

  /* 特色功能 */
  .features { padding: 80px 0; background: var(--bg-light); }
  .section-header { text-align: center; margin-bottom: 50px; }
  .section-header h2 { font-size: 2.2rem; margin-bottom: 12px; }
  .section-header p { color: var(--text-sub); font-size: 1.05rem; }
  .feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .feat-card {
    background: var(--card-bg); padding: 36px 24px; border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(30,35,54,0.04); text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .feat-card:hover { transform: translateY(-8px); box-shadow: 0 10px 25px rgba(255,126,54,0.15); }
  .feat-icon {
    width: 64px; height: 64px; background: rgba(255,126,54,0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
  }
  .feat-icon svg { width: 32px; height: 32px; stroke: var(--orange); }
  .feat-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
  .feat-card p { font-size: 0.9rem; color: var(--text-sub); }

  /* 每日更新 */
  .daily-update { padding: 60px 0; background: var(--bg-light); }
  .update-board {
    background: var(--deep-blue); border-radius: var(--radius-lg); padding: 40px;
    color: #fff; overflow: hidden; position: relative;
  }
  .update-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px;
  }
  .update-header h2 { font-size: 1.8rem; color: #fff; margin: 0; }
  .update-badge {
    background: var(--orange); color: #fff; font-weight: 800; font-size: 0.9rem;
    padding: 6px 16px; border-radius: 50px;
  }
  .update-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .update-item {
    display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,0.05);
    padding: 16px; border-radius: var(--radius-sm); transition: background 0.2s;
  }
  .update-item:hover { background: rgba(255,255,255,0.1); }
  .update-item img { width: 60px; height: 80px; border-radius: 8px; object-fit: cover; }
  .update-info { flex: 1; }
  .update-info h4 { font-size: 1rem; color: #fff; margin-bottom: 4px; font-weight: 700; }
  .update-info span { font-size: 0.8rem; color: var(--orange); display: inline-block; padding: 2px 8px; background: rgba(255,126,54,0.15); border-radius: 4px; }

  /* 精选分类 */
  .categories { padding: 80px 0; background: #fff; }
  .cat-tabs { display: flex; justify-content: center; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }
  .cat-tab {
    padding: 12px 32px; border-radius: 50px; font-weight: 700; font-size: 1.05rem;
    cursor: default; transition: all 0.3s;
  }
  .cat-tab.active { background: var(--orange); color: #fff; box-shadow: 0 4px 15px rgba(255,126,54,0.3); }
  .cat-tab:not(.active) { background: var(--bg-light); color: var(--text-sub); }
  .cat-section { margin-bottom: 60px; }
  .cat-section:last-child { margin-bottom: 0; }
  .cat-title-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
  .cat-title-row h3 { font-size: 1.6rem; }
  .cat-title-row .line { flex: 1; height: 2px; background: #F3F4F6; }
  .cat-desc { font-size: 1rem; color: var(--text-sub); margin-bottom: 24px; max-width: 800px; }
  .manga-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; }
  .manga-card {
    border-radius: var(--radius-sm); overflow: hidden; position: relative;
    transition: transform 0.3s, box-shadow 0.3s; cursor: pointer; background: var(--bg-light);
  }
  .manga-card:hover { transform: translateY(-6px); box-shadow: 0 12px 24px rgba(255,126,54,0.2); }
  .manga-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
  .manga-card .tag {
    position: absolute; top: 10px; right: 10px; background: var(--orange); color: #fff;
    font-size: 0.75rem; font-weight: 800; padding: 2px 8px; border-radius: 4px;
  }
  .manga-card .info {
    padding: 10px; background: #fff; border: 1px solid #F3F4F6; border-top: none;
    border-bottom-left-radius: var(--radius-sm); border-bottom-right-radius: var(--radius-sm);
  }
  .manga-card .info h4 { font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* 追番日历 */
  .schedule { padding: 80px 0; background: var(--bg-light); }
  .schedule-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
  .day-card {
    background: #fff; border-radius: var(--radius-sm); padding: 20px 10px;
    box-shadow: 0 4px 12px rgba(30,35,54,0.03); text-align: center;
    transition: transform 0.2s, border-color 0.2s; border: 2px solid transparent;
  }
  .day-card:hover { transform: translateY(-4px); }
  .day-card.today { border-color: var(--orange); background: #FFF5F0; }
  .day-name { font-weight: 800; font-size: 1.1rem; margin-bottom: 4px; }
  .day-card.today .day-name { color: var(--orange); }
  .day-date { font-size: 0.8rem; color: var(--text-sub); margin-bottom: 16px; }
  .schedule-item { margin-bottom: 12px; }
  .schedule-item:last-child { margin-bottom: 0; }
  .schedule-item h5 { font-size: 0.85rem; font-weight: 700; color: var(--deep-blue); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .schedule-item span { font-size: 0.75rem; color: var(--text-sub); }

  /* 热门漫评 */
  .reviews { padding: 80px 0; background: #fff; }
  .review-layout { display: flex; gap: 40px; align-items: stretch; }
  .review-main-img {
    flex: 0 0 400px; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 10px 30px rgba(30,35,54,0.08);
  }
  .review-main-img img { width: 100%; height: 100%; object-fit: cover; }
  .review-list { flex: 1; display: flex; flex-direction: column; gap: 24px; }
  .review-card {
    background: var(--bg-light); padding: 30px; border-radius: var(--radius-md);
    border-left: 4px solid var(--orange);
  }
  .review-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
  .review-card p { font-size: 0.95rem; color: var(--text-sub); line-height: 1.8; margin-bottom: 16px; }
  .review-author { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 700; }
  .review-author .avatar { width: 32px; height: 32px; border-radius: 50%; background: #E5E7EB; display: flex; align-items: center; justify-content: center; color: var(--deep-blue); }

  /* 社区留言板 */
  .community { padding: 80px 0; background: var(--bg-light); overflow: hidden; }
  .comment-scroll { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 20px; scrollbar-width: none; }
  .comment-scroll::-webkit-scrollbar { display: none; }
  .comment-bubble {
    flex: 0 0 auto; background: #fff; padding: 20px 24px; border-radius: var(--radius-lg);
    box-shadow: 0 4px 15px rgba(30,35,54,0.04); display: flex; align-items: flex-start; gap: 12px;
    max-width: 320px;
  }
  .comment-bubble .avatar { width: 40px; height: 40px; border-radius: 50%; background: #F3F4F6; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--orange); }
  .comment-text { font-size: 0.95rem; color: var(--deep-blue); line-height: 1.5; }

  /* 下载中心 */
  .download-center {
    background: var(--orange); padding: 100px 0; position: relative; overflow: hidden; color: #fff;
  }
  .download-center .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
  .dl-text { max-width: 500px; }
  .dl-text h2 { font-size: 2.8rem; color: #fff; margin-bottom: 24px; line-height: 1.2; }
  .dl-features { list-style: none; margin-bottom: 40px; }
  .dl-features li { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; }
  .dl-features svg { width: 24px; height: 24px; fill: #fff; }
  .dl-btns { display: flex; gap: 16px; }
  .btn-dl {
    background: var(--deep-blue); color: #fff; padding: 16px 40px; border-radius: 50px;
    font-size: 1.1rem; font-weight: 800; display: flex; align-items: center; gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 6px 20px rgba(30,35,54,0.2);
  }
  .btn-dl:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(30,35,54,0.3); }
  .btn-dl svg { width: 24px; height: 24px; fill: currentColor; }
  
  .dl-phones { display: flex; gap: -20px; position: relative; }
  .phone-mock {
    width: 200px; border-radius: 32px; border: 8px solid var(--deep-blue); overflow: hidden;
    background: var(--deep-blue); box-shadow: 0 20px 40px rgba(0,0,0,0.2); position: relative;
    animation: float 7s ease-in-out infinite;
  }
  .phone-mock:nth-child(2) { margin-left: -40px; margin-top: 40px; animation-delay: 1s; z-index: 2; }
  .phone-mock img { width: 100%; aspect-ratio: 9/19; object-fit: cover; }

  /* 页脚 */
  footer {
    background: var(--deep-blue); color: #8890A5; padding: 40px 0; font-size: 0.85rem;
    text-align: center; border-top: 1px solid #2A3147;
  }
  footer p { margin-bottom: 12px; }
  footer a { color: #8890A5; transition: color 0.2s; }
  footer a:hover { color: #fff; }
  .footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 20px; }

  /* 悬浮球 */
  .float-ball {
    position: fixed; bottom: 30px; right: 30px; width: 56px; height: 56px;
    background: var(--orange); border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(255,126,54,0.4); z-index: 999; cursor: pointer;
    transition: transform 0.3s;
  }
  .float-ball:hover { transform: scale(1.1); }
  .float-ball svg { width: 32px; height: 32px; fill: #fff; }

  /* 响应式 */
  @media (min-width: 1024px) {
    .hero h1 { font-size: 3.6rem; }
    .dl-text h2 { font-size: 3.2rem; }
  }
  @media (max-width: 1023px) {
    .hero .container { flex-direction: column; text-align: center; }
    .hero-text { margin-bottom: 40px; }
    .hero-btns { justify-content: center; }
    .hero-visual .main-img { width: 300px; height: 380px; }
    .hero-visual .sub-img { display: none; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .update-grid { grid-template-columns: repeat(2, 1fr); }
    .schedule-grid { grid-template-columns: repeat(4, 1fr); }
    .review-layout { flex-direction: column; }
    .review-main-img { width: 100%; flex: none; height: 300px; }
    .download-center .container { flex-direction: column; text-align: center; }
    .dl-features li { justify-content: center; }
    .dl-btns { justify-content: center; }
    .dl-phones { margin-top: 40px; }
  }
  @media (max-width: 767px) {
    .nav-actions .search-box { display: none; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .hero-btns { flex-direction: column; gap: 12px; }
    .btn-primary, .btn-outline { width: 100%; text-align: center; padding: 14px 20px; }
    .hero-visual .main-img { width: 100%; max-width: 320px; height: 400px; }
    .feature-grid { grid-template-columns: 1fr; }
    .update-grid { grid-template-columns: 1fr; }
    .update-board { padding: 24px; }
    .schedule-grid { grid-template-columns: repeat(2, 1fr); }
    .manga-grid { grid-template-columns: repeat(2, 1fr); }
    .dl-text h2 { font-size: 2rem; }
    .dl-btns { flex-direction: column; }
    .btn-dl { width: 100%; justify-content: center; }
    .dl-phones { flex-direction: column; align-items: center; gap: 20px; }
    .phone-mock:nth-child(2) { margin-left: 0; }
  }