* {
  box-sizing: border-box;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
  margin: 0;
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(180deg, #e6faf3, #d4f1e8);
}

/* ===== 波浪背景 ===== */
.wave {
  position: absolute;
  bottom: 0;
  width: 200%;
  height: 500px;
  background-repeat: repeat-x;
  animation: waveMove 18s linear infinite;
}

.wave1 {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 320' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23bfeee1' d='M0,224L48,213.3C96,203,192,181,288,176C384,171,480,181,576,186.7C672,192,768,192,864,170.7C960,149,1056,107,1152,106.7C1248,107,1344,149,1392,170.7L1440,192L1440,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  opacity: 0.6;
  animation-duration: 22s;
}

.wave2 {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 320' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23a8e7d6' d='M0,256L60,234.7C120,213,240,171,360,160C480,149,600,171,720,176C840,181,960,171,1080,170.7C1200,171,1320,181,1380,186.7L1440,192L1440,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  opacity: 0.4;
  animation-duration: 30s;
}

@keyframes waveMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== 布局 ===== */
.container {
  position: relative;
  z-index: 2;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== 登录卡片 ===== */
.login-card {
  width: 350px;
  padding: 40px 50px;
  background: #fff;
  border-radius: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  text-align: center;
  animation: fadeUp 0.8s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== 标题 ===== */
.title {
  font-size: 30px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 35px;
  height: 50px;
  overflow: hidden;
}

.title span {
  display: block;
}

/* ===== 输入框 ===== */
.input {
  width: 100%;
  height: 50px;
  margin-bottom: 20px;
  padding: 0 16px;
  border-radius: 40px;
  border: 1px solid #dcdcdc;
  outline: none;
  font-size: 14px;
  transition: all 0.25s;
}

.input:focus {
  border-color: rgba(64,158,255,.55);
  box-shadow: 0 0 0 4px rgba(64,158,255,.12);
}

/* ===== 按钮 ===== */
.btn {
  width: 100%;
  height: 50px;
  margin-top: 20px;
  margin-bottom: 40px;
  border-radius: 23px;
  border: none;
  background: #409eff;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(47, 165, 138, 0.35);
}
