/* ============================================
   追剧岛官网 —— Animal Island 风格重设计
   温暖自然 · 圆润可爱 · 有机质感
   ============================================ */

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

:root {
  --bg: #F7F3E1;
  --bg-alt: #FFFDF5;
  --primary: #E68E6D;
  --primary-dark: #D47A5A;
  --accent: #FAD12B;
  --accent-soft: #FFF3C4;
  --text: #4C3C33;
  --text-secondary: #8C7B6B;
  --teal: #19C8B9;
  --teal-soft: #DFF7F3;
  --border: #E8E0D0;
  --shadow: rgba(76, 60, 51, 0.08);
  --shadow-hover: rgba(76, 60, 51, 0.12);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-title: 'Nunito', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---------- 装饰元素 ---------- */
.deco-circle {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.deco-circle-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-soft);
  top: -100px;
  right: -100px;
  opacity: 0.5;
}

.deco-circle-2 {
  width: 300px;
  height: 300px;
  background: var(--teal-soft);
  top: 400px;
  left: -150px;
  opacity: 0.4;
}

.deco-circle-3 {
  width: 200px;
  height: 200px;
  background: rgba(230, 142, 109, 0.15);
  bottom: 300px;
  right: -50px;
  opacity: 0.6;
}

.deco-circle-4 {
  width: 150px;
  height: 150px;
  background: var(--accent-soft);
  bottom: 100px;
  left: 50px;
  opacity: 0.3;
}

/* ---------- 导航栏 ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(247, 243, 225, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 224, 208, 0.5);
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  font-size: 28px;
}

.nav-title {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.nav-admin {
  padding: 8px 20px;
  background: var(--bg-alt);
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.nav-admin:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* ---------- Hero 区域 ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 140px 20px 80px;
  background: linear-gradient(180deg, var(--teal-soft) 0%, var(--bg) 70%);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.logo-area {
  margin-bottom: 24px;
}

.logo-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  background: var(--bg-alt);
  border-radius: 32px;
  box-shadow:
    0 8px 32px var(--shadow),
    inset 0 -4px 0 rgba(0,0,0,0.05);
  animation: float 3s ease-in-out infinite;
}

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

.logo {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  object-fit: cover;
}

.logo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  width: 72px;
  height: 72px;
}

.app-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.app-name-main {
  font-family: var(--font-title);
  font-size: 48px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 2px;
}

.app-name-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  border-radius: 20px;
  font-family: var(--font-title);
}

.slogan {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  font-weight: 500;
}

.hero-actions {
  margin-bottom: 20px;
}

/* 3D 按压按钮 */
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 52px;
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 0 var(--primary-dark), 0 8px 20px rgba(230, 142, 109, 0.35);
  transition: all 0.15s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--primary-dark), 0 12px 28px rgba(230, 142, 109, 0.45);
}

.download-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--primary-dark), 0 4px 12px rgba(230, 142, 109, 0.3);
}

.btn-icon {
  font-size: 22px;
}

.download-btn-light {
  background: var(--bg-alt);
  color: var(--primary);
  box-shadow: 0 4px 0 var(--border), 0 8px 20px rgba(255,255,255,0.2);
}

.download-btn-light:hover {
  box-shadow: 0 6px 0 var(--border), 0 12px 28px rgba(255,255,255,0.3);
}

.download-btn-light:active {
  box-shadow: 0 2px 0 var(--border), 0 4px 12px rgba(255,255,255,0.15);
}

.hero-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.tag-free {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text);
}

/* 波浪分割线 */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- 通用区块 ---------- */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-title);
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto;
}

/* ---------- 特性区域 ---------- */
.features {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 24px;
}

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

.feature-card {
  position: relative;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px var(--shadow);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(24px);
  animation: cardIn 0.6s ease-out forwards;
  animation-delay: calc(var(--delay) * 0.1s);
}

@keyframes cardIn {
  to { opacity: 1; transform: translateY(0); }
}

.feature-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px var(--shadow-hover);
  border-color: rgba(230, 142, 109, 0.3);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  border-radius: 3px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover .card-glow {
  opacity: 1;
}

.card-icon-bg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--teal-soft), var(--accent-soft));
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,0.05);
}

.card-icon {
  font-size: 34px;
}

