:root {
  /* ===== Cyber-HUD Palette ===== */
  --bg-0:         #050811;
  --bg-1:         #070b1a;
  --bg-2:         #0a1124;

  --surface-0:    rgba(12, 18, 36, 0.72);
  --surface-1:    rgba(16, 24, 44, 0.85);
  --surface-2:    rgba(20, 30, 54, 0.92);

  /* Neon accents */
  --cyan:         #00e5ff;
  --cyan-soft:    #66f7ff;
  --cyan-deep:    #0099c7;
  --violet:       #a46bff;
  --violet-soft:  #c9a8ff;
  --magenta:      #ff5bd9;
  --amber:        #ffaa33;
  --lime:         #8bff9e;

  /* Ink / outline */
  --line:         rgba(0, 229, 255, 0.20);
  --line-soft:    rgba(0, 229, 255, 0.10);
  --line-strong:  rgba(0, 229, 255, 0.45);

  /* Text */
  --text-primary:   #e8ecf4;
  --text-secondary: #a4b0cc;
  --text-muted:     #6a7894;
  --text-dim:       #4a5773;

  /* Glows */
  --glow-cyan:    0 0 18px rgba(0, 229, 255, 0.55), 0 0 46px rgba(0, 229, 255, 0.22);
  --glow-cyan-sm: 0 0 10px rgba(0, 229, 255, 0.45);
  --glow-violet:  0 0 22px rgba(164, 107, 255, 0.45);

  --shadow-card:  0 40px 90px rgba(0, 10, 30, 0.6), 0 12px 32px rgba(0, 0, 0, 0.4);

  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --font-display: "Orbitron", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100vh;
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;

  background:
    radial-gradient(1100px 650px at 15% 10%,  rgba(0, 229, 255, 0.12),  transparent 60%),
    radial-gradient(900px 700px at 88% 18%,  rgba(164, 107, 255, 0.12), transparent 60%),
    radial-gradient(900px 800px at 50% 100%, rgba(255, 91, 217, 0.08),  transparent 60%),
    linear-gradient(180deg, #050811 0%, #070c1c 55%, #04060f 100%);
  background-attachment: fixed;
}

/* ===== CANVAS LAYER ===== */
#bgCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.95;
}

/* ===== SCENE LAYER ===== */
.scene {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.scene__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  animation: orbFloat var(--dur, 22s) ease-in-out var(--delay, 0s) infinite alternate;
  mix-blend-mode: screen;
}
.scene__orb--a {
  width: 680px; height: 680px;
  top: -220px; left: -180px;
  opacity: 0.55;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.55) 0%, transparent 65%);
  --dur: 24s;
}
.scene__orb--b {
  width: 620px; height: 620px;
  bottom: -200px; right: -140px;
  opacity: 0.55;
  background: radial-gradient(circle, rgba(164, 107, 255, 0.55) 0%, transparent 65%);
  --dur: 20s;
  --delay: -9s;
}
.scene__orb--c {
  width: 460px; height: 460px;
  top: 38%; left: 48%;
  opacity: 0.45;
  background: radial-gradient(circle, rgba(255, 91, 217, 0.35) 0%, transparent 65%);
  --dur: 28s;
  --delay: -13s;
}

.scene__scan {
  position: absolute;
  top: -40%;
  left: -30%;
  width: 60%;
  height: 180%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    transparent 42%,
    rgba(0, 229, 255, 0.06) 48%,
    rgba(0, 229, 255, 0.14) 50%,
    rgba(0, 229, 255, 0.06) 52%,
    transparent 58%,
    transparent 100%
  );
  transform: rotate(14deg);
  animation: scanSweep 14s linear infinite;
}

.scene__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: 0 0;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9) 0%, transparent 70%);
  animation: gridShimmer 60s linear infinite;
}

.cursorGlow {
  position: fixed;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.22) 0%, rgba(164, 107, 255, 0.10) 45%, transparent 70%);
  transform: translate(-170px, -170px);
  pointer-events: none;
  z-index: 2;
  transition: transform 80ms linear;
  mix-blend-mode: screen;
}

.cursorSpark {
  position: fixed;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan), 0 0 14px rgba(0, 229, 255, 0.6);
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  animation: sparkDie 600ms ease-out forwards;
}

/* ===== PAGE LAYOUT ===== */
.authPage {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 20px 28px;
}

