*{box-sizing:border-box;margin:0;padding:0}
body{font-family:system-ui,-apple-system,Roboto,Arial;color:#222;background:#fff;line-height:1.6}
.container{max-width:1200px;margin:auto;padding:16px}
.logo-area{text-align:center;margin-bottom:20px}
.logo{max-width:180px;height:auto}
.ad-section{text-align:center;margin-bottom:20px}
.ad-img{width:100%;max-width:100%;border-radius:8px}
.cards{display:grid;gap:16px;margin-bottom:20px}
.card{background:#fafafa;border-radius:8px;overflow:hidden;box-shadow:0 1px 5px rgba(0,0,0,0.08)}
.card-img{width:100%;height:220px;object-fit:cover}
.card-body{padding:12px}
.card-body h3{margin-bottom:6px;font-size:1.1rem}
.card-body p{color:#555;font-size:0.95rem}
.text-block{background:#fff;padding:16px;border-radius:8px;box-shadow:0 1px 4px rgba(0,0,0,0.05)}
.text-block2{text-align: center;background:#fff;padding:16px;border-radius:8px;box-shadow:0 1px 4px rgba(0,0,0,0.05)}
.text-block h2{text-align: center;margin-bottom:8px;color:#111}
.footer{text-align:center;margin-top:24px;padding:12px 0;color:orange;font-size:0.9rem;border-top:1px solid #eee}
@media(min-width:768px){.cards{grid-template-columns:repeat(3,1fr)}}
/* 去掉超链接的底线与颜色变化 */
.logo-link {
  text-decoration: none;
  color: inherit;
}

/* 可选：让整体居中对齐 */
.logo-link {
  text-align: center;
  margin: 0;
}

/* 图片下方的说明文字样式 */
.logo-link {
  font-size: 16px;
  margin-top: 5px;
}

.message-btn {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, #ff6b6b, #f94d6a);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.message-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

body {
  background: url('/template/000/bg.jpeg') no-repeat center center fixed;
  background-size: cover;
  background-attachment: fixed;
}
@media (max-width: 768px) {
  body {
    background-attachment: scroll; /* 让手机更流畅 */
    background-position: center top; /* 手机上显示更自然 */
  }
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;  /* 居中关键 */
  gap: 20px;                /* 卡片之间间距 */
  margin: 0 auto 40px;      /* 底部加40px的空隙，可调 */
  max-width: 1200px;
}

.card {
  width: 300px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s;
}

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