:root {
  --navy: #0017ab;
  --navy-deep: #000e6e;
  --night: #07133a;
  --yellow: #ffd23f;
  --white: #ffffff;
  --mist: #aeb9d8;
  --line: rgba(255, 255, 255, 0.16);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background: var(--navy-deep);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--navy-deep);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 5%, rgba(50, 131, 246, 0.52), transparent 32rem),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 48%, var(--night) 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 36px 36px;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.page-shell {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 42px 20px 32px;
}

.profile {
  width: min(100%, 570px);
  animation: arrive 650ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.brand-mark {
  width: min(272px, 72vw);
  margin: 0 auto 32px;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;
}

h1 {
  max-width: 510px;
  margin: 0 auto;
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 8vw, 3.45rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.03;
  text-align: center;
  text-wrap: balance;
}

.intro {
  max-width: 410px;
  margin: 16px auto 30px;
  color: #dce5ff;
  font-size: 0.98rem;
  line-height: 1.65;
  text-align: center;
  text-wrap: balance;
}

.link-list {
  display: grid;
  gap: 12px;
}

.link-card {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 82px;
  padding: 14px 18px 14px 14px;
  overflow: hidden;
  color: var(--white);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 38px rgba(0, 5, 51, 0.16);
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.link-card::after {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 76px;
  border-left: 1px dashed rgba(255, 255, 255, 0.19);
  content: "";
}

.link-card:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 210, 63, 0.68);
  transform: translateY(-2px);
}

.link-card:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.link-card--primary {
  color: var(--night);
  background: var(--yellow);
  border-color: var(--yellow);
  box-shadow: 0 18px 42px rgba(255, 210, 63, 0.2);
}

.link-card--primary:hover {
  background: #ffdb64;
  border-color: #ffe58d;
}

.link-card--primary::after {
  border-color: rgba(7, 19, 58, 0.18);
}

.icon-box {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--yellow);
  background: rgba(0, 14, 110, 0.38);
  border-radius: 14px;
}

.link-card--primary .icon-box {
  color: var(--white);
  background: var(--navy-deep);
}

.icon-box svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.icon-box--instagram {
  color: var(--white);
  background: linear-gradient(135deg, #833ab4, #fd1d1d 58%, #fcb045);
}

.icon-box--facebook {
  color: var(--white);
  background: #1877f2;
}

.link-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding-left: 14px;
}

.link-copy strong {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.link-copy small {
  overflow: hidden;
  color: var(--mist);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-card--primary .link-copy small {
  color: rgba(7, 19, 58, 0.68);
}

.arrow {
  position: relative;
  width: 42px;
  height: 30px;
  overflow: hidden;
  color: currentColor;
  font-size: 0;
}

.arrow::before {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 29px;
  height: 29px;
  background: currentColor;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.36 17.4 4 17l-2-4 1.1-.55a2 2 0 0 1 1.8 0l.17.1a2 2 0 0 0 1.8 0L8 12 5 6l.9-.45a2 2 0 0 1 2.09.2l4.02 3a2 2 0 0 0 2.1.2l4.19-2.06a2.41 2.41 0 0 1 1.73-.17L21 7a1.4 1.4 0 0 1 .87 1.99l-.38.76c-.23.46-.6.84-1.07 1.08L7.58 17.2a2 2 0 0 1-1.22.18Z' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.36 17.4 4 17l-2-4 1.1-.55a2 2 0 0 1 1.8 0l.17.1a2 2 0 0 0 1.8 0L8 12 5 6l.9-.45a2 2 0 0 1 2.09.2l4.02 3a2 2 0 0 0 2.1.2l4.19-2.06a2.41 2.41 0 0 1 1.73-.17L21 7a1.4 1.4 0 0 1 .87 1.99l-.38.76c-.23.46-.6.84-1.07 1.08L7.58 17.2a2 2 0 0 1-1.22.18Z' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: rotate(0deg);
  transform-origin: center;
}

.arrow::after {
  position: absolute;
  top: 18px;
  right: 24px;
  width: 16px;
  border-top: 2px dotted currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transform-origin: right center;
}

.link-card:hover .arrow::before,
.link-card:focus-visible .arrow::before {
  animation: plane-takeoff 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.link-card:hover .arrow::after,
.link-card:focus-visible .arrow::after {
  animation: flight-trail 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

footer {
  display: grid;
  justify-items: center;
  margin-top: 30px;
  color: var(--mist);
  font-size: 0.74rem;
  text-align: center;
}

.footer-line {
  width: 44px;
  height: 3px;
  margin-bottom: 18px;
  background: var(--yellow);
  border-radius: 99px;
}

footer p {
  margin: 0 0 5px;
}

footer a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
}

.footer-links a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.footer-links a:hover {
  color: var(--yellow);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 210, 63, 0.65);
  text-decoration: none;
  transform: translateY(-2px);
}

.footer-links a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.footer-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-links .footer-link--google {
  background: rgba(255, 255, 255, 0.96);
}

.footer-links .footer-link--whatsapp,
.footer-links .footer-link--whatsapp:hover {
  color: var(--white);
  background: #25d366;
  border-color: #25d366;
}

.footer-links .footer-link--google:hover {
  background: var(--white);
  border-color: var(--white);
}

.footer-links .footer-link--site,
.footer-links .footer-link--site:hover {
  color: var(--white);
  background: #1769d2;
  border-color: #1769d2;
}

.footer-links .footer-link--site svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-links .footer-link--instagram,
.footer-links .footer-link--instagram:hover {
  color: var(--white);
  background: linear-gradient(135deg, #833ab4, #fd1d1d 58%, #fcb045);
  border-color: #d62976;
}

.footer-links .footer-link--facebook,
.footer-links .footer-link--facebook:hover {
  color: var(--white);
  background: #1877f2;
  border-color: #1877f2;
}

.developer-credit {
  margin-top: 38px;
  color: rgba(174, 185, 216, 0.78);
}

.developer-credit a {
  margin-left: 0.2em;
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes plane-takeoff {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg);
  }
  45% {
    opacity: 1;
    transform: translate(22px, -8px) rotate(-7deg);
  }
  46% {
    opacity: 0;
    transform: translate(24px, -9px) rotate(-7deg);
  }
  47% {
    opacity: 0;
    transform: translate(-24px, 7px) rotate(3deg);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes flight-trail {
  0%, 100% {
    opacity: 0;
    transform: scaleX(0);
  }
  20%, 55% {
    opacity: 0.7;
    transform: scaleX(1);
  }
}

@media (max-width: 420px) {
  .page-shell {
    padding-inline: 14px;
  }

  .link-card {
    grid-template-columns: 44px 1fr auto;
    gap: 11px;
    min-height: 78px;
    padding: 12px 14px 12px 12px;
  }

  .link-card::after {
    left: 67px;
  }

  .icon-box {
    width: 44px;
    height: 44px;
  }
}

@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;
  }
}
