:root {
  color-scheme: dark;
  --text: #f4f7ff;
  --muted: #aebce2;
  --muted-2: #8290b4;
  --panel: rgba(9, 16, 37, .78);
  --panel-2: rgba(12, 22, 52, .86);
  --border: rgba(146, 170, 255, .22);
  --border-2: rgba(158, 182, 255, .34);
  --primary: #7ad7ff;
  --primary-2: #8c7bff;
  --danger: #ff7777;
  --shadow: 0 24px 90px rgba(0, 0, 0, .42);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body { background: #060a18; color: var(--text); }
a { color: inherit; }
.login-page.atlas-login.atlas-login-v2.atlas-login-simple {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  overflow: hidden;
  padding: 32px 18px 20px;
  background:
    radial-gradient(circle at 17% 18%, rgba(122, 215, 255, .18), transparent 28%),
    radial-gradient(circle at 80% 24%, rgba(140, 123, 255, .20), transparent 30%),
    linear-gradient(90deg, rgba(4, 8, 21, .91) 0%, rgba(5, 10, 28, .83) 48%, rgba(5, 8, 18, .96) 100%),
    url('/assets/media/brand/myteria-bg.webp') center / cover no-repeat,
    #060a18;
}
.login-page::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.82), transparent 78%);
}
.atlas-login-grid,
.atlas-login-footer {
  position: relative;
  z-index: 1;
}
.atlas-login-grid {
  width: min(100% - 88px, 1460px);
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(430px, 600px);
  gap: 74px;
  align-items: center;
}
.atlas-brand-panel {
  min-height: 430px;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.atlas-brand-logo {
  width: min(650px, 94%);
  max-height: 190px;
  object-fit: contain;
  margin: 0 0 34px;
  filter: drop-shadow(0 20px 38px rgba(90, 40, 255, .34)) drop-shadow(0 18px 34px rgba(0,0,0,.42));
}
.atlas-title-lockup {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: clamp(58px, 6vw, 92px);
  line-height: .95;
  font-weight: 950;
  letter-spacing: -.07em;
  text-shadow: 0 18px 42px rgba(0,0,0,.45);
}
.atlas-title-icon {
  width: clamp(74px, 6vw, 106px);
  height: clamp(74px, 6vw, 106px);
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(0,0,0,.32));
}
.atlas-auth-card {
  display: grid;
  gap: 18px;
  padding: 48px;
  border-radius: 28px;
  background: var(--panel);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.atlas-auth-card h1 {
  margin: 0;
  font-size: clamp(48px, 5vw, 72px);
  line-height: .95;
  letter-spacing: -.06em;
}
.atlas-auth-copy {
  margin: 0;
  color: #dce6ff;
  font-size: 24px;
  font-weight: 850;
  line-height: 1.55;
}
.atlas-auth-help {
  margin: -4px 0 4px;
  color: #9eacd0;
  font-size: 19px;
  line-height: 1.55;
  font-weight: 700;
}
.atlas-discord-button,
.btn {
  min-height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 17px;
  border-radius: 16px;
  border: 1px solid rgba(166, 190, 255, .30);
  background: rgba(255,255,255,.075);
  color: #eef4ff;
  font-weight: 950;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.atlas-discord-button {
  background: linear-gradient(135deg, rgba(88, 101, 242, .98), rgba(109, 126, 255, .86));
  border-color: rgba(184, 195, 255, .42);
  box-shadow: 0 16px 42px rgba(88, 101, 242, .22);
}
.atlas-discord-button:hover,
.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(213, 226, 255, .62);
  box-shadow: 0 18px 48px rgba(0,0,0,.26);
}
.btn-icon { width: 22px; height: 22px; flex: 0 0 auto; }
.login-error {
  margin: 2px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 101, 101, .35);
  border-radius: 14px;
  background: rgba(255, 101, 101, .11);
  color: #ffd3d3;
  font-weight: 850;
  line-height: 1.35;
}
.atlas-auth-card-error {
  border-color: rgba(255, 138, 138, .34);
  box-shadow: 0 22px 80px rgba(0,0,0,.34), 0 0 44px rgba(255, 101, 101, .08);
}
.atlas-auth-error-screen { display: grid; gap: 14px; }
.auth-error-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 101, 101, .25), rgba(255, 195, 91, .14));
  border: 1px solid rgba(255, 138, 138, .45);
  color: #ffd3d3;
  font-size: 30px;
  font-weight: 950;
  line-height: 1;
}
.eyebrow {
  margin: 0;
  color: #8dbdff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.auth-error-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2px; }
.auth-error-footnote { margin: 0; color: var(--muted-2); font-size: 13px; font-weight: 750; line-height: 1.45; }
.atlas-login-footer {
  display: grid;
  justify-items: center;
  align-items: center;
  gap: 9px;
  max-width: min(100% - 26px, 1120px);
  padding: 22px 0 0;
  color: #97a7c9;
  font-size: 16px;
  font-weight: 750;
  text-align: center;
}
.atlas-login-footer strong { color: #dce6ff; }
.atlas-login-footer a { color: #c9d7ff; font-weight: 850; text-decoration: none; }
.atlas-login-footer a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 920px) {
  .login-page.atlas-login.atlas-login-v2.atlas-login-simple { padding: 24px 12px 16px; overflow: auto; }
  .atlas-login-grid { width: min(100% - 22px, 620px); grid-template-columns: 1fr; gap: 28px; }
  .atlas-brand-panel { min-height: auto; justify-items: center; padding-top: 4px; }
  .atlas-brand-logo { width: min(370px, 90%); max-height: 118px; margin-bottom: 18px; }
  .atlas-title-lockup { font-size: clamp(42px, 14vw, 72px); gap: 16px; }
  .atlas-auth-card { padding: 28px; border-radius: 24px; }
  .atlas-auth-card h1 { font-size: clamp(44px, 14vw, 62px); }
  .atlas-auth-copy { font-size: 18px; }
  .atlas-auth-help { font-size: 15px; }
  .atlas-login-footer { font-size: 12px; padding-bottom: 6px; }
}
