:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  background: #090c12;
  color: #f3f5f8;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  background: #090c12 url('/game-assets/logos/en.jpg') center / cover no-repeat;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 13, .82);
  pointer-events: none;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  position: relative;
}

.register-panel {
  width: min(100%, 480px);
  padding: 36px 40px 32px;
  background: rgba(18, 24, 34, .96);
  border: 1px solid rgba(255, 255, 255, .12);
  border-top: 4px solid #e3222b;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
}

.brand-mark {
  color: #f4f6f9;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.05;
}

.brand-mark span { color: #e3222b; font-size: 16px; }
.eyebrow { color: #e3222b; font-size: 12px; font-weight: 700; letter-spacing: .16em; margin: 30px 0 8px; }
h1 { margin: 0; font-size: 32px; }
.intro, .login-note { color: #aeb6c2; line-height: 1.6; }
form { margin-top: 26px; }
label { display: block; font-size: 14px; font-weight: 700; margin: 18px 0 7px; }
input {
  width: 100%;
  border: 1px solid #455163;
  border-radius: 3px;
  background: #0e141e;
  color: #fff;
  font: inherit;
  padding: 12px 13px;
}
input:focus { outline: 2px solid #e3222b; outline-offset: 1px; border-color: transparent; }
.field-note { margin: 5px 0 0; color: #8490a0; font-size: 12px; }
button {
  width: 100%;
  border: 0;
  border-radius: 3px;
  margin-top: 28px;
  padding: 14px;
  background: #e3222b;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}
button:hover { background: #ff3c45; }
button:disabled { cursor: wait; opacity: .65; }
.status { min-height: 24px; margin: 16px 0 0; line-height: 1.5; }
.status.success { color: #50d891; }
.status.error { color: #ff777d; }
.login-note { font-size: 13px; margin: 24px 0 0; }

@media (max-width: 520px) {
  .register-panel { padding: 28px 24px 26px; }
  h1 { font-size: 28px; }
}
