:root {
  --bg-1: #0b1220;
  --bg-2: #111a2f;
  --panel: rgba(15, 23, 42, 0.82);
  --ink: #f8fafc;
  --muted: #cbd5e1;
  --accent: #22d3ee;
  --accent-2: #f59e0b;
  --line: rgba(148, 163, 184, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 8% -12%, rgba(34, 211, 238, 0.22), transparent 58%),
    radial-gradient(900px 560px at 94% 112%, rgba(245, 158, 11, 0.2), transparent 55%),
    linear-gradient(160deg, var(--bg-1), var(--bg-2));
}

.page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px;
}

.shell {
  display: grid;
  grid-template-columns: 3fr 1fr;
  min-height: calc(100vh - 40px);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

.brand {
  position: relative;
  background: #0b1220;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.08) contrast(1.05);
}

.brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.7), rgba(2, 6, 23, 0.2) 40%, transparent 70%);
}

.brand-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel {
  background: var(--panel);
  border-left: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.kicker {
  margin: 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--accent);
}

h1 {
  margin: 8px 0 10px;
  font-family: "Bebas Neue", "Impact", sans-serif;
  letter-spacing: 0.04em;
  line-height: 0.95;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.lead-tight {
  margin-top: 10px;
  color: #e2e8f0;
}

.cta-stack {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

a.btn {
  text-decoration: none;
  color: #0a1427;
  background: linear-gradient(135deg, var(--accent), #67e8f9);
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
  text-align: center;
}

a.btn.secondary {
  background: linear-gradient(135deg, var(--accent-2), #facc15);
}

a.btn.is-frozen {
  background: linear-gradient(135deg, #64748b, #94a3b8);
  color: #e2e8f0;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.92;
}

.qr-wrap {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.5);
}

.qr-frame {
  background: #fff;
  border-radius: 10px;
  display: grid;
  place-items: center;
  padding: 10px;
}

#qrImage {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
}

.qr-caption {
  margin-top: 10px;
  font-size: 0.84rem;
  color: var(--muted);
}

.footer-note {
  margin: 0;
  font-size: 0.72rem;
  color: #94a3b8;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel > * {
  animation: riseIn 520ms ease both;
}

.panel > *:nth-child(2) {
  animation-delay: 80ms;
}

.panel > *:nth-child(3) {
  animation-delay: 160ms;
}

@media (max-width: 960px) {
  .shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .brand {
    min-height: 52vh;
  }

  .panel {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}
