:root {
  --bg-main: #F7FCF9;
  --bg-mint: #E6F9F0;
  --brand-main: #48D597;
  --brand-dark: #176B48;
  --accent-black: #1A1A1A;
  --accent-pink: #FF9EA8;
  --accent-yellow: #FFC107;
  --text-main: #222222;
  --text-sub: #6B8A7A;
  --white: #FFFFFF;
  --radius-lg: 24px;
  --shadow-soft: 0 12px 32px rgba(72, 213, 151, 0.12);
}

* {
  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-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 顶部导航 */
header {
  background: rgba(247, 252, 249, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(72, 213, 151, 0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-dark);
}

.logo-area img {
  height: 34px;
  width: auto;
}

.nav-links {
  display: none;
  gap: 28px;
  font-weight: 600;
  color: var(--brand-dark);
}

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

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

.btn-nav-download {
  background: var(--accent-black);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s;
}

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

/* Hero 区 */
.hero {
  background: linear-gradient(135deg, var(--bg-mint) 0%, var(--bg-main) 100%);
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "✦";
  position: absolute;
  top: 10%;
  left: 5%;
  font-size: 40px;
  color: var(--white);
  opacity: 0.6;
}

.hero::after {
  content: "🐾";
  position: absolute;
  bottom: 10%;
  right: 5%;
  font-size: 30px;
  opacity: 0.4;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

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

.hero-tag {
  display: inline-block;
  background: var(--white);
  color: var(--brand-dark);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(72, 213, 151, 0.1);
}

.hero-text h1 {
  font-size: 36px;
  color: var(--brand-dark);
  line-height: 1.3;
  margin-bottom: 16px;
  font-weight: 800;
}

.hero-subtitle {
  color: var(--text-sub);
  font-size: 16px;
  margin-bottom: 30px;
}

.search-box {
  display: flex;
  background: var(--white);
  border-radius: 30px;
  padding: 6px;
  box-shadow: var(--shadow-soft);
  max-width: 480px;
  margin: 0 auto 30px;
}

.search-box input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 15px;
  background: transparent;
}

.search-box button {
  background: var(--accent-black);
  color: var(--white);
  border: none;
  padding: 0 24px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.btn-primary {
  background: var(--accent-black);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.2s;
  display: inline-block;
}

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

.btn-secondary {
  background: var(--white);
  color: var(--brand-dark);
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s;
  display: inline-block;
}

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

.hero-visual {
  flex: 1;
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cover-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.cover-item {
  position: absolute;
  width: 180px;
  height: 260px;
  border-radius: 12px;
  border: 6px solid var(--white);
  box-shadow: 0 16px 32px rgba(23, 107, 72, 0.2);
  overflow: hidden;
  transition: transform 0.3s;
}

.cover-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-1 {
  left: 10%;
  top: 20%;
  transform: rotate(-10deg);
  z-index: 1;
}

.cover-2 {
  left: 50%;
  top: 10%;
  transform: translateX(-50%);
  z-index: 3;
  width: 200px;
  height: 290px;
}

.cover-3 {
  right: 10%;
  top: 20%;
  transform: rotate(10deg);
  z-index: 2;
}

.cover-item:hover {
  transform: scale(1.05) rotate(0);
  z-index: 10;
}

.cover-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent-pink);
  color: var(--white);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

/* 快捷入口 */
.quick-entry {
  position: relative;
  margin-top: -30px;
  z-index: 10;
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background: transparent;
}

.entry-card {
  background: var(--white);
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(23, 107, 72, 0.06);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s;
  cursor: pointer;
}

.entry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.entry-icon {
  font-size: 24px;
}

.entry-text h4 {
  font-size: 15px;
  color: var(--accent-black);
  margin-bottom: 2px;
}

.entry-text p {
  font-size: 12px;
  color: var(--text-sub);
}

/* 今日更新 */
.section-padding {
  padding: 60px 0;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.section-title h2 {
  font-size: 28px;
  color: var(--brand-dark);
  font-weight: 800;
}

.live-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--brand-main);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(72, 213, 151, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(72, 213, 151, 0); }
  100% { box-shadow: 0 0 0 0 rgba(72, 213, 151, 0); }
}

.section-subtitle {
  color: var(--text-sub);
  font-size: 14px;
}

.update-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.update-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s;
}

.update-card:hover {
  transform: translateY(-6px);
}

.card-img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.update-card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent-pink);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.card-content {
  padding: 20px;
}

.card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-black);
  margin-bottom: 12px;
}

.card-desc {
  background: var(--bg-mint);
  padding: 14px;
  border-radius: 12px;
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 16px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-sub);
}

/* 霸屏推荐 */
.recommend-section {
  background: var(--bg-mint);
  padding: 60px 0;
}

.recommend-inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.recommend-img {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.recommend-img img {
  width: 100%;
  border-radius: 12px;
  border: 10px solid var(--white);
  box-shadow: 0 20px 40px rgba(23, 107, 72, 0.15);
  transform: rotate(-3deg);
}

.recommend-text {
  flex: 1;
}

.recommend-tag {
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
  display: block;
}

.recommend-text h2 {
  font-size: 26px;
  color: var(--brand-dark);
  margin-bottom: 16px;
}

.recommend-text p {
  color: var(--text-main);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
}

/* 热门榜单 & 编辑力荐 */
.rank-edit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.rank-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--bg-mint);
}

