:root {
  --accent: #e84a8a;
  --bg-1: #1c1022;
  --bg-2: #2a1430;
  --text: #f6eef2;
  --muted: #c9b8c4;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(232, 74, 138, 0.35), transparent 60%),
    linear-gradient(160deg, var(--bg-1), var(--bg-2));
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
  position: relative;
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center top;
  filter: blur(22px) brightness(0.45) saturate(1.1);
  transform: scale(1.15);
  z-index: -1;
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,16,34,0.55), rgba(28,16,34,0.9));
}

.card {
  width: 100%;
  max-width: 420px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avatar-wrap {
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ffba6b);
  box-shadow: 0 10px 40px rgba(232, 74, 138, 0.35);
}

.avatar {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #3a2240;
  border: 4px solid var(--bg-1);
}

.name {
  font-size: 1.55rem;
  font-weight: 700;
  margin-top: 18px;
  letter-spacing: 0.2px;
}

.handle {
  color: var(--muted);
  font-size: 0.98rem;
  margin-top: 4px;
}

.bio {
  color: var(--text);
  opacity: 0.92;
  font-size: 1rem;
  line-height: 1.45;
  margin-top: 14px;
  max-width: 320px;
}

.cta {
  margin-top: 28px;
  width: 100%;
  padding: 17px 20px;
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), #ff7eb0);
  box-shadow: 0 8px 24px rgba(232, 74, 138, 0.45);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.cta:active {
  transform: translateY(1px) scale(0.995);
  box-shadow: 0 4px 14px rgba(232, 74, 138, 0.4);
}

.links {
  margin-top: 14px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.links a {
  display: block;
  padding: 14px 18px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 600;
}

.footer {
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}

.overlay[hidden] { display: none; }

.overlay-box {
  background: #2a1430;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 24px 22px;
  max-width: 360px;
  text-align: center;
}

.overlay-title { font-size: 1.15rem; font-weight: 700; }
.overlay-text { color: var(--muted); margin-top: 12px; line-height: 1.55; font-size: 0.96rem; }

.overlay-close {
  margin-top: 18px;
  padding: 12px 22px;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  cursor: pointer;
}
