:root {
  --bg: #0a0a0a;
  --panel: rgba(255, 255, 255, .065);
  --panel-strong: rgba(255, 255, 255, .105);
  --line: rgba(255, 255, 255, .13);
  --gold: #f5a623;
  --gold-soft: #ffc15e;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, .62);
  --muted-2: rgba(255, 255, 255, .42);
  --shadow: 0 28px 80px rgba(0, 0, 0, .55);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Archivo, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(245,166,35,.24), transparent 60%),
    radial-gradient(520px 420px at 110% 18%, rgba(255,193,94,.12), transparent 55%),
    linear-gradient(180deg, #11100d 0%, #070707 100%);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }

.shell {
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: max(22px, env(safe-area-inset-top)) 18px max(32px, env(safe-area-inset-bottom));
}

.profile-card {
  position: relative;
  isolation: isolate;
  width: min(100%, 456px);
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(245,166,35,.18), transparent 30%, rgba(255,255,255,.035) 70%, transparent);
  pointer-events: none;
}

.ambient { position: absolute; z-index: -1; border-radius: 999px; filter: blur(22px); opacity: .75; }
.ambient-one { width: 170px; height: 170px; top: -72px; right: -42px; background: rgba(245,166,35,.28); }
.ambient-two { width: 150px; height: 150px; bottom: 80px; left: -70px; background: rgba(245,166,35,.12); }

.hero { text-align: center; display: flex; flex-direction: column; align-items: center; }
.logo-wrap {
  display: block;
  width: 104px;
  height: 104px;
  padding: 3px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--gold), rgba(255,255,255,.22));
  box-shadow: 0 20px 48px rgba(0,0,0,.48), 0 0 0 8px rgba(245,166,35,.055);
}
.logo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 25px; }
.eyebrow { margin: 18px 0 8px; color: var(--gold); font-weight: 800; font-size: 12px; letter-spacing: .18em; }
h1 { margin: 0; font-size: clamp(34px, 9vw, 44px); line-height: .95; letter-spacing: -.055em; font-weight: 900; }
.role { margin: 9px 0 0; color: var(--gold-soft); font-weight: 700; font-size: 16px; }
.positioning { max-width: 340px; margin: 12px auto 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  margin: 24px 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0,0,0,.22);
}
.tab {
  border: 0;
  border-radius: 999px;
  padding: 11px 12px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
  transition: .18s ease;
}
.tab.is-active { color: #0a0a0a; background: var(--gold); box-shadow: 0 10px 26px rgba(245,166,35,.2); }

.panel { display: none; animation: rise .34s ease both; }
.panel.is-active { display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.primary-action, .link-item, .ghost {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 18px;
  padding: 13px 17px;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.primary-action {
  border: 0;
  color: #0a0a0a;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  box-shadow: 0 16px 36px rgba(245,166,35,.2);
  text-align: left;
}
.primary-action:hover, .link-item:hover, .ghost:hover { transform: translateY(-2px); }
.primary-action small, .link-item small { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 600; opacity: .7; line-height: 1.35; }
.primary-action strong, .link-item strong { display: block; font-size: 16px; line-height: 1.15; }

.links-list { display: grid; gap: 11px; margin-top: 12px; }
.link-item { border: 1px solid var(--line); background: var(--panel); color: var(--text); }
.link-item:hover { border-color: rgba(245,166,35,.58); background: var(--panel-strong); }
.link-item.hot { border-color: rgba(245,166,35,.32); }
.icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(245,166,35,.14);
  font-weight: 900;
}
.primary-action .icon { color: #0a0a0a; background: rgba(10,10,10,.12); }

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.proof-strip span {
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.04);
  font-size: 12px;
  font-weight: 700;
}

#qr-panel { text-align: center; }
.qr-card {
  width: fit-content;
  max-width: 100%;
  margin: 4px auto 18px;
  padding: 15px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 20px 54px rgba(0,0,0,.42);
}
.qr-card canvas { display: block; width: 240px !important; height: 240px !important; max-width: 70vw; max-height: 70vw; }
h2 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.025em; }
.muted { max-width: 330px; margin: 0 auto 16px; color: var(--muted); line-height: 1.55; font-size: 14px; }
.ghost {
  min-height: 50px;
  justify-content: center;
  border: 1px solid rgba(245,166,35,.36);
  color: var(--gold-soft);
  background: rgba(245,166,35,.08);
  font-weight: 800;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--muted-2);
  font-size: 12.5px;
  font-weight: 600;
}
footer a:hover { color: var(--gold-soft); }

@media (max-width: 380px) {
  .profile-card { padding: 20px; border-radius: 28px; }
  .positioning { font-size: 13.5px; }
  .primary-action, .link-item { padding: 12px 14px; }
}
