:root {
  color-scheme: light dark;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: #0f172a;
  color: #e2e8f0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2.5rem 1.25rem;
  background: radial-gradient(140% 140% at 20% 0%, rgba(56, 189, 248, 0.22), rgba(2, 6, 23, 0.95));
}

.wrap {
  width: min(480px, 100%);
}

.card {
  background: rgba(2, 6, 23, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  display: grid;
  gap: 1.5rem;
  text-align: center;
  box-shadow: 0 32px 70px rgba(2, 6, 23, 0.5);
}

.eyebrow {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: clamp(1.05rem, 3vw, 1.25rem);
  color: #7dd3fc;
  font-weight: 650;
}

h1 {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.6rem);
  line-height: 1.35;
}

.qr {
  width: min(320px, 100%);
  justify-self: center;
  border-radius: 20px;
  background: #ffffff;
  padding: 1.2rem;
  box-shadow: 0 18px 40px rgba(14, 165, 233, 0.25);
}

.back {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #e0f2fe;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.back:hover,
.back:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 38px rgba(56, 189, 248, 0.25);
}

@media (max-width: 480px) {
  body {
    padding: 2rem 1rem;
  }

  .card {
    padding: 2rem 1.5rem;
  }
}
