:root {
  color-scheme: dark;
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", system-ui, sans-serif;
  background: #07040b;
  color: #fff;
  --orange: #ff7a59;
  --red: #ff4d5f;
  --purple: #6e40f5;
  --gold: #ffd21e;
  --mint: #25e66d;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 77, 95, .20), transparent 34rem),
    radial-gradient(circle at 8% 92%, rgba(110, 64, 245, .22), transparent 32rem),
    linear-gradient(145deg, #18092f 0%, #09040e 48%, #030205 100%);
}

.shell {
  width: min(100%, 520px);
  min-height: 100svh;
  margin: 0 auto;
  padding: max(22px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2.2px;
  color: rgba(255, 255, 255, .78);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  letter-spacing: 0;
  color: #0b0710;
  background: linear-gradient(135deg, var(--mint), #a9ff52);
  box-shadow: 0 8px 24px rgba(37, 230, 109, .28);
}

.live {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, .06);
}

.live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255, 155, 125, .42);
  background: linear-gradient(145deg, rgba(39, 17, 75, .98), rgba(18, 9, 30, .98) 52%, rgba(8, 5, 13, .99));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 14px 40px rgba(255, 77, 95, .10);
}

.content { position: relative; z-index: 2; padding: 28px 22px 22px; }
.glow { position: absolute; border-radius: 50%; filter: blur(6px); pointer-events: none; }
.glow-one { width: 240px; height: 240px; top: -130px; right: -100px; background: rgba(255, 77, 95, .24); }
.glow-two { width: 260px; height: 260px; bottom: -170px; left: -130px; background: rgba(110, 64, 245, .24); }

.invite-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin-bottom: 18px;
  font-size: 30px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--red), var(--purple));
  box-shadow: 0 14px 34px rgba(255, 77, 95, .34);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.25px;
}

h1 {
  margin: 0;
  max-width: 410px;
  font-size: clamp(30px, 8vw, 42px);
  line-height: 1.02;
  letter-spacing: -.8px;
}

.description {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .66);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.48;
}

.topic {
  margin-top: 18px;
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 13px;
  border-radius: 16px;
  border: 1px solid rgba(255, 210, 30, .24);
  background: rgba(255, 210, 30, .07);
}

.topic[hidden] { display: none; }
.topic span { font-size: 24px; }
.topic small { display: block; color: rgba(255,255,255,.45); font-size: 9px; font-weight: 900; letter-spacing: .9px; }
.topic strong { display: block; margin-top: 3px; font-size: 14px; }

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 20px 0;
}

.promise-grid div {
  min-width: 0;
  padding: 11px 6px;
  text-align: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .075);
}

.promise-grid b {
  width: 22px;
  height: 22px;
  margin: 0 auto 6px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 122, 89, .18);
  color: #ffb089;
  font-size: 10px;
}

.promise-grid span { display: block; color: rgba(255,255,255,.55); font-size: 9px; font-weight: 800; }

button, a { font: inherit; -webkit-tap-highlight-color: transparent; }

.primary {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .45px;
  background: linear-gradient(100deg, var(--red), var(--orange));
  box-shadow: 0 14px 30px rgba(255, 77, 95, .28);
  transition: transform .16s ease, filter .16s ease;
}

.primary:active { transform: scale(.985); filter: brightness(.94); }
.primary:disabled { opacity: .55; cursor: wait; }

.stores { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.stores a {
  min-height: 43px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .10);
  color: rgba(255,255,255,.76);
  background: rgba(255,255,255,.055);
  text-decoration: none;
  font-size: 11px;
  font-weight: 850;
}

.status { margin: 13px 0 0; min-height: 16px; color: rgba(255,255,255,.40); text-align: center; font-size: 10px; font-weight: 700; }
.status.error { color: #ffb089; }

footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  color: rgba(255, 255, 255, .34);
  text-align: center;
  font-size: 10px;
  font-weight: 700;
}

@media (max-width: 360px) {
  .content { padding: 22px 16px 18px; }
  .promise-grid span { font-size: 8px; }
}

