/* ============================================================
   鸟鸟教 niaoniaojiao.com — 全球总部样式表
   风格：新粗野主义 × 高饱和鹦鹉色 × 不拘一格
   ============================================================ */

:root {
  --green: #00e676;
  --green-dark: #00b25c;
  --yellow: #ffd600;
  --pink: #ff3d8a;
  --blue: #3d5afe;
  --orange: #ff6d00;
  --purple: #9d4edd;
  --cream: #fff6e5;
  --paper: #fffdf6;
  --ink: #161616;
  --border: 4px solid var(--ink);
  --shadow: 8px 8px 0 var(--ink);
  --shadow-sm: 5px 5px 0 var(--ink);
  --radius: 18px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  background-image: radial-gradient(rgba(22, 22, 22, 0.08) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
}

h1, h2, h3, .brand-font {
  font-family: "ZCOOL KuaiLe", "Noto Sans SC", "PingFang SC", sans-serif;
  font-weight: 400;
  line-height: 1.25;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

::selection { background: var(--pink); color: #fff; }

/* ---------- 顶部滚动条（跑马灯） ---------- */
.ticker {
  background: var(--ink);
  color: var(--yellow);
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 14px;
}
.ticker-track {
  display: inline-block;
  animation: ticker 22s linear infinite;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 26px;
}
.nav-logo .logo-badge {
  width: 44px;
  height: 44px;
  background: var(--green);
  border: 3px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.2s;
}
.nav-logo:hover .logo-badge { transform: rotate(-12deg) scale(1.08); }
.nav-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  list-style: none;
}
.nav-links a {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 8px 16px;
  border: 3px solid transparent;
  border-radius: 999px;
  transition: all 0.15s;
}
.nav-links a:hover {
  border-color: var(--ink);
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(-1px, -1px);
}
.nav-links a.active {
  border-color: var(--ink);
  background: var(--pink);
  color: #fff;
  box-shadow: 3px 3px 0 var(--ink);
}

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-block;
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  padding: 14px 30px;
  border: var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  font-family: inherit;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn-green { background: var(--green); }
.btn-yellow { background: var(--yellow); }
.btn-pink { background: var(--pink); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }

/* ---------- 标签 ---------- */
.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  padding: 3px 12px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: #fff;
}
.tag-green { background: var(--green); }
.tag-yellow { background: var(--yellow); }
.tag-pink { background: var(--pink); color: #fff; }
.tag-blue { background: var(--blue); color: #fff; }
.tag-orange { background: var(--orange); color: #fff; }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  padding: 80px 24px 100px;
  text-align: center;
  background: linear-gradient(135deg, var(--green) 0%, #7bff9e 55%, var(--yellow) 100%);
  border-bottom: var(--border);
  overflow: hidden;
}
.hero-kicker {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  padding: 6px 20px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 4px;
  transform: rotate(-2deg);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(56px, 11vw, 130px);
  letter-spacing: 6px;
  text-shadow: 5px 5px 0 var(--pink), 10px 10px 0 var(--ink);
  color: #fff;
  -webkit-text-stroke: 3px var(--ink);
  margin-bottom: 10px;
}
.hero-sub {
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 800;
  background: #fff;
  display: inline-block;
  padding: 8px 26px;
  border: var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transform: rotate(1.5deg);
  margin: 18px 0 34px;
}
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* 漂浮装饰 */
.floaty { position: absolute; animation: floaty 5s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-18px) rotate(var(--r, 0deg)); }
}

/* 星形贴纸 */
.sticker {
  position: absolute;
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  background: var(--pink);
  color: #fff;
  font-weight: 900;
  text-align: center;
  font-size: 18px;
  line-height: 1.3;
  clip-path: polygon(50% 0%, 61% 12%, 75% 5%, 82% 20%, 97% 21%, 96% 37%, 100% 50%, 96% 63%, 97% 79%, 82% 80%, 75% 95%, 61% 88%, 50% 100%, 39% 88%, 25% 95%, 18% 80%, 3% 79%, 4% 63%, 0% 50%, 4% 37%, 3% 21%, 18% 20%, 25% 5%, 39% 12%);
  animation: spin-slow 14s linear infinite;
  z-index: 3;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ---------- 区块通用 ---------- */
.section { padding: 80px 24px; }
.section-inner { max-width: 1120px; margin: 0 auto; }
.section-title {
  font-size: clamp(34px, 6vw, 56px);
  display: inline-block;
  background: #fff;
  color: var(--ink);
  border: var(--border);
  box-shadow: var(--shadow);
  padding: 10px 34px;
  border-radius: var(--radius);
  margin-bottom: 18px;
}
.section-title.tilt-l { transform: rotate(-2deg); }
.section-title.tilt-r { transform: rotate(2deg); }
.section-lead { font-size: 18px; font-weight: 600; max-width: 720px; margin-bottom: 48px; }

/* 彩色背景区块 */
.bg-yellow { background: var(--yellow); border-top: var(--border); border-bottom: var(--border); }
.bg-pink { background: var(--pink); border-top: var(--border); border-bottom: var(--border); color: #fff; }
.bg-blue { background: var(--blue); border-top: var(--border); border-bottom: var(--border); color: #fff; }
.bg-green { background: var(--green); border-top: var(--border); border-bottom: var(--border); }

/* ---------- 教义（manifesto） ---------- */
.creed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.creed-card {
  background: var(--paper);
  color: var(--ink);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 26px;
  position: relative;
  transition: transform 0.2s;
}
.creed-card:hover { transform: translateY(-8px) rotate(-1deg); }
.creed-num {
  position: absolute;
  top: -22px;
  left: -14px;
  width: 52px;
  height: 52px;
  background: var(--orange);
  border: 3px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  transform: rotate(-8deg);
}
.creed-card h3 { font-size: 24px; margin: 8px 0 12px; }
.creed-card p { font-size: 15.5px; }

/* ---------- 图鉴卡片 ---------- */
.species-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 34px;
}
.species-card {
  background: var(--paper);
  color: var(--ink);
  border: var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.species-card:hover {
  transform: translate(-4px, -6px) rotate(-1deg);
  box-shadow: 12px 14px 0 var(--ink);
}
.species-art {
  padding: 26px 20px 6px;
  display: grid;
  place-items: center;
  border-bottom: var(--border);
}
.species-art svg { width: 170px; height: auto; transition: transform 0.25s; }
.species-card:hover .species-art svg { transform: scale(1.08) rotate(3deg); }
.species-body { padding: 20px 22px 26px; }
.species-body h3 { font-size: 26px; margin-bottom: 2px; }
.species-latin {
  font-size: 13px;
  font-style: italic;
  opacity: 0.65;
  font-weight: 600;
  margin-bottom: 12px;
}
.species-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.species-body p { font-size: 15px; margin-bottom: 16px; }
.species-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  text-align: center;
}
.species-stats div {
  border: 3px solid var(--ink);
  border-radius: 12px;
  padding: 6px 4px;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}
.species-stats b { display: block; font-size: 15px; }

/* 难度条 */
.diff { display: flex; gap: 4px; margin-top: 14px; align-items: center; font-size: 13px; font-weight: 800; }
.diff i {
  width: 26px;
  height: 12px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: #fff;
}
.diff i.on { background: var(--pink); }

/* ---------- 指南页 ---------- */
.guide-step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 26px;
  background: var(--paper);
  color: var(--ink);
  border: var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 30px;
  margin-bottom: 36px;
}
.guide-step-num {
  width: 90px;
  height: 90px;
  border: var(--border);
  border-radius: 24px;
  display: grid;
  place-items: center;
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  transform: rotate(-4deg);
}
.guide-step h3 { font-size: 26px; margin-bottom: 10px; }
.guide-step ul { padding-left: 22px; font-size: 15.5px; }
.guide-step li { margin-bottom: 8px; }
.guide-step li::marker { content: "🪶 "; }

.warn-box {
  background: var(--yellow);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 26px;
  margin-top: 18px;
  font-weight: 600;
}
.warn-box b { background: var(--ink); color: var(--yellow); padding: 2px 10px; border-radius: 6px; }

/* ---------- 用品页 ---------- */
.supply-card {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  background: var(--paper);
  color: var(--ink);
  border: var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 26px;
  margin-bottom: 32px;
  align-items: center;
}
.supply-icon {
  width: 130px;
  height: 130px;
  border: var(--border);
  border-radius: 26px;
  display: grid;
  place-items: center;
  font-size: 58px;
}
.supply-card h3 { font-size: 24px; margin-bottom: 6px; }
.supply-card .price-hint { font-weight: 800; color: var(--pink); margin-bottom: 8px; }
.supply-card p { font-size: 15px; margin-bottom: 14px; }
.supply-card .btn { font-size: 15px; padding: 9px 22px; }
.supply-note {
  border: 3px dashed var(--ink);
  border-radius: var(--radius);
  padding: 18px 24px;
  font-size: 14px;
  background: #fff;
  color: var(--ink);
  margin-bottom: 40px;
}

/* ---------- 入伙大按钮区 ---------- */
.join-zone { text-align: center; }
.join-btn {
  font-size: clamp(22px, 4vw, 34px);
  padding: 22px 60px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  border: 5px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  font-family: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s;
}
.join-btn:hover { transform: translate(-3px, -3px) rotate(-1deg); box-shadow: 13px 13px 0 var(--ink); }
.join-btn:active { transform: translate(5px, 5px); box-shadow: 3px 3px 0 var(--ink); }
.join-count { margin-top: 22px; font-weight: 800; font-size: 18px; }

/* ---------- 页脚 ---------- */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 60px 24px 34px;
  border-top: 6px solid var(--pink);
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer h4 { font-size: 22px; color: var(--yellow); margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer a { text-decoration: none; opacity: 0.85; }
.footer a:hover { opacity: 1; color: var(--green); }
.footer-bottom {
  max-width: 1120px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 2px dashed rgba(255, 246, 229, 0.3);
  font-size: 13px;
  opacity: 0.7;
  text-align: center;
}

/* ---------- 页面顶部小横幅（内页） ---------- */
.page-hero {
  padding: 70px 24px 60px;
  text-align: center;
  border-bottom: var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero h1 {
  font-size: clamp(44px, 8vw, 84px);
  text-shadow: 4px 4px 0 rgba(22, 22, 22, 0.9);
  color: #fff;
  -webkit-text-stroke: 2.5px var(--ink);
  letter-spacing: 4px;
}
.page-hero p {
  display: inline-block;
  margin-top: 18px;
  background: #fff;
  border: var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: 999px;
  padding: 8px 26px;
  font-weight: 800;
  font-size: 17px;
  transform: rotate(-1deg);
}
.page-hero.ph-green { background: linear-gradient(135deg, var(--green), #00b8d4); }
.page-hero.ph-pink { background: linear-gradient(135deg, var(--pink), var(--purple)); }
.page-hero.ph-orange { background: linear-gradient(135deg, var(--orange), var(--yellow)); }
.page-hero.ph-blue { background: linear-gradient(135deg, var(--blue), #00b8d4); }

/* ---------- 分隔彩带 ---------- */
.ribbon {
  height: 22px;
  border-top: var(--border);
  border-bottom: var(--border);
  background: repeating-linear-gradient(
    -45deg,
    var(--pink) 0 28px,
    var(--yellow) 28px 56px,
    var(--green) 56px 84px,
    var(--blue) 84px 112px
  );
}

/* ---------- 工具类 ---------- */
.tilt-l { transform: rotate(-1.5deg); }
.tilt-r { transform: rotate(1.5deg); }
.mt-40 { margin-top: 40px; }
.center { text-align: center; }

/* ---------- 响应式 ---------- */
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; }
  .guide-step { grid-template-columns: 1fr; }
  .guide-step-num { width: 70px; height: 70px; font-size: 30px; }
  .supply-card { grid-template-columns: 1fr; text-align: center; }
  .supply-icon { margin: 0 auto; }
  .supply-card .btn { margin: 0 auto; }
  .sticker { width: 84px; height: 84px; font-size: 13px; }
  .nav { justify-content: center; }
}
