:root {
  --bg: #07131b;
  --panel: rgba(9, 18, 26, 0.72);
  --panel-border: rgba(255, 255, 255, 0.12);
  --text: #eef5fb;
  --muted: #9eb1c1;
  --accent: #1a6efc;
  --accent-2: #32b3c8;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, Segoe UI, Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(26, 110, 252, 0.18), rgba(50, 179, 200, 0.1) 40%, rgba(0, 0, 0, 0.15)),
    #050b10;
}

body {
  min-height: 100vh;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.55)),
    url('/assets/login-bg.png') center/cover no-repeat;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 0, 144, 0.18), transparent 24%),
    radial-gradient(circle at 80% 30%, rgba(26, 110, 252, 0.22), transparent 28%),
    radial-gradient(circle at 70% 75%, rgba(255, 211, 32, 0.16), transparent 22%);
  mix-blend-mode: screen;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
  display: grid;
  align-content: end;
  min-height: calc(100vh - 112px);
  gap: 20px;
}

.brand-mark {
  width: min(420px, 72vw);
  height: auto;
  filter: drop-shadow(0 14px 40px rgba(0, 0, 0, 0.45));
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4.3rem);
  line-height: 0.95;
  max-width: 12ch;
}

.hero p {
  margin: 0;
  max-width: 44ch;
  color: rgba(238, 245, 251, 0.82);
  font-size: 1.05rem;
  line-height: 1.6;
}

.card {
  display: grid;
  align-content: center;
  justify-items: stretch;
  padding: 48px;
  background: linear-gradient(180deg, rgba(11, 21, 30, 0.9), rgba(8, 14, 21, 0.95));
  border-left: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
}

.card-header {
  margin-bottom: 24px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent-2);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card h2 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.stack {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
}

label span {
  color: var(--muted);
}

input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  outline: none;
}

input:focus {
  border-color: rgba(26, 110, 252, 0.65);
  box-shadow: 0 0 0 4px rgba(26, 110, 252, 0.16);
}

button {
  border: 0;
  border-radius: 16px;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  filter: brightness(1.05);
}

.status,
.link-box {
  margin-top: 16px;
  min-height: 24px;
  color: var(--muted);
  word-break: break-word;
}

.link-box a {
  color: #86c7ff;
}

.hidden {
  display: none;
}

@media (max-width: 960px) {
  .login-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 42vh;
    padding: 28px;
  }

  .hero-copy {
    min-height: 30vh;
  }

  .card {
    padding: 28px;
    border-left: 0;
    border-top: 1px solid var(--panel-border);
  }
}
