﻿:root {
  --page: #242625;
  --blue: #1f6faf;
  --button: #1f70b7;
  --button-hover: #257bc6;
  --text: #beb8b2;
  --muted: #9d9894;
  --line: #3a3d3d;
  --link: #2386e8;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--text);
  background: var(--page);
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: clamp(395px, 29vw, 595px) minmax(520px, 1fr);
  gap: 96px;
  padding: 16px 10px 25px;
}

.promo-panel {
  min-height: calc(100vh - 41px);
  border-radius: 8px;
  background: var(--blue);
  box-shadow: 16px 0 35px rgba(0, 0, 0, .24);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rocket-scene {
  width: min(76%, 360px);
  transform: translateY(-65px);
  filter: drop-shadow(0 20px 18px rgba(0, 0, 0, .12));
}

.rocket {
  width: 100%;
  height: auto;
  display: block;
}

.promo-slogan {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 21%;
  margin: 0;
  color: rgba(255, 255, 255, .92);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .22);
}

.body {
  fill: #064d86;
}

.body-shadow {
  fill: #075f9f;
}

.nose,
.fin,
.side,
.base,
.window-rim {
  fill: #00437a;
}

.window {
  fill: #247dcb;
}

.flame-outer {
  fill: #3387d2;
}

.flame-inner {
  fill: #4a9ce0;
}

.trail {
  fill: none;
  stroke: #8bcaff;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 15 15;
  filter: drop-shadow(0 0 8px rgba(139, 202, 255, .45));
}

.trail-two {
  stroke-width: 4;
}

.form-panel {
  min-height: calc(100vh - 41px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 56px 40px 20px;
}

.login-card {
  width: min(592px, 100%);
  transform: translateY(-3px);
}

.login-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}

.login-heading h1 {
  margin: 0;
  color: var(--text);
  font-size: 38px;
  font-weight: 400;
  letter-spacing: 0;
}

.login-heading span {
  color: var(--muted);
  font-size: 20px;
}

.register-line {
  margin: 0 0 42px;
  color: var(--text);
  font-size: 16px;
}

.field {
  display: block;
  margin-bottom: 24px;
}

.field span {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 17px;
}

.field b {
  color: #ff1f1f;
  font-weight: 400;
}

.field input {
  width: 100%;
  height: 57px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0 14px;
  background: transparent;
  color: var(--text);
  font-size: 20px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.field input::placeholder {
  color: #b6b0aa;
}

.field input:focus {
  border-color: #4b5355;
  box-shadow: 0 0 0 3px rgba(64, 145, 220, .1);
}

.assist-row {
  margin-top: -10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  font-size: 16px;
}

.language-button {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  position: relative;
  font-size: 19px;
}

.language-button span:first-child {
  position: absolute;
  left: 4px;
  top: 4px;
}

.language-button span:last-child {
  position: absolute;
  right: 4px;
  bottom: 3px;
}

.submit-button {
  width: 100%;
  height: 56px;
  margin-top: 42px;
  border: 0;
  border-radius: 4px;
  background: var(--button);
  box-shadow: 0 3px 8px rgba(0, 0, 0, .22);
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  letter-spacing: 4px;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.submit-button:hover {
  background: var(--button-hover);
  box-shadow: 0 5px 12px rgba(30, 103, 178, .36);
}

.submit-button:active {
  transform: translateY(1px);
}

.campaign-link {
  display: block;
  margin-top: 18px;
  text-align: center;
  color: #e29928;
  font-size: 16px;
  font-weight: 700;
}

.support-button {
  position: fixed;
  right: 18px;
  bottom: 28px;
  width: 70px;
  height: 70px;
  border: 0;
  border-radius: 50%;
  background: #2f6df1;
  box-shadow: 0 9px 26px rgba(0, 0, 0, .3);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.support-button span {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #2f6df1;
  font-weight: 700;
  font-size: 22px;
  font-family: Georgia, serif;
  transform: rotate(18deg);
}

.notice-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, .56);
}

.notice-box {
  width: min(100%, 420px);
  padding: 28px;
  border-radius: 14px;
  background: #fff;
  color: #16213e;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}

.notice-box h2 {
  margin: 0 0 14px;
  color: #16213e;
  font-size: 24px;
  font-weight: 700;
}

.notice-box p {
  margin: 10px 0;
  color: #475672;
  line-height: 1.6;
}

.notice-box b,
#countdown {
  color: #1f70b7;
}

.notice-btn {
  width: 100%;
  min-height: 46px;
  margin-top: 12px;
  border: 0;
  border-radius: 8px;
  background: var(--button);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.notice-btn:hover {
  background: var(--button-hover);
  box-shadow: 0 6px 14px rgba(30, 103, 178, .34);
}

.notice-btn:active {
  transform: translateY(1px);
}

@media (max-width: 900px) {
  .login-shell {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 14px;
  }

  .promo-panel {
    min-height: 280px;
  }

  .rocket-scene {
    width: 190px;
  }

  .promo-slogan {
    bottom: 24px;
    font-size: 22px;
  }

  .form-panel {
    min-height: auto;
    padding: 18px 8px 64px;
  }

  .login-card {
    transform: none;
  }

  .login-heading {
    flex-wrap: wrap;
    gap: 8px;
  }

  .login-heading h1 {
    font-size: 30px;
  }

  .login-heading span {
    font-size: 16px;
  }
}

@media (max-width: 520px) {
  .login-shell {
    padding: 0;
  }

  .promo-panel {
    border-radius: 0;
  }

  .form-panel {
    padding: 28px 18px 78px;
  }

  .register-line {
    margin-bottom: 30px;
  }

  .support-button {
    right: 16px;
    bottom: 16px;
  }
}
