@charset "UTF-8";

:root {
  --red: #f53844;
  --red-hover: #e02836;
  --red-dark: #c41e2a;
  --blue: #3090ff;
  --purple: #b940f7;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #eeeeee;
  --gray-300: #e0e0e0;
  --gray-400: #bdbdbd;
  --gray-500: #9e9e9e;
  --gray-600: #757575;
  --gray-700: #616161;
  --gray-800: #424242;
  --gray-900: #212121;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-xl: 0 12px 32px rgba(0,0,0,0.16);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.25s ease;
  --max-width: 1200px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.section {
  padding: 80px 20px;
}

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: var(--gray-900);
  margin-bottom: 8px;
  position: relative;
  padding-bottom: 16px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-600);
  font-size: 1rem;
  margin-top: 12px;
  margin-bottom: 48px;
}

.icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
  flex-shrink: 0;
}

.icon-menu        { background-image: url('../icons/menu.svg'); }
.icon-close       { background-image: url('../icons/close.svg'); }
.icon-read        { background-image: url('../icons/read.svg'); }
.icon-offline     { background-image: url('../icons/offline.svg'); }
.icon-hd          { background-image: url('../icons/hd.svg'); }
.icon-category    { background-image: url('../icons/category.svg'); }
.icon-shield      { background-image: url('../icons/shield.svg'); }
.icon-download    { background-image: url('../icons/download.svg'); }
.icon-star        { background-image: url('../icons/star.svg'); }
.icon-star-fill   { background-image: url('../icons/star-fill.svg'); }
.icon-clock       { background-image: url('../icons/clock.svg'); }
.icon-avatar      { background-image: url('../icons/avatar.svg'); }
.icon-phone       { background-image: url('../icons/phone.svg'); }
.icon-arrow-down  { background-image: url('../icons/arrow-down.svg'); }
.icon-android     { background-image: url('../icons/android-download.svg'); }
.icon-apple       { background-image: url('../icons/apple-download.svg'); }

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  height: 64px;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  flex-shrink: 0;
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

.logo:hover {
  color: var(--red);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: block;
  padding: 8px 16px;
  font-size: 0.95rem;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  position: relative;
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--red);
  background: rgba(245, 56, 68, 0.06);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
  transition: transform var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.menu-toggle .icon {
  width: 26px;
  height: 26px;
}

.menu-toggle:hover {
  background: var(--gray-100);
}

.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
}

.banner {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  padding: 100px 20px 60px;
  text-align: center;
  color: var(--white);
}

.banner-content {
  max-width: 680px;
}

.banner-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.banner-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  opacity: 0.95;
  margin-bottom: 8px;
}

.banner-desc {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-bottom: 40px;
}

.banner-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  background: var(--white);
  color: var(--red);
  border: 2px solid var(--white);
  transition: all var(--transition);
}

.btn-download img {
  width: 24px;
  height: 24px;
}

.btn-download .icon {
  width: 24px;
  height: 24px;
}

.btn-download:hover {
  background: transparent;
  color: var(--white);
  transform: scale(1.04);
}

.banner-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.7;
  font-size: 0.85rem;
  cursor: pointer;
}

.banner-scroll-hint .icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.features {
  background: var(--gray-50);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(245,56,68,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--red);
}

.feature-icon .icon {
  width: 28px;
  height: 28px;
  filter: brightness(0) saturate(100%) invert(34%) sepia(84%) saturate(3806%) hue-rotate(340deg) brightness(97%) contrast(96%);
}

.feature-card:hover .feature-icon .icon {
  filter: brightness(0) invert(1);
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.content-showcase {
  background: var(--white);
}

.comic-scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 20px 32px;
  scrollbar-width: thin;
  scrollbar-color: var(--red) var(--gray-100);
}

.comic-scroll-wrapper::-webkit-scrollbar {
  height: 10px;
}

.comic-scroll-wrapper::-webkit-scrollbar-track {
  background: var(--gray-100);
  border-radius: 5px;
}

.comic-scroll-wrapper::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 5px;
  border: 2px solid var(--gray-100);
}

.comic-scroll {
  display: flex;
  gap: 24px;
  padding: 8px 0;
  min-width: min-content;
}

.comic-card {
  flex-shrink: 0;
  width: 250px;
  max-width: calc(100% - 40px);
  transition: transform var(--transition);
}

.comic-card:hover {
  transform: translateY(-8px);
}

.comic-cover {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 180%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 12px;
  border-bottom: 4px solid var(--red);
}

.comic-cover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.comic-card:hover .comic-cover img {
  transform: scale(1.08);
}

.comic-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
  z-index: 1;
}

.comic-name {
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  color: var(--gray-800);
}

.changelog {
  background: var(--gray-50);
}

