* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f6efe0;
  background: radial-gradient(circle at top, rgba(245, 197, 66, 0.16), transparent 34%), linear-gradient(135deg, #030303 0%, #090909 52%, #151006 100%);
}
.login-screen {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
}
.login-box {
  width: min(94vw, 980px);
  padding: 24px 22px;
}
.login-box h1 {
  margin: 0;
  font-size: clamp(34px, 4.7vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 900;
}
.login-box h1 span {
  display: block;
  white-space: nowrap;
}
.login-box p {
  margin: 24px 0 0;
  color: rgba(246, 239, 224, 0.82);
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 600;
}
.login-enter {
  margin-top: 44px;
  min-width: 190px;
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(145deg, #ffe28a, #f5c542, #b9871f);
  color: #150e03;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: 0.16em;
  box-shadow: 0 20px 42px rgba(245, 197, 66, 0.24), inset 0 1px 0 rgba(255,255,255,0.55);
  transition: transform .15s ease, filter .15s ease;
}
.login-enter:hover { transform: translateY(-2px); filter: brightness(1.05); }
.login-enter:active { transform: translateY(0); }
.login-version {
  position: fixed;
  left: 14px;
  bottom: 10px;
  color: rgba(246, 239, 224, 0.46);
  font-size: 11px;
  letter-spacing: 0.04em;
}
@media (max-width: 640px) {
  .login-screen {
    min-height: 100svh;
    min-height: 100dvh;
    padding: max(16px, env(safe-area-inset-top)) 18px max(72px, calc(env(safe-area-inset-bottom) + 56px));
  }
  .login-box { width: 100%; padding: 18px 10px; transform: translateY(-3.5svh); }
  .login-box h1 {
    font-size: clamp(32px, 10vw, 46px);
    line-height: 1.04;
    max-width: 92vw;
    margin-left: auto;
    margin-right: auto;
  }
  .login-box p {
    font-size: clamp(17px, 5vw, 24px);
    margin-top: 22px;
  }
  .login-enter {
    width: min(100%, 230px);
    margin-top: 34px;
  }
  .login-version { bottom: max(14px, calc(env(safe-area-inset-bottom) + 10px)); }
  .login-seo { padding: 0 18px; margin-bottom: 44px; font-size: 14px; }
}

.login-enter.is-sleepy { letter-spacing: 0.04em; font-size: 15px; }

/* v7.25: version kecil bawah kanan front page */
.login-version {
  left: auto;
  right: 14px;
  text-align: right;
}

.login-seo {
  max-width: 900px;
  margin: 0 auto 56px;
  padding: 0 24px;
  color: rgba(246, 239, 224, 0.72);
  line-height: 1.65;
  font-size: 15px;
}
.login-seo h2 {
  margin: 0 0 10px;
  color: rgba(246, 239, 224, 0.92);
  font-size: 22px;
  letter-spacing: -0.02em;
}
.login-seo p { margin: 0 0 10px; }
.login-seo a { color: #f5c542; text-decoration: none; }
.login-seo a:hover { text-decoration: underline; }

/* v10.45: front page public buttons */
.login-actions {
  margin-top: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.login-actions .login-enter {
  margin-top: 0;
  min-width: 172px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  letter-spacing: 0.02em;
  font-size: 15px;
  padding: 0 22px;
}
.login-actions .login-enter.primary {
  min-width: 190px;
}
.login-actions .login-enter.secondary {
  border: 1px solid rgba(245,197,66,.34);
  background: rgba(245,197,66,.08);
  color: #f6efe0;
  box-shadow: none;
  font-weight: 850;
}
.login-actions .login-enter.secondary:hover {
  background: rgba(245,197,66,.14);
  color: #ffe28a;
  text-decoration: none;
}
@media (max-width: 640px) {
  .login-actions {
    margin-top: 34px;
    gap: 10px;
  }
  .login-actions .login-enter,
  .login-actions .login-enter.primary {
    width: min(100%, 260px);
  }
}