.authPage__main {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== TOP BAR ===== */
.topBar {
  width: min(1090px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 22px;
  margin: 0 auto;
}

.topBar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(8, 14, 30, 0.55);
  border: 1px solid var(--line-soft);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.2px;
  color: var(--text-primary);
}

.topBar__logo img {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
  border-radius: 10px;
}

.topBar__logo span {
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
  display: inline-block;
  vertical-align: middle;
}

.topBar__right {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.topBar__right::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: breathe 2s ease-in-out infinite;
}

/* ===== CARD ===== */
.authCard {
  position: relative;
  width: min(1090px, 100%);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  border-radius: 18px;
  overflow: visible;
  transition: box-shadow 400ms ease;
  background: var(--surface-1);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 0 0 1px rgba(0, 229, 255, 0.05),
    0 1px 0 rgba(0, 229, 255, 0.06),
    0 0 40px rgba(0, 229, 255, 0.06),
    var(--shadow-card);
}

.authCard::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background:
    radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%),
      rgba(0, 229, 255, 0.10) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.authCard::after {
  content: "";
  position: absolute;
  left: 16%; right: 16%; top: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan) 20%, var(--violet) 80%, transparent);
  box-shadow: var(--glow-cyan-sm);
  pointer-events: none;
  z-index: 2;
}

.authCard > .corner {
  position: absolute;
  width: 20px; height: 20px;
  border: 1.5px solid var(--cyan);
  pointer-events: none;
  opacity: 0.85;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.45);
  z-index: 4;
}
.authCard > .corner--tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.authCard > .corner--tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.authCard > .corner--bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.authCard > .corner--br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }

/* ===== VISUAL PANEL ===== */
.authVisual {
  position: relative;
  z-index: 1;
  padding: 28px 32px 24px;
  border-right: 1px solid var(--line-soft);
  overflow: hidden;
}

.authVisual__hex {
  position: absolute;
  top: 22px; right: 22px;
  width: 150px; height: 150px;
  opacity: 0.6;
  pointer-events: none;
  animation: geoRotate 50s linear infinite;
}

.authVisual__radar {
  position: absolute;
  bottom: 24px; right: 44px;
  width: 100px; height: 100px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.65;
  box-shadow: inset 0 0 20px rgba(0, 229, 255, 0.15), 0 0 20px rgba(0, 229, 255, 0.15);
}

.authVisual__radar::before,
.authVisual__radar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
.authVisual__radar::before {
  background:
    radial-gradient(circle, transparent 0 35%, rgba(0, 229, 255, 0.22) 36%, transparent 37%),
    radial-gradient(circle, transparent 0 65%, rgba(0, 229, 255, 0.18) 66%, transparent 67%);
}
.authVisual__radar::after {
  background: conic-gradient(from 0deg, transparent 0deg, rgba(0, 229, 255, 0.55) 30deg, transparent 60deg, transparent 360deg);
  animation: radarSweep 3.6s linear infinite;
}

.authVisual__title {
  margin: 4px 0 14px;
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.authVisual__title em {
  font-style: normal;
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #fff 0%, var(--cyan) 50%, var(--violet-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.authVisual__title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: var(--glow-cyan-sm);
  border-radius: 2px;
}

/* Benefits list */
.authBenefits {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  position: relative;
  z-index: 1;
}

.authBenefits__item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: rgba(8, 14, 30, 0.55);
  transition: all 240ms cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.authBenefits__item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  opacity: 0;
  box-shadow: var(--glow-cyan-sm);
  transition: opacity 240ms ease;
}

.authBenefits__item:hover {
  border-color: var(--line-strong);
  transform: translateX(3px);
  background: rgba(0, 229, 255, 0.05);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15), inset 0 0 12px rgba(0, 229, 255, 0.05);
}

.authBenefits__item:hover::before { opacity: 1; }

.authBenefits__icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 16px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.18), rgba(164, 107, 255, 0.14));
  color: var(--cyan);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 0 12px rgba(0, 229, 255, 0.15), 0 0 14px rgba(0, 229, 255, 0.18);
  transition: all 240ms;
}

.authBenefits__item:hover .authBenefits__icon {
  transform: scale(1.06);
  box-shadow: inset 0 0 12px rgba(0, 229, 255, 0.25), 0 0 20px rgba(0, 229, 255, 0.4);
}