.rank-tab {
  padding: 10px 0;
  font-weight: 600;
  color: var(--text-sub);
  cursor: pointer;
  position: relative;
}

.rank-tab.active {
  color: var(--brand-dark);
}

.rank-tab.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand-main);
}

.rank-list li {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed var(--bg-mint);
}

.rank-num {
  font-size: 18px;
  font-weight: 800;
  width: 30px;
  text-align: center;
  margin-right: 16px;
}

.rank-num.n1 { color: #FFD700; }
.rank-num.n2 { color: #C0C0C0; }
.rank-num.n3 { color: #CD7F32; }
.rank-num.n-other { color: var(--text-sub); }

.rank-title {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
}

.rank-up {
  color: var(--brand-main);
  font-size: 12px;
}

.edit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.edit-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.edit-card-content {
  padding: 24px;
}

.edit-thought {
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 16px;
  font-style: italic;
}

.stars {
  color: var(--accent-yellow);
  font-size: 18px;
}

/* 分类探索 */
.category-section {
  padding: 60px 0;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.cat-card {
  background: var(--white);
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform 0.2s;
}

.cat-card:hover {
  transform: translateY(-4px);
}

.cat-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.cat-card h3 {
  font-size: 18px;
  color: var(--brand-dark);
  margin-bottom: 6px;
}

.cat-card p {
  font-size: 13px;
  color: var(--text-sub);
}

/* 新作速递 */
.new-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.new-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.new-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.new-content {
  padding: 24px;
}

.new-content h3 {
  font-size: 20px;
  color: var(--brand-dark);
  margin-bottom: 8px;
}

.new-author {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.new-desc {
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.8;
}

/* FAQ */
.faq-section {
  padding: 60px 0;
  background: var(--bg-main);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.faq-item {
  border-left: 4px solid var(--brand-main);
  padding-left: 20px;
}

.faq-item h3 {
  font-size: 17px;
  color: var(--accent-black);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 14px;
  color: var(--text-sub);
}

/* 下载专区 */
.download-section {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-main) 100%);
  padding: 80px 0;
  color: var(--white);
  overflow: hidden;
}

.download-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

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

.dl-text h2 {
  font-size: 32px;
  margin-bottom: 16px;
  font-weight: 800;
}

.dl-features {
  font-size: 16px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.dl-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-download {
  background: var(--accent-black);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s;
}

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

.dl-visual {
  flex: 1;
  position: relative;
  width: 100%;
  max-width: 460px;
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: flex-end;
}

.phone-mockup {
  width: 30%;
  border-radius: 16px;
  border: 4px solid rgba(255,255,255,0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  object-fit: cover;
}

.phone-mockup.center {
  width: 36%;
  margin-bottom: 20px;
  border-color: var(--white);
  z-index: 2;
}

.dl-mascot {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--white);
  padding: 8px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.dl-platforms {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  opacity: 0.9;
}

/* 悬浮按钮 */
.floating-btn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background: var(--brand-dark);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(23, 107, 72, 0.3);
  z-index: 999;
  animation: float 3s ease-in-out infinite;
  transition: transform 0.2s;
}

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

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

.float-bubble {
  position: absolute;
  top: -40px;
  right: 0;
  background: var(--white);
  color: var(--accent-black);
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  white-space: nowrap;
}

.float-bubble::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 20px;
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: var(--white) transparent transparent;
}

.float-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  padding: 2px;
}

/* 页脚 */
footer {
  background: var(--bg-main);
  padding: 40px 0 20px;
  border-top: 1px solid rgba(72, 213, 151, 0.2);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-col h4 {
  font-size: 15px;
  color: var(--brand-dark);
  margin-bottom: 12px;
}

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

.footer-col a {
  font-size: 13px;
  color: var(--text-sub);
}

.footer-col a:hover {
  color: var(--brand-main);
}

.footer-bottom {
  border-top: 1px solid rgba(72, 213, 151, 0.1);
  padding-top: 20px;
  font-size: 12px;
  color: var(--text-sub);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

.footer-green {
  color: var(--brand-main);
  font-weight: 600;
}

/* 响应式 */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  
  .hero-inner {
    flex-direction: row;
    text-align: left;
  }
  
  .hero-text {
    text-align: left;
  }
  
  .search-box {
    margin: 0 0 30px 0;
  }
  
  .hero-actions {
    justify-content: flex-start;
  }
  
  .entry-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .update-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .recommend-inner {
    flex-direction: row;
  }
  
  .rank-edit-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .cat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .new-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .download-inner {
    flex-direction: row;
    text-align: left;
  }
  
  .dl-text {
    text-align: left;
  }
  
  .dl-btns {
    justify-content: flex-start;
  }
  
  .footer-links {
    justify-content: flex-start;
  }
}

@media (min-width: 1024px) {
  .hero-text h1 {
    font-size: 48px;
  }
  
  .update-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .new-card {
    flex-direction: row;
  }
  
  .new-img {
    width: 40%;
    height: auto;
  }
  
  .new-content {
    width: 60%;
  }
  
  .floating-btn {
    bottom: 40px;
    right: 40px;
  }
}

@media (max-width: 767px) {
  .floating-btn {
    bottom: 0;
    right: 0;
    left: 0;
    border-radius: 0;
    justify-content: center;
    padding: 16px;
    animation: none;
  }
  
  .float-bubble {
    display: none;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 24px;
  }
}