:root {
  --blue: #061a33;
  --blue-2: #092a52;
  --blue-3: #123f77;
  --yellow: #ffcb18;
  --yellow-2: #ffc300;
  --white: #ffffff;
  --text: #101010;
  --muted: #5f6470;
  --border: rgba(6, 26, 51, 0.10);
  --shadow: 0 22px 65px rgba(0, 0, 0, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 196, 0, 0.28), transparent 24%),
    radial-gradient(circle at 88% 16%, rgba(0, 116, 255, 0.32), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(255, 196, 0, 0.12), transparent 34%),
    linear-gradient(135deg, #020812 0%, #061b34 45%, #01050c 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, #fff 0 1px, transparent 1.8px),
    radial-gradient(circle, var(--yellow) 0 1.4px, transparent 2.1px);
  background-size: 58px 58px, 96px 96px;
  background-position: 0 0, 28px 35px;
  opacity: 0.22;
  z-index: 0;
}

.brand-watermark {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url('./assets/logo-cometta.png') center/contain no-repeat;
  opacity: 0.07;
  filter: drop-shadow(0 0 24px rgba(255, 196, 0, 0.42));
  transform: rotate(-8deg) scale(1.08);
}

.stars span {
  position: absolute;
  z-index: 1;
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 12px #fff, 0 0 24px rgba(255, 196, 0, 0.48);
  opacity: 0.96;
  animation: twinkle 2.8s ease-in-out infinite;
}

.stars span::before,
.stars span::after {
  content: "";
  position: absolute;
  background: #fff;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 10px;
}

.stars span::before { width: 18px; height: 1.5px; }
.stars span::after { width: 1.5px; height: 18px; }
.stars span:nth-child(1){top:9%;left:7%}
.stars span:nth-child(2){top:13%;right:8%;animation-delay:.2s}
.stars span:nth-child(3){top:25%;left:13%;animation-delay:.4s}
.stars span:nth-child(4){top:35%;right:11%;animation-delay:.6s}
.stars span:nth-child(5){top:48%;left:5%;animation-delay:.8s}
.stars span:nth-child(6){top:60%;right:7%;animation-delay:1s}
.stars span:nth-child(7){bottom:18%;left:12%;animation-delay:1.2s}
.stars span:nth-child(8){bottom:10%;right:14%;animation-delay:1.4s}
.stars span:nth-child(9){top:17%;left:35%;transform:scale(.75);animation-delay:.15s}
.stars span:nth-child(10){top:20%;right:31%;transform:scale(.75);animation-delay:.35s}
.stars span:nth-child(11){top:43%;left:28%;transform:scale(.62);animation-delay:.55s}
.stars span:nth-child(12){top:52%;right:27%;transform:scale(.62);animation-delay:.75s}
.stars span:nth-child(13){bottom:25%;left:31%;transform:scale(.68);animation-delay:.95s}
.stars span:nth-child(14){bottom:28%;right:30%;transform:scale(.68);animation-delay:1.15s}
.stars span:nth-child(15){top:7%;left:52%;transform:scale(.55);animation-delay:1.35s}
.stars span:nth-child(16){bottom:7%;left:50%;transform:scale(.55);animation-delay:1.55s}
.stars span:nth-child(17){top:70%;left:22%;transform:scale(.5);animation-delay:1.75s}
.stars span:nth-child(18){top:72%;right:22%;transform:scale(.5);animation-delay:1.95s}
.stars span:nth-child(19){top:31%;left:48%;transform:scale(.5);animation-delay:2.15s}
.stars span:nth-child(20){top:38%;right:44%;transform:scale(.45);animation-delay:2.35s}
.stars span:nth-child(21){top:84%;left:6%;transform:scale(.7);animation-delay:.25s}
.stars span:nth-child(22){top:86%;right:6%;transform:scale(.7);animation-delay:.45s}
.stars span:nth-child(23){top:3%;left:21%;transform:scale(.5);animation-delay:.65s}
.stars span:nth-child(24){top:4%;right:22%;transform:scale(.5);animation-delay:.85s}
.stars span:nth-child(25){top:57%;left:43%;transform:scale(.48);animation-delay:1.05s}
.stars span:nth-child(26){top:64%;right:38%;transform:scale(.46);animation-delay:1.25s}
.stars span:nth-child(27){top:92%;left:30%;transform:scale(.52);animation-delay:1.45s}
.stars span:nth-child(28){top:90%;right:32%;transform:scale(.52);animation-delay:1.65s}
.stars span:nth-child(29){top:12%;left:72%;transform:scale(.42);animation-delay:1.85s}
.stars span:nth-child(30){top:80%;left:76%;transform:scale(.42);animation-delay:2.05s}

@keyframes twinkle {
  0%, 100% { opacity: 0.55; filter: brightness(1); }
  50% { opacity: 1; filter: brightness(1.65); }
}

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

.bio-card {
  position: relative;
  width: min(100%, 640px);
  overflow: hidden;
  border-radius: 36px;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 203, 24, 0.14) 0 12px, transparent 13px),
    radial-gradient(circle at 88% 9%, rgba(255, 255, 255, 0.10) 0 10px, transparent 11px),
    radial-gradient(circle at 91% 35%, rgba(255, 203, 24, 0.10) 0 11px, transparent 12px),
    linear-gradient(180deg, rgba(8, 48, 95, 0.97) 0%, rgba(5, 27, 57, 0.96) 100%);
  padding: 28px 28px 0;
  box-shadow: 0 30px 95px rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.soft-star,
