/* ===============================
   登录注册页 - 首页同款科技感风格
   =============================== */
body.auth-mobile-page {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(248, 184, 78, .32), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(42, 167, 165, .26), transparent 26%),
    linear-gradient(135deg, #102033 0%, #163f4d 54%, #4a2a22 100%);
  color: rgba(255, 255, 255, .92);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}
body.auth-mobile-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 72%);
  animation: authGridMove 20s linear infinite;
}
body.auth-mobile-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 30%, rgba(42, 167, 165, .12), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(248, 184, 78, .10), transparent 36%);
}
@keyframes authGridMove { to { transform: translate(48px, 48px); } }

.auth-mobile-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 32px 20px 24px;
  box-sizing: border-box;
}

.auth-login-notice {
  width: 100%;
  border-radius: 16px;
  background: rgba(13, 26, 38, .72);
  border: 1px solid rgba(248, 184, 78, .22);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .26);
  backdrop-filter: blur(14px);
  overflow: hidden;
  position: relative;
}
.auth-login-notice::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #f8b84e, #2aa7a5);
}
.auth-login-notice marquee {
  display: block;
  padding: 12px 16px 12px 22px;
  color: #fff4d6;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.auth-mobile-card {
  position: relative;
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(13, 26, 38, .78);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow:
    0 28px 72px rgba(0, 0, 0, .38),
    0 0 0 1px rgba(255, 255, 255, .03) inset;
  backdrop-filter: blur(16px);
}
.auth-mobile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 8%, rgba(248, 184, 78, .14), transparent 24%),
    radial-gradient(circle at 90% 12%, rgba(42, 167, 165, .12), transparent 24%),
    linear-gradient(135deg, rgba(255,255,255,.06), transparent 40%, rgba(255,255,255,.02));
}

.auth-mobile-header {
  position: relative;
  padding: 34px 30px 22px;
  background:
    linear-gradient(135deg, rgba(13, 26, 38, .96), rgba(22, 63, 77, .86)),
    radial-gradient(circle at top left, rgba(248, 184, 78, .14), transparent 28%);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}
.auth-mobile-header::after {
  content: "TECH ACCESS";
  position: absolute;
  right: 22px;
  top: 20px;
  color: rgba(255, 255, 255, .22);
  font-size: 10px;
  letter-spacing: 3px;
  font-weight: 700;
}
.auth-mobile-header h1 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 1px;
  text-shadow: 0 8px 22px rgba(0,0,0,.2);
}
.auth-mobile-header p {
  margin: 0;
  color: rgba(255, 255, 255, .74);
  font-size: 14px;
  line-height: 1.7;
}

.auth-mobile-body {
  position: relative;
  padding: 26px 28px 24px;
}
.auth-mobile-tip {
  margin-bottom: 20px;
  padding: 12px 14px;
  border-radius: 14px;
  color: #fff4d6;
  background: rgba(248, 184, 78, .10);
  border: 1px solid rgba(248, 184, 78, .20);
  font-size: 13px;
  line-height: 1.7;
}
.auth-mobile-label {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.auth-mobile-form .form-group { margin-bottom: 16px; }
.auth-mobile-input {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: 15px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  transition: all .2s ease;
  box-sizing: border-box;
}
.auth-mobile-input::placeholder { color: rgba(255, 255, 255, .46); }
.auth-mobile-input:focus {
  outline: none;
  border-color: rgba(248, 184, 78, .55);
  background: rgba(255, 255, 255, .09);
  box-shadow: 0 0 0 4px rgba(248, 184, 78, .10), 0 0 24px rgba(248, 184, 78, .12);
}
.auth-code-row { display: flex; gap: 10px; align-items: center; }
.auth-code-row .auth-mobile-input { flex: 1; }
.auth-code-btn {
  height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(248, 184, 78, .30);
  background: linear-gradient(135deg, rgba(248, 184, 78, .22), rgba(42, 167, 165, .18));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.auth-mobile-btn {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 999px;
  color: #432400;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #f8b84e, #ffe093);
  box-shadow: 0 14px 34px rgba(248, 184, 78, .28), 0 0 24px rgba(248, 184, 78, .14);
  transition: all .2s ease;
}
.auth-mobile-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(248, 184, 78, .36), 0 0 28px rgba(248, 184, 78, .18);
}
.auth-mobile-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 20px;
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
}
.auth-mobile-footer a { color: #f8b84e; font-weight: 800; text-decoration: none; }
.auth-mobile-copyright {
  width: 100%;
  text-align: center;
  color: rgba(255, 255, 255, .42);
  font-size: 12px;
  letter-spacing: .5px;
}

@media (max-width: 768px) {
  .auth-mobile-wrap { padding: 0; gap: 0; max-width: none; }
  .auth-mobile-card {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    box-shadow: none;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .auth-login-notice {
    margin: 14px 14px 0;
    width: auto;
    border-radius: 14px;
  }
  .auth-login-notice marquee { padding: 11px 14px 11px 18px; font-size: 13px; }
  .auth-mobile-header { padding: 28px 18px 18px; }
  .auth-mobile-header h1 { font-size: 26px; }
  .auth-mobile-header p { font-size: 13px; }
  .auth-mobile-body { padding: 18px 0 22px; }
  .auth-mobile-tip { font-size: 12px; margin: 0 14px 18px; }
  .auth-mobile-form .form-group {
    margin-bottom: 18px;
    padding: 0 14px;
  }
  .auth-mobile-form .form-group:last-of-type { margin-bottom: 22px; }
  .auth-mobile-label { padding: 0 2px; }
  .auth-mobile-input,
  .auth-code-row .auth-mobile-input,
  .auth-code-btn {
    height: 58px;
    border-radius: 14px;
    font-size: 16px;
  }
  .auth-mobile-input {
    padding: 0 18px;
    border-radius: 14px;
  }
  .auth-mobile-btn {
    height: 56px;
    font-size: 17px;
    margin: 0 14px;
    width: calc(100% - 28px);
  }
  .auth-mobile-footer {
    margin: 18px 14px 0;
    padding: 0 2px;
    font-size: 12px;
  }
  .auth-mobile-copyright { padding: 18px 14px 14px; }
}

@media (max-width: 420px) {
  .auth-mobile-header h1 { font-size: 24px; }
  .auth-mobile-input,
  .auth-code-row .auth-mobile-input,
  .auth-code-btn { height: 60px; }
  .auth-mobile-btn { height: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  body.auth-mobile-page::before,
  .auth-mobile-btn { animation: none !important; }
}
