:root {
  --bg1: #1a0b2e;
  --bg2: #0f0620;
  --accent: #ff5fbf;
  --accent2: #7c5cff;
  --card-bg: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --subtext: rgba(255, 255, 255, 0.7);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Quicksand", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 50% 0%, var(--bg1), var(--bg2) 70%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 48px 16px 32px;
  overflow-x: hidden;
}

/* soft floating glow blobs for atmosphere */
body::before,
body::after {
  content: "";
  position: fixed;
  width: 45vmax;
  height: 45vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  z-index: -1;
  pointer-events: none;
}
body::before {
  background: var(--accent);
  top: -15vmax;
  left: -10vmax;
  animation: float1 14s ease-in-out infinite;
}
body::after {
  background: var(--accent2);
  bottom: -18vmax;
  right: -12vmax;
  animation: float2 16s ease-in-out infinite;
}
@keyframes float1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(4vmax, 3vmax); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-3vmax, -4vmax); }
}

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

.avatar-wrap {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 28px -4px var(--accent);
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: var(--bg2);
  border: 3px solid var(--bg1);
}

.name {
  margin: 18px 0 0;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.bio {
  margin: 10px 0 4px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--subtext);
  max-width: 380px;
}

.socials {
  display: flex;
  gap: 14px;
  margin: 18px 0 8px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.social-icon svg {
  width: 18px;
  height: 18px;
}
.social-icon:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 18px -6px var(--accent);
}

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

.link-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 15px 20px;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(6px);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  overflow: hidden;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.link-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: -1;
}

.link-btn:hover {
  transform: translateY(-3px) scale(1.015);
  border-color: transparent;
  box-shadow: 0 10px 26px -10px var(--accent);
}
.link-btn:hover::before {
  opacity: 0.9;
}

.link-icon {
  width: 22px;
  height: 22px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.link-icon svg {
  width: 100%;
  height: 100%;
}

.link-label {
  flex: 1;
  text-align: center;
  margin-right: 22px; /* offset icon width so text stays visually centered */
}

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

@media (max-width: 380px) {
  .name { font-size: 1.25rem; }
  .link-btn { padding: 13px 16px; font-size: 0.95rem; }
}
