:root {
  --card: #0b0f17;
  --card-2: #0e1420;
  --fg: #ffffff;
  --muted: #aab4c5;
  --accent: #17a3f5; /* "Let's talk" blue */
  --accent-2: #0d8fe0;
  --ok: #22c55e;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: #05070c;
  color: var(--fg);
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* Blurred photo behind everything */
.bg {
  position: fixed;
  inset: -8%;
  background-position: center;
  background-size: cover;
  filter: blur(46px) brightness(0.55) saturate(1.1);
  transform: scale(1.15);
  z-index: 0;
}
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 40%, transparent, rgba(0, 0, 0, 0.6));
}

.stage {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 18px calc(24px + env(safe-area-inset-bottom));
}

/* The card */
.card {
  width: 100%;
  max-width: 360px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: #11161f;
  background-position: center;
  background-size: cover;
}
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 15, 23, 0.35) 72%, var(--card) 100%);
}
.photo .name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 1;
  margin: 0;
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.meta {
  padding: 6px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--card-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  white-space: nowrap;
}
.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.22);
}

.cta {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 20px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(23, 163, 245, 0.35);
  transition: transform 0.08s ease, filter 0.15s ease;
}
.cta:active { transform: scale(0.985); }
.cta:hover { filter: brightness(1.05); }
.cta .cta-ic { font-size: 15px; line-height: 1; }

.footnote {
  margin: 2px 0 0;
  font-size: 11px;
  color: var(--muted);
}

.blank {
  position: relative;
  z-index: 1;
  margin: auto;
  color: var(--muted);
  font-size: 15px;
}

/* In-app "open in browser" hint */
.webview-hint {
  position: fixed;
  z-index: 5;
  left: 12px;
  right: 12px;
  bottom: 12px;
  max-width: 380px;
  margin: 0 auto;
  background: var(--card-2);
  color: var(--fg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.webview-hint button {
  margin-left: auto;
  white-space: nowrap;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--fg);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  cursor: pointer;
}
