/* Job Quest: "neon city at dusk". Bold slanted headline type, glass cards over a night sky,
   sunset gradients for anything that matters. An original look; no game's artwork is used.
   --pix is the headline font and --ui the interface font (names kept from the first version). */
@font-face { font-family: "Anton"; src: url("/vendor/anton.woff2") format("woff2"); font-display: swap; }

:root {
  --bg: #0b0818; --bg2: #140e2b; --panel: rgba(26, 18, 54, .78); --panel2: rgba(255, 255, 255, .07); --line: rgba(255, 255, 255, .16);
  --ink: #fbf7ff; --dim: #b3a9d1; --gold: #ffd84d; --green: #2ee6c8; --red: #ff5a7a;
  --cyan: #5cc8ff; --purple: #b78bff; --orange: #ff8a3d; --pink: #ff3d8b; --black: #07050f;
  --sunset: linear-gradient(100deg, #ff3d8b 0%, #ff6a5e 45%, #ffb347 100%);
  --ocean: linear-gradient(100deg, #17d7c0 0%, #3aa8ff 100%);
  --pix: "Anton", "Arial Narrow", Impact, sans-serif;
  --ui: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --read: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; color: var(--ink); font-family: var(--ui); font-size: 16px; line-height: 1.45; min-height: 100dvh;
  overscroll-behavior-y: none;
  background:
    radial-gradient(900px 420px at 85% -80px, rgba(255, 61, 139, .34), transparent 70%),
    radial-gradient(700px 380px at 0% 0%, rgba(92, 70, 255, .30), transparent 70%),
    radial-gradient(800px 500px at 50% 110%, rgba(255, 138, 61, .16), transparent 70%),
    linear-gradient(180deg, #120a2c 0%, #0b0818 60%);
  background-attachment: fixed;
}
h1, h2, h3 { font-family: var(--pix); font-weight: 400; font-style: italic; text-transform: uppercase; letter-spacing: .03em; line-height: 1.1; margin: 0; }
h1 { font-size: 30px; background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 6px; }
h2 { font-size: 19px; color: var(--cyan); margin-bottom: 10px; }
h3 { font-size: 15px; color: var(--gold); margin: 16px 0 6px; letter-spacing: .05em; }
p { margin: 0 0 10px; }
a { color: var(--cyan); }
.read { font-size: 15.5px; line-height: 1.55; }
.dim { color: var(--dim); }
.gold { color: var(--gold); } .green { color: var(--green); } .red { color: var(--red); } .cyan { color: var(--cyan); }
.center { text-align: center; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row > .grow { flex: 1 1 0; min-width: 0; }
.hide { display: none !important; }

.panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 16px; margin: 0 0 16px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  position: relative;
}
.panel.gold { border-color: rgba(255, 216, 77, .55); box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 216, 77, .12), 0 0 28px rgba(255, 180, 71, .14); }
.panel.green { border-color: rgba(46, 230, 200, .55); box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 28px rgba(46, 230, 200, .14); }
.panel.cyan { border-color: rgba(92, 200, 255, .5); }
.panel.gold, .panel.green, .panel.cyan { color: var(--ink); }
.panel.dimmed { background: rgba(26, 18, 54, .5); }
.panel.locked { opacity: .62; }

.btn {
  font-family: var(--pix); font-style: italic; text-transform: uppercase; letter-spacing: .05em; font-size: 16px; line-height: 1.15;
  color: #1a0a1f; background: var(--sunset); border: 0; border-radius: 12px; padding: 13px 16px; cursor: pointer;
  text-decoration: none; display: inline-block; text-align: center; min-height: 46px;
  box-shadow: 0 6px 18px rgba(255, 80, 120, .35), inset 0 -3px 0 rgba(0, 0, 0, .18);
  -webkit-tap-highlight-color: transparent; user-select: none; transition: transform .08s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(2px) scale(.99); }
.btn.green { background: var(--ocean); box-shadow: 0 6px 18px rgba(40, 200, 220, .32), inset 0 -3px 0 rgba(0, 0, 0, .18); color: #04141c; }
.btn.cyan { background: linear-gradient(100deg, #7a6bff, #5cc8ff); box-shadow: 0 6px 18px rgba(110, 120, 255, .32), inset 0 -3px 0 rgba(0, 0, 0, .18); color: #0a0820; }
.btn.red { background: linear-gradient(100deg, #ff3d5e, #ff7a7a); }
.btn.ghost { background: var(--panel2); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.big { font-size: 20px; padding: 16px 16px; width: 100%; border-radius: 14px; }
.btn.small { font-size: 13px; padding: 9px 12px; min-height: 36px; border-radius: 10px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin: 14px 0 6px; }
input, select, textarea {
  width: 100%; font-family: var(--read); font-size: 16px; color: var(--ink); background: rgba(7, 5, 15, .65);
  border: 1px solid var(--line); padding: 11px 12px; border-radius: 12px; min-height: 46px;
}
input:focus, select:focus, textarea:focus { border-color: var(--pink); }
textarea { min-height: 96px; resize: vertical; line-height: 1.45; }
input:disabled, select:disabled, textarea:disabled { opacity: .7; }
input[type="checkbox"] { width: 22px; height: 22px; min-height: 0; accent-color: var(--pink); flex: none; padding: 0; }
select { appearance: auto; }

.bar { height: 14px; background: rgba(7, 5, 15, .7); border-radius: 999px; position: relative; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.bar > i { display: block; height: 100%; border-radius: 999px; background: var(--ocean); box-shadow: 0 0 14px rgba(46, 230, 200, .7); transition: width .6s cubic-bezier(.2, .8, .2, 1); min-width: 0; }
.bar.gold > i { background: var(--sunset); box-shadow: 0 0 14px rgba(255, 106, 94, .8); }
.bar.cyan > i { background: linear-gradient(100deg, #7a6bff, #5cc8ff); box-shadow: 0 0 14px rgba(92, 200, 255, .7); }
.bar > b { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--ink); opacity: .8; }
.pips { display: flex; gap: 6px; }
.pips i { flex: 1; height: 12px; background: rgba(7, 5, 15, .7); box-shadow: inset 0 0 0 1px var(--line); transform: skewX(-18deg); border-radius: 3px; }
.pips i.on { background: var(--ocean); box-shadow: 0 0 12px rgba(46, 230, 200, .75); }

.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; line-height: 1; padding: 5px 9px; border: 1px solid currentColor; border-radius: 999px; white-space: nowrap; background: rgba(7, 5, 15, .4); }
.msg { font-size: 15px; padding: 10px 12px; border: 1px solid var(--red); color: var(--red); background: rgba(7, 5, 15, .6); border-radius: 12px; margin-top: 12px; }
.msg.ok { border-color: var(--green); color: var(--green); }

@keyframes blink { 50% { opacity: 0; } }
.blink { animation: blink 1s steps(1) infinite; }
@keyframes pop { 0% { transform: scale(.7); opacity: 0; } 60% { transform: scale(1.05); } 100% { transform: scale(1); opacity: 1; } }
@keyframes rise { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .blink, .toast, .overlay .box, main > * { animation: none !important; } .bar > i { transition: none; } }

/* The sunset banner: sky gradient, striped sun and a skyline cut-out. All CSS, no images. */
.hero {
  position: relative; overflow: hidden; border-radius: 22px; padding: 22px 18px 64px; margin: 0 0 16px; isolation: isolate;
  background: linear-gradient(180deg, #24105e 0%, #6a1b86 34%, #d8326f 66%, #ff8a3d 100%);
  box-shadow: 0 16px 40px rgba(216, 50, 111, .28), inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.hero::before {
  content: ""; position: absolute; z-index: -1; right: 8%; bottom: -46px; width: 190px; height: 190px; border-radius: 50%;
  background: linear-gradient(180deg, #fff3a3 0%, #ffb347 45%, #ff4f8b 100%);
  -webkit-mask: linear-gradient(#000 0 52%, transparent 52% 56%, #000 56% 64%, transparent 64% 69%, #000 69% 76%, transparent 76% 82%, #000 82% 88%, transparent 88% 95%, #000 95%);
  mask: linear-gradient(#000 0 52%, transparent 52% 56%, #000 56% 64%, transparent 64% 69%, #000 69% 76%, transparent 76% 82%, #000 82% 88%, transparent 88% 95%, #000 95%);
  filter: drop-shadow(0 0 30px rgba(255, 200, 100, .6));
}
.hero::after {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 58px; background: #0d0720;
  clip-path: polygon(0 100%, 0 62%, 5% 62%, 5% 40%, 9% 40%, 9% 55%, 13% 55%, 13% 22%, 15% 14%, 17% 22%, 17% 50%, 22% 50%, 22% 34%, 27% 34%, 27% 58%, 32% 58%, 32% 8%, 36% 8%, 36% 44%, 41% 44%, 41% 28%, 43% 28%, 43% 18%, 45% 18%, 45% 28%, 47% 28%, 47% 60%, 53% 60%, 53% 36%, 58% 36%, 58% 52%, 62% 52%, 62% 16%, 66% 16%, 66% 46%, 71% 46%, 71% 30%, 75% 30%, 75% 56%, 80% 56%, 80% 24%, 82% 12%, 84% 24%, 84% 48%, 89% 48%, 89% 38%, 94% 38%, 94% 60%, 100% 60%, 100% 100%);
}
.hero h1 { font-size: 34px; color: #fff; background: none; text-shadow: 0 3px 0 rgba(36, 16, 94, .55), 0 0 26px rgba(255, 255, 255, .35); }
.hero .tagline { font-family: var(--pix); font-style: italic; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; color: #ffe9a8; margin: 6px 0 0; text-shadow: 0 2px 8px rgba(36, 16, 94, .6); }
.hero p.read { color: #fff; text-shadow: 0 1px 6px rgba(36, 16, 94, .7); margin: 12px 0 0; max-width: 34em; }

/* sign-in page */
.gate { max-width: 440px; margin: 0 auto; padding: 22px 16px 40px; }
.gate .hero { text-align: left; padding-top: 26px; }
.gate .brandline { font-family: var(--pix); font-style: italic; letter-spacing: .14em; font-size: 14px; color: #fff; opacity: .9; margin-bottom: 14px; }
.gate .hero h1 { font-size: 42px; }
.gate .note { text-align: center; margin: 0 0 16px; }
