* {
  box-sizing: border-box;
}

:root {
  --bg: #4a4a4a;
  --text: #fff;
  --muted: rgba(255,255,255,.78);
  --line: rgba(255,255,255,.16);
  --glass: rgba(255,255,255,.085);
  --shadow: 0 24px 80px rgba(0,0,0,.28);
}

html {
  min-height: 100%;
  min-height: 100dvh;
  background: #343434;
}

body {
  margin: 0;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 15%, rgba(115, 115, 255, .14), transparent 28%),
    radial-gradient(circle at 82% 84%, rgba(255, 87, 177, .12), transparent 30%),
    linear-gradient(145deg, #383838 0%, #4a4a4a 48%, #343434 100%);
  background-attachment: fixed;
}

.page {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 64px) 18px;
  isolation: isolate;
  overflow: hidden;
}

.ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: .25;
  pointer-events: none;
  z-index: -1;
  animation: float 9s ease-in-out infinite alternate;
}

.ambient-1 {
  width: 260px;
  height: 260px;
  left: -90px;
  top: 8%;
  background: #1677ff;
}

.ambient-2 {
  width: 280px;
  height: 280px;
  right: -110px;
  top: 38%;
  background: #d52b89;
  animation-delay: -3s;
}

.ambient-3 {
  width: 220px;
  height: 220px;
  left: 30%;
  bottom: -110px;
  background: #3f74ff;
  animation-delay: -6s;
}

@keyframes float {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(0, -20px, 0) scale(1.08); }
}

.profile-card {
  width: min(100%, 650px);
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.045));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
}

.portrait-wrap {
  width: clamp(190px, 42vw, 300px);
  aspect-ratio: 1;
  margin: 0 auto clamp(24px, 4vw, 34px);
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255,255,255,.92);
  box-shadow:
    0 0 0 8px rgba(255,255,255,.045),
    0 22px 50px rgba(0,0,0,.25);
  background: #4a4a4a;
}

.portrait {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 52%;
  transform: scale(1.03);
}

.identity {
  margin-bottom: clamp(28px, 5vw, 42px);
}

.profession {
  font-size: clamp(1.15rem, 3.3vw, 1.65rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -.02em;
  color: var(--muted);
  margin-bottom: 5px;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 800;
}

.social-links {
  display: grid;
  gap: 14px;
}

.social-button {
  min-height: 72px;
  display: grid;
  grid-template-columns: 52px 1fr 24px;
  align-items: center;
  gap: 14px;
  padding: 9px 16px 9px 10px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
  color: #fff;
  text-decoration: none;
  text-align: left;
  font-size: clamp(.98rem, 2.7vw, 1.16rem);
  font-weight: 700;
  background: rgba(255,255,255,.075);
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}

.social-button:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.13);
  box-shadow: 0 16px 35px rgba(0,0,0,.2);
}

.social-button:active {
  transform: translateY(-1px) scale(.99);
}

.social-button:focus-visible {
  outline: 3px solid rgba(255,255,255,.72);
  outline-offset: 3px;
}

.icon,
.google-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 15px;
  font-size: 26px;
}


.arrow {
  font-size: 1.25rem;
  opacity: .55;
  justify-self: end;
  transition: transform .22s ease, opacity .22s ease;
}

.social-button:hover .arrow {
  opacity: .95;
  transform: translate(2px, -2px);
}

@media (max-width: 520px) {
  body {
    background-attachment: scroll;
  }

  .page {
    padding: clamp(14px, 3.5vw, 20px) 12px;
    min-height: 100dvh;
  }

  .ambient-1 {
    width: 180px;
    height: 180px;
    left: -40px;
    top: 6%;
  }

  .ambient-2 {
    width: 200px;
    height: 200px;
    right: -40px;
    top: 36%;
  }

  .ambient-3 {
    width: 160px;
    height: 160px;
    left: 20%;
    bottom: -40px;
  }

  .profile-card {
    width: 100%;
    padding: 24px 16px 20px;
    border-radius: 26px;
  }

  .social-button {
    min-height: 64px;
    grid-template-columns: 46px 1fr 18px;
    gap: 11px;
    padding-right: 12px;
    border-radius: 17px;
  }

  .icon,
  .google-icon {
    width: 46px;
    height: 46px;
  }

  .social-button.facebook .icon,
  .facebook-icon {
    font-size: 22px;
  }

  .social-button.instagram .icon,
  .instagram-icon {
    font-size: 24px;
  }

  .social-button.whatsapp .icon {
    font-size: 26px;
  }

  .social-button.google .icon,
  .google-icon {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
