/* ===== 全局基础 ===== */

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

html, body {
  min-height: 100%;
  font-family: 'Comic Neue', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: #eaf6f6;
  line-height: 1.6;
  color: #2e4f4a;
}

/* ===== 背景画 + 薄荷绿滤镜 ===== */
.page-bg {
  min-height: 100vh;
  background-image: url("https://cdn.cara.app/production/posts/922e7366-32da-4749-a010-205b62ffa36d/lensinne-eMRQ4PIFlSbwInbfUrqmu-7E5D4F91-6D8C-463F-A03C-1EF82949B577.jpg"); /* 替换成你的画 */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.page-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(180, 230, 215, 0.25); /* 薄荷绿空气感 */
  backdrop-filter: blur(2px);
  z-index: 0;
}

/* ===== 容器 ===== */
.container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 40px auto;
  padding: 48px 24px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* ===== 主内容区 ===== */
.main-content {
  background: rgba(245, 255, 252, 0.85); /* 更不透明，保证文字可读 */
  border-radius: 16px;
  padding: 32px;
}

/* ===== 标题区 ===== */
.header h1 {
  font-family: 'Comic Neue', cursive;
  font-size: 2.8rem;
  margin-bottom: 8px;
}

.header .subtitle {
  font-family: 'Comic Neue', cursive;
  font-size: 1.2rem;
  color: #3b6b63;
}

/* ===== 导航按钮 ===== */
.nav-button {
  display: inline-block;
  margin: 6px;
  padding: 8px 18px;
  background-color: #b6e5dc;
  color: #244a43;
  text-decoration: none;
  border-radius: 12px;
  font-family: 'Comic Neue', cursive;
  transition: background 0.3s;
}

.nav-button:hover {
  background-color: #96d8c8;
}

/* ===== 关于我头像 ===== */
.about-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.avatar {
  width: 120px;
  border-radius: 50%;
}

/* ===== 其他排版 ===== */
ul {
  padding-left: 20px;
  margin-top: 8px;
}

li {
  margin-bottom: 4px;
}

a {
  color: #6fa9a0;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.divider-gif {
  width: 100%;        /* 横向填满容器 */
  max-width: 1100px;  /* 保持和 container 一致宽度 */
  display: block;
  margin: 20px auto;  /* 上下留空，呼吸感 */
}

/* ===== 页脚 ===== */
.footer {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  color: #3b6b63;
}

/* ===== 手机端适配 ===== */
@media (max-width: 768px) {
  .container {
    margin: 16px;
    padding: 24px 16px;
  }
  .main-content {
    padding: 24px 16px;
  }
  .header h1 {
    font-size: 2rem;
  }
  .header .subtitle {
    font-size: 1rem;
  }
  .avatar {
    width: 90px;
  }
  .nav-button {
    margin: 4px;
    padding: 6px 12px;
    font-size: 0.9rem;
  }
}
