* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: "Source Han Serif CN", "Songti SC", "STSong", "SimSun", serif;
}

.page {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* 🔥 修复：文字完全不与人物重叠 */
.title-section {
  position: absolute;
  top: 20px; /* 靠上，不重叠 */
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  padding: 0 30px;
}

.title-img {
  width: 230px;
  display: block;
  margin: 0 auto;
}

.subtitle {
  margin-top: 10px;
  font-size: 15px;
  color: #2d6e51;
  letter-spacing: 3px;
  font-weight: 400;
  font-family: "Times New Roman", "Source Han Serif CN", "Songti SC", "STSong", "SimSun", serif;
}

.date-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 7px;
  font-size: 14px;
  color: #2d6e51;
  letter-spacing: 3px;
}

.date {
  margin: 0 9px;
  font-weight: 400;
  font-family: "Times New Roman", "Source Han Serif CN", "Songti SC", "STSong", "SimSun", serif;
}

.leaf {
  width: 18px;
  height: 9px;
  background: #5c8d6e;
  border-radius: 0 100% 0 100%;
  opacity: 0.65;
}
.leaf-left {
  transform: rotate(-15deg);
}
.leaf-right {
  transform: rotate(165deg);
}

.bottom-area {
  position: absolute;
  bottom: 120px;
  left: 15px;
  right: 15px;
  z-index: 2;
}

.card {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.page-footer {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  font-family: "Source Han Serif CN", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", "FangSong", serif;
  font-size: 16px;
  color: #ffffff;
  letter-spacing: 4px;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3), 0 1px 1px rgba(0,0,0,0.2);
}
.page-footer .heart {
  color: #f4a8b1;
  font-size: 15px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
  vertical-align: middle;
  position: relative;
  top: -1px;
}
.page-footer .heart-left {
  margin-right: 9px;
}
.page-footer .heart-right {
  margin-left: 9px;
  color: #ffffff;
}

.input-wrap {
  display: flex;
  align-items: center;
  background: rgba(225, 240, 225, 0.72);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 50px;
  padding: 9px 18px;
  height: 50px;
  box-shadow: 0 5px 15px rgba(45,110,81,0.18), inset 0 1px 1px rgba(255,255,255,0.5);
  transition: all 0.25s;
}
.input-wrap.disabled {
  opacity: 0.55;
}

.icon-user {
  position: relative;
  width: 22px;
  height: 22px;
  margin-right: 11px;
  flex-shrink: 0;
}
.icon-head {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5c8d6e;
}
.icon-body {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 19px;
  height: 10px;
  border-radius: 10px 10px 0 0;
  background: #5c8d6e;
}

.name-input {
  flex: 1;
  font-size: 15px;
  color: #2d3a32;
  border: none;
  outline: none;
  background: transparent;
  height: 24px;
  line-height: 24px;
}
.name-input::placeholder {
  color: #6a8a72;
  font-size: 14px;
  opacity: 0.7;
}

.search-btn {
  margin-top: 14px;
  height: 50px;
  background: linear-gradient(135deg, #5c8d6e 0%, #3a6347 100%);
  border-radius: 50px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 3px;
  box-shadow: 0 6px 16px rgba(45,110,81,0.45), 0 1px 3px rgba(45,110,81,0.25), inset 0 1px 1px rgba(255,255,255,0.25);
  transition: all 0.25s;
  cursor: pointer;
  border: none;
  width: 100%;
}
.search-btn:active {
  transform: scale(0.98);
  opacity: 0.92;
}
.search-btn.loading {
  background: linear-gradient(135deg, #4a7958 0%, #3a6347 100%);
}
.btn-text {
  margin-right: 10px;
}
.btn-arrow {
  font-size: 16px;
  font-weight: 300;
}
.btn-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  margin-right: 8px;
  animation: spin 0.8s linear infinite;
  display: none;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}