.soft-line {
  position: absolute;
  color: rgba(255, 255, 255, 0.12);
  pointer-events: none;
  user-select: none;
}

.soft-star {
  font-size: 34px;
}

.star-1 { left: 42px; top: 54px; }
.star-2 { right: 70px; top: 58px; color: rgba(255, 203, 24, 0.36); }
.star-3 { left: 38px; top: 305px; color: rgba(255, 203, 24, 0.32); }
.star-4 { right: 36px; bottom: 190px; font-size: 40px; }

.soft-line {
  right: 46px;
  top: 205px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 3px dashed rgba(255, 255, 255, 0.16);
}

.header {
  position: relative;
  text-align: center;
  z-index: 2;
}

.logo-clean {
  width: min(390px, 90%);
  margin: 0 auto;
  padding: 18px 20px;
  border-radius: 30px;
  background: #ffffff;
  border: none;
  box-shadow: none;
}

.logo {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.08));
}

.rating {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 18px 0 6px;
  color: var(--yellow);
  font-size: 27px;
  letter-spacing: 1px;
  text-shadow: 0 6px 14px rgba(255, 196, 0, 0.30);
}

.header h1 {
  margin-top: 6px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -1.2px;
  color: var(--white);
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.header p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16px, 2.2vw, 21px);
  line-height: 1.4;
}

.links {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 13px;
  margin-top: 28px;
}

.link-card {
  min-height: 76px;
  display: grid;
  grid-template-columns: 58px 1fr 22px;
  align-items: center;
  gap: 15px;
  padding: 11px 17px 11px 11px;
  border-radius: 22px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.045);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.09);
  border-color: rgba(6, 26, 51, 0.18);
  outline: none;
}

.icon {
  width: 58px;
  height: 58px;
  display: block;
  border-radius: 17px;
  flex: 0 0 auto;
}

.text {
  display: grid;
  gap: 4px;
}

.text strong {
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1;
  font-weight: 850;
}

.text small {
  color: #616572;
  font-size: clamp(13px, 1.8vw, 17px);
}

.arrow {
  color: var(--blue);
  font-size: 40px;
  line-height: 1;
  opacity: 0.86;
}

.instagram { background: linear-gradient(90deg, #ffffff 0%, #ffe2ec 100%); }
.whatsapp { background: linear-gradient(90deg, #ffffff 0%, #eefbde 100%); }
.pix { background: linear-gradient(90deg, #ffffff 0%, #dcfbff 100%); }
.wifi { background: linear-gradient(90deg, #ffffff 0%, #fff0bb 100%); }
.google { background: #ffffff; }
.location { background: linear-gradient(90deg, #ffffff 0%, #e7f0ff 100%); }

.footer {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 146px;
  margin: 38px -28px 0;
  padding: 38px 22px 25px;
  text-align: center;
  background: linear-gradient(180deg, var(--yellow) 0%, var(--yellow-2) 100%);
  border-radius: 55% 55% 0 0 / 30% 30% 0 0;
}

.footer-badge {
  position: absolute;
  top: -31px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--yellow);
  font-size: 34px;
  box-shadow: 0 9px 23px rgba(0, 0, 0, 0.16);
}

.footer p {
  max-width: 430px;
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 800;
  line-height: 1.38;
  color: var(--blue);
}

.footer span {
  display: block;
  margin-top: 4px;
  color: rgba(6, 26, 51, 0.76);
  font-weight: 700;
}

.toast {
  position: fixed;
  z-index: 99;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(140%);
  padding: 12px 18px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

@media (min-width: 1100px) {
  .bio-card {
    width: 640px;
  }
}

@media (max-width: 760px) {

  .brand-watermark { opacity: 0.055; background-size: 135%; transform: rotate(-8deg) scale(1.18); }

  .page {
    padding: 0;
    display: block;
  }

  .bio-card {
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
    box-shadow: none;
    border: none;
    padding: 22px 18px 0;
  }

  .logo-clean {
    width: min(340px, 88%);
    padding: 14px 16px;
    border-radius: 24px;
  }

  .rating {
    font-size: 23px;
    margin-top: 15px;
  }

  .header h1 {
    margin-top: 6px;
    font-size: 34px;
  }

  .header p {
    font-size: 16px;
  }

  .links {
    margin-top: 24px;
    gap: 10px;
  }

  .link-card {
    grid-template-columns: 52px 1fr 18px;
    min-height: 68px;
    gap: 12px;
    padding: 10px 13px 10px 10px;
    border-radius: 18px;
  }

  .icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
  }

  .text strong {
    font-size: 18px;
  }

  .text small {
    font-size: 13.5px;
  }

  .arrow {
    font-size: 34px;
  }

  .footer {
    margin: 36px -18px 0;
    min-height: 132px;
    padding-top: 34px;
  }

  .footer p {
    font-size: 17px;
  }

  .soft-star.star-1 {
    left: 22px;
    top: 26px;
  }

  .soft-star.star-2 {
    right: 26px;
    top: 30px;
  }

  .soft-line {
    display: none;
  }
}

@media (max-width: 380px) {
  .bio-card {
    padding-left: 14px;
    padding-right: 14px;
  }

  .logo-clean {
    width: 290px;
    max-width: 86%;
  }

  .header h1 {
    font-size: 30px;
  }

  .link-card {
    grid-template-columns: 48px 1fr 16px;
  }

  .icon {
    width: 48px;
    height: 48px;
  }

  .footer {
    margin-left: -14px;
    margin-right: -14px;
  }
}
