@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  --capri: #00bfff;
  --capri-300: #7fdcff;
  --bg: #000;
  --panel: #0b0b0c;
  --panel-2: #121214;
  --line: rgb(255 255 255 / 0.1);
  --text: #f2f2f2;
  --muted: #9b9ba1;
  --danger: #ff5c5c;
  --ok: #2ecc71;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { background: var(--bg); color-scheme: dark; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(60% 40% at 50% 0%, rgb(0 191 255 / 0.18), transparent 70%), var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--capri-300); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--capri); outline-offset: 3px; border-radius: 8px; }

.shell {
  width: min(100% - 32px, 440px);
  margin: 0 auto;
  padding: 48px 0 40px;
  display: grid;
  gap: 16px;
}

.brand { justify-self: center; margin-bottom: 8px; }
.brand img { display: block; height: 42px; width: auto; }

.card {
  background: var(--panel);
  border-radius: 28px;
  padding: 28px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06), 0 0 0 1px var(--line);
}

h1 { margin: 0 0 6px; font-size: 1.55rem; font-weight: 650; letter-spacing: -0.02em; line-height: 1.2; }
h2 { margin: 24px 0 8px; font-size: 1.05rem; font-weight: 600; }
.card > h2:first-child { margin-top: 0; }

.lead { margin: 0 0 18px; color: var(--muted); }
.aside { margin: 14px 0 0; color: var(--muted); font-size: 0.9rem; }

.form { display: grid; gap: 8px; }
.form label { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }

.form input[type="email"],
.form input[type="password"],
.form input[type="text"] {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  font: inherit;
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.form input:focus { border-color: var(--capri); outline: none; box-shadow: 0 0 0 3px rgb(0 191 255 / 0.25); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  margin-top: 12px;
  font: inherit;
  font-weight: 600;
  color: #001018;
  text-decoration: none;
  background: linear-gradient(180deg, #4fd2ff, #00a8e8);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.btn:hover { color: #001018; filter: brightness(1.06); }
.btn-ghost { color: var(--text); background: var(--panel-2); box-shadow: 0 0 0 1px var(--line); }
.btn-ghost:hover { color: #fff; }
.btn-danger { color: #fff; background: #c93c3c; }
.btn-danger:hover { color: #fff; }
.btn-link { margin-top: 4px; padding: 0; min-height: 0; color: var(--muted); background: none; font-weight: 500; text-decoration: underline; }
.btn-link:hover { color: #fff; filter: none; }

.inline { display: inline; }

.alert, .notice { margin: 0 0 16px; padding: 12px 16px; border-radius: 14px; font-size: 0.92rem; }
.alert { color: #ffd6d6; background: rgb(255 92 92 / 0.12); box-shadow: inset 0 0 0 1px rgb(255 92 92 / 0.35); }
.notice { color: #d9ffe8; background: rgb(46 204 113 / 0.12); box-shadow: inset 0 0 0 1px rgb(46 204 113 / 0.35); }

.facts { margin: 0 0 18px; display: grid; gap: 10px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; }

.events { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.92rem; }
.events li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.events time { color: var(--muted); white-space: nowrap; }

.steps { margin: 0 0 14px; padding-left: 1.2em; color: var(--muted); display: grid; gap: 8px; }
.secret { display: inline-block; margin-top: 4px; padding: 4px 8px; color: var(--text); background: var(--panel-2); border-radius: 8px; letter-spacing: 0.08em; word-break: break-all; }

.qr { margin: 0 0 14px; text-align: center; }
.qr img { display: inline-block; padding: 12px; background: #fff; border-radius: 16px; }

.codes { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.codes code { display: block; padding: 10px 12px; text-align: center; color: var(--text); background: var(--panel-2); border-radius: 10px; letter-spacing: 0.06em; }

.foot { margin: 8px 0 0; text-align: center; color: var(--muted); font-size: 0.82rem; }