.feature-card h3 {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- 截图展示 ---------- */
.screenshots {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 24px;
}

.shot-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.phone-mockup {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.phone-mockup.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.phone-frame {
  position: relative;
  width: 260px;
  height: 520px;
  background: var(--text);
  border-radius: 36px;
  padding: 12px;
  box-shadow:
    0 20px 50px var(--shadow-hover),
    0 0 0 1px rgba(76, 60, 51, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-mockup:hover .phone-frame {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 0 28px 60px rgba(76, 60, 51, 0.15);
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: var(--text);
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 26px;
  overflow: hidden;
}

.screen-content {
  padding: 36px 16px 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.screen-dot {
  width: 6px;
  height: 6px;
  background: var(--text-secondary);
  border-radius: 50%;
  opacity: 0.3;
}

.screen-title {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.screen-back, .screen-action {
  font-size: 14px;
  color: var(--text-secondary);
}

.screen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex: 1;
}

.screen-card {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  min-height: 80px;
  border: 1px solid var(--border);
}

.screen-nav {
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  font-size: 20px;
}

.screen-poster {
  width: 80px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-sm);
  margin: 0 auto 16px;
}

.screen-info {
  margin-bottom: 16px;
}

.screen-line {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  margin-bottom: 8px;
}

.screen-line.short {
  width: 60%;
}

.screen-episodes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.screen-ep {
  width: 40px;
  height: 28px;
  background: var(--teal-soft);
  border-radius: 6px;
}

.screen-avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--teal), var(--teal-soft));
  border-radius: 50%;
  margin: 0 auto 16px;
}

.screen-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 20px;
}

.screen-stat {
  text-align: center;
}

.screen-num {
  display: block;
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
}

.screen-label {
  font-size: 12px;
  color: var(--text-secondary);
}

.screen-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.screen-menu-item {
  height: 36px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.shot-label {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ---------- 积分区域 ---------- */
.points-section {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 24px;
}

.points-content {
  display: flex;
  align-items: center;
  gap: 60px;
  background: linear-gradient(135deg, var(--accent-soft), var(--teal-soft));
  border-radius: var(--radius-xl);
  padding: 60px;
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.points-content.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.points-visual {
  flex-shrink: 0;
}

.coin-stack {
  position: relative;
  width: 120px;
  height: 120px;
}

.coin {
  position: absolute;
  font-size: 64px;
  animation: coinBounce 2s ease-in-out infinite;
}

.coin-1 {
  top: 0;
  left: 20px;
  animation-delay: 0s;
}

.coin-2 {
  top: 20px;
  left: 0;
  animation-delay: 0.3s;
  font-size: 52px;
  opacity: 0.7;
}

.coin-3 {
  top: 40px;
  left: 40px;
  animation-delay: 0.6s;
  font-size: 44px;
  opacity: 0.5;
}

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

.points-text {
  flex: 1;
}

.points-text .section-title {
  text-align: left;
  margin-bottom: 12px;
}

.points-text .section-subtitle {
  text-align: left;
  margin: 0 0 28px;
}

.tier-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tier-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 2px 8px var(--shadow);
}

.tier-cost {
  color: var(--primary);
}

.tier-arrow {
  color: var(--text-secondary);
}

.tier-reward {
  color: var(--teal);
}

/* ---------- CTA 区域 ---------- */
.cta {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 100px 24px;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), #F0A080);
  border-radius: var(--radius-xl);
  margin: 0 24px;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-family: var(--font-title);
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cta p {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
}

/* ---------- 页脚 ---------- */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 24px 40px;
  border-top: 1px solid var(--border);
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo {
  font-size: 28px;
}

.footer-title {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.footer-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.footer-links {
  margin-bottom: 24px;
}

.footer-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-secondary);
  opacity: 0.7;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .points-content {
    flex-direction: column;
    text-align: center;
    padding: 40px 32px;
  }

  .points-text .section-title,
  .points-text .section-subtitle {
    text-align: center;
  }

  .tier-preview {
    justify-content: center;
  }

  .coin-stack {
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .navbar {
    padding: 12px 20px;
  }

  .hero {
    padding: 120px 16px 60px;
  }

  .app-name-main {
    font-size: 36px;
  }

  .slogan {
    font-size: 16px;
  }

  .download-btn {
    padding: 16px 40px;
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .features,
  .screenshots,
  .points-section {
    padding: 60px 16px;
  }

  .cta h2 {
    font-size: 28px;
  }

  .phone-frame {
    width: 220px;
    height: 440px;
  }

  .deco-circle {
    display: none;
  }
}
