/* public/css/index.css */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #bfbfbf; /* 跟页面背景统一 */
}

/* 外层容器 */
.page {
  min-height: 100vh;
  padding: 24px 16px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
}

/* 顶部大卡片 */
.card {
  width: 100%;
  max-width: 430px;
  background: #ffffff;
  border-radius: 24px;
  padding: 24px 24px 32px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* 头像 */
.profile {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.profile-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

/* 文案段落 */
.paragraph {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 10px;
}

/* 白色椭圆气泡 */
.bubble {
  margin-top: 20px;
  padding: 14px 18px;
  background: #ffffff;
  border-radius: 999px;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.bubble-link {
  display: block;
  margin-top: 20px;
  padding: 14px 18px;
  background: #ffffff;
  border-radius: 999px;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  color: #333;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.bubble-link:hover {
  transform: scale(1.03);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 灰色背景 */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000; /* 确保弹窗在最前面 */
}

.modal {
  
  
  width: 100%;
  max-width: 430px;
  border-radius: 8px;
  text-align: center;
  width: 100%; /* 设置弹窗宽度 */
}

button {
  margin: 10px;
  padding: 10px;
  background-color: #007BFF;
  
  border: none;
  border-radius: 5px;
  cursor: pointer;
}



/* 图片区域 */
.photo-section {
  width: 100%;
  max-width: 430px;
  margin-top: 24px;
}

.photo-wrapper {
  background: #f7f7f7;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  position: relative;
}

.photo {
  width: 100%;
  display: block;
}

/* 压在图片底部的那行文字 */
.photo-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 18px 18px;
  font-size: 14px;
  line-height: 1.6;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
}

/* BAND 按钮区域 */
.band-section {
  width: 100%;
  max-width: 430px;
  margin-top: 24px;
}

.band-btn {
  width: 100%;
  padding: 14px 18px;
  border-radius: 999px;
  border: none;
  outline: none;
  cursor: pointer;
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  font-size: 15px;
}

.band-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.band-text {
  text-align: left;
}

/* 底部隐私按钮 */
.footer {
  width: 100%;
  max-width: 430px;
  margin-top: 16px;
  text-align: center;
}

.privacy-btn {
  border: none;
  background: transparent;
  font-size: 13px;
  color: #555;
  text-decoration: underline;
  cursor: pointer;
}
/* 呼吸动画：放大 → 缩小 → 放大 */
@keyframes pulseScale {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.07); /* 放大 7%（你可以改成 1.1） */
  }
  100% {
    transform: scale(1);
  }
}

/* 给按钮加动画 */
.band-btn {
  animation: pulseScale 1.8s ease-in-out infinite;
  /* 你原来的样式继续保留，不要删除 */
}

