:root {
  color-scheme: dark;
  --bg: #090811;
  --text: #f6f3fb;
  --muted: #aaa5b8;
  --line: rgba(255, 255, 255, 0.1);
  --pink: #e83769;
  --purple: #9a3fc4;
  --font-body: "DM Sans", sans-serif;
  --font-display: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 50% 5%, rgba(99, 38, 121, 0.15), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(232, 55, 105, 0.45);
  color: white;
}

a {
  color: inherit;
  text-decoration: none;
}

.network {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.62;
}

.ambient {
  position: fixed;
  z-index: 0;
  width: 25rem;
  height: 25rem;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.15;
  pointer-events: none;
}

.ambient--one {
  top: 8rem;
  left: -18rem;
  background: #d52a64;
}

.ambient--two {
  right: -18rem;
  bottom: 2rem;
  background: #7226aa;
}

main {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  justify-content: center;
  padding: 44px 20px 28px;
}

.linktree {
  width: min(100%, 480px);
  animation: rise-in 750ms both;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-logo {
  position: relative;
  display: grid;
  width: 120px;
  height: 120px;
  place-items: center;
  margin-bottom: 17px;
  border: 1px solid rgba(232, 107, 169, 0.32);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 22%, rgba(236, 86, 141, 0.16), transparent 64%),
    rgba(19, 16, 29, 0.8);
  box-shadow:
    0 0 0 7px rgba(255, 255, 255, 0.018),
    0 14px 45px rgba(149, 38, 119, 0.18);
}

.profile-logo::after {
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(219, 106, 190, 0.12);
  border-radius: 50%;
  content: "";
  animation: ring-pulse 3s ease-in-out infinite;
}

.profile-logo img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 5px 13px rgba(209, 49, 113, 0.2));
}

.profile h1 {
  margin: 0 0 7px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.profile > p {
  margin: 0;
  color: #c0bacb;
  font-size: 0.87rem;
  line-height: 1.55;
}

.profile-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  color: #8f899d;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ea5b8a;
  box-shadow: 0 0 12px rgba(234, 91, 138, 0.8);
  animation: pulse 2s infinite;
}

.social-links,
.product-links {
  display: grid;
  gap: 12px;
}

.social-links {
  margin-top: 27px;
}

.social-link,
.product-link {
  position: relative;
  display: flex;
  min-height: 64px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    background 200ms ease,
    box-shadow 200ms ease;
}

.social-link:hover,
.product-link:hover {
  transform: translateY(-2px);
  border-color: rgba(231, 125, 183, 0.48);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.social-link {
  min-height: 62px;
  gap: 14px;
  padding: 0 18px;
  font-size: 0.91rem;
  font-weight: 700;
}

.social-link--website {
  border-color: rgba(247, 109, 150, 0.5);
  background: linear-gradient(110deg, rgba(191, 42, 90, 0.94), rgba(132, 47, 155, 0.92));
  box-shadow: 0 10px 30px rgba(163, 36, 100, 0.19);
}

.social-link--website:hover {
  border-color: rgba(255, 190, 215, 0.8);
  background: linear-gradient(110deg, #c92e64, #9940b6);
  box-shadow: 0 13px 34px rgba(163, 36, 100, 0.3);
}

.social-link--instagram {
  border-color: rgba(190, 112, 209, 0.25);
  background:
    linear-gradient(105deg, rgba(180, 50, 106, 0.13), rgba(115, 56, 156, 0.14)),
    rgba(21, 18, 32, 0.82);
  color: #f1e8f7;
}

.social-link--instagram:hover {
  background:
    linear-gradient(105deg, rgba(180, 50, 106, 0.22), rgba(115, 56, 156, 0.2)),
    rgba(25, 20, 37, 0.9);
}

.social-icon {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.instagram-icon {
  color: #e890ca;
  stroke-width: 1.8;
}

.instagram-dot {
  fill: currentColor;
  stroke: none;
}

.link-arrow {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
  transition: transform 180ms ease;
}

.social-link:hover .link-arrow,
.product-link:hover .link-arrow {
  transform: translate(2px, -2px);
}

.solutions {
  margin-top: 34px;
}

.solutions h2 {
  margin: 0 0 14px;
  color: #bdb6c9;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-align: center;
  text-transform: uppercase;
}

.product-links {
  gap: 10px;
}

.product-link {
  min-height: 70px;
  gap: 13px;
  padding: 9px 15px 9px 10px;
  background: linear-gradient(110deg, rgba(30, 25, 42, 0.9), rgba(16, 14, 25, 0.88));
}

.product-link--hub:hover {
  border-color: rgba(206, 91, 179, 0.46);
}

.product-link--prumo:hover {
  border-color: rgba(83, 174, 196, 0.46);
}

.product-link--imob:hover {
  border-color: rgba(237, 173, 74, 0.46);
}

.product-link--geradoc:hover {
  border-color: rgba(101, 155, 208, 0.46);
}

.product-mark {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  background:
    radial-gradient(circle at 50% 0, rgba(207, 91, 163, 0.12), transparent 75%),
    rgba(255, 255, 255, 0.035);
}

.product-link--prumo .product-mark {
  background: rgba(36, 97, 123, 0.12);
}

.product-link--imob .product-mark {
  background: rgba(139, 100, 36, 0.12);
}

.product-link--geradoc .product-mark {
  background: rgba(37, 86, 135, 0.15);
}

.product-mark img {
  display: block;
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.product-info {
  min-width: 0;
  text-align: left;
}

.product-info strong,
.product-info small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-info strong {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
}

.product-info small {
  color: var(--muted);
  font-size: 0.68rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 28px;
  padding: 17px 2px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #777184;
  font-size: 0.63rem;
}

a:focus-visible {
  outline: 2px solid #ef8db4;
  outline-offset: 4px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ring-pulse {
  50% {
    transform: scale(1.06);
    opacity: 0.45;
  }
}

@keyframes pulse {
  50% {
    opacity: 0.55;
    box-shadow: 0 0 5px rgba(234, 91, 138, 0.4);
  }
}

@media (min-width: 700px) {
  main {
    align-items: flex-start;
    padding-top: 55px;
  }

  .linktree {
    width: min(100%, 520px);
  }

  .profile-logo {
    width: 132px;
    height: 132px;
  }

  .social-link {
    min-height: 68px;
    font-size: 0.96rem;
  }

  .product-link {
    min-height: 74px;
  }
}

@media (max-width: 420px) {
  main {
    padding: 32px 18px 22px;
  }

  .profile-logo {
    width: 108px;
    height: 108px;
  }

  .social-link {
    min-height: 59px;
    padding-inline: 15px;
    font-size: 0.85rem;
  }

  .product-link {
    min-height: 67px;
    gap: 10px;
    padding-right: 12px;
  }

  .product-mark {
    width: 44px;
    height: 44px;
  }

  .product-info strong {
    font-size: 0.8rem;
  }

  .product-info small {
    font-size: 0.64rem;
  }

  .site-footer {
    font-size: 0.58rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
