:root {
    --purple: #8A2BE2;
    --neon-blue: #00F0FF;
    --magenta: #FF007F;
    --bg-dark: #0B0C10;
    --text-main: #F2F2F2;
    --text-muted: #A0A0A0;
    --card-bg: rgba(255, 255, 255, 0.05);
    --glow-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
  }

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

  body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
  }

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

  /* 顶部导航 */
  .navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    z-index: 1000;
    background: rgba(11, 12, 16, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.3);
    transition: all 0.3s ease;
  }

  .nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 10px var(--purple);
  }

  .nav-brand img {
    height: 32px;
    border-radius: 6px;
  }

  .nav-links {
    display: none;
    gap: 20px;
  }

  .nav-links a {
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: color 0.3s;
  }

  .nav-links a:hover, .nav-links a.active {
    color: var(--neon-blue);
    text-shadow: 0 0 8px var(--neon-blue);
  }

  .nav-btn {
    background: linear-gradient(90deg, var(--purple), var(--magenta));
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.5);
    transition: transform 0.2s;
  }

  .nav-btn:hover {
    transform: translateY(-2px);
  }

  /* Hero 首屏 */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 5% 50px;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(138, 43, 226, 0.15) 0%, var(--bg-dark) 70%);
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
  }

  .hero h1 {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--neon-blue), var(--magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    margin-bottom: 15px;
    line-height: 1.3;
  }

  .hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
  }

  .hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .btn-primary, .btn-secondary {
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
  }

  .btn-primary {
    background: linear-gradient(90deg, var(--purple), var(--magenta));
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.6);
  }

  .btn-primary:hover {
    box-shadow: 0 0 30px rgba(255, 0, 127, 0.9);
    transform: scale(1.05);
  }

  .btn-secondary {
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
    background: transparent;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
  }

  .btn-secondary:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
  }

  /* 通用区块标题 */
  section {
    padding: 80px 5%;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 50px;
  }

  .section-header h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 0 10px var(--purple);
  }

  .section-header p {
    color: var(--text-muted);
    font-size: 1rem;
  }

  /* 韩漫大全 Masonry */
  .masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
  }

  .comic-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .comic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.4);
    border-color: var(--purple);
  }

  .comic-card img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3/4;
    object-fit: cover;
  }

  .card-info {
    padding: 12px;
  }

  .card-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

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

  .tag {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0, 240, 255, 0.15);
    color: var(--neon-blue);
  }

  .tag.pink {
    background: rgba(255, 0, 127, 0.15);
    color: var(--magenta);
  }

  /* 热门榜单 */
  .ranking-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
  }

  .rank-item {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: background 0.3s;
  }

  .rank-item:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .rank-num {
    font-size: 1.5rem;
    font-weight: 900;
    width: 40px;
    font-style: italic;
    color: var(--text-muted);
  }

  .rank-item.top-1 .rank-num { color: #FFD700; text-shadow: 0 0 10px #FFD700; }
  .rank-item.top-2 .rank-num { color: #C0C0C0; text-shadow: 0 0 8px #C0C0C0; }
  .rank-item.top-3 .rank-num { color: #CD7F32; text-shadow: 0 0 8px #CD7F32; }

  .rank-info {
    flex: 1;
    margin-left: 15px;
  }

  .rank-title {
    font-size: 1.1rem;
    font-weight: bold;
  }

  .rank-hot {
    font-size: 0.85rem;
    color: var(--magenta);
  }

  /* 阅读特色 */
  .features-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .feature-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .feature-text {
    flex: 1;
    text-align: center;
  }

  .feature-text h3 {
    font-size: 1.5rem;
    color: var(--neon-blue);
    margin-bottom: 10px;
  }

  .feature-img {
    flex: 1;
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
  }

  .feature-img img {
    width: 100%;
    display: block;
  }

  /* App 下载 */
  .app-download {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, rgba(0, 240, 255, 0.1) 100%);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    border: 1px solid rgba(138, 43, 226, 0.3);
  }

  .app-download h2 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .app-download p {
    color: var(--text-muted);
    margin-bottom: 30px;
  }

  .app-btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .app-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 300px;
    padding: 15px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    background: #1a1a24;
    border: 1px solid rgba(0, 240, 255, 0.5);
    color: #fff;
    transition: all 0.3s;
  }

  .app-btn:hover {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
    border-color: var(--neon-blue);
  }

  /* 每日更新 */
  .timeline {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    padding-left: 30px;
  }

  .timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--purple), var(--neon-blue));
  }

  .timeline-item {
    position: relative;
    margin-bottom: 25px;
    background: var(--card-bg);
    padding: 15px;
    border-radius: 8px;
  }

  .timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 20px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue);
  }

  /* 漫迷热评 */
  .reviews-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none;
  }
  .reviews-scroll::-webkit-scrollbar { display: none; }

  .review-card {
    min-width: 250px;
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }

  .review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
  }

  .review-stars { color: #FFD700; font-size: 0.9rem; }

  /* FAQ */
  .faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .faq-item {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    border-left: 3px solid transparent;
    transition: border-color 0.3s;
  }

  .faq-item[open] {
    border-left-color: var(--magenta);
  }

  .faq-item summary {
    padding: 15px 20px;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--neon-blue);
  }
  .faq-item[open] summary::after {
    content: '-';
  }

  .faq-content {
    padding: 0 20px 15px;
    color: var(--text-muted);
    font-size: 0.95rem;
  }

  /* 页脚 */
  footer {
    background: #050508;
    padding: 40px 5% 20px;
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    border-top: 1px solid rgba(138, 43, 226, 0.2);
  }

  footer p {
    margin-bottom: 10px;
  }

  footer a {
    color: #888;
  }

  footer a:hover {
    color: var(--neon-blue);
  }

  /* 响应式 */
  @media (min-width: 768px) {
    .nav-links { display: flex; }
    .hero h1 { font-size: 3.5rem; }
    .masonry-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
    .feature-row { flex-direction: row; text-align: left; }
    .feature-row:nth-child(even) { flex-direction: row-reverse; }
    .feature-text { text-align: left; }
    .app-btns { flex-direction: row; justify-content: center; }
    .app-btn { width: auto; padding: 15px 40px; }
  }

  @media (min-width: 1024px) {
    .hero h1 { font-size: 4rem; }
    .masonry-grid { grid-template-columns: repeat(4, 1fr); }
  }