.authBenefits__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.authBenefits__text strong {
  font-size: 13.5px;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.authBenefits__text p {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Stats */
.authStats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.authStats__item {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(8, 14, 30, 0.55);
  font-family: var(--font-mono);
  position: relative;
  overflow: hidden;
}

.authStats__item::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 24px; height: 1px;
  background: var(--cyan);
  box-shadow: var(--glow-cyan-sm);
}

.authStats__label {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.authStats__value {
  margin-top: 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--cyan);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.35);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.authStats__value--violet { color: var(--violet-soft); text-shadow: 0 0 8px rgba(164, 107, 255, 0.35); }
.authStats__value--amber  { color: var(--amber);       text-shadow: 0 0 8px rgba(255, 170, 51, 0.35); }

.authVisual__nodes {
  position: absolute;
  bottom: -10px; left: -10px; right: -10px;
  height: 180px;
  pointer-events: none;
  opacity: 0.55;
}

/* ===== FORM PANEL ===== */
.authPanel {
  position: relative;
  z-index: 1;
  padding: 42px 40px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.authPanel::before {
  content: "";
  position: absolute;
  top: 28px; right: 28px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.12em;
}

.authForm {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px;
  background: linear-gradient(180deg, rgba(10, 16, 34, 0.6), rgba(6, 10, 22, 0.8));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 20px 40px rgba(0, 10, 30, 0.35),
    0 0 24px rgba(0, 229, 255, 0.06);
}

.authForm::before {
  content: "◢ AUTHENTICATION";
  position: absolute;
  top: -10px; left: 20px;
  padding: 2px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--cyan);
  background: linear-gradient(90deg, var(--bg-1), rgba(12, 18, 36, 0.95));
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.55);
}

.authPanel__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  gap: 10px;
}

.authPanel__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

/* Method tabs */
.authMethodTabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 20px;
  background: rgba(0, 229, 255, 0.04);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 4px;
}

.authMethodTab {
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 220ms ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  isolation: isolate;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.authMethodTab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.18), rgba(164, 107, 255, 0.14));
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.18), inset 0 0 10px rgba(0, 229, 255, 0.1);
  opacity: 0;
  transition: opacity 220ms ease;
  z-index: -1;
}

.authMethodTab--active { color: var(--cyan); text-shadow: 0 0 8px rgba(0, 229, 255, 0.5); }
.authMethodTab--active::after { opacity: 1; }
.authMethodTab:hover:not(.authMethodTab--active) { color: var(--text-primary); }

/* QR Code */
.authQrWrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 0 4px;
  gap: 14px;
}

.authQr {
  position: relative;
  width: 172px; height: 172px;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  box-shadow:
    0 0 24px rgba(0, 229, 255, 0.22),
    inset 0 0 18px rgba(0, 229, 255, 0.08);
  overflow: hidden;
}

.authQr::before,
.authQr::after {
  content: "";
  position: absolute;
  width: 22px; height: 22px;
  border-color: var(--cyan);
  border-style: solid;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
  pointer-events: none;
  z-index: 2;
}
.authQr::before { top: 6px; left: 6px; border-width: 2px 0 0 2px; border-radius: 4px 0 0 0; }
.authQr::after  { bottom: 6px; right: 6px; border-width: 0 2px 2px 0; border-radius: 0 0 4px 0; }

.authQr__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 4px;
  position: relative;
  z-index: 1;
}

.authQr__scan {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 12px var(--cyan), 0 0 22px rgba(0, 229, 255, 0.6);
  animation: scanLine 2.6s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

.authQrHint {
  font-size: 12.5px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.65;
  margin: 0;
}

/* 登录状态提示（保留兼容 status 类） */
.status {
  margin-top: 6px;
  margin-bottom: 10px;
  font-size: 12.5px;
  color: var(--cyan);
  text-align: center;
  min-height: 20px;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
  text-shadow: 0 0 6px rgba(0, 229, 255, 0.35);
  transition: color 0.3s ease;
}
.status.success {
  color: var(--lime);
  text-shadow: 0 0 8px rgba(139, 255, 158, 0.55);
}
.status.error {
  color: #ff6f8a;
  text-shadow: 0 0 8px rgba(255, 111, 138, 0.45);
}

/* Inputs */
.authField {
  display: block;
  margin-bottom: 12px;
  position: relative;
}

.authInput {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(6, 10, 22, 0.6);
  color: var(--text-primary);
  padding: 12px 15px;
  font-size: 14px;
  outline: none;
  transition: border-color 180ms, box-shadow 180ms, background 180ms;
  -webkit-appearance: none;
  appearance: none;
  letter-spacing: 0.01em;
}

.authInput::placeholder { color: var(--text-dim); font-size: 13px; }

.authInput:focus {
  border-color: var(--cyan);
  background: rgba(6, 14, 28, 0.85);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.14), 0 0 14px rgba(0, 229, 255, 0.18);
}

