.account-page {
  min-height: 100vh;
  background: #000;
}

.account-main { overflow: hidden; }

.account-stage {
  min-height: calc(100svh - 84px - 64px);
  padding: 22px 0;
  display: grid;
  place-items: center;
}

.account-card {
  width: min(470px, 100%);
  position: relative;
  padding: 30px;
  border: 1px solid #30394d;
  border-radius: 14px;
  background: linear-gradient(145deg, #181a1f 0%, #101113 100%);
  box-shadow: 0 28px 80px rgba(0,0,0,.5), 0 0 55px rgba(50,109,244,.07);
}

.account-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #326df4 25%, #78a2ff 75%, transparent);
}

.account-card-heading { margin-bottom: 22px; }
.account-card-heading h1 {
  margin: 0;
  font-size: clamp(37px, 3.9vw, 45px);
  line-height: 1;
  letter-spacing: -.055em;
  font-weight: 630;
}
.account-card-heading p {
  margin: 12px 0 0;
  color: #8e8e8e;
  font-size: 14px;
  line-height: 1.5;
}

.auth-notice {
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid #3f5f9d;
  border-radius: 10px;
  background: rgba(50,109,244,.08);
  color: #bfd0ff;
  font-size: 13px;
  line-height: 1.4;
}
.auth-notice.error {
  border-color: #9f3c4d;
  background: rgba(232, 93, 117, .1);
  color: #ff8fa0;
}
.auth-notice[hidden] { display: none; }

.auth-form { display: flex; flex-direction: column; }
.auth-form label {
  display: grid;
  gap: 6px;
  margin-top: 11px;
  color: #a6a6a6;
  font-size: 12px;
}
.auth-form .auth-check {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: #b7b7b7;
  line-height: 1.45;
}
.auth-form .auth-check a { color: #9bb5ff; }
.auth-form input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #343945;
  border-radius: 9px;
  outline: 0;
  background: #0a0b0e;
  color: #fff;
  font: inherit;
  font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.auth-form .auth-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  padding: 0;
}
.auth-form input:focus {
  border-color: #5f8eff;
  box-shadow: 0 0 0 3px rgba(50,109,244,.17);
}

.google-button,
.discord-button,
.auth-submit {
  width: 100%;
  min-height: 43px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 560;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.google-button { background: #f5f5f5; color: #0a0a0a; }
.google-button:hover { background: #fff; transform: translateY(-1px); }
.discord-button { margin-top: 9px; background: #5865f2; color: #fff; }
.discord-button:hover { background: #6975ff; transform: translateY(-1px); }
.auth-submit {
  margin-top: 15px;
  background: #326df4;
  color: #fff;
  box-shadow: 0 9px 26px rgba(50,109,244,.2);
}
.auth-submit:hover {
  background: #477df5;
  transform: translateY(-2px);
  box-shadow: 0 13px 30px rgba(50,109,244,.28);
}

.auth-divider {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #858585;
  font-size: 12px;
}
.auth-divider::before,
.auth-divider::after { content: ""; height: 1px; flex: 1; background: #2c2c2c; }

.auth-help { width: fit-content; margin-top: 9px; color: #83a5ff; font-size: 12px; }

.account-switch {
  margin: 20px 0 0;
  padding-top: 17px;
  border-top: 1px solid #292c34;
  color: #858585;
  font-size: 13px;
  text-align: center;
}
.account-switch a { color: #9bb5ff; }
.account-switch a:hover { color: #fff; }

.verification-mark {
  width: 38px;
  height: 38px;
  margin-bottom: 19px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(50,109,244,.13);
  color: #8fb0ff;
  font-size: 17px;
  font-weight: 650;
}
.verification-card .account-card-heading strong { color: #c8c8c8; font-weight: 520; }
.verification-complete { margin-top: 0; }
.verification-resend {
  width: 100%;
  min-height: 40px;
  margin-top: 9px;
  border: 1px solid #333741;
  border-radius: 999px;
  background: #17181c;
  color: #c0c0c0;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}
.verification-resend:hover { border-color: #4b5364; color: #fff; }

.account-footer {
  min-height: 64px;
  border-top: 1px solid #202020;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  color: #757575;
  font-size: 11px;
}
.account-footer .footer-wordmark { color: #fff; }
.account-footer a { color: #829bd6; }
.account-footer a:hover { color: #fff; }
.account-footer .footer-legal { display: flex; align-items: center; gap: 18px; }
.account-footer .trademark-notice {
  flex-basis: 100%;
  margin-top: 0;
  color: #626262;
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0;
}

@media (max-width: 900px) {
  .account-stage { min-height: calc(100svh - 72px - 64px); }
}

@media (max-width: 520px) {
  .account-stage { padding: 24px 0; }
  .account-card { padding: 26px 21px; }
  .account-card-heading h1 { font-size: 37px; }
  .account-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 13px 0;
  }
}
