* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #2d3748; background: #fafafa; line-height: 1.7; font-size: 15px;
}
a { color: #4a6cf7; text-decoration: none; }
a:hover { text-decoration: underline; }

.hero {
  background: linear-gradient(135deg, #ffd6e8 0%, #ffe9c1 50%, #c5f0e1 100%);
  padding: 60px 20px 50px; text-align: center;
}
.hero-inner { max-width: 720px; margin: 0 auto; }
.hero h1 { font-size: 38px; font-weight: 700; color: #553c5e; letter-spacing: 1px; }
.hero .tag { margin-top: 12px; color: #6b4d6e; font-size: 16px; }
.hero-nav { margin-top: 24px; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.hero-nav a {
  padding: 6px 16px; background: rgba(255,255,255,0.6); border-radius: 20px;
  color: #553c5e; font-size: 14px; font-weight: 500; backdrop-filter: blur(6px);
}
.hero-nav a:hover { background: #fff; text-decoration: none; }

.wrap { max-width: 880px; margin: 0 auto; padding: 30px 20px; }

.card {
  background: #fff; border-radius: 14px; padding: 28px 26px; margin-bottom: 22px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.card h2 { font-size: 22px; margin-bottom: 16px; color: #2d3748; font-weight: 600; }

.joke-box {
  background: #fdf6e3; padding: 24px; border-radius: 10px;
  font-size: 17px; color: #5a4a2a; margin-bottom: 14px; min-height: 80px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  line-height: 1.8;
}
.joke-text { white-space: pre-wrap; }

.fact-list { list-style: none; }
.fact-list li {
  padding: 12px 16px; margin-bottom: 8px; background: #f5fbff;
  border-left: 3px solid #4a6cf7; border-radius: 6px; font-size: 15px;
}

.btn {
  display: inline-block; padding: 9px 22px; background: #4a6cf7; color: #fff;
  border: none; border-radius: 22px; cursor: pointer; font-size: 14px;
  transition: all 0.2s; font-family: inherit;
}
.btn:hover { background: #3955d6; transform: translateY(-1px); text-decoration: none; }
.btn-ghost { background: #fff; color: #4a6cf7; border: 1px solid #4a6cf7; }
.btn-ghost:hover { background: #eef2ff; }

.muted { color: #888; font-size: 14px; }

.gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px; margin-top: 14px;
}
.gallery figure {
  background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06); transition: transform 0.2s;
}
.gallery figure:hover { transform: translateY(-3px); }
.gallery .img {
  width: 100%; height: 150px; background-size: cover; background-position: center;
  background-color: #eee;
}
.gallery figcaption {
  padding: 10px 12px; font-size: 13px; color: #555; text-align: center;
}

.about p { margin-bottom: 10px; }

.foot {
  background: #2d3748; color: #aaa; padding: 30px 20px; margin-top: 40px;
  text-align: center; font-size: 13px;
}
.foot-inner { max-width: 880px; margin: 0 auto; }
.foot a { color: #aaa; }
.foot a:hover { color: #fff; }
.beian { margin-top: 12px; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; }
.beian .dot { color: #555; }
.gongan { display: inline-flex; align-items: center; gap: 4px; }
.gongan img { width: 14px; height: 14px; }

@media (max-width: 600px) {
  .hero { padding: 40px 16px 30px; }
  .hero h1 { font-size: 28px; }
  .card { padding: 20px 18px; }
  .gallery .img { height: 130px; }
}
