* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}

body {
  min-height: 100vh;
  min-height: 100svh;

  overflow-x: hidden;

  background:
    radial-gradient(
      circle at 50% -10%,
      rgba(111, 92, 255, 0.18),
      transparent 38%
    ),
    linear-gradient(
      180deg,
      #18142A 0%,
      #0D0E19 100%
    );

  color: #FFFFFF;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  width: 100%;
  max-width: 520px;

  min-height: 100vh;
  min-height: 100svh;

  margin: 0 auto;

  padding:
    calc(32px + env(safe-area-inset-top))
    18px
    calc(24px + env(safe-area-inset-bottom));

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
}


/* PERFIL */

.profile {
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-photo {
  width: 142px;
  height: 142px;

  display: block;

  border-radius: 50%;

  object-fit: cover;

  border: 4px solid rgba(255, 255, 255, 0.92);

  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 10px 40px rgba(0, 0, 0, 0.45),
    0 0 35px rgba(115, 103, 240, 0.14);
}

.profile h1 {
  margin-top: 18px;

  color: #FFFFFF;

  font-size: 32px;
  font-weight: 650;
  line-height: 1.08;

  letter-spacing: -1.15px;
}

.description {
  margin-top: 9px;

  color: #CBC8DD;

  font-size: 17px;
  font-weight: 400;
  line-height: 1.45;
}


/* CTA */

.links {
  width: 100%;
  max-width: 480px;

  margin-top: 24px;
}

.link-button {
  width: 100%;
  min-height: 66px;

  padding: 14px 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  border:
    1px solid
    rgba(255, 255, 255, 0.15);

  border-radius: 20px;

  background:
    linear-gradient(
      135deg,
      #8075FF,
      #665BEA
    );

  color: #FFFFFF;

  text-align: center;
  text-decoration: none;

  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;

  cursor: pointer;

  box-shadow:
    0 10px 30px rgba(115, 103, 240, 0.30),
    0 8px 25px rgba(0, 0, 0, 0.30);

  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;

  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {

  .link-button:hover {
    transform: translateY(-2px);

    filter: brightness(1.04);

    box-shadow:
      0 14px 34px rgba(115, 103, 240, 0.36),
      0 10px 28px rgba(0, 0, 0, 0.34);
  }
}

.link-button:active {
  transform: translateY(0) scale(0.98);
}

.link-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.8);
  outline-offset: 4px;
}


/* RODAPÉ */

footer {
  margin-top: 48px;
}

footer p {
  color: rgba(255, 255, 255, 0.35);

  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}


/* CELULARES PEQUENOS */

@media (max-width: 370px) {

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .profile-photo {
    width: 136px;
    height: 136px;
  }

  .profile h1 {
    font-size: 30px;
  }

  .description {
    font-size: 16px;
  }

  .link-button {
    min-height: 64px;

    font-size: 17px;

    border-radius: 18px;
  }
}


/* DESKTOP / TABLETS */

@media (min-width: 601px) {

  .container {
    padding:
      calc(50px + env(safe-area-inset-top))
      20px
      calc(36px + env(safe-area-inset-bottom));
  }

  .profile-photo {
    width: 160px;
    height: 160px;
  }

  .profile h1 {
    margin-top: 22px;

    font-size: 38px;

    letter-spacing: -1.4px;
  }

  .description {
    margin-top: 10px;

    font-size: 18px;
  }

  .links {
    margin-top: 28px;
  }

  .link-button {
    min-height: 68px;
  }

  footer {
    margin-top: 52px;
  }

  footer p {
    font-size: 13px;
  }
}


/* ACESSIBILIDADE */

@media (prefers-reduced-motion: reduce) {

  .link-button {
    transition: none;
  }

  .link-button:hover,
  .link-button:active {
    transform: none;
  }
}