.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 0 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: var(--gray-300);
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
  padding-right: calc(50% + 28px);
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
  padding-left: calc(50% + 28px);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.timeline-dot .icon {
  width: 18px;
  height: 18px;
  filter: brightness(0) saturate(100%) invert(34%) sepia(84%) saturate(3806%) hue-rotate(340deg) brightness(97%) contrast(96%);
}

.timeline-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  width: 100%;
  transition: box-shadow var(--transition);
}

.timeline-card:hover {
  box-shadow: var(--shadow-md);
}

.version-tag {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 2px 12px;
  border-radius: 20px;
  margin-right: 10px;
}

.version-date {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.version-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 12px 0 10px;
  color: var(--gray-900);
}

.version-changes {
  padding-left: 18px;
  list-style: disc;
}

.version-changes li {
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-bottom: 4px;
  line-height: 1.7;
}

.download-center {
  background: var(--white);
}

.download-cards {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.download-card {
  flex: 1;
  min-width: 300px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.download-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.download-card-icon {
  margin: 0 auto 20px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.download-card-icon .icon {
  width: 100%;
  height: 100%;
}

.download-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.download-card-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 4px;
}

.download-card-version {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 24px;
}

.btn-download-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 40px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  background: var(--red);
  color: var(--white);
  transition: all var(--transition);
}

.btn-download-red img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.btn-download-red .icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.btn-download-red:hover {
  background: var(--red-hover);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(245,56,68,0.4);
}

.reviews {
  background: var(--gray-50);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

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

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(245,56,68,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-avatar .icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(34%) sepia(84%) saturate(3806%) hue-rotate(340deg) brightness(97%) contrast(96%);
}

.review-user {
  flex: 1;
}

.review-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-900);
  display: block;
  margin-bottom: 4px;
}

.review-stars {
  display: flex;
  gap: 2px;
}

.review-stars .icon {
  width: 16px;
  height: 16px;
}

.review-stars .icon-star-fill {
  filter: brightness(0) saturate(100%) invert(72%) sepia(68%) saturate(2199%) hue-rotate(10deg) brightness(101%) contrast(96%);
}

.review-stars .icon-star {
  filter: brightness(0) saturate(100%) invert(72%) sepia(68%) saturate(2199%) hue-rotate(10deg) brightness(101%) contrast(96%);
  opacity: 0.5;
}

.review-text {
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.75;
  font-style: italic;
}

.footer {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  color: var(--white);
  padding: 56px 20px 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-brand {
  flex: 1.2;
  min-width: 250px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.footer-logo img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--white);
  padding: 2px;
}

.footer-slogan {
  font-size: 0.95rem;
  opacity: 0.85;
}

.footer-links {
  flex: 1;
  min-width: 150px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.6);
  border-radius: 1px;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity var(--transition);
}

.footer-links ul li a:hover {
  opacity: 1;
}

.footer-contact {
  flex: 1.3;
  min-width: 200px;
}

.footer-contact p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact .icon {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  opacity: 0.65;
  line-height: 1.8;
}

@media (max-width: 1023px) {
  .features-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .banner-title {
    font-size: 2.4rem;
  }

  .section {
    padding: 64px 16px;
  }

  .section-title {
    font-size: 1.7rem;
  }
}

@media (max-width: 767px) {
  
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: -4px 0 20px rgba(0,0,0,0.12);
    padding: 72px 0 20px;
    z-index: 1001;
    transition: right 0.3s ease;
    overflow-y: auto;
  }

  .nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-link {
    padding: 14px 24px;
    font-size: 1rem;
    border-radius: 0;
    border-bottom: 1px solid var(--gray-100);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.active {
    background: rgba(245,56,68,0.06);
  }

  .nav-overlay.active {
    display: block;
  }

  
  .banner {
    min-height: 90vh;
    padding: 90px 16px 40px;
  }

  .banner-title {
    font-size: 2rem;
  }

  .banner-subtitle {
    font-size: 1.05rem;
  }

  .banner-buttons {
    flex-direction: column;
    gap: 14px;
  }

  .btn-download {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  
  .section {
    padding: 56px 16px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    margin-bottom: 32px;
  }

  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  
  .comic-card {
    width: calc(50% - 12px);
    min-width: 140px;
  }

  
  .timeline-line {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding: 0 0 0 52px;
    justify-content: flex-start;
  }

  .timeline-dot {
    left: 20px;
    width: 34px;
    height: 34px;
  }

  
  .download-cards {
    flex-direction: column;
    align-items: center;
  }

  .download-card {
    min-width: unset;
    width: 100%;
    max-width: 360px;
    padding: 32px 24px;
  }

  
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  
  .footer-top {
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .timeline-item:nth-child(odd) .timeline-card {
    margin-right: 0;
  }
}