    /* 1. 动态流动背景 */
    body, html {
      height: 100%;
      margin: 0;
      font-family: 'PingFang SC', 'Helvetica Neue', 'Microsoft YaHei', sans-serif;
      background-image: url('/bg.jpg'); /* 换成你的图片路径 */
      background-size: cover;                  /* 等比铺满 */
      background-position: center center;      /* 居中 */
      background-repeat: no-repeat;             /* 不重复 */
      background-attachment: fixed;             /* 固定背景（关键） */

      overflow: hidden;
        }

    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.35); /* 调整暗度 */
      z-index: -1;
    }

    .login-container {
      height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* 2. 毛玻璃卡片设计 */
    .card {
      border: none;
      border-radius: 25px;
      box-shadow: 0 25px 50px rgba(0,0,0,0.2);
      background: rgba(255, 255, 255, 0.85);
      backdrop-filter: blur(20px);
      width: 100%;
      max-width: 420px;
      padding: 10px;
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    /* 3. 悬浮 Logo 样式 */
    .logo-wrapper {
      width: 85px;
      height: 85px;
      background: #fff;
      border-radius: 50%;
      margin: -65px auto 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .logo-wrapper i {
      font-size: 42px;
      background: linear-gradient(45deg, #24c6dc, #514a9d);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    /* 4. 输入框与按钮美化 */
    .form-control {
      border-radius: 12px;
      padding: 24px 18px;
      border: 1px solid rgba(0,0,0,0.08);
      background: rgba(255, 255, 255, 0.6);
      transition: 0.3s;
    }
    .form-control:focus {
      box-shadow: 0 0 15px rgba(36, 198, 220, 0.2);
      border-color: #24c6dc;
      background: #fff;
    }

    .btn-custom {
      border-radius: 12px;
      padding: 12px;
      background: linear-gradient(to right, #24c6dc, #514a9d);
      border: none;
      color: white;
      font-weight: 700;
      width: 100%;
      transition: 0.3s;
      letter-spacing: 1px;
    }
    .btn-custom:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(36, 198, 220, 0.4);
      color: white;
    }

    .btn-telegram {
      background-color: #0088cc;
      color: white !important;
      border-radius: 50px;
      padding: 10px 25px;
      display: inline-flex;
      align-items: center;
      text-decoration: none;
      font-size: 0.85rem;
      transition: 0.3s;
    }
    .btn-telegram:hover { transform: scale(1.05); box-shadow: 0 5px 15px rgba(0,136,204,0.3); }

    .switch-link { color: #514a9d; cursor: pointer; font-weight: 600; text-decoration: none; }
    .switch-link:hover { text-decoration: underline; }

    /* 5. 深度美化 SweetAlert2 & Loader */
    .swal2-popup {
      background: rgba(255, 255, 255, 0.9) !important;
      backdrop-filter: blur(15px) !important;
      border-radius: 25px !important;
    }
    .custom-loader {
      width: 50px;
      height: 50px;
      border: 3px solid rgba(81, 74, 157, 0.2);
      border-top-color: #514a9d;
      border-radius: 50%;
      animation: spin 0.8s cubic-bezier(0.5, 0, 0.5, 1) infinite;
      margin: 15px auto;
    }
    @keyframes spin { to { transform: rotate(360deg); } }

    /* 注册页：验证码输入组更紧凑 */
    .verify-group .form-control { padding: 24px 18px; }
    .btn-sendcode {
      border-radius: 12px;
      padding: 0 14px;
      height: calc(1.5em + 1.5rem + 2px); /* 与 form-control 高度对齐 */
      border: none;
      background: rgba(81, 74, 157, 0.12);
      color: #514a9d;
      font-weight: 700;
      transition: .25s;
      white-space: nowrap;
    }
    .btn-sendcode:hover {
      background: rgba(81, 74, 157, 0.18);
      transform: translateY(-1px);
    }
    .btn-sendcode:disabled {
      opacity: .6;
      transform: none;
      cursor: not-allowed;
    }

    /*#register-form, #forgot-form { display: none; }*/




    /* 登录页底部额外入口按钮 */
.extra-links {
    font-size: 12px;
}

.extra-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(81, 74, 157, 0.08);
    color: #514a9d;
    font-weight: 600;
    text-decoration: none !important;
    transition: all .25s ease;
    border: 1px solid rgba(81, 74, 157, 0.12);
}

.extra-btn i {
    font-size: 13px;
}

.extra-btn:hover {
    background: rgba(81, 74, 157, 0.16);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(81, 74, 157, 0.15);
    color: #514a9d;
}

/* 移动端自动换行更好看 */
.extra-links .gap-2 > * {
    margin: 4px;
}