:root {
  --bg-dark: #0f0c1b;
  --bg-card: rgba(255, 255, 255, 0.05);
  --pink: #ff6bcb;
  --purple: #9b51e0;
  --blue: #56ccf2;
  --yellow: #f2c94c;
  --text-main: #f0f0f5;
  --text-muted: #a09eb2;
  --grad-main: linear-gradient(135deg, var(--pink), var(--purple) 50%, var(--blue));
  --border-glass: rgba(255, 255, 255, 0.12);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(155, 81, 224, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 40%, rgba(255, 107, 203, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(86, 204, 242, 0.1) 0%, transparent 50%);
  background-attachment: fixed;
}

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

ul {
  list-style: none;
}

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(15, 12, 27, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
  padding: 10px 5%;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: bold;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: 1px;
}

.logo-area img {
  height: 32px;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

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

.nav-links a:hover {
  color: var(--pink);
}

.nav-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.btn-download {
  background: var(--grad-main);
  color: #fff;
  padding: 8px 24px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(255, 107, 203, 0.3);
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 203, 0.5);
}

/* 首屏 Hero */
.hero {
  position: relative;
  padding: 160px 5% 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90vh;
}

.hero-content {
  max-width: 550px;
  z-index: 2;
}

.hero-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(155, 81, 224, 0.2);
  border: 1px solid var(--purple);
  color: var(--pink);
  border-radius: 12px;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(255, 107, 203, 0.2);
}

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

.hero-btns {
  display: flex;
  gap: 20px;
}

.btn-primary {
  background: var(--grad-main);
  color: #fff;
  padding: 12px 32px;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: bold;
  transition: transform 0.3s;
  box-shadow: 0 8px 25px rgba(155, 81, 224, 0.4);
}

.btn-primary:hover {
  transform: scale(1.05);
}

.hero-visual {
  position: relative;
  width: 50%;
  height: 600px;
  z-index: 1;
}

.hero-img-main {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 80%;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border: 1px solid var(--border-glass);
}

.hero-img-sub {
  position: absolute;
  left: 0;
  bottom: 10%;
  width: 45%;
  border-radius: 16px;
  border: 1px solid var(--border-glass);
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* 通用区块 */
.section-container {
  padding: 80px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 40px;
  text-align: center;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #fff;
}

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

/* 海量漫画区 */
.manga-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 25px;
}

.manga-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(10px);
  position: relative;
}

.manga-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 30px rgba(155, 81, 224, 0.3);
  border-color: rgba(255, 107, 203, 0.4);
}

.manga-cover {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-bottom: 2px solid var(--purple);
}

.manga-info {
  padding: 15px;
}

.manga-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.manga-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.manga-tag {
  color: var(--blue);
  background: rgba(86, 204, 242, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

/* 功能特性区 (智能清理/创意编辑) */
.features-wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 50px;
}

.feature-row:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
}

.feature-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--yellow);
}

.feature-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 15px;
}

.feature-image {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  position: relative;
}

.feature-image img {
  width: 100%;
  display: block;
  transition: transform 0.5s;
}

.feature-image:hover img {
  transform: scale(1.05);
}

/* 图集展示区 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  height: 300px;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* 使用指南 */
.guide-steps {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
}

.step-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  position: relative;
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--grad-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 0 auto 20px;
  color: #fff;
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* 页脚 */
footer {
  border-top: 1px solid var(--border-glass);
  padding: 40px 5%;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  background: rgba(0,0,0,0.2);
}

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

.footer-links {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--pink);
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-meta a {
  color: var(--text-muted);
}

.footer-meta a:hover {
  color: #fff;
}

time {
  font-family: monospace;
}

/* 响应式 */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.8rem; }
  .hero-visual { height: 500px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row { gap: 30px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero {
    flex-direction: column;
    padding-top: 120px;
    text-align: center;
  }
  .hero-content { max-width: 100%; margin-bottom: 40px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-btns { justify-content: center; }
  .hero-visual {
    width: 100%;
    height: 400px;
  }
  .hero-img-main { right: auto; left: 50%; transform: translate(-50%, -50%); width: 90%; }
  .hero-img-sub { left: 10%; bottom: 0; width: 50%; }
  
  .feature-row, .feature-row:nth-child(even) {
    flex-direction: column;
  }
  .guide-steps { flex-direction: column; }
  .gallery-grid { grid-template-columns: 1fr; }
  .manga-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .manga-grid { grid-template-columns: 1fr; }
}