:root {
  --bg-top: #050507;
  --bg-mid: #171421;
  --bg-bottom: #2b1247;
  --surface: rgba(18, 18, 24, 0.78);
  --surface-strong: rgba(34, 31, 43, 0.9);
  --text: #f7f2ff;
  --muted: #c8bdd8;
  --accent: #9d5cff;
  --accent-dark: #6f2dbd;
  --ring: rgba(180, 122, 255, 0.42);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.48);
  --button-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 10%, rgba(157, 92, 255, 0.36), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(112, 45, 189, 0.28), transparent 26%),
    radial-gradient(circle at 50% 100%, rgba(210, 188, 255, 0.14), transparent 32%),
    linear-gradient(145deg, var(--bg-top) 0%, var(--bg-mid) 56%, var(--bg-bottom) 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(190, 150, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190, 150, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 72%);
}

.page-shell {
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 18px 0;
}

.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 16px;
}

.profile {
  padding: 24px 18px 20px;
  text-align: center;
  background: var(--surface);
  border: 1px solid rgba(210, 188, 255, 0.2);
  border-radius: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.profile-img-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #d9c2ff, #9d5cff 48%, #2c163f);
  box-shadow: 0 16px 38px rgba(157, 92, 255, 0.36);
}

.profile-img {
  width: 110px;
  height: 110px;
  display: none;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
}

.profile-img.has-image {
  display: block;
}

.profile-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #fff;
  font-size: 34px;
  font-weight: 800;
}

.profile-img.has-image + .profile-fallback {
  display: none;
}

.tagline {
  width: fit-content;
  margin: 0 auto 10px;
  padding: 7px 12px;
  color: #eadcff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(157, 92, 255, 0.2);
  border: 1px solid rgba(210, 188, 255, 0.2);
  border-radius: 999px;
}

h1 {
  margin: 0;
  color: var(--text);
  font-size: 30px;
  line-height: 1.12;
}

.description {
  max-width: 34ch;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.links-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  perspective: 900px;
}

.link-button {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  background: rgba(27, 25, 35, 0.88);
  border: 1px solid rgba(210, 188, 255, 0.2);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  animation: button-float 4.8s ease-in-out infinite;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.link-button:nth-child(2) {
  animation-delay: 0.35s;
}

.link-button:nth-child(3) {
  animation-delay: 0.7s;
}

.link-button:hover,
.link-button:focus-visible {
  transform: translateY(-6px) scale(1.015);
  background: rgba(42, 37, 56, 0.96);
  border-color: var(--ring);
  box-shadow: 0 24px 48px rgba(91, 47, 151, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  outline: none;
}

.link-button:active {
  transform: translateY(-1px) scale(0.99);
}

.featured-link {
  border-color: rgba(216, 180, 254, 0.42);
  box-shadow: 0 18px 42px rgba(91, 33, 182, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.icon-box {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--accent-dark));
  border-radius: 12px;
}

.icon-whatsapp {
  background: linear-gradient(145deg, #25d366, #128c4a);
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.32);
}

.icon-catalog {
  background: linear-gradient(145deg, #c9b6ff, #7c3aed);
  box-shadow: 0 10px 22px rgba(124, 58, 237, 0.32);
}

.icon-calendar {
  background: linear-gradient(145deg, #a78bfa, #5b21b6);
  box-shadow: 0 10px 22px rgba(91, 33, 182, 0.34);
}

.icon-obsessaoAmorosa {
  padding: 2px;
  background: linear-gradient(145deg, #d8b4fe, #581c87);
  box-shadow: 0 10px 22px rgba(168, 85, 247, 0.36);
}

.icon-macaAmor {
  padding: 2px;
  background: linear-gradient(145deg, #f0abfc, #7e22ce 48%, #450a0a);
  box-shadow: 0 10px 22px rgba(190, 24, 93, 0.34);
}

.icon-instagram {
  background: linear-gradient(145deg, #feda75, #d62976 48%, #4f5bd5);
  box-shadow: 0 10px 22px rgba(214, 41, 118, 0.28);
}

.icon-tiktok {
  background: linear-gradient(145deg, #25f4ee, #111 48%, #fe2c55);
  box-shadow: 0 10px 22px rgba(254, 44, 85, 0.25);
}

.icon-youtube {
  background: linear-gradient(145deg, #ff4b4b, #c60000);
  box-shadow: 0 10px 22px rgba(255, 0, 0, 0.25);
}

.icon-shop {
  background: linear-gradient(145deg, #2dd4bf, #0f766e);
  box-shadow: 0 10px 22px rgba(45, 212, 191, 0.25);
}

.icon-site,
.icon-default {
  background: linear-gradient(145deg, #9d5cff, #6f2dbd);
}

.icon-box svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-box img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.link-text {
  min-width: 0;
  flex: 1;
}

.link-title,
.link-subtitle {
  display: block;
  overflow-wrap: anywhere;
}

.link-subtitle {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.price-badge {
  flex: 0 0 auto;
  padding: 8px 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  background: linear-gradient(145deg, #c084fc, #7e22ce);
  border: 1px solid rgba(237, 213, 255, 0.42);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(126, 34, 206, 0.34);
}

.arrow {
  flex: 0 0 auto;
  color: var(--accent-dark);
  font-size: 20px;
  line-height: 1;
}

.footer {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.24);
}

@keyframes button-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@media (min-width: 768px) {
  .page-shell {
    padding: 28px 0;
  }

  .container {
    max-width: 520px;
    padding: 40px 24px;
  }

  .profile {
    padding: 30px 28px 26px;
    border-radius: 30px;
  }

  .profile-img-wrap,
  .profile-img {
    width: 130px;
    height: 130px;
  }

  h1 {
    font-size: 36px;
  }

  .description {
    font-size: 16px;
  }

  .links-list {
    gap: 14px;
    margin-top: 18px;
  }

  .link-button {
    min-height: 64px;
    padding: 15px 18px;
  }
}

@media (max-width: 380px) {
  .link-button {
    gap: 9px;
    padding-right: 12px;
    flex-wrap: wrap;
  }

  .price-badge {
    padding: 7px 8px;
    font-size: 12px;
    margin-left: 50px;
  }

  .arrow {
    display: none;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 540px;
  }
}

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