:root {
  --bg-top: #0b0b0c;
  --bg-bottom: #111214;
  --ink: #f7f7f8;
  --muted: #a6a7ac;
  --card: #141517;
  --border: rgba(255, 255, 255, 0.08);
  --accent: #5b8cff;
  --radius: 18px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(800px 420px at 20% 10%, rgba(91, 140, 255, 0.18), transparent 60%),
    linear-gradient(135deg, var(--bg-top), var(--bg-bottom));
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(91, 140, 255, 0.12) 0%, rgba(91, 140, 255, 0) 45%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 80px);
  pointer-events: none;
}

.login-shell {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 48px 20px 90px;
  position: relative;
  z-index: 1;
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.login-card {
  width: min(460px, 92vw);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px 36px;
  box-shadow: var(--shadow);
  animation: floatIn 0.8s ease both;
  text-align: center;
}

.logo-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0f1016, #1b1f2c);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.logo-wrap img {
  width: 40px;
  height: 40px;
}

h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
}

p {
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #8db0ff);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  box-shadow: 0 14px 28px rgba(91, 140, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(91, 140, 255, 0.3);
}

.login-btn:focus-visible {
  outline: 3px solid rgba(91, 140, 255, 0.6);
  outline-offset: 3px;
}

.discord-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

footer {
  position: absolute;
  bottom: 24px;
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  z-index: 1;
}

@media (max-width: 480px) {
  .login-card {
    padding: 30px 24px 26px;
  }
}
