* { box-sizing: border-box; }

:root {
  --bg: #3333E1;
  --btn-bg: #ffffff;
  --btn-text: #141313;
  --btn-border: #000000;
  --shadow-offset: 4px;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg);
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
}

.page {
  display: flex;
  justify-content: center;
  padding: 48px 16px 32px;
}

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

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  margin-bottom: 16px;
}

.name {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.bio {
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 28px;
  opacity: 0.95;
}

.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.link-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 20px;
  background: var(--btn-bg);
  color: var(--btn-text);
  border: 2px solid var(--btn-border);
  border-radius: 999px;
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--btn-border);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.link-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--btn-border);
}

.link-btn .icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.link-btn .icon svg {
  width: 100%;
  height: 100%;
}

.link-btn .label {
  flex: 1;
  text-align: center;
  padding-right: 22px;
}

.social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.social-btn {
  width: 26px;
  height: 26px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.social-btn:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.social-btn svg {
  width: 100%;
  height: 100%;
}

.footer {
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  font-weight: 600;
}

@media (max-width: 420px) {
  .avatar { width: 80px; height: 80px; }
  .name { font-size: 1.2rem; }
}
