:root {
  --bg-color: #FFF9E6;
  --text-main: #2B2B2B;
  --pink: #FF8CA3;
  --pink-dark: #E56A82;
  --blue: #8CD3FF;
  --blue-dark: #6BBDED;
  --border: #1A1A1A;
  --shadow: 4px 4px 0px var(--border);
  --font-main: "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--bg-color);
  background-image: radial-gradient(#F0E6D2 1px, transparent 1px);
  background-size: 20px 20px;
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: 70px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* 贴纸风格按钮 */
.sticker-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-weight: 800;
  font-size: 1.1rem;
  border: 3px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.1s, box-shadow 0.1s;
  cursor: pointer;
  text-align: center;
}
.sticker-btn:active {
  transform: translate(4px, 4px);
  box-shadow: 0px 0px 0px var(--border);
}
.btn-pink { background-color: var(--pink); color: #fff; text-shadow: 1px 1px 0 rgba(0,0,0,0.2); }
.btn-blue { background-color: var(--blue); color: var(--border); }
.btn-white { background-color: #fff; color: var(--border); }

/* 胶带效果 */
.tape {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transform: rotate(-3deg);
  z-index: 10;
}
.tape-top {
  top: -10px; left: 50%; margin-left: -50px; width: 100px; height: 30px;
}

/* 导航栏 */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 70px;
  background-color: var(--bg-color);
  border-bottom: 3px solid var(--border);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 20px;
  overflow-x: auto;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.logo-area { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-area img { height: 36px; width: auto; mix-blend-mode: multiply; }
.logo-area span { font-size: 1.4rem; font-weight: 900; letter-spacing: 1px; }
.nav-links { display: flex; gap: 15px; overflow-x: auto; white-space: nowrap; padding-bottom: 5px;}
.nav-links a { font-weight: 700; font-size: 0.95rem; padding: 5px 10px; border-radius: 6px; transition: background 0.2s;}
.nav-links a:hover { background: rgba(0,0,0,0.05); }

/* 首屏 */
.hero {
  position: relative;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}
.hero-text { text-align: center; max-width: 600px; }
.hero-text h1 {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 15px;
  color: var(--border);
}
.hero-text p { font-size: 1.1rem; margin-bottom: 25px; font-weight: 500; }
.download-group { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
.hero-image {
  width: 100%;
  max-width: 700px;
  border: 4px solid var(--border);
  border-radius: 16px;
  box-shadow: 8px 8px 0 var(--border);
  position: relative;
  background: #fff;
  padding: 8px;
  transform: rotate(1deg);
}
.hero-image img { border-radius: 8px; width: 100%; }

/* 基础板块样式 */
section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.section-title {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 40px;
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 6px;
  background: var(--pink);
  border-radius: 3px;
  transform: rotate(-1deg);
}

/* 排行榜 */
.rank-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
.rank-card {
  background: #fff;
  border: 3px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.rank-img { width: 100%; height: auto; border-bottom: 3px solid var(--border); }
.rank-info { padding: 20px; }
.rank-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--pink);
  color: #fff;
  font-weight: 900;
  font-size: 1.2rem;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--border);
  border-radius: 50%;
  box-shadow: 2px 2px 0 var(--border);
  z-index: 2;
}
.rank-info h3 { font-size: 1.3rem; margin-bottom: 8px; font-weight: 800; }
.rank-tag {
  display: inline-block; padding: 4px 10px; font-size: 0.85rem; font-weight: 700;
  background: var(--blue); color: var(--border); border-radius: 6px; border: 2px solid var(--border);
  margin-bottom: 10px;
}
.rank-info p { font-size: 0.95rem; color: #555; }

/* 图文交错 - 今日更新 */
.update-grid { display: flex; flex-direction: column; gap: 40px; }
.update-item {
  display: flex; flex-direction: column; gap: 20px;
  align-items: center;
}
.update-img-wrap {
  width: 100%; position: relative;
  transform: rotate(-1deg);
}
.update-img-wrap img { border: 3px solid var(--border); border-radius: 12px; box-shadow: 6px 6px 0 var(--border); }
.update-text { width: 100%; }
.update-text h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 12px; }
.update-text p { font-size: 1rem; color: #444; margin-bottom: 15px; }

/* 互动与入驻 */
.interact-box {
  background: linear-gradient(135deg, #fff 0%, #FFE5EC 100%);
  border: 3px solid var(--border);
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  margin-bottom: 30px;
}
.interact-box h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 15px; }
.interact-box p { margin-bottom: 20px; color: #444; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 20px; }
.faq-item {
  background: #fff; padding: 20px; border: 3px solid var(--border);
  border-radius: 12px; box-shadow: var(--shadow);
}
.faq-item h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 10px; display: flex; align-items: flex-start; gap: 10px; }
.faq-item h3::before { content: 'Q'; color: var(--pink); font-size: 1.3rem; line-height: 1; font-weight: 900;}
.faq-item p { color: #444; padding-left: 25px; font-size: 0.95rem; }

/* 教程步骤 */
.steps { display: flex; flex-direction: column; gap: 20px; }
.step-item {
  display: flex; gap: 15px; background: #fff; padding: 15px;
  border: 2px dashed var(--border); border-radius: 12px;
}
.step-num {
  width: 30px; height: 30px; background: var(--pink); color: #fff;
  font-weight: 900; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; border: 2px solid var(--border); flex-shrink: 0;
}
.step-content h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: 5px; }
.step-content p { font-size: 0.9rem; color: #555; }

/* 截图墙 */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.gallery img {
  border: 3px solid var(--border);
  border-radius: 8px;
  box-shadow: 3px 3px 0 var(--border);
  object-fit: cover;
  width: 100%;
  height: 150px;
}

/* 底部 */
footer {
  border-top: 3px solid var(--border);
  background: #fff;
  padding: 30px 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #777;
  margin-top: 40px;
}
.footer-content p { margin-bottom: 10px; }
.footer-content a { color: #777; text-decoration: underline; }
.footer-content time { display: block; margin-top: 5px; }

/* 弹窗 */
.modal {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); z-index: 1000; align-items: center; justify-content: center;
}
.modal.active { display: flex; }
.modal-content {
  background: var(--bg-color); padding: 30px 20px; border-radius: 16px;
  border: 4px solid var(--border); box-shadow: 8px 8px 0 var(--border);
  max-width: 90%; width: 400px; text-align: center; position: relative;
}
.modal-content p { font-size: 1rem; font-weight: 700; margin-bottom: 15px; }
.copy-input {
  width: 100%; padding: 12px; border: 2px solid var(--border); border-radius: 8px;
  font-size: 1rem; margin-bottom: 15px; text-align: center; background: #fff;
}
.modal-close {
  position: absolute; top: 10px; right: 15px; font-size: 1.5rem; font-weight: 900;
  cursor: pointer; color: var(--border); background: none; border: none;
}

/* 响应式 */
@media (min-width: 768px) {
  body { padding-top: 80px; }
  header { height: 80px; padding: 0 40px; }
  .logo-area span { font-size: 1.6rem; }
  .logo-area img { height: 40px; }
  .nav-links { gap: 25px; }
  .hero { flex-direction: row; justify-content: space-between; padding: 60px 20px; }
  .hero-text { text-align: left; width: 50%; }
  .hero-text h1 { font-size: 3rem; }
  .download-group { justify-content: flex-start; }
  .hero-image { width: 45%; transform: rotate(2deg); }
  .section-title { font-size: 2.2rem; }
  .rank-list { grid-template-columns: repeat(2, 1fr); }
  .update-item { flex-direction: row; gap: 40px; }
  .update-item:nth-child(even) { flex-direction: row-reverse; }
  .update-img-wrap { width: 50%; }
  .update-text { width: 50%; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery img { height: 200px; }
}

@media (min-width: 1024px) {
  .hero-text h1 { font-size: 3.5rem; }
  .rank-list { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(5, 1fr); }
  .interact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
  .interact-box { margin-bottom: 0; }
}