:root {
  --bg: #090014;
  --card: #110425;
  --accent: #9d4edd;
  --accent2: #c77dff;
  --text: #ffffff;
  --muted: #b8b8b8;
  --ring: rgba(157, 78, 221, 0.55);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif;
  background:
    radial-gradient(1200px 800px at 70% -20%, rgba(157, 78, 221, 0.12), transparent 60%),
    radial-gradient(1200px 800px at -10% 120%, rgba(157, 78, 221, 0.10), transparent 60%),
    var(--bg);
  color: var(--text);
}

.wrap {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 620px;
  background:
    linear-gradient(180deg, rgba(157, 78, 221, 0.07), rgba(157, 78, 221, 0.02) 35%, rgba(0, 0, 0, 0.08)),
    var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px 22px 22px;
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.55), 0 14px 48px rgba(157, 78, 221, 0.06);
  position: relative;
  overflow: hidden;
}

.card:before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(157, 78, 221, 0.16), transparent 55%),
    radial-gradient(620px 520px at 10% 120%, rgba(199, 125, 255, 0.08), transparent 60%);
  pointer-events: none;
  opacity: .9;
}

.hero {
  position: relative;
  z-index: 1;
}

.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(157, 78, 221, 0.16);
  color: #e0aaff;
  border: 1px solid rgba(157, 78, 221, 0.35);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  z-index: 2;
}

.logo {
  width: 116px;
  height: 116px;
  border-radius: 18px;
  background: #0f0f0f;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(157, 78, 221, 0.20), 0 12px 30px rgba(0, 0, 0, 0.35);
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

h1 {
  margin: 6px 0 8px;
  text-align: center;
  font-size: 1.75rem;
  letter-spacing: .2px;
}

.lead {
  margin: 0 0 18px;
  text-align: center;
  color: var(--muted);
  line-height: 1.7;
}

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

a.button {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  background: linear-gradient(180deg, #c77dff, #9d4edd);
  color: #1b1b1b;
  font-weight: 800;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 1.05rem;
  line-height: 1.2;
  box-shadow: 0 8px 22px rgba(157, 78, 221, 0.30), 0 0 0 2px rgba(157, 78, 221, 0.30);
  transform: translateY(0);
  transition: transform .08s ease, filter .12s ease;
}

a.button:hover {
  filter: brightness(1.02);
}

a.button:active {
  transform: translateY(1px);
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 8px 22px rgba(157, 78, 221, 0.30), 0 0 0 0 rgba(157, 78, 221, 0.60);
  }

  70% {
    box-shadow: 0 8px 22px rgba(157, 78, 221, 0.30), 0 0 0 15px rgba(157, 78, 221, 0);
  }

  100% {
    box-shadow: 0 8px 22px rgba(157, 78, 221, 0.30), 0 0 0 0 rgba(157, 78, 221, 0);
  }
}

a.button.pulse {
  animation: pulseGlow 2s infinite;
}

a.button.ghost {
  background: rgba(255, 255, 255, 0.03);
  color: #f0f0f0;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hint {
  margin-top: 6px;
  color: var(--muted);
  font-size: .93rem;
  text-align: center;
}

.copy-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px;
  border-radius: 14px;
  border: 1px dashed rgba(157, 78, 221, 0.38);
}

.copy-label {
  color: #e0aaff;
  font-size: .86rem;
  padding: 0 6px;
  font-weight: 700;
}

.copy-input {
  background: transparent;
  border: none;
  color: #eaeaea;
  font-size: .86rem;
  direction: ltr;
  overflow: hidden;
  outline: none;
}

button.copy {
  background: transparent;
  color: var(--accent2);
  border: 1px solid rgba(157, 78, 221, 0.45);
  padding: 7px 10px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
}

footer {
  margin-top: 18px;
  text-align: center;
  color: #8a8a8a;
  font-size: .82rem;
}