/* 登录页面样式 */
.login-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #2E8B57 0%, #3CB371 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 32rpx;
  box-sizing: border-box;
}

/* 背景装饰 */
.bg-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.bg-circle-1 {
  width: 300rpx;
  height: 300rpx;
  top: -150rpx;
  right: -150rpx;
}

.bg-circle-2 {
  width: 200rpx;
  height: 200rpx;
  top: 200rpx;
  left: -100rpx;
}

.bg-circle-3 {
  width: 150rpx;
  height: 150rpx;
  bottom: 300rpx;
  right: 50rpx;
}

/* Logo区域 */
.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 120rpx 0 80rpx;
  position: relative;
  z-index: 1;
}

.logo {
  width: 120rpx;
  height: 120rpx;
  margin-bottom: 32rpx;
}

.app-name {
  font-size: 48rpx;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16rpx;
  text-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.2);
}

.app-desc {
  font-size: 28rpx;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

/* 登录区域 */
.login-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.login-card {
  background: #fff;
  border-radius: 32rpx;
  padding: 48rpx 40rpx;
  box-shadow: 0 16rpx 48rpx rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10rpx);
}

.card-header {
  text-align: center;
  margin-bottom: 48rpx;
}

.welcome-title {
  display: block;
  font-size: 36rpx;
  font-weight: 600;
  color: #333;
  margin-bottom: 12rpx;
}

.welcome-desc {
  display: block;
  font-size: 26rpx;
  color: #666;
}

/* 登录方式 */
.login-methods {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-btn {
  width: 100%;
  height: 96rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 48rpx;
  font-size: 32rpx;
  font-weight: 500;
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.wx-login-btn {
  background: #07c160;
  color: #fff;
  margin-bottom: 32rpx;
}

.wx-login-btn:active {
  background: #06ad56;
  transform: scale(0.98);
}

.wx-login-btn[disabled] {
  background: #ccc;
  transform: none;
}

.btn-icon {
  width: 36rpx;
  height: 36rpx;
  margin-right: 16rpx;
}

.btn-text {
  font-size: 32rpx;
  font-weight: 500;
}

/* 游客登录 */
.guest-login {
  display: flex;
  align-items: center;
  margin-top: 16rpx;
}

.guest-text {
  font-size: 26rpx;
  color: #999;
}

.guest-link {
  font-size: 26rpx;
  color: #2E8B57;
  text-decoration: underline;
}

/* 协议区域 */
.agreement-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 32rpx 0;
  position: relative;
  z-index: 1;
}

.agreement-text {
  font-size: 24rpx;
  color: rgba(255, 255, 255, 0.8);
}

.agreement-link {
  font-size: 24rpx;
  color: #fff;
  text-decoration: underline;
  margin: 0 8rpx;
}

/* 功能特色 */
.features-section {
  display: flex;
  justify-content: space-around;
  padding: 40rpx 0 60rpx;
  position: relative;
  z-index: 1;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-icon {
  width: 48rpx;
  height: 48rpx;
  margin-bottom: 12rpx;
  opacity: 0.8;
}

.feature-text {
  font-size: 22rpx;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

/* 加载动画 */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 响应式适配 */
@media (max-width: 750rpx) {
  .login-container {
    padding: 0 24rpx;
  }
  
  .logo-section {
    padding: 100rpx 0 60rpx;
  }
  
  .logo {
    width: 100rpx;
    height: 100rpx;
  }
  
  .app-name {
    font-size: 42rpx;
  }
  
  .login-card {
    padding: 40rpx 32rpx;
  }
  
  .features-section {
    padding: 32rpx 0 40rpx;
  }
}