@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/hanken-grotesk-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; }
body {
  position: relative; overflow: hidden;
  background: #3d3644; color: #1f2226;
  font: 14px/1.5 "Hanken Grotesk", system-ui, "Segoe UI", sans-serif;
}
.login-wall { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
.login-shade { position: fixed; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(20, 16, 24, 0.38) 0%, rgba(20, 16, 24, 0) 55%); }

.login-clock { position: fixed; left: 56px; bottom: 64px; z-index: 1; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35); }
.login-time { font-size: 92px; font-weight: 300; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.login-date { margin-top: 8px; font-size: 22px; font-weight: 500; }

.login {
  position: fixed; right: 56px; top: 50%; z-index: 1; transform: translateY(-50%);
  width: min(360px, calc(100% - 32px));
  display: flex; flex-direction: column; gap: 14px;
  padding: 24px 24px 20px;
  background: #fbfaf8; border: 1px solid rgba(0, 0, 0, 0.18); border-radius: 10px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
}
.login-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #4b4f55; }
.login-logo .l-a { fill: #e8b830; }
.login-logo .l-b { fill: #24282d; }
.login h1 { margin: 0; font-size: 21px; line-height: 1.2; font-weight: 700; }
.login-actions { display: flex; flex-direction: column; gap: 8px; }
.login-btn {
  display: flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 16px; border-radius: 6px;
  font: 600 14px/1 inherit; font-family: inherit; text-decoration: none; cursor: pointer;
}
.login-discord { background: #5865f2; color: #fff; border: 1px solid #4752c4; }
.login-discord:hover { background: #4752c4; }
.login-dev { background: #fff; color: #1f2226; border: 1px solid #cfcac2; }
.login-dev:hover { background: #f4f2ee; }
.login-dev[disabled] { opacity: 0.6; }
.login-note { margin: 0; color: #6b6f75; font-size: 12.5px; line-height: 1.5; }
.login-error { margin: 0; padding: 8px 12px; border-left: 3px solid #c0392b; background: #fbeceb; color: #7a2018; border-radius: 0 4px 4px 0; }
.login-foot { position: fixed; right: 56px; bottom: 28px; z-index: 1; display: flex; gap: 14px; color: rgba(255, 255, 255, 0.7); font-size: 12px; }
:focus-visible { outline: 2px solid #e8b830; outline-offset: 2px; }

@media (max-width: 760px) {
  .login { right: 50%; transform: translate(50%, -50%); }
  .login-clock { left: 24px; bottom: auto; top: 28px; }
  .login-time { font-size: 56px; }
  .login-date { font-size: 16px; }
  .login-foot { right: 24px; left: 24px; justify-content: center; }
}
