:root {
  --ink: #45445f;
  --muted: #7c7b91;
  --pink: #f878a7;
  --blue: #65c6e6;
  --gold: #ecb630;
  font-family: "Microsoft YaHei UI", "PingFang SC", sans-serif;
  color: var(--ink);
  background: #fff9e5;
}

* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; }
button, input { font: inherit; }

.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
  background:
    radial-gradient(circle at 8% 10%, rgba(255,255,255,.7), transparent 22%),
    linear-gradient(125deg, #ffe180 0, #fff3bf 42%, #e6f7ff 72%, #bce8fa 100%);
}

.login-visual {
  position: relative;
  min-height: 650px;
  padding: clamp(30px, 5vw, 76px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid rgba(76,72,95,.1);
}

.login-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .34;
  background-image:
    linear-gradient(rgba(255,255,255,.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.8) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(135deg, #000, transparent 78%);
}

.login-brand { position: relative; z-index: 2; display: flex; align-items: center; gap: 11px; }
.login-brand > span {
  width: 46px; height: 46px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 15px;
  color: white; background: linear-gradient(145deg, #f5bd35, #ef789e 55%, #55b5d9); box-shadow: 0 10px 22px rgba(132,91,25,.18); font: 1000 21px Georgia, serif;
}
.login-brand p { margin: 0; display: grid; gap: 2px; }
.login-brand strong { letter-spacing: .09em; }
.login-brand small, .eyebrow { color: #a1741b; font: 900 9px Georgia, serif; letter-spacing: .18em; }

.login-hero-copy { position: relative; z-index: 2; max-width: 650px; margin: auto 0; }
.login-hero-copy h1 { margin: 13px 0 18px; font-size: clamp(45px, 6vw, 82px); line-height: 1.08; letter-spacing: -.06em; }
.login-hero-copy h1 em { color: transparent; background: linear-gradient(90deg, #de9e20, #ef719d, #399dcc); background-clip: text; font-style: normal; }
.login-hero-copy > p { max-width: 550px; margin: 0; color: #69687e; font-size: clamp(12px, 1.25vw, 17px); font-weight: 750; line-height: 1.8; }

.route-art { position: absolute; z-index: 1; right: -65px; bottom: 92px; width: min(42vw, 540px); aspect-ratio: 1; border: 2px dashed rgba(255,255,255,.72); border-radius: 50%; }
.route-art::before, .route-art::after { content: ""; position: absolute; inset: 18%; border: 2px solid rgba(255,255,255,.48); border-radius: 50%; transform: rotate(24deg); }
.route-art::after { inset: 35% 10%; transform: rotate(-18deg); }
.route-globe { position: absolute; left: 12%; top: 22%; font-size: clamp(64px, 8vw, 112px); filter: drop-shadow(0 15px 24px rgba(61,115,145,.18)); }
.route-plane { position: absolute; right: 14%; top: 14%; color: #469fc4; font-size: clamp(40px, 5vw, 72px); transform: rotate(-22deg); animation: planeFloat 2.1s ease-in-out infinite alternate; }
.route-art b { position: absolute; color: #ef719d; font-size: 24px; }
.route-art b:nth-of-type(1) { right: 24%; bottom: 22%; }
.route-art b:nth-of-type(2) { left: 20%; bottom: 18%; color: #e5aa22; }
.route-art b:nth-of-type(3) { left: 47%; top: 9%; color: #55b9db; }
@keyframes planeFloat { to { transform: translate(-10px, -9px) rotate(-16deg); } }

.security-points { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.security-points span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.82); border-radius: 999px; color: #5c596f; background: rgba(255,255,255,.57); backdrop-filter: blur(8px); font-size: 10px; font-weight: 850; }
.security-points i { color: #d2961c; font-style: normal; }

.login-panel { padding: clamp(24px, 4vw, 62px); display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(255,255,255,.56); backdrop-filter: blur(17px); }
.login-card { width: min(100%, 480px); padding: clamp(25px, 4vw, 45px); border: 1px solid rgba(77,72,96,.12); border-radius: 30px; background: rgba(255,255,255,.87); box-shadow: 0 30px 90px rgba(64,55,77,.17), inset 0 1px rgba(255,255,255,.85); }
.login-card-heading { text-align: center; }
.lock-icon { width: 72px; height: 72px; margin: 0 auto 13px; display: grid; place-items: center; border: 3px solid #fff; border-radius: 23px; background: linear-gradient(145deg, #ffdf70, #fff5c3 55%, #9edff2); box-shadow: 0 12px 30px rgba(149,102,20,.17); font-size: 34px; transform: rotate(-3deg); }
.login-card h2 { margin: 7px 0 5px; font-size: 29px; }
.login-card-heading > p { margin: 0; color: var(--muted); font-size: 11px; font-weight: 700; }

form { margin-top: 27px; display: grid; gap: 16px; }
label { display: grid; gap: 7px; }
label > span { color: #5e5b71; font-size: 10px; font-weight: 900; }
.input-shell { min-height: 52px; padding: 0 13px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(73,69,92,.13); border-radius: 15px; background: #fafafd; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.input-shell:focus-within { border-color: rgba(74,168,207,.6); background: white; box-shadow: 0 0 0 4px rgba(91,188,225,.12); }
.input-shell > i { width: 24px; color: #d99f27; text-align: center; font-size: 14px; font-style: normal; }
.input-shell input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; font-weight: 800; }
.input-shell input::placeholder { color: #aaa8b4; font-weight: 650; }
.input-shell button { padding: 5px 7px; border: 0; border-radius: 8px; color: #4b95b3; background: #e9f7fb; cursor: pointer; font-size: 9px; font-weight: 900; }
.login-message { min-height: 18px; color: #d34f7b; font-size: 10px; font-weight: 850; line-height: 1.5; }
.login-message.is-success { color: #32906e; }

.login-button { min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid rgba(196,134,17,.28); border-radius: 15px; color: white; background: linear-gradient(120deg, #e9b32d, #f176a1 53%, #4caed2); box-shadow: 0 13px 28px rgba(165,107,28,.23); cursor: pointer; font-size: 12px; transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
.login-button:hover { transform: translateY(-2px); filter: saturate(1.08); box-shadow: 0 17px 34px rgba(165,107,28,.29); }
.login-button:disabled { cursor: wait; filter: grayscale(.25); opacity: .72; transform: none; }
.login-button > span { font-size: 20px; }

.login-help { margin-top: 20px; padding: 11px 12px; display: flex; align-items: center; gap: 9px; border-radius: 13px; color: #5d5a70; background: #f1f3f6; }
.login-help > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: white; }
.login-help p { margin: 0; display: grid; gap: 2px; }
.login-help strong { font-size: 10px; }
.login-help small { color: var(--muted); font-size: 8px; font-weight: 700; }
.login-panel footer { width: min(100%, 480px); margin-top: 20px; display: flex; justify-content: space-between; gap: 12px; color: #77758a; font-size: 8px; }

@media (max-width: 880px) {
  .login-page { grid-template-columns: 1fr; }
  .login-visual { min-height: 330px; padding: 26px; }
  .login-hero-copy { margin: 48px 0 34px; }
  .login-hero-copy h1 { font-size: clamp(39px, 10vw, 64px); }
  .route-art { width: 330px; right: -105px; bottom: -95px; }
  .security-points { display: none; }
  .login-panel { padding: 22px 15px 30px; }
}

@media (max-width: 520px) {
  .login-visual { min-height: 275px; }
  .login-hero-copy { margin: 34px 0 18px; }
  .login-hero-copy h1 { margin-bottom: 9px; }
  .login-hero-copy > p { max-width: 290px; font-size: 10px; line-height: 1.55; }
  .login-card { padding: 25px 18px; border-radius: 23px; }
  .login-panel footer { display: grid; text-align: center; justify-content: center; }
}

