* {
  box-sizing: border-box;
}
.clock {
  margin-top: -30px;
  margin-bottom: 40px;
  font-size: 14px;
  color: #888;
  letter-spacing: 1px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fafafa;

  /* 让 footer 能到底部 */
  display: flex;
  flex-direction: column;
}

/* 主体区域 */
.container {
  flex: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px 40px;
  text-align: center;
}

/* 主标题 */
.title {
  font-size: 42px;
  margin-bottom: 50px;
}

/* 图标网格 */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  justify-items: center;
}

/* 单个卡片 */
.card {
  width: 160px;
  height: 140px;
  background: #fff;
  border-radius: 16px;
  text-decoration: none;
  color: #333;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: transform .2s, box-shadow .2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

/* 图标大小 */
.card img {
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
}

/* 文字 */
.card span {
  font-size: 14px;
}

/* 页脚 */
.footer {
  text-align: center;
  padding: 16px;
  font-size: 13px;
  color: #888;
}

/* =========================
   Mobile responsive
   ========================= */
@media (max-width: 600px) {

  /* 主容器更紧凑 */
  .container {
    padding: 32px 16px 20px;
  }

  /* 标题稍微小一点 */
  .title {
    font-size: 30px;
    margin-bottom: 24px;
  }

  /* 时间 */
  .clock {
    margin-top: -12px;
    margin-bottom: 24px;
    font-size: 13px;
  }

  /* 图标网格：2 列 */
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  /* 卡片变大 */
  .card {
    width: 100%;
    height: 130px;
    border-radius: 14px;
  }

  /* 图标更大 */
  .card img {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
  }

  /* 文字稍微大一点 */
  .card span {
    font-size: 15px;
  }

  /* 页脚贴底 */
  .footer {
    padding: 12px;
    font-size: 12px;
  }
}

