:root {
  --bg: #07061a;
  --bg-2: #0e0b2b;
  --panel: rgba(22, 18, 58, 0.62);
  --panel-solid: #15123a;
  --line: rgba(170, 180, 255, 0.18);
  --line-2: rgba(170, 180, 255, 0.32);
  --text: #eef0ff;
  --muted: #a3a8d4;
  --neon-a: #7df0ff;
  --neon-b: #b27dff;
  --neon-c: #ff7ad9;
  --ok: #3ee6a0;
  --warn: #ffc94d;
  --bad: #ff5c7a;
  --font-display: 'Saira', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Be Vietnam Pro', 'Segoe UI', system-ui, sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

.glass {
  background: linear-gradient(160deg, rgba(40, 34, 96, 0.72), rgba(14, 11, 40, 0.78));
  border: 1px solid var(--line-2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
}

.chrome-text {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-style: italic;
  font-weight: 900;
  background: linear-gradient(180deg, #ffffff 0%, #dfe3ff 38%, #8d93c4 52%, #f7f8ff 64%, #b9c0ea 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(150, 170, 255, 0.45)) drop-shadow(0 2px 0 rgba(30, 20, 80, 0.8));
}

.btn-neon {
  position: relative;
  border: 0;
  border-radius: 999px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-stretch: 115%;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0b0826;
  background: linear-gradient(100deg, var(--neon-a), #c9b6ff 50%, var(--neon-c));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4) inset, 0 10px 30px rgba(140, 120, 255, 0.45);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s;
}

.btn-neon:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5) inset, 0 12px 40px rgba(140, 120, 255, 0.65);
}

.btn-neon:active {
  transform: scale(0.97);
}

.btn-neon:disabled {
  filter: grayscale(0.7) brightness(0.7);
  cursor: default;
}

.field {
  display: grid;
  gap: 6px;
  text-align: left;
}

.field > span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(5, 4, 20, 0.55);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field select:focus {
  border-color: var(--neon-a);
  box-shadow: 0 0 0 3px rgba(125, 240, 255, 0.18);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 999;
  max-width: min(92vw, 560px);
  padding: 12px 20px;
  border-radius: 14px;
  background: rgba(20, 16, 50, 0.94);
  border: 1px solid var(--line-2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  font-weight: 600;
  text-align: center;
  transform: translate(-50%, 30px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.3);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast.error {
  border-color: rgba(255, 92, 122, 0.6);
}

.toast.ok {
  border-color: rgba(62, 230, 160, 0.6);
}

kbd {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 5px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.85em;
  font-family: inherit;
}