.authCaptchaRow {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 12px;
}

.authField--captcha {
  flex: 1;
  margin-bottom: 0;
}

.authCaptchaImg {
  flex-shrink: 0;
  width: 110px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  cursor: pointer;
  object-fit: cover;
  background: rgba(6, 10, 22, 0.6);
}

.authCaptchaImg:hover {
  border-color: var(--cyan);
}

/* Submit button */
.authSubmitBtn {
  position: relative;
  width: 100%;
  padding: 14px 20px;
  border-radius: 10px;
  border: 1px solid var(--cyan);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.22), rgba(164, 107, 255, 0.18));
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  cursor: pointer;
  overflow: hidden;
  margin-bottom: 14px;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
  box-shadow:
    0 0 18px rgba(0, 229, 255, 0.35),
    inset 0 0 14px rgba(0, 229, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.8);
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.authSubmitBtn::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg,
    transparent 20%,
    rgba(255, 255, 255, 0.28) 42%,
    rgba(0, 229, 255, 0.35) 50%,
    rgba(255, 255, 255, 0.28) 58%,
    transparent 80%
  );
  transform: translateX(-140%);
  transition: transform 700ms ease;
}

.authSubmitBtn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  border: 1px solid rgba(0, 229, 255, 0.25);
  pointer-events: none;
  animation: btnPulseRing 2.4s ease-out infinite;
}

.authSubmitBtn:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.32), rgba(164, 107, 255, 0.26));
  box-shadow:
    0 0 28px rgba(0, 229, 255, 0.55),
    inset 0 0 18px rgba(0, 229, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.authSubmitBtn:hover::before { transform: translateX(140%); }
.authSubmitBtn:active { transform: translateY(0); }

.authAgree {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .authCard {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }
  .authVisual {
    padding: 34px 28px;
    border-right: none;
    border-bottom: 1px solid var(--line-soft);
  }
  .authPanel { padding: 32px 26px; }
}

@media (max-width: 540px) {
  .authStats { grid-template-columns: 1fr 1fr; }
  .authStats__item:last-child { grid-column: 1 / -1; }
  .authBenefits { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .authPage  { padding: 14px 14px 40px; }
  .topBar    { padding: 4px 2px 16px; }
  .authVisual { padding: 28px 20px; }
  .authPanel  { padding: 24px 18px; }
  .authForm   { padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ===== KEYFRAMES ===== */
@keyframes breathe {
  0%, 100% { opacity: 0.5; transform: scale(0.85); }
  50%       { opacity: 1;   transform: scale(1.15); }
}

@keyframes orbFloat {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(46px, 36px) scale(1.1); }
}

@keyframes scanSweep {
  0%   { transform: translateX(-20%) rotate(14deg); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateX(220%) rotate(14deg); opacity: 0; }
}

@keyframes gridShimmer {
  0%   { background-position: 0 0, 0 0; }
  100% { background-position: 56px 56px, 56px 56px; }
}

@keyframes geoRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes radarSweep {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes scanLine {
  0%   { top: 10px; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: calc(100% - 10px); opacity: 0; }
}

@keyframes sparkDie {
  from { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
  to   { opacity: 0;    transform: translate(-50%, -210%) scale(0.1); }
}

@keyframes btnPulseRing {
  0%   { box-shadow: inset 0 0 0 0 rgba(0, 229, 255, 0.5); opacity: 0.85; }
  80%  { box-shadow: inset 0 0 0 12px rgba(0, 229, 255, 0); opacity: 0; }
  100% { box-shadow: inset 0 0 0 0 rgba(0, 229, 255, 0);    opacity: 0; }
}
