
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #020617 0, #000 55%, #020617 100%);
  color: #e5e7eb;
}
a { color: inherit; text-decoration: none; }
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
header {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-text {
  font-size: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .16em;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  color: #e5e7eb;
}
main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 40px;
}
.card {
  width: 100%;
  max-width: 420px;
  background: rgba(15,23,42,0.95);
  border-radius: 20px;
  padding: 22px 22px 20px;
  border: 1px solid rgba(75,85,99,0.9);
  box-shadow: 0 22px 60px rgba(0,0,0,0.8);
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.mode-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #9ca3af;
}
.mode-pill {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(248,250,252,0.35);
}
.qr-box {
  margin: 6px 0 14px;
  border-radius: 18px;
  background: radial-gradient(circle at top, #111827 0, #020617 65%);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-inner {
  width: 62%;
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(90deg,#020617 0,#020617 50%,#f9fafb 50%,#f9fafb 100%);
  border-radius: 5px;
  position: relative;
}
.qr-inner::before,
.qr-inner::after {
  content: "";
  position: absolute;
  border: 2px solid #020617;
  width: 26%;
  height: 26%;
}
.qr-inner::before {
  top: 9%;
  left: 9%;
}
.qr-inner::after {
  bottom: 9%;
  right: 9%;
}
.qr-caption {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #9ca3af;
  text-align: center;
  margin-top: 6px;
}
.line-label {
  font-size: 11px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-bottom: 4px;
}
.line-box {
  background: #020617;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.5;
  min-height: 44px;
}
.meta-row {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
  color: #6b7280;
}
.btn {
  margin-top: 14px;
  display: block;
  width: 100%;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 14px;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(to right,#f97316,#facc15);
  color: #111827;
}
.btn-ghost {
  margin-top: 8px;
  background: transparent;
  border: 1px solid rgba(148,163,184,0.7);
  color: #e5e7eb;
}
footer {
  padding: 10px 16px 18px;
  text-align: center;
  font-size: 11px;
  color: #6b7280;
}
