:root {
  color-scheme: dark;
  --bg: #090c14;
  --surface: #111624;
  --line: rgba(255, 255, 255, 0.08);
  --text: #edf0f8;
  --muted: #929bad;
  --subtle: #687287;
  --primary: #8a7cff;
  --discord: #5865f2;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 120%, rgba(81, 65, 180, 0.15), transparent 42%),
    var(--bg);
  color: var(--text);
}

.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.ambient-one {
  top: -150px;
  left: -100px;
  width: 420px;
  height: 420px;
  background: rgba(90, 71, 204, 0.12);
}

.ambient-two {
  right: -130px;
  bottom: -180px;
  width: 480px;
  height: 480px;
  background: rgba(60, 116, 190, 0.08);
}

.login-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(440px, 100%);
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 45%),
    rgba(17, 22, 36, 0.94);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  text-align: center;
}

.brand-mark {
  position: relative;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border: 1px solid rgba(164, 151, 255, 0.28);
  border-radius: 20px;
  background: linear-gradient(145deg, #7465e9, #453989);
  box-shadow: 0 18px 40px rgba(76, 58, 177, 0.32);
}

.star {
  color: white;
  font-size: 22px;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.wing {
  position: absolute;
  top: 31px;
  width: 15px;
  height: 2px;
  background: rgba(255, 255, 255, 0.72);
}

.wing::after {
  content: "";
  position: absolute;
  top: 5px;
  width: 11px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
}

.wing-left {
  right: 44px;
}

.wing-left::after {
  right: 0;
}

.wing-right {
  left: 44px;
}

.wing-right::after {
  left: 0;
}

.eyebrow {
  color: #9d92f8;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

h1 {
  margin: 8px 0 0;
  font-size: clamp(25px, 6vw, 32px);
  letter-spacing: -1px;
}

.intro {
  max-width: 330px;
  margin: 12px auto 25px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.access-error {
  margin: 0 0 16px;
  padding: 11px 13px;
  border: 1px solid rgba(241, 120, 159, 0.25);
  border-radius: 10px;
  background: rgba(241, 120, 159, 0.08);
  color: #f4a0bc;
  font-size: 11px;
  line-height: 1.45;
}

.discord-button {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  background: var(--discord);
  box-shadow: 0 14px 30px rgba(88, 101, 242, 0.22);
  color: white;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: 160ms ease;
}

.discord-button:hover {
  background: #6874f7;
  transform: translateY(-1px);
  box-shadow: 0 17px 34px rgba(88, 101, 242, 0.28);
}

.discord-button:focus-visible {
  outline: 3px solid rgba(138, 124, 255, 0.3);
  outline-offset: 3px;
}

.discord-button svg {
  width: 21px;
  height: 21px;
}

.security-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 20px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.018);
  text-align: left;
}

.security-icon {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: rgba(88, 214, 173, 0.1);
  color: #58d6ad;
  font-size: 11px;
  font-weight: 800;
}

.security-note strong {
  display: block;
  font-size: 11px;
}

.security-note p {
  margin: 3px 0 0;
  color: var(--subtle);
  font-size: 9.5px;
  line-height: 1.5;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 25px;
  color: #596277;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #58d6ad;
  box-shadow: 0 0 9px rgba(88, 214, 173, 0.45);
}

@media (max-width: 520px) {
  .login-card {
    padding: 34px 23px;
    border-radius: 20px;
  }
}
