:root {
    --blue: #0A3D6B;
    --yellow: #FFE600;
    --bg: #F8F9FA;
    --text: #333333;
    --gray: #777777;
    --light-gray: #E5E7EB;
    --radius: 24px;
    --shadow: 0 4px 24px rgba(0,0,0,0.04);
    --max-width: 1100px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: radial-gradient(var(--blue) 1px, transparent 1px);
    background-size: 20px 20px;
    background-opacity: 0.03;
  }

  a { text-decoration: none; color: inherit; }
  ul { list-style: none; }
  img { max-width: 100%; display: block; object-fit: cover; }

  .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
  }

  /* Header */
  header {
    position: sticky;
    top: 0;
    background: rgba(248, 249, 250, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--light-gray);
    padding: 15px 0;
  }
  .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .logo-wrap { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.2rem; color: var(--blue); }
  .logo-wrap img { height: 32px; }
  .nav-links { display: flex; gap: 20px; font-weight: 600; font-size: 0.9rem; color: var(--gray); }
  .nav-links a:hover { color: var(--blue); }

  /* Hero */
  .hero-section {
    margin-top: 20px;
    background: linear-gradient(135deg, #FFFDE7 0%, #FFF9C4 100%);
    border-radius: var(--radius);
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
  .hero-section::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,230,0,0.1) 10px, rgba(255,230,0,0.1) 20px);
    pointer-events: none;
  }
  .hero-content { flex: 1; position: relative; z-index: 2; }
  .hero-tag {
    display: inline-block; background: var(--blue); color: #fff;
    padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; margin-bottom: 15px;
  }
  .hero-content h1 {
    font-size: 3rem; font-weight: 900; color: var(--blue); line-height: 1.2; margin-bottom: 15px;
  }
  .hero-content h1 span { color: var(--yellow); text-shadow: 1px 1px 0 var(--blue); }
  .hero-desc { font-size: 1.1rem; color: var(--text); margin-bottom: 30px; max-width: 450px; }
  .hero-btns { display: flex; gap: 15px; margin-bottom: 25px; }
  .btn {
    padding: 12px 24px; border-radius: 30px; font-weight: bold; font-size: 1rem; transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
  .btn-primary { background: var(--yellow); color: var(--blue); border: 2px solid var(--yellow); }
  .btn-secondary { background: #fff; color: var(--text); border: 1px solid var(--light-gray); }
  .hero-checks { display: flex; gap: 15px; font-size: 0.85rem; color: var(--gray); }
  .hero-checks span::before { content: '✓'; color: var(--blue); margin-right: 4px; font-weight: bold; }

  .hero-visual { flex: 1; position: relative; display: flex; justify-content: center; align-items: center; height: 400px; }
  .carousel-3d { position: relative; width: 260px; height: 360px; transform-style: preserve-3d; perspective: 1000px; }
  .carousel-card { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 20px rgba(0,0,0,0.15); transition: all 0.5s ease; }
  .carousel-card img { width: 100%; height: 100%; object-fit: cover; }
  .carousel-card:nth-child(1) { transform: translateX(-120px) scale(0.8) rotateY(15deg); z-index: 1; filter: blur(2px); opacity: 0.6; }
  .carousel-card:nth-child(2) { transform: translateX(-60px) scale(0.9) rotateY(10deg); z-index: 2; filter: blur(1px); opacity: 0.8; }
  .carousel-card:nth-child(3) { transform: translateX(0) scale(1); z-index: 3; }
  .carousel-card:nth-child(4) { transform: translateX(60px) scale(0.9) rotateY(-10deg); z-index: 2; filter: blur(1px); opacity: 0.8; }
  .carousel-card:nth-child(5) { transform: translateX(120px) scale(0.8) rotateY(-15deg); z-index: 1; filter: blur(2px); opacity: 0.6; }
  .carousel-card:nth-child(6) { transform: translateX(180px) scale(0.7) rotateY(-20deg); z-index: 0; filter: blur(3px); opacity: 0.4; }
  .hero-float-tag {
    position: absolute; background: #fff; padding: 8px 16px; border-radius: 20px; font-weight: bold; font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); z-index: 10;
  }
  .tag-1 { top: 20px; right: 0; color: var(--blue); }
  .tag-2 { bottom: 40px; left: 0; color: #e91e63; }

  /* Features */
  .features-section { margin: 100px 0; }
  .features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .feature-card {
    background: #fff; padding: 25px 20px; border-radius: 16px; box-shadow: var(--shadow);
    display: flex; align-items: flex-start; gap: 15px; transition: transform 0.3s;
  }
  .feature-card:hover { transform: translateY(-5px); }
  .feature-icon { font-size: 1.8rem; color: var(--blue); }
  .feature-text h3 { font-size: 1rem; font-weight: 900; color: var(--blue); margin-bottom: 4px; }
  .feature-text p { font-size: 0.8rem; color: var(--gray); }

  /* Editor Choice */
  .section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; }
  .section-title h2 { font-size: 2rem; font-weight: 900; color: var(--blue); margin-bottom: 5px; }
  .section-title p { color: var(--gray); font-size: 0.95rem; }
  .view-all { color: var(--blue); font-weight: bold; background: var(--yellow); padding: 8px 16px; border-radius: 20px; font-size: 0.9rem; }
  .view-all:hover { opacity: 0.8; }

  .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .comic-card {
    background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    transition: transform 0.3s; display: flex; flex-direction: column;
  }
  .comic-card:hover { transform: translateY(-5px); }
  .comic-cover { position: relative; width: 100%; aspect-ratio: 3/4; }
  .comic-cover img { width: 100%; height: 100%; object-fit: cover; }
  .cover-tag { position: absolute; top: 10px; left: 10px; background: var(--blue); color: #fff; font-size: 0.7rem; padding: 2px 8px; border-radius: 10px; }
  .cover-score { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,0.7); color: #fff; font-size: 0.8rem; padding: 2px 6px; border-radius: 6px; font-weight: bold; }
  .comic-info { padding: 15px; flex: 1; display: flex; flex-direction: column; }
  .comic-info h3 { font-size: 1.1rem; font-weight: 900; color: var(--text); margin-bottom: 4px; }
  .comic-info .author { font-size: 0.8rem; color: var(--gray); margin-bottom: 8px; }
  .comic-info .desc { font-size: 0.85rem; color: var(--gray); line-height: 1.4; margin-bottom: 15px; flex: 1; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .btn-detail {
    text-align: center; padding: 8px; border: 1px solid var(--light-gray); border-radius: 10px;
    font-size: 0.85rem; font-weight: bold; color: var(--text); transition: all 0.2s;
  }
  .btn-detail:hover { border-color: var(--blue); color: var(--blue); }

  /* Ranking + New */
  .rank-section { margin: 100px 0; display: flex; gap: 25px; }
  .rank-left {
    flex: 6.5; background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow);
  }
  .rank-left h2 { font-size: 1.5rem; font-weight: 900; color: var(--blue); margin-bottom: 20px; }
  .rank-list li { display: flex; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--light-gray); }
  .rank-list li:last-child { border-bottom: none; }
  .rank-num { font-size: 1.8rem; font-weight: 900; color: var(--yellow); text-shadow: 1px 1px 0 var(--blue); width: 40px; }
  .rank-cover { width: 50px; height: 70px; border-radius: 8px; object-fit: cover; margin-right: 15px; }
  .rank-info h3 { font-size: 1rem; font-weight: bold; margin-bottom: 2px; }
  .rank-info p { font-size: 0.8rem; color: var(--gray); }
  .rank-score { margin-left: auto; font-weight: bold; color: #f59e0b; }

  .rank-right { flex: 3.5; background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
  .rank-right h2 { font-size: 1.5rem; font-weight: 900; color: var(--blue); margin-bottom: 20px; }
  .new-list { flex: 1; }
  .new-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
  .new-list img { width: 45px; height: 60px; border-radius: 6px; object-fit: cover; }
  .new-info h4 { font-size: 0.95rem; font-weight: bold; }
  .new-info p { font-size: 0.75rem; color: var(--gray); }
  .btn-browse { text-align: center; padding: 10px; border: 1px solid var(--light-gray); border-radius: 10px; font-weight: bold; font-size: 0.9rem; margin-top: 10px; }
  .btn-browse:hover { border-color: var(--blue); color: var(--blue); }

  /* Comments */
  .comments-section { margin: 100px 0; }
  .comments-section .section-title { border-left: 5px solid var(--yellow); padding-left: 15px; margin-bottom: 20px; }
  .comments-section .section-title h2 { font-size: 1.8rem; }
  .comment-box {
    background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); max-height: 400px; overflow-y: auto;
  }
  .comment-item { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px dashed var(--light-gray); }
  .comment-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
  .comment-header { display: flex; justify-content: space-between; margin-bottom: 8px; }
  .comment-user { font-weight: bold; color: var(--blue); }
  .comment-text { font-size: 0.95rem; margin-bottom: 10px; }
  .comment-footer { display: flex; gap: 15px; font-size: 0.85rem; color: var(--gray); align-items: center; }
  .comment-footer span { display: flex; align-items: center; gap: 4px; }
  .btn-reply { background: var(--yellow); color: var(--blue); padding: 4px 12px; border-radius: 12px; font-size: 0.8rem; font-weight: bold; margin-left: auto; }

  /* Download Section */
  .download-section { margin: 100px 0; }
  .download-card {
    background: var(--blue); border-radius: var(--radius); border: 4px solid var(--yellow);
    box-shadow: 8px 8px 0 rgba(255,230,0,0.3);
    display: flex; padding: 50px; gap: 40px; position: relative; overflow: hidden;
  }
  .download-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(var(--yellow) 1px, transparent 1px); background-size: 15px 15px; opacity: 0.1; pointer-events: none;
  }
  .dl-content { flex: 1.2; position: relative; z-index: 2; color: #fff; }
  .dl-tag { display: inline-block; border: 1px solid var(--yellow); color: var(--yellow); padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; margin-bottom: 15px; }
  .dl-content h2 { font-size: 2.2rem; font-weight: 900; margin-bottom: 10px; line-height: 1.3; }
  .dl-desc { color: #a0b8cc; font-size: 1rem; margin-bottom: 30px; }
  .dl-features { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 30px; }
  .dl-features li { font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }
  .dl-features li::before { content: ''; width: 8px; height: 8px; background: var(--yellow); display: inline-block; }
  .dl-btns { display: flex; gap: 15px; }
  .btn-dl {
    padding: 12px 24px; border-radius: 10px; font-weight: bold; display: flex; align-items: center; gap: 8px; transition: transform 0.2s;
  }
  .btn-dl:hover { transform: translateY(-2px); }
  .btn-android { background: var(--yellow); color: var(--blue); }
  .btn-ios { background: transparent; border: 1px solid var(--yellow); color: #fff; }
  .dl-note { font-size: 0.75rem; color: #a0b8cc; margin-top: 15px; }

  .dl-visual { flex: 0.8; position: relative; display: flex; justify-content: center; align-items: center; }
  .phone-mockup {
    width: 200px; height: 400px; border: 4px solid var(--yellow); border-radius: 30px;
    background: var(--blue); transform: rotate(8deg); position: relative; box-shadow: 0 0 20px rgba(255,230,0,0.3);
    display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden;
  }
  .phone-mockup::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(var(--yellow) 1px, transparent 1px); background-size: 10px 10px; opacity: 0.2; pointer-events: none;
  }
  .phone-text { color: var(--yellow); font-size: 2.5rem; font-weight: 900; z-index: 2; }
  .phone-bar { width: 80%; height: 6px; background: rgba(255,255,255,0.2); border-radius: 3px; margin-top: 20px; position: relative; z-index: 2; overflow: hidden; }
  .phone-bar::after { content: ''; position: absolute; top: 0; left: 0; height: 100%; width: 60%; background: var(--yellow); border-radius: 3px; }
  .float-pill {
    position: absolute; background: #fff; padding: 6px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: bold; color: var(--blue); box-shadow: 0 4px 10px rgba(0,0,0,0.2); z-index: 10;
  }
  .pill-1 { top: 20px; right: -20px; }
  .pill-2 { bottom: 40px; left: -30px; color: #e91e63; }

  /* FAQ */
  .faq-section { margin: 100px 0; }
  .faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .faq-item { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 20px; }
  .faq-question { display: flex; justify-content: space-between; align-items: center; font-weight: bold; cursor: pointer; font-size: 1rem; color: var(--blue); }
  .faq-question .icon { color: var(--yellow); font-size: 1.2rem; font-weight: 900; }
  .faq-answer { margin-top: 10px; font-size: 0.9rem; color: var(--gray); display: none; }
  .faq-item.active .faq-answer { display: block; }
  .faq-item.active .icon { transform: rotate(45deg); }

  /* Footer */
  footer { background: #fff; border-top: 1px solid var(--light-gray); padding: 40px 0; text-align: center; }
  .footer-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; font-size: 0.9rem; color: var(--gray); }
  .footer-links a:hover { color: var(--blue); }
  .copyright { font-size: 0.8rem; color: #999; }
  .update-time { font-size: 0.75rem; color: #bbb; margin-top: 8px; }

  @media (max-width: 1024px) {
    .hero-section { flex-direction: column; text-align: center; padding: 40px 20px; }
    .hero-btns { justify-content: center; }
    .hero-checks { justify-content: center; }
    .hero-visual { display: none; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .rank-section { flex-direction: column; }
    .download-card { flex-direction: column; padding: 30px; text-align: center; }
    .dl-features { justify-content: center; }
    .dl-btns { justify-content: center; }
    .dl-visual { margin-top: 30px; }
  }

  @media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2rem; }
    .dl-features { grid-template-columns: 1fr; text-align: left; display: inline-grid; }
    .hero-float-tag { display: none; }
  }