:root {
  color-scheme: light;
  --ink: #14213d;
  --muted: #697791;
  --navy: #102449;
  --navy-deep: #081a38;
  --purple: #6d4bd2;
  --purple-dark: #5c3dc1;
  --line: #d9e2ef;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html,
body { min-height: 100%; margin: 0; }

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 10%, rgb(109 75 210 / 24%), transparent 32rem),
    linear-gradient(145deg, var(--navy-deep), var(--navy) 58%, #251f55);
}

body::before {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgb(255 255 255 / 14%) 0 2px, transparent 2.4px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, rgb(0 0 0 / 62%), transparent 78%);
  content: "";
  pointer-events: none;
}

button,
input { font: inherit; }

.access-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.access-card {
  width: min(100%, 410px);
  padding: 38px 38px 32px;
  background: rgb(255 255 255 / 98%);
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgb(3 15 39 / 36%);
}

.seat-mark {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
}

.seat-mark span {
  width: 18px;
  height: 18px;
  background: #e9e4fb;
  border: 2px solid #c8baf0;
  border-radius: 5px 5px 7px 7px;
}

.seat-mark span:nth-child(3) {
  background: var(--purple);
  border-color: var(--purple);
  box-shadow: 0 5px 14px rgb(109 75 210 / 30%);
}

.eyebrow {
  margin: 0 0 8px;
  color: #7b6abb;
  font-size: 11px;
  font-weight: 780;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 27px;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.access-copy {
  margin: 11px 0 27px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.password-field {
  display: grid;
  gap: 8px;
  color: #42506a;
  font-size: 13px;
  font-weight: 720;
}

.password-field input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cbd6e6;
  border-radius: 9px;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.password-field input:hover { border-color: #adbad0; }

.password-field input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgb(109 75 210 / 13%);
  outline: none;
}

.login-error {
  margin: 10px 0 0;
  color: #b12e3c;
  font-size: 12px;
  line-height: 1.5;
}

button {
  width: 100%;
  min-height: 48px;
  margin-top: 18px;
  color: #fff;
  background: var(--purple);
  border: 0;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 760;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, box-shadow 120ms ease;
}

button:hover:not(:disabled) {
  background: var(--purple-dark);
  box-shadow: 0 8px 22px rgb(109 75 210 / 24%);
  transform: translateY(-1px);
}

button:focus-visible {
  outline: 3px solid rgb(91 120 238 / 45%);
  outline-offset: 3px;
}

button:disabled { opacity: .62; cursor: wait; }

.privacy-note {
  margin: 20px 0 0;
  color: #8995aa;
  font-size: 11px;
  text-align: center;
}

@media (max-width: 520px) {
  .access-shell { align-items: start; padding: 10vh 14px 24px; }
  .access-card { padding: 31px 24px 27px; border-radius: 15px; }
  h1 { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
