:root {
    --bg-white: #F4F9FF;
    --bg-blue: #E8F3FF;
    --brand-blue: #2B8CFF;
    --deep-blue: #1A5FB4;
    --coral: #FF5A5F;
    --mint: #20C997;
    --orange: #FFB020;
    --text-main: #2C3E50;
    --text-sub: #718096;
    --card-bg: #FFFFFF;
    --shadow: 0 12px 32px rgba(43,140,255,0.12);
    --radius: 24px;
    --font-title: 'Alibaba PuHuiTi', 'Source Han Sans Heavy', 'Microsoft YaHei', sans-serif;
    --font-body: 'Source Han Sans Regular', 'Microsoft YaHei', sans-serif;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
  }
  a { text-decoration: none; color: inherit; }
  ul { list-style: none; }
  img { max-width: 100%; display: block; object-fit: cover; }
  
  /* Halftone Background */
  .halftone-bg {
    background-color: var(--bg-blue);
    background-image: radial-gradient(var(--brand-blue) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0;
    opacity: 0.95;
  }

  /* 1. Header */
  header {
    position: sticky;
    top: 0;
    height: 72px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(43,140,255,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 100;
  }
  .header-left { display: flex; align-items: center; gap: 12px; }
  .header-left img { height: 36px; border-radius: 8px; }
  .header-left h1 { font-family: var(--font-title); font-size: 24px; color: var(--deep-blue); font-weight: 900; display: none; /* Only show in hero */ }
  .header-left .brand-text { font-family: var(--font-title); font-size: 24px; color: var(--deep-blue); font-weight: 900; }

  .header-nav { display: flex; gap: 32px; font-weight: bold; color: var(--text-main); }
  .header-nav a { position: relative; padding: 8px 0; font-size: 16px; }
  .header-nav a.active::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; background: var(--coral); border-radius: 2px;
  }
  .header-right { display: flex; align-items: center; gap: 16px; }
  .btn-download-header {
    background: var(--coral); color: white; padding: 10px 24px; border-radius: 99px; font-weight: bold;
    box-shadow: 0 4px 12px rgba(255,90,95,0.3); transition: all 0.3s;
  }
  .btn-download-header:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255,90,95,0.4); }

  /* 2. Hero */
  .hero {
    position: relative;
    min-height: 600px;
    background: radial-gradient(circle at 70% 30%, var(--bg-blue) 0%, var(--bg-white) 80%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 5% 120px;
    overflow: hidden;
  }
  .hero::before {
    content: ''; position: absolute; top: 10%; right: 5%; width: 300px; height: 300px;
    background: url('brand/logo.png') no-repeat center/contain; opacity: 0.05; transform: rotate(15deg);
  }
  .hero-content { flex: 1; max-width: 500px; z-index: 2; }
  .hero-tag {
    display: inline-block; background: #FFF0F0; color: var(--coral); padding: 8px 16px; border-radius: 99px; font-weight: bold; margin-bottom: 24px;
  }
  .hero h1 { font-family: var(--font-title); font-size: 56px; color: var(--deep-blue); line-height: 1.2; margin-bottom: 16px; font-weight: 900; }
  .hero p { font-size: 20px; color: var(--text-sub); margin-bottom: 40px; font-weight: bold; }
  .hero-search {
    display: flex; background: white; padding: 8px; border-radius: 99px; box-shadow: 0 20px 40px rgba(43,140,255,0.15); margin-bottom: 24px;
  }
  .hero-search input {
    flex: 1; border: none; outline: none; padding: 12px 24px; font-size: 16px; border-radius: 99px; background: transparent; color: var(--text-main);
  }
  .hero-search input::placeholder { color: #A0AEC0; }
  .btn-search {
    background: var(--coral); color: white; border: none; padding: 12px 32px; border-radius: 99px; font-size: 18px; font-weight: bold; cursor: pointer; transition: 0.3s;
  }
  .btn-search:hover { background: #ff4247; }
  .hero-stats { font-size: 14px; color: var(--text-sub); display: flex; gap: 16px; }
  
  .hero-visual {
    flex: 1; position: relative; height: 500px; display: flex; justify-content: center; align-items: center;
  }
  .hero-card {
    position: absolute; width: 240px; height: 340px; border-radius: 20px; box-shadow: 0 24px 48px rgba(0,0,0,0.2);
    border: 6px solid white; overflow: hidden; transition: 0.4s;
  }
  .hero-card img { width: 100%; height: 100%; }
  .hero-card.c1 { transform: rotate(-12deg) translateX(-100px) translateY(20px); z-index: 1; }
  .hero-card.c2 { transform: rotate(0) scale(1.15); z-index: 3; box-shadow: 0 30px 60px rgba(43,140,255,0.3); }
  .hero-card.c3 { transform: rotate(12deg) translateX(100px) translateY(20px); z-index: 2; }

  /* 3. Quick Links */
  .quick-links {
    position: relative; z-index: 10; margin: -40px 5% 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  }
  .quick-item {
    background: var(--card-bg); padding: 24px; border-radius: 20px; box-shadow: var(--shadow);
    display: flex; align-items: center; gap: 16px; transition: transform 0.3s;
  }
  .quick-item:hover { transform: translateY(-5px); }
  .quick-icon { font-size: 32px; }
  .quick-text h3 { font-size: 18px; color: var(--deep-blue); margin-bottom: 4px; }
  .quick-text p { font-size: 13px; color: var(--text-sub); }

  /* 4. Today Update */
  .section { padding: 80px 5%; }
  .section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
  .section-title { font-family: var(--font-title); font-size: 36px; color: var(--deep-blue); font-weight: 900; display: flex; align-items: center; gap: 12px; }
  .live-dot { width: 12px; height: 12px; background: var(--mint); border-radius: 50%; box-shadow: 0 0 0 4px rgba(32,201,151,0.2); animation: pulse 2s infinite; }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(32,201,151,0.4); } 70% { box-shadow: 0 0 0 10px rgba(32,201,151,0); } 100% { box-shadow: 0 0 0 0 rgba(32,201,151,0); } }
  .section-link { color: var(--brand-blue); font-weight: bold; font-size: 16px; }
  
  .grid-4x2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .comic-card {
    background: var(--card-bg); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    transition: all 0.3s;
  }
  .comic-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(43,140,255,0.2); }
  .card-cover { position: relative; aspect-ratio: 3/4; overflow: hidden; }
  .card-cover img { width: 100%; height: 100%; transition: transform 0.4s; }
  .comic-card:hover .card-cover img { transform: scale(1.05); }
  .update-tag {
    position: absolute; top: 0; right: 0; background: var(--mint); color: white; padding: 6px 12px; font-size: 12px; font-weight: bold;
    border-bottom-left-radius: 12px; z-index: 2;
  }
  .card-info { padding: 16px; }
  .card-title { font-family: var(--font-title); font-size: 20px; color: var(--deep-blue); font-weight: 900; margin-bottom: 8px; }
  .card-meta { font-size: 13px; color: var(--text-sub); margin-bottom: 12px; }
  .card-desc {
    background: var(--bg-white); padding: 12px; border-radius: 12px; font-size: 13px; color: var(--text-sub); line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
  }

  /* 5. Banner */
  .banner-section { background: var(--bg-blue); padding: 80px 5%; position: relative; }
  .banner-section::after {
    content: ''; position: absolute; inset: 0; background-image: radial-gradient(#2B8CFF 1px, transparent 1px); background-size: 16px 16px; opacity: 0.1; pointer-events: none;
  }
  .banner-container {
    background: white; border-radius: var(--radius); display: flex; overflow: hidden; box-shadow: var(--shadow); position: relative; z-index: 2;
  }
  .banner-img-wrap { width: 40%; position: relative; padding: 24px; }
  .banner-img-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; border: 4px solid white; box-shadow: 0 12px 24px rgba(0,0,0,0.15); transform: rotate(-3deg); }
  .banner-content { width: 60%; padding: 60px; display: flex; flex-direction: column; justify-content: center; }
  .banner-label { color: var(--coral); font-weight: bold; font-size: 18px; margin-bottom: 16px; letter-spacing: 2px; }
  .banner-title { font-family: var(--font-title); font-size: 48px; color: var(--deep-blue); font-weight: 900; margin-bottom: 24px; line-height: 1.2; }
  .banner-desc { font-size: 18px; color: var(--text-sub); margin-bottom: 40px; line-height: 1.8; }
  .btn-banner { background: var(--coral); color: white; padding: 16px 48px; border-radius: 99px; font-size: 20px; font-weight: bold; align-self: flex-start; box-shadow: 0 8px 24px rgba(255,90,95,0.4); transition: 0.3s; }
  .btn-banner:hover { transform: translateY(-2px); background: #ff4247; }

  /* 6. Rankings */
  .ranking-layout { display: flex; gap: 40px; }
  .ranking-left { flex: 2; }
  .ranking-right { flex: 1; }
  .ranking-tabs { display: flex; gap: 16px; margin-bottom: 24px; border-bottom: 2px solid var(--bg-blue); padding-bottom: 12px; }
  .ranking-tabs span { font-size: 18px; font-weight: bold; color: var(--text-sub); cursor: pointer; padding-bottom: 12px; }
  .ranking-tabs span.active { color: var(--deep-blue); border-bottom: 3px solid var(--coral); margin-bottom: -14px; }
  
  .ranking-list { display: flex; flex-direction: column; gap: 16px; }
  .rank-item { display: flex; align-items: center; background: white; padding: 16px 24px; border-radius: 16px; box-shadow: var(--shadow); transition: 0.3s; }
  .rank-item:hover { transform: translateX(8px); }
  .rank-num { font-family: var(--font-title); font-size: 36px; font-weight: 900; width: 60px; color: var(--text-sub); font-style: italic; }
  .rank-item:nth-child(1) .rank-num { color: var(--orange); }
  .rank-item:nth-child(2) .rank-num { color: #B0B0B0; }
  .rank-item:nth-child(3) .rank-num { color: #CD7F32; }
  .rank-cover { width: 60px; height: 80px; border-radius: 8px; margin-right: 24px; object-fit: cover; }
  .rank-info h4 { font-size: 18px; color: var(--deep-blue); margin-bottom: 4px; }
  .rank-info p { font-size: 13px; color: var(--text-sub); }
  .rank-trend { margin-left: auto; font-size: 20px; color: var(--mint); }

  .editor-pick { background: white; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; height: 100%; display: flex; flex-direction: column; }
  .editor-pick img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
  .editor-content { padding: 24px; display: flex; flex-direction: column; flex: 1; }
  .pick-label { display: inline-block; background: #FFF5E6; color: var(--orange); font-size: 12px; font-weight: bold; padding: 4px 12px; border-radius: 99px; margin-bottom: 12px; align-self: flex-start; }
  .pick-title { font-family: var(--font-title); font-size: 24px; color: var(--deep-blue); font-weight: 900; margin-bottom: 8px; }
  .stars { color: var(--orange); font-size: 16px; margin-bottom: 12px; }
  .pick-desc { font-size: 14px; color: var(--text-sub); line-height: 1.6; }

  /* 7. Categories */
  .category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .cat-card { background: white; border-radius: var(--radius); padding: 32px 24px; text-align: center; box-shadow: var(--shadow); transition: 0.3s; cursor: pointer; }
  .cat-card:hover { background: var(--bg-blue); transform: translateY(-4px); }
  .cat-icon { font-size: 48px; margin-bottom: 16px; }
  .cat-card h3 { font-size: 20px; color: var(--deep-blue); margin-bottom: 8px; font-weight: bold; }
  .cat-card p { font-size: 13px; color: var(--text-sub); }

  /* 8. New Arrivals */
  .new-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .new-card { background: white; border-radius: var(--radius); display: flex; overflow: hidden; box-shadow: var(--shadow); transition: 0.3s; }
  .new-card:hover { transform: translateY(-4px); }
  .new-img { width: 45%; aspect-ratio: 16/9; object-fit: cover; }
  .new-content { padding: 24px; width: 55%; display: flex; flex-direction: column; position: relative; }
  .new-title { font-family: var(--font-title); font-size: 24px; color: var(--deep-blue); font-weight: 900; margin-bottom: 8px; }
  .new-meta { font-size: 13px; color: var(--text-sub); margin-bottom: 12px; }
  .new-desc { font-size: 14px; color: var(--text-sub); line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .new-badge { position: absolute; bottom: 24px; right: 24px; background: rgba(43,140,255,0.1); color: var(--brand-blue); padding: 4px 12px; border-radius: 99px; font-size: 12px; font-weight: bold; }

  /* 9. FAQ */
  .faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .faq-card { background: white; border-radius: 16px; padding: 24px; box-shadow: 0 4px 16px rgba(0,0,0,0.04); border-left: 4px solid var(--coral); }
  .faq-q { font-size: 18px; font-weight: bold; color: var(--deep-blue); margin-bottom: 12px; }
  .faq-a { font-size: 15px; color: var(--text-sub); line-height: 1.8; }
  .faq-footer { margin-top: 16px; font-size: 13px; color: var(--brand-blue); display: flex; align-items: center; gap: 8px; }

  /* 10. Download */
  .download-section { background: linear-gradient(135deg, var(--deep-blue), var(--brand-blue)); padding: 100px 5%; color: white; display: flex; align-items: center; gap: 60px; overflow: hidden; position: relative; }
  .download-content { flex: 1; z-index: 2; }
  .download-content h2 { font-family: var(--font-title); font-size: 42px; font-weight: 900; margin-bottom: 24px; }
  .dl-features { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
  .dl-feature { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: bold; }
  .dl-buttons { display: flex; gap: 16px; margin-bottom: 24px; }
  .btn-dl { background: #111; color: white; padding: 12px 32px; border-radius: 12px; display: flex; align-items: center; gap: 8px; font-weight: bold; font-size: 16px; transition: 0.3s; }
  .btn-dl:hover { background: #333; transform: translateY(-2px); }
  .dl-version { font-size: 14px; opacity: 0.8; }
  
  .download-visual { flex: 1; position: relative; height: 500px; display: flex; justify-content: center; align-items: flex-end; z-index: 2; }
  .phone-mockup { position: absolute; border-radius: 32px; border: 8px solid #111; background: #111; box-shadow: 0 20px 40px rgba(0,0,0,0.4); transition: 0.4s; overflow: hidden; }
  .phone-mockup img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
  .phone-center { width: 220px; height: 440px; bottom: 0; z-index: 3; }
  .phone-left { width: 180px; height: 360px; bottom: 40px; left: 10%; z-index: 2; transform: rotate(-10deg); }
  .phone-right { width: 180px; height: 360px; bottom: 40px; right: 10%; z-index: 2; transform: rotate(10deg); }
  .download-visual:hover .phone-left { transform: rotate(-15deg) translateX(-30px); }
  .download-visual:hover .phone-right { transform: rotate(15deg) translateX(30px); }
  
  .mascot { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100px; z-index: 4; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3)); pointer-events: none; }
  .platform-text { position: absolute; bottom: -40px; width: 100%; text-align: center; font-size: 18px; font-weight: bold; letter-spacing: 2px; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }

  /* 11. Footer */
  footer { background: var(--bg-white); padding: 60px 5% 40px; border-top: 1px solid rgba(43,140,255,0.1); color: var(--text-sub); font-size: 14px; }
  .footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
  .footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
  .footer-brand img { height: 32px; border-radius: 8px; }
  .footer-brand span { font-family: var(--font-title); font-size: 20px; color: var(--deep-blue); font-weight: bold; }
  .footer h4 { color: var(--deep-blue); margin-bottom: 16px; font-size: 16px; }
  .footer ul { display: flex; flex-direction: column; gap: 12px; }
  .footer ul a:hover { color: var(--brand-blue); }
  .footer-bottom { border-top: 1px solid #E2E8F0; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
  .footer-bottom a { color: var(--text-sub); margin-left: 16px; }
  .footer-bottom a:hover { color: var(--deep-blue); }

  /* Responsive */
  @media (max-width: 1024px) {
    .hero h1 { font-size: 44px; }
    .hero-visual { height: 400px; }
    .hero-card { width: 180px; height: 260px; }
    .grid-4x2 { grid-template-columns: repeat(2, 1fr); }
    .quick-links { grid-template-columns: repeat(2, 1fr); }
    .banner-container { flex-direction: column; }
    .banner-img-wrap { width: 100%; height: 300px; }
    .banner-content { width: 100%; padding: 40px; text-align: center; }
    .btn-banner { align-self: center; }
    .ranking-layout { flex-direction: column; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .new-grid { grid-template-columns: 1fr; }
    .download-section { flex-direction: column; padding: 60px 5%; }
    .download-visual { width: 100%; height: 400px; margin-top: 40px; }
    .phone-center { width: 180px; height: 360px; }
    .phone-left, .phone-right { display: none; }
  }
  @media (max-width: 768px) {
    .header-nav { display: none; }
    .hero { flex-direction: column; padding: 40px 5%; text-align: center; }
    .hero-content { max-width: 100%; }
    .hero-visual { display: none; }
    .hero h1 { font-size: 32px; }
    .hero-search { flex-direction: column; background: transparent; box-shadow: none; gap: 12px; }
    .hero-search input { background: white; box-shadow: var(--shadow); padding: 16px; }
    .btn-search { width: 100%; padding: 16px; }
    .quick-links { grid-template-columns: 1fr; margin-top: 20px; }
    .section { padding: 40px 5%; }
    .section-title { font-size: 28px; }
    .grid-4x2 { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: 1fr; }
    .new-card { flex-direction: column; }
    .new-img { width: 100%; aspect-ratio: 16/9; }
    .new-content { width: 100%; }
    .faq-grid { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr; text-align: center; }
    .footer-brand { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 16px; }
  }